identifiers: Bump version (prerelease), update change log

This commit is contained in:
Jonas Platte 2020-07-15 00:43:09 +02:00
parent a3e5d679a1
commit 1a1884ce81
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
9 changed files with 19 additions and 14 deletions

View File

@ -19,7 +19,7 @@ edition = "2018"
http = "0.2.1" http = "0.2.1"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
ruma-api-macros = { version = "=0.16.1", path = "../ruma-api-macros" } ruma-api-macros = { version = "=0.16.1", path = "../ruma-api-macros" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.0", path = "../ruma-serde" } ruma-serde = { version = "0.2.0", path = "../ruma-serde" }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }
serde_json = "1.0.55" serde_json = "1.0.55"

View File

@ -14,6 +14,6 @@ edition = "2018"
[dependencies] [dependencies]
ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-api = { version = "0.16.1", path = "../ruma-api" }
ruma-events = { version = "0.21.3", path = "../ruma-events" } ruma-events = { version = "0.21.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }
serde_json = "1.0.55" serde_json = "1.0.55"

View File

@ -22,7 +22,7 @@ js_int = { version = "0.1.7", features = ["serde"] }
ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-api = { version = "0.16.1", path = "../ruma-api" }
ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-common = { version = "0.1.3", path = "../ruma-common" }
ruma-events = { version = "0.21.3", path = "../ruma-events" } ruma-events = { version = "0.21.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.2", path = "../ruma-serde" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }
serde_json = "1.0.55" serde_json = "1.0.55"

View File

@ -22,7 +22,7 @@ matches = "0.1.8"
proc-macro = true proc-macro = true
[dev-dependencies] [dev-dependencies]
ruma-identifiers = { version = "0.16.1", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
serde_json = "1.0.55" serde_json = "1.0.55"
js_int = { version = "0.1.7", features = ["serde"] } js_int = { version = "0.1.7", features = ["serde"] }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }

View File

@ -17,7 +17,7 @@ criterion = { version = "0.3.2", optional = true }
js_int = { version = "0.1.7", features = ["serde"] } js_int = { version = "0.1.7", features = ["serde"] }
ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-common = { version = "0.1.3", path = "../ruma-common" }
ruma-events-macros = { version = "=0.21.3", path = "../ruma-events-macros" } ruma-events-macros = { version = "=0.21.3", path = "../ruma-events-macros" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.2", path = "../ruma-serde" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }
serde_json = { version = "1.0.55", features = ["raw_value"] } serde_json = { version = "1.0.55", features = ["raw_value"] }
@ -26,7 +26,7 @@ strum = { version = "0.18.0", features = ["derive"] }
[dev-dependencies] [dev-dependencies]
maplit = "1.0.2" maplit = "1.0.2"
matches = "0.1.8" matches = "0.1.8"
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers", features = ["rand"] } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers", features = ["rand"] }
trybuild = "1.0.30" trybuild = "1.0.30"
[[bench]] [[bench]]

View File

@ -20,7 +20,7 @@ js_int = "0.1.7"
matches = "0.1.8" matches = "0.1.8"
ruma-api = { version = "0.16.1", path = "../ruma-api" } ruma-api = { version = "0.16.1", path = "../ruma-api" }
ruma-events = { version = "0.21.3", path = "../ruma-events" } ruma-events = { version = "0.21.3", path = "../ruma-events" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers" } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.2", path = "../ruma-serde" } ruma-serde = { version = "0.2.2", path = "../ruma-serde" }
serde = { version = "1.0.113", features = ["derive"] } serde = { version = "1.0.113", features = ["derive"] }
serde_json = "1.0.55" serde_json = "1.0.55"

View File

@ -1,5 +1,7 @@
# [unreleased] # [unreleased]
# 0.17.0
Breaking changes: Breaking changes:
* Remove `RoomVersionId::custom`. It could be used to create invalid room versions (empty or * Remove `RoomVersionId::custom`. It could be used to create invalid room versions (empty or
@ -19,7 +21,7 @@ Breaking changes:
``` ```
to to
```rust ```rust
fn new(ServerNameRef<'_>) -> Self fn new(&ServerName) -> Self
``` ```
* Change signature of `server_name()` for `EventId`, `RoomAliasId`, `RoomId`, `RoomIdOrAliasId`, `UserId` from * Change signature of `server_name()` for `EventId`, `RoomAliasId`, `RoomId`, `RoomIdOrAliasId`, `UserId` from
@ -28,18 +30,21 @@ Breaking changes:
``` ```
to to
```rust ```rust
fn server_name() -> ServerNameRef<'_> fn server_name() -> &ServerName
``` ```
* Change `DeviceId` from being an alias for `String` to being an alias for `str`
* This means any string slice or string literal is a valid `&DeviceId` now
* But to store one, you need to box it: `Box<DeviceId>`
Deprecations: Deprecations:
* Mark `server_name::is_valid_server_name` as deprecated in favor of `ServerName::try_from()` * Mark `server_name::is_valid_server_name` as deprecated in favor of `<&ServerName>::try_from()`
Improvements: Improvements:
* Add `DeviceKeyId`, `DeviceKeyAlgorithm`, `ServerKeyId`, and `ServerKeyAlgorithm` * Add `DeviceKeyId`, `DeviceKeyAlgorithm`, `ServerKeyId`, and `ServerKeyAlgorithm`
* Add `ServerName` and `ServerNameRef` types * Add a `ServerName` type
* This is a dynamically-sized type, if you need to store it use `Box<ServerName>`
# 0.16.2 # 0.16.2

View File

@ -9,7 +9,7 @@ license = "MIT"
name = "ruma-identifiers" name = "ruma-identifiers"
readme = "README.md" readme = "README.md"
repository = "https://github.com/ruma/ruma-identifiers" repository = "https://github.com/ruma/ruma-identifiers"
version = "0.16.2" version = "0.17.0-pre.1"
edition = "2018" edition = "2018"
[package.metadata.docs.rs] [package.metadata.docs.rs]

View File

@ -22,7 +22,7 @@ federation-api = ["ruma-api", "ruma-federation-api", "ruma-signatures"]
[dependencies] [dependencies]
ruma-common = { version = "0.1.3", path = "../ruma-common" } ruma-common = { version = "0.1.3", path = "../ruma-common" }
ruma-identifiers = { version = "0.16.2", path = "../ruma-identifiers", features = ["serde"] } ruma-identifiers = { version = "=0.17.0-pre.1", path = "../ruma-identifiers", features = ["serde"] }
ruma-events = { version = "0.21.3", path = "../ruma-events", optional = true } ruma-events = { version = "0.21.3", path = "../ruma-events", optional = true }
ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true } ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true }