From 080a537664672d347ae55515c7f60fb2ab1fc7aa Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 22 Jul 2020 22:54:58 +0200 Subject: [PATCH] Release ruma-identifiers 0.17.0 --- ruma-api/Cargo.toml | 2 +- ruma-appservice-api/Cargo.toml | 2 +- ruma-client-api/Cargo.toml | 2 +- ruma-events-macros/Cargo.toml | 2 +- ruma-events/Cargo.toml | 4 ++-- ruma-federation-api/Cargo.toml | 2 +- ruma-identifiers/CHANGELOG.md | 10 +++++----- ruma-identifiers/Cargo.toml | 6 +++--- ruma/Cargo.toml | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ruma-api/Cargo.toml b/ruma-api/Cargo.toml index a43e32ee..7328c9e8 100644 --- a/ruma-api/Cargo.toml +++ b/ruma-api/Cargo.toml @@ -19,7 +19,7 @@ edition = "2018" http = "0.2.1" percent-encoding = "2.1.0" ruma-api-macros = { version = "=0.16.1", path = "../ruma-api-macros" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } ruma-serde = { version = "0.2.0", path = "../ruma-serde" } serde = { version = "1.0.113", features = ["derive"] } serde_json = "1.0.55" diff --git a/ruma-appservice-api/Cargo.toml b/ruma-appservice-api/Cargo.toml index af756828..eeebb735 100644 --- a/ruma-appservice-api/Cargo.toml +++ b/ruma-appservice-api/Cargo.toml @@ -15,6 +15,6 @@ edition = "2018" ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-events = { version = "0.21.3", path = "../ruma-events" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } serde = { version = "1.0.113", features = ["derive"] } serde_json = "1.0.55" diff --git a/ruma-client-api/Cargo.toml b/ruma-client-api/Cargo.toml index 4fa18304..aaf74731 100644 --- a/ruma-client-api/Cargo.toml +++ b/ruma-client-api/Cargo.toml @@ -22,7 +22,7 @@ js_int = { version = "0.1.7", features = ["serde"] } ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-events = { version = "0.21.3", path = "../ruma-events" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" } serde = { version = "1.0.113", features = ["derive"] } serde_json = "1.0.55" diff --git a/ruma-events-macros/Cargo.toml b/ruma-events-macros/Cargo.toml index fc98dbb7..a217fce2 100644 --- a/ruma-events-macros/Cargo.toml +++ b/ruma-events-macros/Cargo.toml @@ -21,7 +21,7 @@ proc-macro2 = "1.0.18" proc-macro = true [dev-dependencies] -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } serde_json = "1.0.55" js_int = { version = "0.1.7", features = ["serde"] } serde = { version = "1.0.113", features = ["derive"] } diff --git a/ruma-events/Cargo.toml b/ruma-events/Cargo.toml index 02538028..fe66f17c 100644 --- a/ruma-events/Cargo.toml +++ b/ruma-events/Cargo.toml @@ -17,7 +17,7 @@ criterion = { version = "0.3.2", optional = true } js_int = { version = "0.1.7", features = ["serde"] } ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-events-macros = { version = "=0.21.3", path = "../ruma-events-macros" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" } serde = { version = "1.0.113", features = ["derive"] } serde_json = { version = "1.0.55", features = ["raw_value"] } @@ -26,7 +26,7 @@ strum = { version = "0.18.0", features = ["derive"] } [dev-dependencies] maplit = "1.0.2" matches = "0.1.8" -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers", features = ["rand"] } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers", features = ["rand"] } trybuild = "1.0.30" [[bench]] diff --git a/ruma-federation-api/Cargo.toml b/ruma-federation-api/Cargo.toml index a08a0c0e..572b70fa 100644 --- a/ruma-federation-api/Cargo.toml +++ b/ruma-federation-api/Cargo.toml @@ -20,7 +20,7 @@ js_int = "0.1.7" ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-events = { version = "0.21.3", path = "../ruma-events" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" } serde = { version = "1.0.113", features = ["derive"] } serde_json = "1.0.55" diff --git a/ruma-identifiers/CHANGELOG.md b/ruma-identifiers/CHANGELOG.md index 1506ceb3..8051a6cf 100644 --- a/ruma-identifiers/CHANGELOG.md +++ b/ruma-identifiers/CHANGELOG.md @@ -4,9 +4,11 @@ Breaking changes: -* Remove `RoomVersionId::custom`. It could be used to create invalid room versions (empty or - exceeding 32 code points in length). Use the `TryFrom<&str>` or `TryFrom` implementation - instead. +* Change `RoomVersionId` from being an opaque struct to a non-exhaustive enum + * The constructor functions and `is_` predicates are now deprecated + * Remove `RoomVersionId::custom`. It could be used to create invalid room versions (empty or + exceeding 32 code points in length). Use the `TryFrom<&str>` or `TryFrom` implementation + instead. * Remove diesel integration. If you were using it, please comment on the corresponding issue: https://github.com/ruma/ruma-identifiers/issues/22 * Remove `TryFrom>` implementations for identifier types @@ -35,8 +37,6 @@ Breaking changes: * Change `DeviceId` from being an alias for `String` to being a newtype around `str` This means owned device IDs are now `Box`. -* Change `RoomVersionId` from being an opaque struct to a non-exhaustive enum - * The constructor functions and `is_` predicates are now deprecated Deprecations: diff --git a/ruma-identifiers/Cargo.toml b/ruma-identifiers/Cargo.toml index af022e55..d5d5556f 100644 --- a/ruma-identifiers/Cargo.toml +++ b/ruma-identifiers/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" name = "ruma-identifiers" readme = "README.md" repository = "https://github.com/ruma/ruma-identifiers" -version = "0.17.0-pre.1" +version = "0.17.0" edition = "2018" [package.metadata.docs.rs] @@ -22,9 +22,9 @@ default = ["serde"] [dependencies] either = { version = "1.5.3", optional = true } rand = { version = "0.7.3", optional = true } -serde = { version = "1.0.113", optional = true, features = ["derive"] } +serde = { version = "1.0.114", optional = true, features = ["derive"] } strum = { version = "0.18.0", features = ["derive"] } [dev-dependencies] matches = "0.1.8" -serde_json = "1.0.55" +serde_json = "1.0.56" diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index 61bb3b84..21855e85 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -24,7 +24,7 @@ federation-api = ["ruma-api", "ruma-federation-api", "ruma-signatures"] [dependencies] ruma-common = { version = "0.1.3", path = "../ruma-common" } -ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers", features = ["serde"] } +ruma-identifiers = { version = "0.17.0", path = "../ruma-identifiers", features = ["serde"] } ruma-events = { version = "0.21.3", path = "../ruma-events", optional = true } ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true }