ouchadam / small-talk

Minimal Android messenger powered by Matrix
Apache License 2.0
142 stars 2 forks source link

Update dependency matrix-js-sdk to v34 [SECURITY] #366

Open renovate[bot] opened 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
matrix-js-sdk ^25.0.0 -> ^34.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-42369

Impact

A malicious homeserver can craft a room or room structure such that the predecessors form a cycle. The matrix-js-sdk's getRoomUpgradeHistory function will infinitely recurse in this case, causing the code to hang. This method is public but also called by the 'leaveRoomChain()' method, so leaving a room will also trigger the bug.

Even if the CVSS score would be 4.1 (AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L) we classify this as High severity issue.

Patches

This was patched in matrix-js-sdk 34.3.1.

Workarounds

Sanity check rooms before passing them to the matrix-js-sdk or avoid calling either getRoomUpgradeHistory or leaveRoomChain.

References

N/A.

CVE-2024-47080

Impact

In matrix-js-sdk versions 9.11.0 through 34.7.0, the method MatrixClient.sendSharedHistoryKeys is vulnerable to interception by malicious homeservers. The method implements functionality proposed in MSC3061 and can be used by clients to share historical message keys with newly invited users, granting them access to past messages in the room.

However, it unconditionally sends these "shared" keys to all of the invited user's devices, regardless of whether the user's cryptographic identity is verified or whether the user's devices are signed by that identity. This allows the attacker to potentially inject its own devices to receive sensitive historical keys without proper security checks.

Note that this only affects clients running the SDK with the legacy crypto stack. Clients using the new Rust cryptography stack (i.e. those that call MatrixClient.initRustCrypto() instead of MatrixClient.initCrypto()) are unaffected by this vulnerability, because MatrixClient.sendSharedHistoryKeys() raises an exception in such environments.

Patches

Fixed in matrix-js-sdk 34.8.0 by removing the vulnerable functionality.

Workarounds

Remove use of affected functionality from clients.

References

For more information

If you have any questions or comments about this advisory, please email us at security at matrix.org.


Release Notes

