Release ruma-serde 0.5.0

This commit is contained in:
Jonas Platte 2021-08-11 17:10:51 +02:00
parent 202fc5132a
commit 12ee10b2c6
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
16 changed files with 27 additions and 17 deletions

View File

@ -31,7 +31,7 @@ http = "0.2.2"
percent-encoding = "2.1.0"
ruma-api-macros = { version = "=0.17.2", path = "../ruma-api-macros" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
thiserror = "1.0.23"

View File

@ -26,7 +26,7 @@ ruma-client-api = { version = "0.11.2", path = "../ruma-client-api", features =
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events = { version = "0.23.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
tracing = { version = "0.1.25", optional = true }

View File

@ -38,7 +38,7 @@ ruma-api = { version = "0.17.2", path = "../ruma-api" }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events = { version = "0.23.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"

View File

@ -49,7 +49,7 @@ ruma-api = { version = "0.17.2", path = "../ruma-api" }
ruma-client-api = { version = "0.11.2", path = "../ruma-client-api", optional = true, features = ["client"] }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"

View File

@ -23,7 +23,7 @@ unstable-pre-spec = []
indexmap = { version = "1.6.2", features = ["serde-1"] }
js_int = { version = "0.2.0", features = ["serde"] }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.60", features = ["raw_value"] }
tracing = "0.1.25"

View File

@ -30,7 +30,7 @@ pulldown-cmark = { version = "0.8", default-features = false, optional = true }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events-macros = { version = "=0.23.3", path = "../ruma-events-macros" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers", features = ["serde"] }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.60", features = ["raw_value"] }
thiserror = "1.0.25"

View File

@ -30,7 +30,7 @@ ruma-api = { version = "0.17.2", path = "../ruma-api" }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events = { version = "0.23.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"

View File

@ -29,8 +29,8 @@ paste = "1.0.5"
rand = { version = "0.8.3", optional = true }
ruma-identifiers-macros = { version = "=0.19.4", path = "../ruma-identifiers-macros" }
ruma-identifiers-validation = { version = "0.4.0", path = "../ruma-identifiers-validation", default-features = false }
ruma-serde = { version = "0.4.2", path = "../ruma-serde", optional = true }
ruma-serde-macros = { version = "0.4.2", path = "../ruma-serde-macros" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde", optional = true }
ruma-serde-macros = { version = "0.5.0", path = "../ruma-serde-macros" }
# Renamed so we can have a serde feature.
serde1 = { package = "serde", version = "1.0.126", optional = true, features = ["derive"] }

View File

@ -23,7 +23,7 @@ js_int = { version = "0.2.0", features = ["serde"] }
ruma-api = { version = "0.17.2", path = "../ruma-api" }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
[dev-dependencies]

View File

@ -24,6 +24,6 @@ ruma-api = { version = "0.17.2", path = "../ruma-api" }
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events = { version = "0.23.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"

View File

@ -7,7 +7,7 @@ keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-serde-macros"
repository = "https://github.com/ruma/ruma"
version = "0.4.2"
version = "0.5.0"
edition = "2018"
[lib]

View File

@ -1,5 +1,15 @@
# [unreleased]
# 0.5.0
Breaking changes:
* Make `urlencoded::ser::Error` non-exhaustive
* Remove `to_canonical_json_string` and `CanonicalJsonError::JsonSize`
* The size check only makes sense for PDUs but canonical JSON objects can be
used for other things too
* You can simply use `serde_json::to_string` instead
# 0.4.2
Improvements:

View File

@ -9,7 +9,7 @@ authors = [
]
homepage = "https://www.ruma.io/"
repository = "https://github.com/ruma/ruma"
version = "0.4.2"
version = "0.5.0"
edition = "2018"
[dependencies]
@ -17,7 +17,7 @@ bytes = "1.0.1"
form_urlencoded = "1.0.0"
itoa = "0.4.6"
js_int = { version = "0.2.0", features = ["serde"] }
ruma-serde-macros = { version = "=0.4.2", path = "../ruma-serde-macros" }
ruma-serde-macros = { version = "=0.5.0", path = "../ruma-serde-macros" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.61", features = ["raw_value"] }

View File

@ -25,7 +25,7 @@ pkcs8 = { version = "0.7.0", features = ["alloc"] }
# because dalek uses an older version of rand_core
rand = { version = "0.7", features = ["getrandom"] }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde_json = "1.0.60"
sha2 = "0.9.5"
thiserror = "1.0.23"

View File

@ -25,7 +25,7 @@ maplit = "1.0.2"
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-events = { version = "0.23.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.60"
thiserror = "1.0.22"

View File

@ -121,7 +121,7 @@ js_int = "0.2.0"
ruma-common = { version = "0.5.4", path = "../ruma-common" }
ruma-identifiers = { version = "0.19.4", path = "../ruma-identifiers", features = ["serde"] }
ruma-serde = { version = "0.4.2", path = "../ruma-serde" }
ruma-serde = { version = "0.5.0", path = "../ruma-serde" }
ruma-client = { version = "0.6.0", path = "../ruma-client", optional = true }
ruma-events = { version = "0.23.3", path = "../ruma-events", optional = true }