Release ruma-api 0.17.0-alpha.2

This commit is contained in:
Jonas Platte 2021-01-02 14:58:00 +01:00
parent b95ab27272
commit 8e247a5ce2
No known key found for this signature in database
GPG key ID: 7D261D771D915378
10 changed files with 20 additions and 25 deletions

View file

@ -1,7 +1,7 @@
[package]
authors = [
"Jimmy Cuadra <jimmy@jimmycuadra.com>",
"Jonas Platte <jplatte@posteo.de>",
"Jimmy Cuadra <jimmy@jimmycuadra.com>",
"Jonas Platte <jplatte@posteo.de>",
]
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]

View file

@ -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:

View file

@ -1,7 +1,7 @@
[package]
authors = [
"Jimmy Cuadra <jimmy@jimmycuadra.com>",
"Jonas Platte <jplatte@posteo.de>",
"Jimmy Cuadra <jimmy@jimmycuadra.com>",
"Jonas Platte <jplatte@posteo.de>",
]
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" }

View file

@ -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" }

View file

@ -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" }

View file

@ -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" }

View file

@ -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" }

View file

@ -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" }

View file

@ -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" }

View file

@ -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 }