matrix-org/matrix-js-sdk (matrix-js-sdk) ### [`v34.8.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3480-2024-10-15) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.7.0...v34.8.0) \================================================================================================== This release removes insecure functionality, resolving CVE-2024-47080 / GHSA-4jf8-g8wp-cx7c. ### [`v34.7.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3470-2024-10-08) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.6.0...v34.7.0) \================================================================================================== #### πŸ¦– Deprecations - RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() ([#​4427](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4427)). Contributed by [@​hughns](https://redirect.github.com/hughns). #### ✨ Features - Bump matrix-rust-sdk to 9.1.0 ([#​4435](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4435)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Rotate Matrix RTC media encryption key when a new member joins a call for Post Compromise Security ([#​4422](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4422)). Contributed by [@​hughns](https://redirect.github.com/hughns). - Update media event content types to include captions ([#​4403](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4403)). Contributed by [@​tulir](https://redirect.github.com/tulir). - Update OIDC registration types to match latest MSC2966 state ([#​4432](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4432)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add `CryptoApi.pinCurrentUserIdentity` and `UserIdentity.needsUserApproval` ([#​4415](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4415)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). ### [`v34.6.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3460-2024-09-24) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.5.0...v34.6.0) \================================================================================================== #### πŸ¦– Deprecations - Element-R: Mark unsupported MatrixClient methods as deprecated ([#​4389](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4389)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). #### ✨ Features - Add crypto mode setting for invisible crypto, and apply it to decrypting events ([#​4407](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4407)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Don't share full key history for RTC per-participant encryption ([#​4406](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4406)). Contributed by [@​hughns](https://redirect.github.com/hughns). - Export membership types ([#​4405](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4405)). Contributed by [@​Johennes](https://redirect.github.com/Johennes). - Fix sending redacts in embedded (widget) mode ([#​4398](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4398)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Expose the event ID of a call membership ([#​4395](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4395)). Contributed by [@​robintown](https://redirect.github.com/robintown). - MSC4133 - Extended profiles ([#​4391](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4391)). Contributed by [@​Half-Shot](https://redirect.github.com/Half-Shot). ### [`v34.5.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3450-2024-09-10) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.4.0...v34.5.0) \================================================================================================== #### πŸ¦– Deprecations - Deprecate unused callback hooks `CryptoCallbacks.onSecretRequested` and `CryptoCallbacks.getDehydrationKey` ([#​4376](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4376)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). ### [`v34.4.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3440-2024-08-27) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.3.1...v34.4.0) \================================================================================================== #### ✨ Features - Use non-legacy calls if any are found ([#​4337](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4337)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). #### πŸ› Bug Fixes - Retry event decryption failures on first failure ([#​4346](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4346)). Contributed by [@​hughns](https://redirect.github.com/hughns). - Ensure "type" = "module" ES declaration in pre-release.sh ([#​4350](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4350)). Contributed by [@​BLCK-B](https://redirect.github.com/BLCK-B). - Handle MatrixRTC encryption keys arriving out of order ([#​4345](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4345)). Contributed by [@​hughns](https://redirect.github.com/hughns). - Resend MatrixRTC encryption keys if a membership has changed ([#​4343](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4343)). Contributed by [@​hughns](https://redirect.github.com/hughns). ### [`v34.3.1`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3431-2024-08-20) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.3.0...v34.3.1) \================================================================================================== ### [`v34.3.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3430-2024-08-13) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.2.0...v34.3.0) \================================================================================================== #### ✨ Features - Bump matrix-widget-api ([#​4336](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4336)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Also check for MSC3757 for session state keys ([#​4334](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4334)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Support Futures via widgets ([#​4311](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4311)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Support MSC4140: Delayed events (Futures) ([#​4294](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4294)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Handle late-arriving `m.room_key.withheld` messages ([#​4310](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4310)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Be specific about what is considered a MSC4143 call member event. ([#​4328](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4328)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Add index.ts for matrixrtc module ([#​4314](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4314)). Contributed by [@​toger5](https://redirect.github.com/toger5). #### πŸ› Bug Fixes - Fix hashed ID server lookups with no Olm ([#​4333](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4333)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). ### [`v34.2.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3420-2024-07-30) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.1.0...v34.2.0) \================================================================================================== #### πŸ› Bug Fixes - Element-R: detect "withheld key" UTD errors, and mark them as such ([#​4302](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4302)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). ### [`v34.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3410-2024-07-16) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v34.0.0...v34.1.0) \================================================================================================== #### ✨ Features - Add ability to choose how many timeline events to sync when peeking ([#​4300](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4300)). Contributed by [@​jgarplind](https://redirect.github.com/jgarplind). - Remove redundant hack for using the old pickle key in rust crypto ([#​4282](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4282)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Add fetching the well known in embedded mode. ([#​4259](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4259)). Contributed by [@​toger5](https://redirect.github.com/toger5). #### πŸ› Bug Fixes - Fix room state being updated with old (now overwritten) state and emitting for those updates. ([#​4242](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4242)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Fix incorrect "Olm is not available" errors ([#​4301](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4301)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Fix build for example script ([#​4286](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4286)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Declare matrix-js-sdk as an ES module ([#​4285](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4285)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). ### [`v34.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3400-2024-07-08) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v33.1.0...v34.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Fetch capabilities in the background ([#​4246](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). #### ✨ Features - Prefix the user+device state key if needed ([#​4262](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4262)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Use legacy call membership if anyone else is ([#​4260](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4260)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Fetch capabilities in the background ([#​4246](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Use server name instead of homeserver url to allow well-known lookups during QR OIDC reciprocation ([#​4233](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4233)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add via parameter for MSC4156 ([#​4247](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4247)). Contributed by [@​Johennes](https://redirect.github.com/Johennes). - Make the js-sdk compatible with MSC preferred foci and active focus. ([#​4195](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4195)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Replace usages of setImmediate with setTimeout for wider compatibility ([#​4240](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4240)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ› Bug Fixes - \[Backport staging] Fix "Unable to restore session" error ([#​4299](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4299)). Contributed by [@​RiotRobot](https://redirect.github.com/RiotRobot). - \[Backport staging] Fix error when sending encrypted messages in large rooms ([#​4297](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4297)). Contributed by [@​RiotRobot](https://redirect.github.com/RiotRobot). - Element-R: Fix resource leaks in verification logic ([#​4263](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4263)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Upgrade Rust Crypto SDK to 6.1.0 ([#​4261](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4261)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Correctly transform base64 with multiple instances of + or / ([#​4252](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4252)). Contributed by [@​robintown](https://redirect.github.com/robintown). - Work around spec bug for m.room.avatar state event content type ([#​4245](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4245)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). ### [`v33.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3310-2024-06-18) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v33.0.0...v33.1.0) \================================================================================================== #### ✨ Features - MSC4108 support OIDC QR code login ([#​4134](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4134)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add crypto methods for export and import of secrets bundle ([#​4227](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4227)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ› Bug Fixes - Fix screen sharing in recent Chrome ([#​4243](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4243)). Contributed by [@​RiotRobot](https://redirect.github.com/RiotRobot). - Fix incorrect assumptions about required fields in /search response ([#​4228](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4228)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Fix the queueToDevice tests for the new fakeindexeddb ([#​4225](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4225)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). ### [`v33.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3300-2024-06-04) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v32.4.0...v33.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove more deprecated methods, fields, and exports ([#​4217](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Remove deprecated methods and fields ([#​4201](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ¦– Deprecations - Remove more deprecated methods, fields, and exports ([#​4217](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Remove deprecated methods and fields ([#​4201](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### ✨ Features - `initRustCrypto`: allow app to pass in the store key directly ([#​4210](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4210)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Preserve ESM for async imports to work correctly ([#​4187](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4187)). Contributed by [@​ms-dosx86](https://redirect.github.com/ms-dosx86). #### πŸ› Bug Fixes - Don't run migration for Rust crypto if the legacy store is empty ([#​4218](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4218)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - Bump matrix-sdk-crypto-wasm to 5.0.0 ([#​4216](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4216)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Wire up verification cancel & mismatch for rust crypto ([#​4202](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4202)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Only pass id_server if we had one to begin with ([#​4200](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4200)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). ### [`v32.4.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3240-2024-05-22) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v32.3.0...v32.4.0) \================================================================================================== - No changes ### [`v32.3.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3230-2024-05-21) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v32.2.0...v32.3.0) \================================================================================================== #### ✨ Features - Simplify OIDC types & export `decodeIdToken` ([#​4193](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4193)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add helpers for authenticated media, and associated documentation ([#​4185](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4185)). Contributed by [@​turt2live](https://redirect.github.com/turt2live). #### πŸ› Bug Fixes - Fix state_events.ts types ([#​4196](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4196)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Fix sendEventHttpRequest for `m.room.redaction` events without `redacts` ([#​4192](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4192)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). ### [`v32.2.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3220-2024-05-07) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v32.1.0...v32.2.0) \================================================================================================== #### ✨ Features - Use a different error code for UTDs when user was not in the room ([#​4172](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4172)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Modernize window.crypto access constants ([#​4169](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4169)). Contributed by [@​turt2live](https://redirect.github.com/turt2live). - Improve compliance with MSC3266 ([#​4155](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4155)). Contributed by [@​AndrewFerr](https://redirect.github.com/AndrewFerr). - Add comment to make clear that RoomStateEvent.Events does not update related objects in the js-sdk ([#​4152](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4152)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Crypto: use a new error code for UTDs from device-relative historical events ([#​4139](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4139)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). #### πŸ› Bug Fixes - Element-R: Fix rust migration when ssss secret are stored not encryted in cache (old legacy behavior) ([#​4168](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4168)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). ### [`v32.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3210-2024-04-23) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v32.0.0...v32.1.0) \================================================================================================== #### ✨ Features - Add support for device dehydration v2 (Element R) ([#​4062](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4062)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - OIDC improvements in prep of OIDC-QR reciprocation ([#​4149](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4149)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ› Bug Fixes - Validate backup private key before migrating it ([#​4114](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4114)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - ElementR| Retry query backup until it works during migration to avoid spurious correption error popup ([#​4113](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4113)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). ### [`v32.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3200-2024-04-09) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.6.1...v32.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove various deprecated methods & re-exports ([#​4125](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4125)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Remove the logic that throws when the lazy loading options has changed. ([#​4124](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4124)). Contributed by [@​langleyd](https://redirect.github.com/langleyd). - Fix highlights from threads disappearing on new messages ([#​4106](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4106)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). #### ✨ Features - Add new `decryptExistingEvent` test helper ([#​4133](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4133)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Improve types for `sendEvent` ([#​4108](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4108)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Remove various deprecated methods & re-exports ([#​4125](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4125)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add new enum for verification methods. ([#​4129](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4129)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Add some test utils in a new entrypoint ([#​4127](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4127)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Improve types for `sendStateEvent` ([#​4105](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4105)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ› Bug Fixes - Improve types for `IPowerLevelsContent` and `hasSufficientPowerLevelFor` ([#​4128](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4128)). Contributed by [@​galash13](https://redirect.github.com/galash13). - Remove the logic that throws when the lazy loading options has changed. ([#​4124](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4124)). Contributed by [@​langleyd](https://redirect.github.com/langleyd). - Fix highlights from threads disappearing on new messages ([#​4106](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4106)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Extend logic for local notification processing to threads ([#​4111](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4111)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Fix public rooms post request search params and body ([#​4110](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4110)). Contributed by [@​ajbura](https://redirect.github.com/ajbura). - Fix bugs with the first reply to a thread ([#​4104](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4104)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). ### [`v31.6.1`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3161-2024-03-28) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.6.0...v31.6.1) \================================================================================================== #### πŸ› Bug Fixes - Fix merging of default push rules ([#​4136](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4136)). ### [`v31.6.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3160-2024-03-26) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.5.0...v31.6.0) \================================================================================================== #### ✨ Features - Introduce Membership TS type (take 2) ([#​4107](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4107)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - fix automatic DM avatar with functional members ([#​4017](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4017)). Contributed by [@​HarHarLinks](https://redirect.github.com/HarHarLinks). - Export types describing all specced media event formats ([#​4092](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4092)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add `.m.rule.is_room_mention` push rule to DEFAULT_OVERRIDE_RULES ([#​4100](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4100)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Make sending ContentLoaded optional for a widgetClient ([#​4086](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4086)). Contributed by [@​toger5](https://redirect.github.com/toger5). #### πŸ› Bug Fixes - Migrate own identity local trust to rust crypto ([#​4090](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4090)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Fix race condition with sliding sync extensions ([#​4089](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4089)). Contributed by [@​zzorba](https://redirect.github.com/zzorba). ### [`v31.5.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3150-2024-03-12) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.4.0...v31.5.0) \================================================================================================== #### ✨ Features - Update MSC2965 OIDC Discovery implementation ([#​4064](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4064)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). #### πŸ› Bug Fixes - Add basic retry for rust crypto outgoing requests ([#​4061](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4061)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). ### [`v31.4.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3140-2024-02-27) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.3.0...v31.4.0) \================================================================================================== #### ✨ Features - Validate `account_management_uri` and `account_management_actions_supported` from OIDC Issuer well-known ([#​4074](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4074)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Allow specifying OIDC url state parameter for passing data to callback ([#​4068](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4068)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add getAuthIssuer method for MSC2965 ([#​4071](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4071)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Allow specifying more OIDC client metadata for dynamic registration ([#​4070](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4070)). Contributed by [@​t3chguy](https://redirect.github.com/t3chguy). - Add unread marker event type ([#​4069](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4069)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Add "AsJson" forms of the key import/export methods ([#​4057](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4057)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). #### πŸ› Bug Fixes - Ignore memberships of users that are not in the call ([#​4065](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4065)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Await encrypted messages ([#​4063](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4063)). Contributed by [@​toger5](https://redirect.github.com/toger5). - ElementR | Ensure own user and device trust are updated after migration before giving back control to the app. ([#​4059](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4059)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Bump matrix-sdk-crypto-wasm to 4.5.0 ([#​4060](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4060)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). ### [`v31.3.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3130-2024-02-13) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.2.0...v31.3.0) \================================================================================================== #### ✨ Features - Add expire_ts compatibility to matrixRTC ([#​4032](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4032)). Contributed by [@​toger5](https://redirect.github.com/toger5). - Element-R: support for migration of the room list from legacy crypto ([#​4036](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4036)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Element-R: check persistent room list for encryption config ([#​4035](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4035)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Support optional MSC3860 redirects ([#​4007](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4007)). Contributed by [@​turt2live](https://redirect.github.com/turt2live). #### πŸ› Bug Fixes - WebR: migrate the megolm session imported flag ([#​4037](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4037)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - ElementR: fix emoji verification stalling when both ends hit start at the same time ([#​4004](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4004)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Dependencies: Bump wasm bindings version to 4.3.0 ([#​4042](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4042)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Element R: emit events when devices have changed ([#​4019](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4019)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - ElementR: report invalid keys rather than failing to restore from backup ([#​4006](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4006)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Make `timeline` a getter ([#​4022](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4022)). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Implement getting verification cancellation info in Rust crypto ([#​3947](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3947)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Fix crypto migration for megolm sessions with no sender key ([#​4024](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4024)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). ### [`v31.2.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3120-2024-01-31) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.1.0...v31.2.0) \================================================================================================== #### ✨ Features - Emit events during migration from libolm ([#​3982](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3982)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Support for migration from from libolm ([#​3978](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3978)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). #### πŸ› Bug Fixes - ElementR | backup: call expensive `roomKeyCounts` less often ([#​4015](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4015)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Decrypt and Import full backups in chunk with progress ([#​4005](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4005)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Fix new threads not appearing. ([#​4009](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4009)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). ### [`v31.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3110-2024-01-19) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v31.0.0...v31.1.0) \================================================================================================== #### ✨ Features - Broaden spec version support ([#​4016](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/4016)). Contributed by [@​RiotRobot](https://redirect.github.com/RiotRobot). ### [`v31.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3100-2024-01-16) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v30.3.0...v31.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Bump minimum spec version to v1.5 ([#​3970](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3970)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). #### ✨ Features - Bump minimum spec version to v1.5 ([#​3970](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3970)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Send authenticated /versions request ([#​3968](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3968)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). #### πŸ› Bug Fixes - Revert "Bump matrix-sdk-crypto-wasm to 3.6.0" ([#​3991](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3991)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - [#​22606](https://redirect.github.com/matrix-org/matrix-js-sdk/issues/22606) Fix "Remove" button to users without "m.room.redaction" ([#​3981](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3981)). Contributed by [@​rashmitpankhania](https://redirect.github.com/rashmitpankhania). - ElementR: Ensure Encryption order per room ([#​3973](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3973)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). - Element-R: fix `bootstrapSecretStorage` not resetting key backup when requested ([#​3976](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3976)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). ### [`v30.3.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3030-2023-12-19) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v30.2.0...v30.3.0) \================================================================================================== #### ✨ Features - Element-R: disable sending room key requests ([#​3939](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3939)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). #### πŸ› Bug Fixes - Fix notifications appearing for old events ([#​3946](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3946)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Don't back up keys that we got from backup ([#​3934](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3934)). Contributed by [@​uhoreg](https://redirect.github.com/uhoreg). - Fix upload with empty Content-Type ([#​3918](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3918)). Contributed by [@​JakubOnderka](https://redirect.github.com/JakubOnderka). - Prevent phantom notifications from events not in a room's timeline ([#​3942](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3942)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). ### [`v30.2.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3020-2023-12-05) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v30.1.0...v30.2.0) \================================================================================================== #### ✨ Features - Only await key query after lazy members resolved ([#​3902](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3902)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). #### πŸ› Bug Fixes - Rewrite receipt-handling code ([#​3901](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3901)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - Explicitly free some Rust-side objects ([#​3911](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3911)). Contributed by [@​richvdh](https://redirect.github.com/richvdh). - Fix type for TimestampToEventResponse.origin_server_ts ([#​3906](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3906)). Contributed by [@​Half-Shot](https://redirect.github.com/Half-Shot). ### [`v30.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3010-2023-11-21) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v30.0.1...v30.1.0) \================================================================================================== #### ✨ Features - Rotate per-participant keys when a member leaves ([#​3833](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3833)). Contributed by [@​dbkr](https://redirect.github.com/dbkr). - Add E2EE for embedded mode of Element Call ([#​3667](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3667)). Contributed by [@​SimonBrandner](https://redirect.github.com/SimonBrandner). #### πŸ› Bug Fixes - Shorten TimelineWindow when an event is removed ([#​3862](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3862)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - Ignore receipts pointing at missing or invalid events ([#​3817](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3817)). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). - Fix members being loaded from server on initial sync (defeating lazy loading) ([#​3830](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3830)). Contributed by [@​BillCarsonFr](https://redirect.github.com/BillCarsonFr). ### [`v30.0.1`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3001-2023-11-13) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v30.0.0...v30.0.1) \================================================================================================== #### πŸ› Bug Fixes - Ensure `setUserCreator` is called when a store is assigned ([#​3867](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3867)). Fixes [vector-im/element-web#26520](https://redirect.github.com/vector-im/element-web/issues/26520). Contributed by [@​MidhunSureshR](https://redirect.github.com/MidhunSureshR). ### [`v30.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3000-2023-11-07) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v29.1.0...v30.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Refactor & make base64 functions browser-safe ([#​3818](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3818)). - `IndexedDBStore.startup()` must be called after using it on `sdk.createClient` now. #### πŸ¦– Deprecations - Deprecate `MatrixEvent.toJSON` ([#​3801](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3801)). #### ✨ Features - Element-R: Add the git sha of the binding crate to `CryptoApi#getVersion` ([#​3838](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3838)). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: Wire up `globalBlacklistUnverifiedDevices` field to rust crypto encryption settings ([#​3790](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3790)). Fixes [vector-im/element-web#26315](https://redirect.github.com/vector-im/element-web/issues/26315). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: Wire up room rotation ([#​3807](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3807)). Fixes [vector-im/element-web#26318](https://redirect.github.com/vector-im/element-web/issues/26318). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: Add current version of the rust-sdk and vodozemac ([#​3825](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3825)). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: Wire up room history visibility ([#​3805](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3805)). Fixes [vector-im/element-web#26319](https://redirect.github.com/vector-im/element-web/issues/26319). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: log when we send to-device messages ([#​3810](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3810)). #### πŸ› Bug Fixes - Fix reemitter not being correctly wired on user objects created in storage classes ([#​3796](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3796)). Contributed by [@​MidhunSureshR](https://redirect.github.com/MidhunSureshR). - Element-R: silence log errors when viewing a pending event ([#​3824](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3824)). - Don't emit a closed event if the indexeddb is closed by Element ([#​3832](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3832)). Fixes [vector-im/element-web#25941](https://redirect.github.com/vector-im/element-web/issues/25941). Contributed by [@​dhenneke](https://redirect.github.com/dhenneke). - Element-R: silence log errors when viewing a decryption failure ([#​3821](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3821)). ### [`v29.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-2910-2023-10-24) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v29.0.0...v29.1.0) \================================================================================================== #### ✨ Features - OIDC: refresh tokens ([#​3764](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3764)). Contributed by [@​kerryarchibald](https://redirect.github.com/kerryarchibald). - OIDC: add `prompt` param to auth url creation ([#​3794](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3794)). Contributed by [@​kerryarchibald](https://redirect.github.com/kerryarchibald). - Allow applications to specify their own logger instance ([#​3792](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3792)). Fixes [#​1899](https://redirect.github.com/matrix-org/matrix-js-sdk/issues/1899). - Export AutoDiscoveryError and fix type of ALL_ERRORS ([#​3768](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3768)). #### πŸ› Bug Fixes - Fix sending call member events on leave ([#​3799](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3799)). Fixes [vector-im/element-call#1763](https://redirect.github.com/vector-im/element-call/issues/1763). - Don't use event.sender in CallMembership ([#​3793](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3793)). - Element-R: Don't mark QR code verification as done until it's done ([#​3791](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3791)). Fixes [vector-im/element-web#26293](https://redirect.github.com/vector-im/element-web/issues/26293). - Element-R: Connect device to key backup when crypto is created ([#​3784](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3784)). Fixes [vector-im/element-web#26316](https://redirect.github.com/vector-im/element-web/issues/26316). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: Avoid errors in `VerificationRequest.generateQRCode` when QR code is unavailable ([#​3779](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3779)). Fixes [vector-im/element-web#26300](https://redirect.github.com/vector-im/element-web/issues/26300). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - ElementR: Check key backup when user identity changes ([#​3760](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3760)). Fixes [vector-im/element-web#26244](https://redirect.github.com/vector-im/element-web/issues/26244). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Element-R: emit `VerificationRequestReceived` on incoming request ([#​3762](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3762)). Fixes [vector-im/element-web#26245](https://redirect.github.com/vector-im/element-web/issues/26245). ### [`v29.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-2900-2023-10-10) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v28.2.0...v29.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove browserify builds ([#​3759](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3759)). #### ✨ Features - Export AutoDiscoveryError and fix type of ALL_ERRORS ([#​3768](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3768)). - Support for stable MSC3882 get_login_token ([#​3416](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3416)). Contributed by [@​hughns](https://redirect.github.com/hughns). - Remove IsUserMention and IsRoomMention from DEFAULT_OVERRIDE_RULES ([#​3752](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3752)). Contributed by [@​kerryarchibald](https://redirect.github.com/kerryarchibald). #### πŸ› Bug Fixes - Fix a case where joinRoom creates a duplicate Room object ([#​3747](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3747)). - Add membershipID to call memberships ([#​3745](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3745)). - Fix the warning for messages from unsigned devices ([#​3743](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3743)). - Stop keep alive, when sync was stoped ([#​3720](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3720)). Contributed by [@​finsterwalder](https://redirect.github.com/finsterwalder). ### [`v28.2.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-2820-2023-09-26) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v28.1.0...v28.2.0) \================================================================================================== #### πŸ¦– Deprecations - Implement `getEncryptionInfoForEvent` and deprecate `getEventEncryptionInfo` ([#​3693](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3693)). - **The Browserify artifact is being deprecated, scheduled for removal in the October 10th release cycle. ([#​3189](https://redirect.github.com/matrix-org/matrix-js-sdk/issues/3189))** #### ✨ Features - Delete knocked room when knock membership changes ([#​3729](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3729)). Contributed by [@​maheichyk](https://redirect.github.com/maheichyk). - Introduce MatrixRTCSession lower level group call primitive ([#​3663](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3663)). - Sync knock rooms ([#​3703](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3703)). Contributed by [@​maheichyk](https://redirect.github.com/maheichyk). #### πŸ› Bug Fixes - Dont access indexed db when undefined ([#​3707](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3707)). Contributed by [@​finsterwalder](https://redirect.github.com/finsterwalder). - Don't reset unread count when adding a synthetic receipt ([#​3706](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3706)). Fixes [#​3684](https://redirect.github.com/matrix-org/matrix-js-sdk/issues/3684). Contributed by [@​andybalaam](https://redirect.github.com/andybalaam). ### [`v28.1.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-2810-2023-09-12) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v28.0.0...v28.1.0) \============================================================================================================ #### πŸ¦– Deprecations - Deprecate `MatrixClient.checkUserTrust` ([#​3691](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3691)). - Deprecate `MatrixClient.{prepare,create}KeyBackupVersion` in favour of new `CryptoApi.resetKeyBackup` API ([#​3689](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3689)). - **The Browserify artifact is being deprecated, scheduled for removal in the October 10th release cycle. ([#​3189](https://redirect.github.com/matrix-org/matrix-js-sdk/issues/3189))** #### ✨ Features - Allow calls without ICE/TURN/STUN servers ([#​3695](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3695)). - Emit summary update event ([#​3687](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3687)). Fixes [vector-im/element-web#26033](https://redirect.github.com/vector-im/element-web/issues/26033). - ElementR: Update `CryptoApi.userHasCrossSigningKeys` ([#​3646](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3646)). Contributed by [@​florianduros](https://redirect.github.com/florianduros). - Add `join_rule` field to /publicRooms response ([#​3673](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3673)). Contributed by [@​charlynguyen](https://redirect.github.com/charlynguyen). - Use sender instead of content.creator field on m.room.create events ([#​3675](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3675)). #### πŸ› Bug Fixes - Provide better error for ICE Server SyntaxError ([#​3694](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3694)). Fixes [vector-im/element-web#21804](https://redirect.github.com/vector-im/element-web/issues/21804). - Legacy crypto: re-check key backup after `bootstrapSecretStorage` ([#​3692](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3692)). Fixes [vector-im/element-web#26115](https://redirect.github.com/vector-im/element-web/issues/26115). ### [`v28.0.0`](https://redirect.github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-2800-2023-08-29) [Compare Source](https://redirect.github.com/matrix-org/matrix-js-sdk/compare/v27.2.0...v28.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Set minimum supported Matrix 1.1 version (drop legacy r0 versions) ([#​3007](https://redirect.github.com/matrix-org/matrix-js-sdk/pull/3007)). Fixes [vector-im/element-web#16876](https://redirect.github.com/vector-im/element-web/issues/16876). #### πŸ¦– Deprecations - **The Browserify artifact is being deprecated, scheduled for removal in the October 10th re

Configuration

πŸ“… Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 1 month ago

APK Size: 2.1 MB