Use OwnedCrossSigningKeyId, OwnedDeviceSigningKeyId and OwnedCrossSigningOrDeviceSigningKeyId instead of OwnedDeviceKeyId to identify signing keys.
3.0 KiB
3.0 KiB
[unreleased]
Breaking changes:
key_id::validate
takes a generic parameter that implements the newKeyName
trait to validate the key name part. This allows to validate key names that are not only server signing key versions.- The
compat-key-id
cargo feature was renamed tocompat-server-signing-key-version
.
Improvements:
- Add
server_signing_key_version::validate
. - Add
base64_public_key::validate
.
0.9.5
Bug fixes:
- Allow underscores (
_
) when validating MXC URIs.- They have always been allowed in the spec in order to support URL-safe base64-encoded media IDs.
Improvements:
- Point links to the Matrix 1.10 specification
0.9.4
Yanked because it was created from the wrong branch
0.9.3
Improvements:
- Don't require room IDs to contain a server name
- Room IDs being splittable into localpart and servername does not have
much inherent value and there are proposals like MSC4051 that propose
changing the format. Relaxing the rules makes Ruma forwards-compatible
with those proposals. The server_name accessor is kept because it is
used by at least one downstream, but is updated to return an
Option
.
- Room IDs being splittable into localpart and servername does not have
much inherent value and there are proposals like MSC4051 that propose
changing the format. Relaxing the rules makes Ruma forwards-compatible
with those proposals. The server_name accessor is kept because it is
used by at least one downstream, but is updated to return an
0.9.2
Bug fixes:
- Don't consider empty localpart of a user ID as valid
- It is accepted under the
compat-user-id
feature, but not considered fully-conforming
- It is accepted under the
Improvements:
- Allow
+
in the localpart of user IDs according to MSC4009 / Matrix 1.8 - Add
compat-arbitrary-length-ids
Cargo feature for opting out of 255-byte length check for all ID types
0.9.1
Improvements:
- Update links to the latest version of the Matrix spec
0.9.0
Breaking changes:
- Remove
room_name
module- Room name size limits were never enforced, so they are now just regular
String
s in Ruma (Spec change removing the size limit)
- Room name size limits were never enforced, so they are now just regular
0.8.1
Improvements:
- Remove unused dependency on
url
0.8.0
Breaking changes:
- Rework the
Error
type (merge / rename variants)
0.7.0
Improvements:
- Add more
Error
variants
0.6.0
Breaking changes:
- Most validation functions no longer return the colon position on success
Improvements:
- Add
mxc_uri
validation
0.5.0
Breaking changes:
- Make
Error
type non-exhaustive
0.4.0
Breaking changes:
- Fix a typo in a public function name:
user_id::localpart_is_fully_conforming
0.3.0
Breaking changes:
- Remove the
serde
feature
0.2.4
Improvements:
- Restore the
serde
feature which was accidentally removed in a patch release
0.2.3
Improvements:
- Add a
compat
feature- Under this feature, more user IDs are accepted that exist in the while but are not spec-compliant
0.2.2
Improvements:
- Add verification of
mxc://
URIs
0.2.1
Improvements:
- Drop unused dependencies
0.2.0
Breaking changes:
- Remove
key_algorithms
module (moved to ruma-identifiers ascrypto_algorithms
)