3.1 KiB
3.1 KiB
[unreleased]
Breaking changes:
key_id::validatetakes a generic parameter that implements the newKeyNametrait to validate the key name part. This allows to validate key names that are not only server signing key versions.- The
compat-key-idcargo feature was renamed tocompat-server-signing-key-version. - Remove the
device_key_idmodule.DeviceKeyIdis now validated withkey_id::validate.
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-idfeature, 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-idsCargo 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_namemodule- Room name size limits were never enforced, so they are now just regular
Strings 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
Errortype (merge / rename variants)
0.7.0
Improvements:
- Add more
Errorvariants
0.6.0
Breaking changes:
- Most validation functions no longer return the colon position on success
Improvements:
- Add
mxc_urivalidation
0.5.0
Breaking changes:
- Make
Errortype 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
serdefeature
0.2.4
Improvements:
- Restore the
serdefeature which was accidentally removed in a patch release
0.2.3
Improvements:
- Add a
compatfeature- 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_algorithmsmodule (moved to ruma-identifiers ascrypto_algorithms)