From 20fec821a23c84ccc3b91fefba45f4c1fbdd7d3a Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 12 May 2022 12:21:04 +0200 Subject: [PATCH 1/2] Release ruma-client-api 0.14.1 --- crates/ruma-appservice-api/Cargo.toml | 2 +- crates/ruma-client-api/CHANGELOG.md | 2 ++ crates/ruma-client-api/Cargo.toml | 2 +- crates/ruma-client/Cargo.toml | 4 ++-- crates/ruma/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/crates/ruma-appservice-api/Cargo.toml b/crates/ruma-appservice-api/Cargo.toml index f0ef304e..70942d30 100644 --- a/crates/ruma-appservice-api/Cargo.toml +++ b/crates/ruma-appservice-api/Cargo.toml @@ -20,7 +20,7 @@ client = [] server = [] [dependencies] -ruma-client-api = { version = "0.14.0", path = "../ruma-client-api", features = ["client"], optional = true } +ruma-client-api = { version = "0.14.1", path = "../ruma-client-api", features = ["client"], optional = true } ruma-common = { version = "0.9.2", path = "../ruma-common", features = ["api", "events"] } serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" diff --git a/crates/ruma-client-api/CHANGELOG.md b/crates/ruma-client-api/CHANGELOG.md index db0ec0cc..c030bf62 100644 --- a/crates/ruma-client-api/CHANGELOG.md +++ b/crates/ruma-client-api/CHANGELOG.md @@ -1,5 +1,7 @@ # [unreleased] +# 0.14.1 + Improvements: * Add `From<&UserId>` and `From<&OwnedUserId>` implementations for `UserIdentifier` diff --git a/crates/ruma-client-api/Cargo.toml b/crates/ruma-client-api/Cargo.toml index 81101cdf..7d5959bc 100644 --- a/crates/ruma-client-api/Cargo.toml +++ b/crates/ruma-client-api/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT" name = "ruma-client-api" readme = "README.md" repository = "https://github.com/ruma/ruma" -version = "0.14.0" +version = "0.14.1" edition = "2018" [package.metadata.docs.rs] diff --git a/crates/ruma-client/Cargo.toml b/crates/ruma-client/Cargo.toml index 08a7a903..c55d82c1 100644 --- a/crates/ruma-client/Cargo.toml +++ b/crates/ruma-client/Cargo.toml @@ -41,12 +41,12 @@ hyper-rustls-crate = { package = "hyper-rustls", version = "0.23.0", optional = hyper-tls = { version = "0.5.0", optional = true } isahc-crate = { package = "isahc", version = "1.3.1", optional = true } reqwest = { version = "0.11.4", optional = true, default-features = false } -ruma-client-api = { version = "0.14.0", path = "../ruma-client-api", optional = true, features = ["client"] } +ruma-client-api = { version = "0.14.1", path = "../ruma-client-api", optional = true, features = ["client"] } ruma-common = { version = "0.9.2", path = "../ruma-common", features = ["api"] } serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0.61" tracing = { version = "0.1.30", default-features = false, features = ["std"] } [dev-dependencies] -ruma-client-api = { version = "0.14.0", path = "../ruma-client-api", features = ["client"] } +ruma-client-api = { version = "0.14.1", path = "../ruma-client-api", features = ["client"] } tokio-stream = "0.1.8" diff --git a/crates/ruma/Cargo.toml b/crates/ruma/Cargo.toml index 90e6b422..4f8caacb 100644 --- a/crates/ruma/Cargo.toml +++ b/crates/ruma/Cargo.toml @@ -177,7 +177,7 @@ ruma-signatures = { version = "0.11.0", path = "../ruma-signatures", optional = ruma-state-res = { version = "0.7.0", path = "../ruma-state-res", optional = true } ruma-appservice-api = { version = "0.6.0", path = "../ruma-appservice-api", optional = true } -ruma-client-api = { version = "0.14.0", path = "../ruma-client-api", optional = true } +ruma-client-api = { version = "0.14.1", path = "../ruma-client-api", optional = true } ruma-federation-api = { version = "0.5.0", path = "../ruma-federation-api", optional = true } ruma-identity-service-api = { version = "0.5.0", path = "../ruma-identity-service-api", optional = true } ruma-push-gateway-api = { version = "0.5.0", path = "../ruma-push-gateway-api", optional = true } From b3c8a231abff0a8e37f9cf314bdcad4d73f89e4c Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 12 May 2022 12:29:12 +0200 Subject: [PATCH 2/2] Release ruma 0.6.3 --- crates/ruma/CHANGELOG.md | 11 +++++++++++ crates/ruma/Cargo.toml | 2 +- examples/hello_isahc/Cargo.toml | 2 +- examples/hello_world/Cargo.toml | 2 +- examples/joke_bot/Cargo.toml | 2 +- examples/message_log/Cargo.toml | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) diff --git a/crates/ruma/CHANGELOG.md b/crates/ruma/CHANGELOG.md index d2a4bfca..cbb8634e 100644 --- a/crates/ruma/CHANGELOG.md +++ b/crates/ruma/CHANGELOG.md @@ -1,5 +1,16 @@ # [unreleased] +# 0.6.3 + +Bug fixes: + +* Fix serialization and deserialization of events with a dynamic `event_type` + +Improvements: + +* Add `From<&UserId>` and `From<&OwnedUserId>` implementations for `UserIdentifier` +* Add `UserIdentifier::email` constructor + # 0.6.2 Improvements: diff --git a/crates/ruma/Cargo.toml b/crates/ruma/Cargo.toml index 4f8caacb..cbca20c8 100644 --- a/crates/ruma/Cargo.toml +++ b/crates/ruma/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://www.ruma.io/" repository = "https://github.com/ruma/ruma" readme = "README.md" license = "MIT" -version = "0.6.2" +version = "0.6.3" edition = "2018" [package.metadata.docs.rs] diff --git a/examples/hello_isahc/Cargo.toml b/examples/hello_isahc/Cargo.toml index 54c91ff6..01916511 100644 --- a/examples/hello_isahc/Cargo.toml +++ b/examples/hello_isahc/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" publish = false [dependencies] -ruma = { version = "0.6.2", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-isahc", "rand"] } +ruma = { version = "0.6.3", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-isahc", "rand"] } anyhow = "1.0.37" isahc = "1.3.1" diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index 463d7da4..fa02fccc 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" publish = false [dependencies] -ruma = { version = "0.6.2", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } +ruma = { version = "0.6.3", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } anyhow = "1.0.37" tokio = { version = "1.0.1", features = ["macros", "rt"] } diff --git a/examples/joke_bot/Cargo.toml b/examples/joke_bot/Cargo.toml index 1eeab2db..7f8114c8 100644 --- a/examples/joke_bot/Cargo.toml +++ b/examples/joke_bot/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" publish = false [dependencies] -ruma = { version = "0.6.2", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } +ruma = { version = "0.6.3", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } # For building locally: use the git dependencies below. # Browse the source at this revision here: https://github.com/ruma/ruma/tree/f161c8117c706fc52089999e1f406cf34276ec9d # ruma = { git = "https://github.com/ruma/ruma", rev = "f161c8117c706fc52089999e1f406cf34276ec9d", features = ["client-api-c", "client", "client-hyper-native-tls", "events"] } diff --git a/examples/message_log/Cargo.toml b/examples/message_log/Cargo.toml index 3326e544..086e1101 100644 --- a/examples/message_log/Cargo.toml +++ b/examples/message_log/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" publish = false [dependencies] -ruma = { version = "0.6.2", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls"] } +ruma = { version = "0.6.3", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls"] } anyhow = "1.0.37" assign = "1.1.1"