diff --git a/ruma-api-macros/Cargo.toml b/ruma-api-macros/Cargo.toml index cbbed9eb..e2c5f087 100644 --- a/ruma-api-macros/Cargo.toml +++ b/ruma-api-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = [ - "Jimmy Cuadra ", - "Jonas Platte ", + "Jimmy Cuadra ", + "Jonas Platte ", ] categories = ["api-bindings", "web-programming"] description = "A procedural macro for generating ruma-api Endpoints." @@ -12,13 +12,13 @@ license = "MIT" name = "ruma-api-macros" readme = "README.md" repository = "https://github.com/ruma/ruma" -version = "0.17.0-alpha.1" +version = "0.17.0-alpha.2" edition = "2018" [dependencies] proc-macro2 = "1.0.24" quote = "1.0.8" -syn = { version = "1.0.55", features = ["full", "extra-traits"] } +syn = { version = "1.0.57", features = ["full", "extra-traits"] } proc-macro-crate = "0.1.5" [lib] diff --git a/ruma-api/CHANGELOG.md b/ruma-api/CHANGELOG.md index 8d993eac..dfd74794 100644 --- a/ruma-api/CHANGELOG.md +++ b/ruma-api/CHANGELOG.md @@ -1,7 +1,9 @@ -# [unreleased] +# 0.17.0 (unreleased) Breaking changes: +* Update the syntax of the `ruma_api!` macro. Colons are now required after the keywords `metadata`, + `request` and `response`. * The `EndpointError` trait now requires `std::error::Error`. This allows integrating `EndpointError`s in the common rust error ecosystem like `thiserror` and `anyhow`. * The `Endpoint` trait has been replaced by two new traits that each capture a subset of its @@ -15,13 +17,6 @@ Improvements: * The `EndpointError`s that come with ruma crates now implement `std::errror::Error`. -# 0.17.0 - -Breaking changes: - -* Update the syntax of the `ruma_api!` macro. Colons are now required after the keywords `metadata`, - `request` and `response`. - # 0.16.1 Bug fixes: diff --git a/ruma-api/Cargo.toml b/ruma-api/Cargo.toml index 4794bdd5..5bee98d9 100644 --- a/ruma-api/Cargo.toml +++ b/ruma-api/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = [ - "Jimmy Cuadra ", - "Jonas Platte ", + "Jimmy Cuadra ", + "Jonas Platte ", ] categories = ["api-bindings", "web-programming"] description = "An abstraction for Matrix API endpoints." @@ -12,18 +12,18 @@ license = "MIT" name = "ruma-api" readme = "README.md" repository = "https://github.com/ruma/ruma" -version = "0.17.0-alpha.1" +version = "0.17.0-alpha.2" edition = "2018" [dependencies] http = "0.2.2" percent-encoding = "2.1.0" -ruma-api-macros = { version = "=0.17.0-alpha.1", path = "../ruma-api-macros" } +ruma-api-macros = { version = "=0.17.0-alpha.2", path = "../ruma-api-macros" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" } serde = { version = "1.0.118", features = ["derive"] } -serde_json = "1.0.60" -thiserror = "1.0.22" +serde_json = "1.0.61" +thiserror = "1.0.23" [dev-dependencies] ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events" } diff --git a/ruma-appservice-api/Cargo.toml b/ruma-appservice-api/Cargo.toml index c49c25b0..08df8dd3 100644 --- a/ruma-appservice-api/Cargo.toml +++ b/ruma-appservice-api/Cargo.toml @@ -12,7 +12,7 @@ version = "0.2.0-alpha.1" edition = "2018" [dependencies] -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } diff --git a/ruma-client-api/Cargo.toml b/ruma-client-api/Cargo.toml index a19e2944..4f7b8bc2 100644 --- a/ruma-client-api/Cargo.toml +++ b/ruma-client-api/Cargo.toml @@ -22,7 +22,7 @@ http = "0.2.2" js_int = { version = "0.2.0", features = ["serde"] } maplit = "1.0.2" percent-encoding = "2.1.0" -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } diff --git a/ruma-client/Cargo.toml b/ruma-client/Cargo.toml index c17f4fcf..c1b29afc 100644 --- a/ruma-client/Cargo.toml +++ b/ruma-client/Cargo.toml @@ -23,7 +23,7 @@ http = "0.2.2" hyper = { version = "0.14.2", features = ["client", "tcp"] } hyper-tls = { version = "0.5.0", optional = true } hyper-rustls = { version = "0.22.1", optional = true, default-features = false } -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-client-api = { version = "0.10.0-alpha.1", path = "../ruma-client-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events" } diff --git a/ruma-federation-api/Cargo.toml b/ruma-federation-api/Cargo.toml index a29ea21a..03ef69ee 100644 --- a/ruma-federation-api/Cargo.toml +++ b/ruma-federation-api/Cargo.toml @@ -17,7 +17,7 @@ version = "0.0.3" [dependencies] js_int = { version = "0.2.0", features = ["serde"] } -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } diff --git a/ruma-identity-service-api/Cargo.toml b/ruma-identity-service-api/Cargo.toml index ab679f0f..96ae45e6 100644 --- a/ruma-identity-service-api/Cargo.toml +++ b/ruma-identity-service-api/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/ruma/ruma" edition = "2018" [dependencies] -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" } diff --git a/ruma-push-gateway-api/Cargo.toml b/ruma-push-gateway-api/Cargo.toml index 67388e52..098f29b1 100644 --- a/ruma-push-gateway-api/Cargo.toml +++ b/ruma-push-gateway-api/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] js_int = { version = "0.2.0", features = ["serde"] } -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api" } ruma-common = { version = "=0.3.0-alpha.1", path = "../ruma-common" } ruma-events = { version = "0.22.0-alpha.1", path = "../ruma-events" } ruma-identifiers = { version = "=0.18.0-alpha.1", path = "../ruma-identifiers" } diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index 96f8a827..f88bcb4f 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -23,7 +23,7 @@ ruma-serde = { version = "0.3.0", path = "../ruma-serde" } ruma-events = { version = "=0.22.0-alpha.2", path = "../ruma-events", optional = true } ruma-signatures = { version = "=0.6.0-alpha.1", path = "../ruma-signatures", optional = true } -ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api", optional = true } +ruma-api = { version = "=0.17.0-alpha.2", path = "../ruma-api", optional = true } ruma-appservice-api = { version = "=0.2.0-alpha.1", path = "../ruma-appservice-api", optional = true } ruma-client-api = { version = "=0.10.0-alpha.1", path = "../ruma-client-api", optional = true } ruma-federation-api = { version = "0.0.3", path = "../ruma-federation-api", optional = true }