Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
uhoreg committed Sep 5, 2024
1 parent 3ab08fd commit 87c7671
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
# UNRELEASED

**BREAKING CHANGES**

- The format for `EncryptionSettings.sharingStrategy` has changed. It must
now be created using the `CollectStrategy.deviceBasedStrategy(...)` or
`CollectStrategy.identityBasedStrategy()` functions.
([#141](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/141))
- The `OlmMachine.decryptRoomEvent` has a new `DecryptionSettings` parameter
that allows specifying the required sender trust level. If the trust level
is not met, the decryption will fail. To replicate the old behaviour, use a
sender trust level of `TrustRequirement.Untrusted`.
([#141](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/141))

**Security Fixes**

- Fix `UserIdentity.isVerified` to take into account our own identity
[#d8d9dae](https://github.com/matrix-org/matrix-rust-sdk/commit/d8d9dae9d77bee48a2591b9aad9bd2fa466354cc) (Moderate, [GHSA-4qg4-cvh2-crgg](https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg)).

**Other changes**

- `ShieldState` has a new `code` property that is set when the shield state is
not `None`.
([#141](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/141))
- Add a new API `Device.encryptToDeviceEvent` to encrypt a to-device message using
Olm.
([#101](https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/101))
Expand Down

0 comments on commit 87c7671

Please sign in to comment.