Update dependency matrix-js-sdk to v42 #20

Open
forgejo wants to merge 1 commit from renovate/matrix-js-sdk-42.x into main
forgejo commented 2026-07-21 13:58:13 +00:00 (Migrated from git.smallhack.org)

This PR contains the following updates:

Package Change Age Confidence
matrix-js-sdk ^32.0.0^42.0.0 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

matrix-org/matrix-js-sdk (matrix-js-sdk)

v42.1.0

Compare Source

==================================================================================================

🦖 Deprecations

Features

🐛 Bug Fixes

v42.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

v41.9.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • Fix restarting delayed events via compatibility path in RoomWidgetClient (#​5380). Contributed by @​robintown.

v41.8.0

Compare Source

==================================================================================================

Features

  • MatrixRTC: Preserve original error as cause when wrapping in scheduler (#​5363). Contributed by @​fkwp.
  • Add mechanism to locally enforce MSC1763 retention rules (#​5353). Contributed by @​Half-Shot.

🐛 Bug Fixes

  • Fall back to local indexeddb backend when worker fails to start (#​5361). Contributed by @​t3chguy.

v41.7.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • [Backport staging] SECURITY: Update matrix-sdk-crypto-wasm to v18.3.1 (#​5356). Contributed by @​RiotRobot.
  • fix(MatrixRTCSession): replace no-arg .finally() with .then(fn, fn) to fix crash on React Native / Hermes (#​5307). Contributed by @​JeanLuX.

v41.6.0

Compare Source

==================================================================================================

🐛 Bug Fixes

  • Throw sane error on completeLoginOnNewDevice IdP rejection (#​5321). Contributed by @​t3chguy.

v41.5.0

Compare Source

==================================================================================================

Features

v41.4.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v41.3.0

Compare Source

==================================================================================================

🐛 Bug Fixes

v41.2.0

Compare Source

==================================================================================================

Features

v41.1.0

Compare Source

==================================================================================================

Features

  • Throw a specific error when the backup decryption key does not match the public backup (#​5202). Contributed by @​andybalaam.
  • Update getUrlPreview to use /_matrix/client/v1/media/preview_url (#​5191). Contributed by @​Half-Shot.

v41.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

Features

🐛 Bug Fixes

v40.2.0

Compare Source

==================================================================================================

🦖 Deprecations

  • [MatrixRTC] Remove sending of deprecated notify event (we now use m.rtc.notification) (#​5167). Contributed by @​toger5.

Features

  • Use stable /auth_metadata endpoint where homeserver supports v1.15 (#​5174). Contributed by @​hughns.
  • Support additional_creators in upgradeRoom (MSC4289) (#​5173). Contributed by @​andybalaam.
  • [MatrixRTC] Minimal change to transition from "" to "ROOM" as the callId/slotId (#​5166). Contributed by @​toger5.
  • [MatrixRTC] Do not send the livekit_alias in sticky events (#​5165). Contributed by @​toger5.
  • Improve startup performance by using promise.all when processing rooms from sync (#​5095). Contributed by @​MidhunSureshR.
  • Add OAuthGrantType enum for OAuth 2.0 API grant types (#​5161). Contributed by @​hughns.
  • Add support for stable OAuth2.0 aware feature from MSC3824 (#​5159). Contributed by @​hughns.
  • Give RoomWidgetClient the ability to send and receive sticky events (#​5142). Contributed by @​robintown.

🐛 Bug Fixes

  • [js sdk embedded/widget] Fix race where this.syncApi.injectRoomEvents was called before the syncApi is instantiated (#​5168). Contributed by @​toger5.
  • [MatrixRTC] Fix delayId not resetting on leave (#​5156). Contributed by @​toger5.

v40.1.0

Compare Source

==================================================================================================

🦖 Deprecations

Features

🐛 Bug Fixes

v40.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

🦖 Deprecations

Features

🐛 Bug Fixes

v39.4.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • Allow msc4354_sticky_key to be optional on sticky events. (#​5073). Contributed by @​Half-Shot.
  • Handle all response fields from /context API being optional (#​5089). Contributed by @​t3chguy.

v39.3.0

Compare Source

==================================================================================================

🐛 Bug Fixes

v39.2.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v39.1.2

Compare Source

==================================================================================================
Re-release of v39.1.0 to fix npm publishing workflow

v39.1.1

Compare Source

==================================================================================================
Re-release of v39.1.0 to fix npm publishing workflow

v39.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

  • [MatrixRTC] Multi SFU support + m.rtc.member event type support (#​5022). Contributed by @​toger5.

Features

🐛 Bug Fixes

v38.4.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v38.3.0

Compare Source

==================================================================================================

🐛 Bug Fixes

v38.2.0

Compare Source

==================================================================================================
Fix CVE-2025-59160 / GHSA-mp7c-m3rh-r56v

v38.1.0

Compare Source

==================================================================================================

Features

  • Remove custom org.matrix.msc4075.rtc.notification.parent relation type (#​4979). Contributed by @​toger5.
  • MatrixRTC: Add RTC decline event (#​4978). Contributed by @​toger5.
  • Make a MatrixRTCSession emit once the RTCNotification is sent (#​4976). Contributed by @​toger5.
  • Use hydra semantics for unknown room versions (#​4957). Contributed by @​dbkr.
  • Expose the StatusChanged event through the RTCSession (#​4974). Contributed by @​toger5.
  • Add probablyLeft event to the MatrixRTCSession (#​4962). Contributed by @​toger5.

🐛 Bug Fixes

v38.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

  • Release tranche of breaking changes (#​4975).
  • Remove support for FetchHttpApi onlyData = false
  • Remove deprecated IJoinRoomOpts.syncRoom
  • Remove deprecated methods which are unsupported in rust crypto
  • Remove deprecated getAuthIssuer method
  • Remove deprecated beginKeyVerification method
  • Remove deprecated isEncryptedDisabledForUnverifiedDevices getter
  • Remove deprecated UndecryptableToDeviceEvent MatrixClient emit
  • Remove deprecated defer utility method
  • Remove deprecated UIAResponse dummy type
  • Remove deprecated MatrixRTCSession MembershipConfig fields
  • Remove deprecated findVerificationRequestDMInProgress and storeSessionBackupPrivateKey methods in favour of overloads

Features

  • Allow multiple rtc sessions per room (with different sessionDescriptions) (#​4945). Contributed by @​toger5.
  • Add support for login_hint in authorization url generation (#​4943). Contributed by @​odelcroi.
  • Only process MatrixRTC sessions associated with calls for callMembershipsForRoom (#​4960). Contributed by @​fkwp.

v37.13.0

Compare Source

====================================================================================================
This release supports new v12 Matrix rooms and consequently has a breaking change, removing powerLevelNorm from the RoomMember object as this can't be supported with infinite power levels. Apps should use the non-normalised powerLevel instead.

🚨 BREAKING CHANGES

Features

  • [Backport staging] Support v12 rooms in maySendEvent (#​4956). Contributed by @​RiotRobot.
  • [Backport staging] Support for creator power level (#​4954). Contributed by @​RiotRobot.
  • Experimental support for sharing encrypted history on invite (#​4920). Contributed by @​richvdh.
  • Use the logger associated with MatrixClient in rust sdk (#​4918). Contributed by @​richvdh.
  • Update to matrix-sdk-crypto-wasm 15.1.0, and add new ShieldStateCode.MismatchedSender (#​4916). Contributed by @​richvdh.

🐛 Bug Fixes

  • Fix unknown/broken state in the RTC Membership Manager causing unnecassary error logging. (#​4944). Contributed by @​toger5.

v37.12.0

Compare Source

====================================================================================================

🦖 Deprecations

Features

  • Custom abort timeout logic for restarting delayed events that is compatible with the widget api (#​4927). Contributed by @​toger5.
  • Allow sending notification events when starting a call (#​4826). Contributed by @​robintown.

🐛 Bug Fixes

v37.11.0

Compare Source

====================================================================================================

Features

v37.10.0

Compare Source

====================================================================================================

Features

v37.9.0

Compare Source

==================================================================================================

🐛 Bug Fixes

  • Ensure we send spec-compliant filter strings by stripping out null values (#​4865). Contributed by @​t3chguy.
  • Fix MatrixRTC membership manager failing to rejoin in a race condition (sync vs not found response) (#​4861). Contributed by @​toger5.
  • Include extraParams in all HTTP requests (#​4860). Contributed by @​rsb-tbg.

v37.8.0

Compare Source

==================================================================================================

🐛 Bug Fixes

v37.7.0

Compare Source

==================================================================================================

🦖 Deprecations

Features

  • Allow the embedded client to work without update_state support (#​4849). Contributed by @​robintown.
  • Check for unknown variant on to-device sending and fall back to room event encryption. (#​4847). Contributed by @​toger5.
  • Reapply "Distinguish room state and timeline events in embedded clients" (#​4790). Contributed by @​robintown.

v37.6.0

Compare Source

==================================================================================================

🦖 Deprecations

  • Deprecate utils function defer in favour of Promise.withResolvers (#​4829). Contributed by @​t3chguy.

Features

🐛 Bug Fixes

v37.5.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • [Backport staging] Fix token refresh behaviour for non-expired tokens (#​4827). Contributed by @​RiotRobot.
  • Refactor how token refreshing works to be more resilient (#​4819). Contributed by @​t3chguy.

v37.4.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v37.3.0

Compare Source

==================================================================================================

Features

  • MatrixRTC MembershipManger: remove redundant sendDelayedEventAction and expose status (#​4747). Contributed by @​toger5.
  • Abstract logout-causing error type from tokenRefreshFunction calls (#​4765). Contributed by @​t3chguy.
  • Improve PushProcessor::getPushRuleGlobRegex (#​4764). Contributed by @​t3chguy.
  • Export push processor & method for converting matrix glob to regexp (#​4763). Contributed by @​t3chguy.
  • Add authenticated media parameter to getMediaConfig (#​4762). Contributed by @​m004.
  • Rust crypto: set a timeout on outgoing HTTP requests (#​4761). Contributed by @​richvdh.
  • Switch sliding sync support to simplified sliding sync (#​4400). Contributed by @​dbkr.

v37.2.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • Allow port differing in OIDC dynamic registration URIs (#​4749). Contributed by @​t3chguy.
  • OIDC: only pass logo_uri, policy_uri, tos_uri if they conform to "common base" (#​4748). Contributed by @​t3chguy.

v37.1.0

Compare Source

==================================================================================================

🦖 Deprecations

  • MatrixRTC: MembershipManager test cases and deprecation of MatrixRTCSession.room (#​4713). Contributed by @​toger5.

Features

🐛 Bug Fixes

v37.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

🦖 Deprecations

Features

🐛 Bug Fixes

v36.2.0

Compare Source

==================================================================================================

🦖 Deprecations

  • [Backport staging] Deprecate parameter and functions using legacy crypto in models/event.ts (#​4700). Contributed by @​RiotRobot.

Features

🐛 Bug Fixes

v36.1.0

Compare Source

==================================================================================================

Features

  • Deprecate MatrixClient.login and replace with loginRequest (#​4632). Contributed by @​richvdh.
  • Use SyncCryptoCallback api instead of legacy crypto in sliding sync (#​4624). Contributed by @​florianduros.
  • Distinguish room state and timeline events in embedded clients (#​4574). Contributed by @​robintown.
  • Allow setting default secret storage key id to null (#​4615). Contributed by @​florianduros.
  • Add authenticated media to getAvatarUrl in room and room-member models (#​4616). Contributed by @​m004.
  • Send MSC3981 'recurse' param on /relations endpoint on Matrix 1.10 servers (#​4023). Contributed by @​dbkr.

🐛 Bug Fixes

  • [Backport staging] Revert "Distinguish room state and timeline events in embedded clients (#​4574)" (#​4657). Contributed by @​RiotRobot.
  • Change randomString et al to be secure (#​4621). Contributed by @​dbkr.
  • Fix issue with sentinels being incorrect on m.room.member events (#​4609). Contributed by @​t3chguy.

v36.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

  • Remove support for "legacy" MSC3898 group calling in MatrixRTCSession and CallMembership (#​4583). Contributed by @​toger5.

Features

  • MatrixRTC: Implement expiry logic for CallMembership and additional test coverage (#​4587). Contributed by @​toger5.

🐛 Bug Fixes

v35.1.0

Compare Source

==================================================================================================
This release updates matrix-sdk-crypto-wasm to fix a bug which could prevent loading stored crypto state from storage.

🐛 Bug Fixes

  • Upgrade matrix-sdk-crypto-wasm to 1.11.0 (#​4593).

v35.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

This release contains several breaking changes which will need code changes in your app. Most notably, initCrypto()
no longer exists and has been moved to initLegacyCrypto() in preparation for the eventual removal of Olm. You can
continue to use legacy Olm crypto for now by calling initLegacyCrypto() instead.

You may also need to make further changes if you use more advanced APIs. See the individual PRs (listed in order of size of change) for specific APIs changed and how to migrate.

🦖 Deprecations

  • Deprecate remaining legacy functions and move CryptoEvent.LegacyCryptoStoreMigrationProgress handler (#​4560). Contributed by @​florianduros.

Features

  • Rename MatrixClient.initCrypto into MatrixClient.initLegacyCrypto (#​4567). Contributed by @​florianduros.
  • Avoid use of Buffer as it does not exist in the Web natively (#​4569). Contributed by @​t3chguy.
  • Re-send MatrixRTC media encryption keys for a new joiner even if a rotation is in progress (#​4561). Contributed by @​hughns.
  • Support MSC4222 state_after (#​4487). Contributed by @​dbkr.
  • Revert "Fix room state being updated with old (now overwritten) state and emitting for those updates. (#​4242)" (#​4532). Contributed by @​toger5.

🐛 Bug Fixes

v34.13.0

Compare Source

====================================================================================================

🦖 Deprecations

Features

🐛 Bug Fixes

v34.12.0

Compare Source

====================================================================================================

🦖 Deprecations

Features

v34.11.1

Compare Source

====================================================================================================

v34.10.0

Compare Source

====================================================================================================

🦖 Deprecations

  • Deprecate CreateSecretStorageOpts.keyBackupInfo used in CryptoApi.bootstrapSecretStorage. (#​4474). Contributed by @​florianduros.
  • Add CryptoApi.encryptToDeviceMessages() and deprecate Crypto.encryptAndSendToDevices() (#​4380). Contributed by @​hughns.
  • Remove abandoned MSC3886, MSC3903, MSC3906 experimental implementations (#​4469). Contributed by @​t3chguy.
  • Deprecate MatrixClient.getDehydratedDevice (#​4467). Contributed by @​florianduros.
  • Deprecate top level crypto events re-export (#​4444). Contributed by @​florianduros.

Features

  • Add CryptoApi.encryptToDeviceMessages() and deprecate Crypto.encryptAndSendToDevices() (#​4380). Contributed by @​hughns.
  • Do not rotate MatrixRTC media encryption key when a new member joins a session (#​4472). Contributed by @​hughns.
  • Avoid <sender>|<session> notation in log messages (#​4473). Contributed by @​richvdh.
  • Refactor/simplify Promises in MatrixRTCSession (#​4466). Contributed by @​AndrewFerr.
  • Prepare delayed call leave events more reliably (#​4447). Contributed by @​AndrewFerr.

🐛 Bug Fixes

v34.9.0

Compare Source

==================================================================================================

🦖 Deprecations

🐛 Bug Fixes

v34.8.0

Compare Source

==================================================================================================
This release removes insecure functionality, resolving CVE-2024-47080 / GHSA-4jf8-g8wp-cx7c.

v34.7.0

Compare Source

==================================================================================================

🦖 Deprecations

  • RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() (#​4427). Contributed by @​hughns.

Features

  • Bump matrix-rust-sdk to 9.1.0 (#​4435). Contributed by @​richvdh.
  • Rotate Matrix RTC media encryption key when a new member joins a call for Post Compromise Security (#​4422). Contributed by @​hughns.
  • Update media event content types to include captions (#​4403). Contributed by @​tulir.
  • Update OIDC registration types to match latest MSC2966 state (#​4432). Contributed by @​t3chguy.
  • Add CryptoApi.pinCurrentUserIdentity and UserIdentity.needsUserApproval (#​4415). Contributed by @​richvdh.

v34.6.0

Compare Source

==================================================================================================

🦖 Deprecations

  • Element-R: Mark unsupported MatrixClient methods as deprecated (#​4389). Contributed by @​richvdh.

Features

v34.5.0

Compare Source

==================================================================================================

🦖 Deprecations

  • Deprecate unused callback hooks CryptoCallbacks.onSecretRequested and CryptoCallbacks.getDehydrationKey (#​4376). Contributed by @​richvdh.

v34.4.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

  • Retry event decryption failures on first failure (#​4346). Contributed by @​hughns.
  • Ensure "type" = "module" ES declaration in pre-release.sh (#​4350). Contributed by @​BLCK-B.
  • Handle MatrixRTC encryption keys arriving out of order (#​4345). Contributed by @​hughns.
  • Resend MatrixRTC encryption keys if a membership has changed (#​4343). Contributed by @​hughns.

v34.3.1

Compare Source

==================================================================================================

v34.3.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v34.2.0

Compare Source

==================================================================================================

🐛 Bug Fixes

  • Element-R: detect "withheld key" UTD errors, and mark them as such (#​4302). Contributed by @​richvdh.

v34.1.0

Compare Source

==================================================================================================

Features

  • Add ability to choose how many timeline events to sync when peeking (#​4300). Contributed by @​jgarplind.
  • Remove redundant hack for using the old pickle key in rust crypto (#​4282). Contributed by @​richvdh.
  • Add fetching the well known in embedded mode. (#​4259). Contributed by @​toger5.

🐛 Bug Fixes

v34.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

Features

🐛 Bug Fixes

v33.1.0

Compare Source

==================================================================================================

Features

🐛 Bug Fixes

v33.0.0

Compare Source

==================================================================================================

🚨 BREAKING CHANGES

🦖 Deprecations

Features

🐛 Bug Fixes


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) | [`^32.0.0` → `^42.0.0`](https://renovatebot.com/diffs/npm/matrix-js-sdk/32.4.0/42.1.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/matrix-js-sdk/42.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/matrix-js-sdk/32.4.0/42.1.0?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3) for more information. --- ### Release Notes <details> <summary>matrix-org/matrix-js-sdk (matrix-js-sdk)</summary> ### [`v42.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4210-2026-08-04) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v42.0.0...v42.1.0) \================================================================================================== #### 🦖 Deprecations - Remove support for MSC3391 & MSC3852 ([#&#8203;5446](https://github.com/matrix-org/matrix-js-sdk/pull/5446)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### ✨ Features - Allow passing a CA cert PEM when setting up Rust crypto ([#&#8203;5443](https://github.com/matrix-org/matrix-js-sdk/pull/5443)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Improve types for `/room_keys/version` requests ([#&#8203;5419](https://github.com/matrix-org/matrix-js-sdk/pull/5419)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Include existing data when updating user profile cache ([#&#8203;5427](https://github.com/matrix-org/matrix-js-sdk/pull/5427)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Fix key backup cached event ordering ([#&#8203;5281](https://github.com/matrix-org/matrix-js-sdk/pull/5281)). Contributed by [@&#8203;gumadeiras](https://github.com/gumadeiras). ### [`v42.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4200-2026-07-21) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.9.0...v42.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Properly support Matrix v1.18 OAuth2 APIs ([#&#8203;5390](https://github.com/matrix-org/matrix-js-sdk/pull/5390)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Remove unused getContentUri ([#&#8203;5400](https://github.com/matrix-org/matrix-js-sdk/pull/5400)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v41.9.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4190-2026-07-07) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.8.0...v41.9.0) \================================================================================================== #### ✨ Features - Add method `CryptoApi.getUserCrossSigningKeys` ([#&#8203;5389](https://github.com/matrix-org/matrix-js-sdk/pull/5389)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Fix restarting delayed events via compatibility path in RoomWidgetClient ([#&#8203;5380](https://github.com/matrix-org/matrix-js-sdk/pull/5380)). Contributed by [@&#8203;robintown](https://github.com/robintown). ### [`v41.8.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4180-2026-06-23) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.7.0...v41.8.0) \================================================================================================== #### ✨ Features - MatrixRTC: Preserve original error as `cause` when wrapping in scheduler ([#&#8203;5363](https://github.com/matrix-org/matrix-js-sdk/pull/5363)). Contributed by [@&#8203;fkwp](https://github.com/fkwp). - Add mechanism to locally enforce MSC1763 retention rules ([#&#8203;5353](https://github.com/matrix-org/matrix-js-sdk/pull/5353)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). #### 🐛 Bug Fixes - Fall back to local indexeddb backend when worker fails to start ([#&#8203;5361](https://github.com/matrix-org/matrix-js-sdk/pull/5361)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v41.7.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4170-2026-06-09) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.6.0...v41.7.0) \================================================================================================== #### ✨ Features - MSC4140: use auth for delayed event management ([#&#8203;5340](https://github.com/matrix-org/matrix-js-sdk/pull/5340)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). #### 🐛 Bug Fixes - \[Backport staging] SECURITY: Update matrix-sdk-crypto-wasm to v18.3.1 ([#&#8203;5356](https://github.com/matrix-org/matrix-js-sdk/pull/5356)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - fix(MatrixRTCSession): replace no-arg .finally() with .then(fn, fn) to fix crash on React Native / Hermes ([#&#8203;5307](https://github.com/matrix-org/matrix-js-sdk/pull/5307)). Contributed by [@&#8203;JeanLuX](https://github.com/JeanLuX). ### [`v41.6.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4160-2026-05-26) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.5.0...v41.6.0) \================================================================================================== #### 🐛 Bug Fixes - Throw sane error on completeLoginOnNewDevice IdP rejection ([#&#8203;5321](https://github.com/matrix-org/matrix-js-sdk/pull/5321)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v41.5.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4150-2026-05-12) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.4.0...v41.5.0) \================================================================================================== #### ✨ Features - MSC4108v2024 iteration and support for sign in on new device ([#&#8203;5283](https://github.com/matrix-org/matrix-js-sdk/pull/5283)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Enable encrypted history sharing by default ([#&#8203;5300](https://github.com/matrix-org/matrix-js-sdk/pull/5300)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Restore functional `start` command ([#&#8203;5298](https://github.com/matrix-org/matrix-js-sdk/pull/5298)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Support stable identifiers for MSC4268 and MSC4287 ([#&#8203;5299](https://github.com/matrix-org/matrix-js-sdk/pull/5299)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Implement MSC4429: Profile Updates for Legacy Sync ([#&#8203;5246](https://github.com/matrix-org/matrix-js-sdk/pull/5246)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Support stable identifiers for MSC4268 ([#&#8203;5290](https://github.com/matrix-org/matrix-js-sdk/pull/5290)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). ### [`v41.4.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4140-2026-04-28) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.3.0...v41.4.0) \================================================================================================== #### ✨ Features - Handle secret pushing for key backups ([#&#8203;5189](https://github.com/matrix-org/matrix-js-sdk/pull/5189)). Contributed by [@&#8203;uhoreg](https://github.com/uhoreg). - Add support for `m.recent_emoji` account data event ([#&#8203;5280](https://github.com/matrix-org/matrix-js-sdk/pull/5280)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Adapt LiveKit Identity hash calculation to latest MSC4195 update ([#&#8203;5268](https://github.com/matrix-org/matrix-js-sdk/pull/5268)). Contributed by [@&#8203;fkwp](https://github.com/fkwp). - Support the stable prefix for MSC4287 (key backup preference) ([#&#8203;5258](https://github.com/matrix-org/matrix-js-sdk/pull/5258)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Handle response\_mode=fragment in completeAuthorizationCodeGrant ([#&#8203;5266](https://github.com/matrix-org/matrix-js-sdk/pull/5266)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Allow generating OIDC URIs with response\_mode=fragment ([#&#8203;5265](https://github.com/matrix-org/matrix-js-sdk/pull/5265)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Expose `UserVerificationStatus.known` flag ([#&#8203;5255](https://github.com/matrix-org/matrix-js-sdk/pull/5255)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Allow oidc jwks\_uri to be omitted ([#&#8203;5271](https://github.com/matrix-org/matrix-js-sdk/pull/5271)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v41.3.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4130-2026-04-07) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.2.0...v41.3.0) \================================================================================================== #### 🐛 Bug Fixes - Rotate the current room key when we see a member leave ([#&#8203;5231](https://github.com/matrix-org/matrix-js-sdk/pull/5231)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog). ### [`v41.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4120-2026-03-24) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.1.0...v41.2.0) \================================================================================================== #### ✨ Features - Only share history if room history visibility is shared ([#&#8203;5216](https://github.com/matrix-org/matrix-js-sdk/pull/5216)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog). - History sharing: resume key-bundle import on restart ([#&#8203;5214](https://github.com/matrix-org/matrix-js-sdk/pull/5214)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Move `CryptoApi.shareRoomHistoryWithUser` to `CryptoBackend` ([#&#8203;5218](https://github.com/matrix-org/matrix-js-sdk/pull/5218)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v41.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4110-2026-03-10) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v41.0.0...v41.1.0) \================================================================================================== #### ✨ Features - Throw a specific error when the backup decryption key does not match the public backup ([#&#8203;5202](https://github.com/matrix-org/matrix-js-sdk/pull/5202)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Update getUrlPreview to use /\_matrix/client/v1/media/preview\_url ([#&#8203;5191](https://github.com/matrix-org/matrix-js-sdk/pull/5191)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). ### [`v41.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4100-2026-02-24) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v40.2.0...v41.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Add support for Matrix Spec v1.13 ([#&#8203;5160](https://github.com/matrix-org/matrix-js-sdk/pull/5160)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### ✨ Features - Download room keys from backup prior to buliding historic room key bundles ([#&#8203;5171](https://github.com/matrix-org/matrix-js-sdk/pull/5171)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog). - Add support for Matrix Spec v1.13 ([#&#8203;5160](https://github.com/matrix-org/matrix-js-sdk/pull/5160)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add logging on MSC4108 DELETE request ([#&#8203;5140](https://github.com/matrix-org/matrix-js-sdk/pull/5140)). Contributed by [@&#8203;reivilibre](https://github.com/reivilibre). - Add `m.invite_permission_config` account data type ([#&#8203;5183](https://github.com/matrix-org/matrix-js-sdk/pull/5183)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - fix(relations): prevent stale m.replace from overriding newer edits ([#&#8203;5192](https://github.com/matrix-org/matrix-js-sdk/pull/5192)). Contributed by [@&#8203;basnijholt](https://github.com/basnijholt). - Fix reactive display name disambiguation ([#&#8203;5135](https://github.com/matrix-org/matrix-js-sdk/pull/5135)). Contributed by [@&#8203;aditya-cherukuru](https://github.com/aditya-cherukuru). - Fix empty string to room compatibility trick to only apply to m.call ([#&#8203;5172](https://github.com/matrix-org/matrix-js-sdk/pull/5172)). Contributed by [@&#8203;toger5](https://github.com/toger5). ### [`v40.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4020-2026-02-10) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v40.1.0...v40.2.0) \================================================================================================== #### 🦖 Deprecations - \[MatrixRTC] Remove sending of deprecated `notify` event (we now use `m.rtc.notification`) ([#&#8203;5167](https://github.com/matrix-org/matrix-js-sdk/pull/5167)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### ✨ Features - Use stable /auth\_metadata endpoint where homeserver supports v1.15 ([#&#8203;5174](https://github.com/matrix-org/matrix-js-sdk/pull/5174)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Support additional\_creators in upgradeRoom (MSC4289) ([#&#8203;5173](https://github.com/matrix-org/matrix-js-sdk/pull/5173)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - \[MatrixRTC] Minimal change to transition from "" to "ROOM" as the callId/slotId ([#&#8203;5166](https://github.com/matrix-org/matrix-js-sdk/pull/5166)). Contributed by [@&#8203;toger5](https://github.com/toger5). - \[MatrixRTC] Do not send the `livekit_alias` in sticky events ([#&#8203;5165](https://github.com/matrix-org/matrix-js-sdk/pull/5165)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Improve startup performance by using `promise.all` when processing rooms from sync ([#&#8203;5095](https://github.com/matrix-org/matrix-js-sdk/pull/5095)). Contributed by [@&#8203;MidhunSureshR](https://github.com/MidhunSureshR). - Add OAuthGrantType enum for OAuth 2.0 API grant types ([#&#8203;5161](https://github.com/matrix-org/matrix-js-sdk/pull/5161)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Add support for stable OAuth2.0 aware feature from MSC3824 ([#&#8203;5159](https://github.com/matrix-org/matrix-js-sdk/pull/5159)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Give RoomWidgetClient the ability to send and receive sticky events ([#&#8203;5142](https://github.com/matrix-org/matrix-js-sdk/pull/5142)). Contributed by [@&#8203;robintown](https://github.com/robintown). #### 🐛 Bug Fixes - \[js sdk embedded/widget] Fix race where this.syncApi.injectRoomEvents was called before the syncApi is instantiated ([#&#8203;5168](https://github.com/matrix-org/matrix-js-sdk/pull/5168)). Contributed by [@&#8203;toger5](https://github.com/toger5). - \[MatrixRTC] Fix delayId not resetting on leave ([#&#8203;5156](https://github.com/matrix-org/matrix-js-sdk/pull/5156)). Contributed by [@&#8203;toger5](https://github.com/toger5). ### [`v40.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4010-2026-01-27) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v40.0.0...v40.1.0) \================================================================================================== #### 🦖 Deprecations - Deprecate unused `EventShieldReason` reason codes ([#&#8203;5127](https://github.com/matrix-org/matrix-js-sdk/pull/5127)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### ✨ Features - Add stable m.oauth UIA stage enum ([#&#8203;5138](https://github.com/matrix-org/matrix-js-sdk/pull/5138)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Add `MatrixEvent.getKeyForwardingUser` ([#&#8203;5128](https://github.com/matrix-org/matrix-js-sdk/pull/5128)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Add types for (unstable) policy servers ([#&#8203;5116](https://github.com/matrix-org/matrix-js-sdk/pull/5116)). Contributed by [@&#8203;turt2live](https://github.com/turt2live). #### 🐛 Bug Fixes - \[Backport staging] Recalculate room name on loading members ([#&#8203;5164](https://github.com/matrix-org/matrix-js-sdk/pull/5164)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Avoid rapidly retrying failed requests ([#&#8203;5146](https://github.com/matrix-org/matrix-js-sdk/pull/5146)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - \[matrixRTC] MatrixRTCSessions, add missing event reemission. ([#&#8203;5144](https://github.com/matrix-org/matrix-js-sdk/pull/5144)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Use normal base64 encoding for RTC backend identities ([#&#8203;5129](https://github.com/matrix-org/matrix-js-sdk/pull/5129)). Contributed by [@&#8203;robintown](https://github.com/robintown). - export parseCallNotificationContent and isMyMembership from RTC types ([#&#8203;5132](https://github.com/matrix-org/matrix-js-sdk/pull/5132)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). ### [`v40.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-4000-2026-01-13) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.4.0...v40.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - MatrixRTC Pseudonymous livekit identities ([#&#8203;5110](https://github.com/matrix-org/matrix-js-sdk/pull/5110)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🦖 Deprecations - Mark `forwardingCurve25519KeyChain` as deprecated ([#&#8203;5111](https://github.com/matrix-org/matrix-js-sdk/pull/5111)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Mark `IEventDecryptionResult` as deprecated ([#&#8203;5112](https://github.com/matrix-org/matrix-js-sdk/pull/5112)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### ✨ Features - Implement MSC4387: M\_SAFETY error ([#&#8203;5107](https://github.com/matrix-org/matrix-js-sdk/pull/5107)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Implement \_unstable\_getRTCTransports for MSC4143 ([#&#8203;5104](https://github.com/matrix-org/matrix-js-sdk/pull/5104)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Use `membershipID` for session events ([#&#8203;5105](https://github.com/matrix-org/matrix-js-sdk/pull/5105)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Make MatrixRTC encryption key types narrower for TS 5.9 compatibility ([#&#8203;5117](https://github.com/matrix-org/matrix-js-sdk/pull/5117)). Contributed by [@&#8203;robintown](https://github.com/robintown). - Re-check outgoing requests after processing them ([#&#8203;5109](https://github.com/matrix-org/matrix-js-sdk/pull/5109)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Make token refresher init itself lazily ([#&#8203;5106](https://github.com/matrix-org/matrix-js-sdk/pull/5106)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). ### [`v39.4.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3940-2025-12-16) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.3.0...v39.4.0) \================================================================================================== #### ✨ Features - Import room key bundles received after invite. ([#&#8203;5080](https://github.com/matrix-org/matrix-js-sdk/pull/5080)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog). #### 🐛 Bug Fixes - Allow msc4354\_sticky\_key to be optional on sticky events. ([#&#8203;5073](https://github.com/matrix-org/matrix-js-sdk/pull/5073)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Handle all response fields from /context API being optional ([#&#8203;5089](https://github.com/matrix-org/matrix-js-sdk/pull/5089)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v39.3.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3930-2025-12-02) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.2.0...v39.3.0) \================================================================================================== #### 🐛 Bug Fixes - Re-add truthy check on room name/avatar/alias events ([#&#8203;5081](https://github.com/matrix-org/matrix-js-sdk/pull/5081)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix invalid state events corrupting room objects ([#&#8203;5078](https://github.com/matrix-org/matrix-js-sdk/pull/5078)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v39.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3920-2025-11-18) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.1.2...v39.2.0) \================================================================================================== #### ✨ Features - Delayed event management: split endpoints, no auth ([#&#8203;5066](https://github.com/matrix-org/matrix-js-sdk/pull/5066)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - do not set cache in authenticated fetch ([#&#8203;5020](https://github.com/matrix-org/matrix-js-sdk/pull/5020)). Contributed by [@&#8203;pkuzco](https://github.com/pkuzco). #### 🐛 Bug Fixes - Fix media switching during legacy calls ([#&#8203;5069](https://github.com/matrix-org/matrix-js-sdk/pull/5069)). Contributed by [@&#8203;langleyd](https://github.com/langleyd). ### [`v39.1.2`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3912-2025-11-04) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.1.1...v39.1.2) \================================================================================================== Re-release of v39.1.0 to fix npm publishing workflow ### [`v39.1.1`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3911-2025-11-04) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v39.0.0...v39.1.1) \================================================================================================== Re-release of v39.1.0 to fix npm publishing workflow ### [`v39.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3900-2025-10-21) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v38.4.0...v39.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - \[MatrixRTC] Multi SFU support + m.rtc.member event type support ([#&#8203;5022](https://github.com/matrix-org/matrix-js-sdk/pull/5022)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### ✨ Features - \[MatrixRTC] Multi SFU support + m.rtc.member event type support ([#&#8203;5022](https://github.com/matrix-org/matrix-js-sdk/pull/5022)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Implement Sticky Events MSC4354 ([#&#8203;5028](https://github.com/matrix-org/matrix-js-sdk/pull/5028)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - feat(client): allow disabling VoIP support ([#&#8203;5021](https://github.com/matrix-org/matrix-js-sdk/pull/5021)). Contributed by [@&#8203;pkuzco](https://github.com/pkuzco). #### 🐛 Bug Fixes - Only use the first 3 viaServers specified ([#&#8203;5034](https://github.com/matrix-org/matrix-js-sdk/pull/5034)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fetch the user's device info before processing a verification request ([#&#8203;5030](https://github.com/matrix-org/matrix-js-sdk/pull/5030)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). ### [`v38.4.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3840-2025-10-07) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v38.3.0...v38.4.0) \================================================================================================== #### ✨ Features - Add call intent to RTC call notifications ([#&#8203;5010](https://github.com/matrix-org/matrix-js-sdk/pull/5010)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Implement experimental encrypted state events. ([#&#8203;4994](https://github.com/matrix-org/matrix-js-sdk/pull/4994)). Contributed by [@&#8203;kaylendog](https://github.com/kaylendog). #### 🐛 Bug Fixes - Exclude cancelled requests from in-progress lists ([#&#8203;5016](https://github.com/matrix-org/matrix-js-sdk/pull/5016)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). ### [`v38.3.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3830-2025-09-23) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v38.2.0...v38.3.0) \================================================================================================== #### 🐛 Bug Fixes - Remove knocked room when membership changes to join ([#&#8203;4977](https://github.com/matrix-org/matrix-js-sdk/pull/4977)). Contributed by [@&#8203;svajunas-budrys](https://github.com/svajunas-budrys). ### [`v38.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3820-2025-09-16) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v38.1.0...v38.2.0) \================================================================================================== Fix [CVE-2025-59160](https://www.cve.org/CVERecord?id=CVE-2025-59160) / [GHSA-mp7c-m3rh-r56v](https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-mp7c-m3rh-r56v) ### [`v38.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3810-2025-09-09) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v38.0.0...v38.1.0) \================================================================================================== #### ✨ Features - Remove custom `org.matrix.msc4075.rtc.notification.parent` relation type ([#&#8203;4979](https://github.com/matrix-org/matrix-js-sdk/pull/4979)). Contributed by [@&#8203;toger5](https://github.com/toger5). - MatrixRTC: Add RTC decline event ([#&#8203;4978](https://github.com/matrix-org/matrix-js-sdk/pull/4978)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Make a MatrixRTCSession emit once the RTCNotification is sent ([#&#8203;4976](https://github.com/matrix-org/matrix-js-sdk/pull/4976)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Use hydra semantics for unknown room versions ([#&#8203;4957](https://github.com/matrix-org/matrix-js-sdk/pull/4957)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Expose the StatusChanged event through the RTCSession ([#&#8203;4974](https://github.com/matrix-org/matrix-js-sdk/pull/4974)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Add `probablyLeft` event to the MatrixRTCSession ([#&#8203;4962](https://github.com/matrix-org/matrix-js-sdk/pull/4962)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Fix `m.topic` format ([#&#8203;4984](https://github.com/matrix-org/matrix-js-sdk/pull/4984)). Contributed by [@&#8203;tulir](https://github.com/tulir). - Fix stable-suffixed MSC4133 support ([#&#8203;4983](https://github.com/matrix-org/matrix-js-sdk/pull/4983)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Fix thread edit aggregation race condition ([#&#8203;4980](https://github.com/matrix-org/matrix-js-sdk/pull/4980)). Contributed by [@&#8203;basnijholt](https://github.com/basnijholt). ### [`v38.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3800-2025-08-27) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.13.0...v38.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Release tranche of breaking changes ([#&#8203;4975](https://github.com/matrix-org/matrix-js-sdk/pull/4975)). - Remove support for FetchHttpApi `onlyData = false` - Remove deprecated `IJoinRoomOpts.syncRoom` - Remove deprecated methods which are unsupported in rust crypto - Remove deprecated getAuthIssuer method - Remove deprecated beginKeyVerification method - Remove deprecated isEncryptedDisabledForUnverifiedDevices getter - Remove deprecated UndecryptableToDeviceEvent MatrixClient emit - Remove deprecated defer utility method - Remove deprecated UIAResponse dummy type - Remove deprecated MatrixRTCSession MembershipConfig fields - Remove deprecated findVerificationRequestDMInProgress and storeSessionBackupPrivateKey methods in favour of overloads #### ✨ Features - Allow multiple rtc sessions per room (with different sessionDescriptions) ([#&#8203;4945](https://github.com/matrix-org/matrix-js-sdk/pull/4945)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Add support for login\_hint in authorization url generation ([#&#8203;4943](https://github.com/matrix-org/matrix-js-sdk/pull/4943)). Contributed by [@&#8203;odelcroi](https://github.com/odelcroi). - Only process MatrixRTC sessions associated with calls for `callMembershipsForRoom` ([#&#8203;4960](https://github.com/matrix-org/matrix-js-sdk/pull/4960)). Contributed by [@&#8203;fkwp](https://github.com/fkwp). ### [`v37.13.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-37130-2025-08-11) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.12.0...v37.13.0) \==================================================================================================== This release supports new v12 Matrix rooms and consequently has a breaking change, removing powerLevelNorm from the RoomMember object as this can't be supported with infinite power levels. Apps should use the non-normalised `powerLevel` instead. #### 🚨 BREAKING CHANGES - \[Backport staging] Support for creator power level ([#&#8203;4954](https://github.com/matrix-org/matrix-js-sdk/pull/4954)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). #### ✨ Features - \[Backport staging] Support v12 rooms in maySendEvent ([#&#8203;4956](https://github.com/matrix-org/matrix-js-sdk/pull/4956)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - \[Backport staging] Support for creator power level ([#&#8203;4954](https://github.com/matrix-org/matrix-js-sdk/pull/4954)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Experimental support for sharing encrypted history on invite ([#&#8203;4920](https://github.com/matrix-org/matrix-js-sdk/pull/4920)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Use the logger associated with MatrixClient in rust sdk ([#&#8203;4918](https://github.com/matrix-org/matrix-js-sdk/pull/4918)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Update to matrix-sdk-crypto-wasm 15.1.0, and add new `ShieldStateCode.MismatchedSender` ([#&#8203;4916](https://github.com/matrix-org/matrix-js-sdk/pull/4916)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Fix unknown/broken state in the RTC Membership Manager causing unnecassary error logging. ([#&#8203;4944](https://github.com/matrix-org/matrix-js-sdk/pull/4944)). Contributed by [@&#8203;toger5](https://github.com/toger5). ### [`v37.12.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-37120-2025-07-29) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.11.0...v37.12.0) \==================================================================================================== #### 🦖 Deprecations - Deprecate non-functional `IJoinRoomOpts.syncRoom` ([#&#8203;4913](https://github.com/matrix-org/matrix-js-sdk/pull/4913)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### ✨ Features - Custom abort timeout logic for restarting delayed events that is compatible with the widget api ([#&#8203;4927](https://github.com/matrix-org/matrix-js-sdk/pull/4927)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Allow sending notification events when starting a call ([#&#8203;4826](https://github.com/matrix-org/matrix-js-sdk/pull/4826)). Contributed by [@&#8203;robintown](https://github.com/robintown). #### 🐛 Bug Fixes - Fix deep import incompatibility ([#&#8203;4924](https://github.com/matrix-org/matrix-js-sdk/issues/4924)) ([#&#8203;4925](https://github.com/matrix-org/matrix-js-sdk/pull/4925)). Contributed by [@&#8203;toriningen](https://github.com/toriningen). - Fix more incorrect logger use ([#&#8203;4904](https://github.com/matrix-org/matrix-js-sdk/pull/4904)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v37.11.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-37110-2025-07-15) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.10.0...v37.11.0) \==================================================================================================== #### ✨ Features - Update README to make Element sponsorship explicit ([#&#8203;4901](https://github.com/matrix-org/matrix-js-sdk/pull/4901)). Contributed by [@&#8203;neilisfragile](https://github.com/neilisfragile). - Use client logger in more places (crypto code) ([#&#8203;4900](https://github.com/matrix-org/matrix-js-sdk/pull/4900)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Use client logger in `MatrixRTCSessionManager` ([#&#8203;4898](https://github.com/matrix-org/matrix-js-sdk/pull/4898)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Use client logger in more places (core code) ([#&#8203;4899](https://github.com/matrix-org/matrix-js-sdk/pull/4899)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - crypto: Add new `ClientEvent.ReceivedToDeviceMessage` with proper `OlmEncryptionInfo` support ([#&#8203;4891](https://github.com/matrix-org/matrix-js-sdk/pull/4891)). Contributed by [@&#8203;BillCarsonFr](https://github.com/BillCarsonFr). ### [`v37.10.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-37100-2025-07-01) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.9.0...v37.10.0) \==================================================================================================== #### ✨ Features - Update matrix-sdk-crypto-wasm to `15.0.0` ([#&#8203;4882](https://github.com/matrix-org/matrix-js-sdk/pull/4882)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Allow customizing the IndexedDB database prefix used by Rust crypto. ([#&#8203;4878](https://github.com/matrix-org/matrix-js-sdk/pull/4878)). Contributed by [@&#8203;clokep](https://github.com/clokep). - Remove `@matrix-org/olm` from dependency list ([#&#8203;4876](https://github.com/matrix-org/matrix-js-sdk/pull/4876)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Redact on ban: Client implementation ([#&#8203;4867](https://github.com/matrix-org/matrix-js-sdk/pull/4867)). Contributed by [@&#8203;turt2live](https://github.com/turt2live). ### [`v37.9.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3790-2025-06-17) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.8.0...v37.9.0) \================================================================================================== #### 🐛 Bug Fixes - Ensure we send spec-compliant filter strings by stripping out null values ([#&#8203;4865](https://github.com/matrix-org/matrix-js-sdk/pull/4865)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix MatrixRTC membership manager failing to rejoin in a race condition (sync vs not found response) ([#&#8203;4861](https://github.com/matrix-org/matrix-js-sdk/pull/4861)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Include extraParams in all HTTP requests ([#&#8203;4860](https://github.com/matrix-org/matrix-js-sdk/pull/4860)). Contributed by [@&#8203;rsb-tbg](https://github.com/rsb-tbg). ### [`v37.8.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3780-2025-06-10) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.7.0...v37.8.0) \================================================================================================== #### 🐛 Bug Fixes - \[Backport staging] Update dependency [@&#8203;matrix-org/matrix-sdk-crypto-wasm](https://github.com/matrix-org/matrix-sdk-crypto-wasm) to v14.2.1 ([#&#8203;4869](https://github.com/matrix-org/matrix-js-sdk/pull/4869)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). ### [`v37.7.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3770-2025-06-03) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.6.0...v37.7.0) \================================================================================================== #### 🦖 Deprecations - MatrixRTC: Rename `MembershipConfig` parameters ([#&#8203;4714](https://github.com/matrix-org/matrix-js-sdk/pull/4714)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### ✨ Features - Allow the embedded client to work without update\_state support ([#&#8203;4849](https://github.com/matrix-org/matrix-js-sdk/pull/4849)). Contributed by [@&#8203;robintown](https://github.com/robintown). - Check for `unknown variant` on to-device sending and fall back to room event encryption. ([#&#8203;4847](https://github.com/matrix-org/matrix-js-sdk/pull/4847)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Reapply "Distinguish room state and timeline events in embedded clients" ([#&#8203;4790](https://github.com/matrix-org/matrix-js-sdk/pull/4790)). Contributed by [@&#8203;robintown](https://github.com/robintown). ### [`v37.6.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3760-2025-05-20) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.5.0...v37.6.0) \================================================================================================== #### 🦖 Deprecations - Deprecate utils function `defer` in favour of `Promise.withResolvers` ([#&#8203;4829](https://github.com/matrix-org/matrix-js-sdk/pull/4829)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### ✨ Features - Update to Node 22 LTS ([#&#8203;4832](https://github.com/matrix-org/matrix-js-sdk/pull/4832)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### 🐛 Bug Fixes - Fix autodiscovery handling of 2xx (non-200) codes ([#&#8203;4833](https://github.com/matrix-org/matrix-js-sdk/pull/4833)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v37.5.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3750-2025-05-06) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.4.0...v37.5.0) \================================================================================================== #### ✨ Features - Stabilise MSC3765 ([#&#8203;4767](https://github.com/matrix-org/matrix-js-sdk/pull/4767)). Contributed by [@&#8203;Johennes](https://github.com/Johennes). - Inherit `methodFactory` extensions from the parent to the child loggers. ([#&#8203;4809](https://github.com/matrix-org/matrix-js-sdk/pull/4809)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - \[Backport staging] Fix token refresh behaviour for non-expired tokens ([#&#8203;4827](https://github.com/matrix-org/matrix-js-sdk/pull/4827)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Refactor how token refreshing works to be more resilient ([#&#8203;4819](https://github.com/matrix-org/matrix-js-sdk/pull/4819)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v37.4.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3740-2025-04-22) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.3.0...v37.4.0) \================================================================================================== #### ✨ Features - MatrixRTC: Add combined `toDeviceAndRoomKeyTransport` ([#&#8203;4792](https://github.com/matrix-org/matrix-js-sdk/pull/4792)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Make logging consistent for matrixRTC ([#&#8203;4788](https://github.com/matrix-org/matrix-js-sdk/pull/4788)). Contributed by [@&#8203;toger5](https://github.com/toger5). - MatrixRTC: ToDevice distribution for media stream keys ([#&#8203;4785](https://github.com/matrix-org/matrix-js-sdk/pull/4785)). Contributed by [@&#8203;BillCarsonFr](https://github.com/BillCarsonFr). #### 🐛 Bug Fixes - Fix token refresh racing with other requests and not using new token ([#&#8203;4798](https://github.com/matrix-org/matrix-js-sdk/pull/4798)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix fallback to MemoryCryptoStore when LocalStorage unavailable ([#&#8203;4797](https://github.com/matrix-org/matrix-js-sdk/pull/4797)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Remove duplicate `deleteSecretStorage` in `RustCrypto.resetEncryption` ([#&#8203;4789](https://github.com/matrix-org/matrix-js-sdk/pull/4789)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Fix `RustCrypto.resetEncryption` failure ([#&#8203;4772](https://github.com/matrix-org/matrix-js-sdk/pull/4772)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). ### [`v37.3.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3730-2025-04-08) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.2.0...v37.3.0) \================================================================================================== #### ✨ Features - MatrixRTC MembershipManger: remove redundant sendDelayedEventAction and expose status ([#&#8203;4747](https://github.com/matrix-org/matrix-js-sdk/pull/4747)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Abstract logout-causing error type from tokenRefreshFunction calls ([#&#8203;4765](https://github.com/matrix-org/matrix-js-sdk/pull/4765)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Improve PushProcessor::getPushRuleGlobRegex ([#&#8203;4764](https://github.com/matrix-org/matrix-js-sdk/pull/4764)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Export push processor & method for converting matrix glob to regexp ([#&#8203;4763](https://github.com/matrix-org/matrix-js-sdk/pull/4763)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add authenticated media parameter to getMediaConfig ([#&#8203;4762](https://github.com/matrix-org/matrix-js-sdk/pull/4762)). Contributed by [@&#8203;m004](https://github.com/m004). - Rust crypto: set a timeout on outgoing HTTP requests ([#&#8203;4761](https://github.com/matrix-org/matrix-js-sdk/pull/4761)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Switch sliding sync support to simplified sliding sync ([#&#8203;4400](https://github.com/matrix-org/matrix-js-sdk/pull/4400)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). ### [`v37.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3720-2025-03-25) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.1.0...v37.2.0) \================================================================================================== #### ✨ Features - Add reportRoom API ([#&#8203;4753](https://github.com/matrix-org/matrix-js-sdk/pull/4753)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - MatrixRTC: New membership manager ([#&#8203;4726](https://github.com/matrix-org/matrix-js-sdk/pull/4726)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Add disableKeyStorage() to crypto API ([#&#8203;4742](https://github.com/matrix-org/matrix-js-sdk/pull/4742)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). #### 🐛 Bug Fixes - Allow port differing in OIDC dynamic registration URIs ([#&#8203;4749](https://github.com/matrix-org/matrix-js-sdk/pull/4749)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - OIDC: only pass logo\_uri, policy\_uri, tos\_uri if they conform to "common base" ([#&#8203;4748](https://github.com/matrix-org/matrix-js-sdk/pull/4748)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v37.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3710-2025-03-11) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v37.0.0...v37.1.0) \================================================================================================== #### 🦖 Deprecations - MatrixRTC: MembershipManager test cases and deprecation of MatrixRTCSession.room ([#&#8203;4713](https://github.com/matrix-org/matrix-js-sdk/pull/4713)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### ✨ Features - Add `EventType.SecretRequest` and `EventType.SecretSend` ([#&#8203;4728](https://github.com/matrix-org/matrix-js-sdk/pull/4728)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Attest npm package provenance ([#&#8203;4724](https://github.com/matrix-org/matrix-js-sdk/pull/4724)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Report backup key import progress on start and improve types ([#&#8203;4711](https://github.com/matrix-org/matrix-js-sdk/pull/4711)). Contributed by [@&#8203;ajbura](https://github.com/ajbura). #### 🐛 Bug Fixes - Handle unexpected token refresh failures gracefully ([#&#8203;4731](https://github.com/matrix-org/matrix-js-sdk/pull/4731)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix idempotency issue around token refresh ([#&#8203;4730](https://github.com/matrix-org/matrix-js-sdk/pull/4730)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Delete the dehydrated device when resetEncryption is called ([#&#8203;4727](https://github.com/matrix-org/matrix-js-sdk/pull/4727)). Contributed by [@&#8203;uhoreg](https://github.com/uhoreg). ### [`v37.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3700-2025-02-25) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v36.2.0...v37.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove deprecated `PrefixedLogger` interface ([#&#8203;4705](https://github.com/matrix-org/matrix-js-sdk/pull/4705)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Remove legacy crypto ([#&#8203;4653](https://github.com/matrix-org/matrix-js-sdk/pull/4653)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### 🦖 Deprecations - Improve types around User Interactive Auth ([#&#8203;4709](https://github.com/matrix-org/matrix-js-sdk/pull/4709)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### ✨ Features - Fix typos in client.ts ([#&#8203;4715](https://github.com/matrix-org/matrix-js-sdk/pull/4715)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Enable key upload to backups where we have the decryption key ([#&#8203;4677](https://github.com/matrix-org/matrix-js-sdk/pull/4677)). Contributed by [@&#8203;ajbura](https://github.com/ajbura). - Remove deprecated `PrefixedLogger` interface ([#&#8203;4705](https://github.com/matrix-org/matrix-js-sdk/pull/4705)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - `MatrixClient.setAccountData`: await remote echo. ([#&#8203;4695](https://github.com/matrix-org/matrix-js-sdk/pull/4695)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Improve types around User Interactive Auth ([#&#8203;4709](https://github.com/matrix-org/matrix-js-sdk/pull/4709)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix `resetEncryption` to remove secrets in 4S ([#&#8203;4683](https://github.com/matrix-org/matrix-js-sdk/pull/4683)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). ### [`v36.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3620-2025-02-11) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v36.1.0...v36.2.0) \================================================================================================== #### 🦖 Deprecations - \[Backport staging] Deprecate parameter and functions using legacy crypto in `models/event.ts` ([#&#8203;4700](https://github.com/matrix-org/matrix-js-sdk/pull/4700)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). #### ✨ Features - Improve types around Terms ([#&#8203;4674](https://github.com/matrix-org/matrix-js-sdk/pull/4674)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Provide more options for starting dehydration ([#&#8203;4664](https://github.com/matrix-org/matrix-js-sdk/pull/4664)). Contributed by [@&#8203;uhoreg](https://github.com/uhoreg). - Device Dehydration | js-sdk: store/load dehydration key ([#&#8203;4599](https://github.com/matrix-org/matrix-js-sdk/pull/4599)). Contributed by [@&#8203;BillCarsonFr](https://github.com/BillCarsonFr). - Add unspecced backup disable flag ([#&#8203;4661](https://github.com/matrix-org/matrix-js-sdk/pull/4661)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Switch OIDC primarily to new `/auth_metadata` API ([#&#8203;4626](https://github.com/matrix-org/matrix-js-sdk/pull/4626)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add `CryptoApi.resetEncryption` ([#&#8203;4614](https://github.com/matrix-org/matrix-js-sdk/pull/4614)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### 🐛 Bug Fixes - Fix topic types ([#&#8203;4678](https://github.com/matrix-org/matrix-js-sdk/pull/4678)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - Handle empty m.room.topic ([#&#8203;4673](https://github.com/matrix-org/matrix-js-sdk/pull/4673)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). - `CryptoApi.resetEncryption` should always create a new key backup ([#&#8203;4648](https://github.com/matrix-org/matrix-js-sdk/pull/4648)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). ### [`v36.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3610-2025-01-28) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v36.0.0...v36.1.0) \================================================================================================== #### ✨ Features - Deprecate `MatrixClient.login` and replace with `loginRequest` ([#&#8203;4632](https://github.com/matrix-org/matrix-js-sdk/pull/4632)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Use `SyncCryptoCallback` api instead of legacy crypto in sliding sync ([#&#8203;4624](https://github.com/matrix-org/matrix-js-sdk/pull/4624)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Distinguish room state and timeline events in embedded clients ([#&#8203;4574](https://github.com/matrix-org/matrix-js-sdk/pull/4574)). Contributed by [@&#8203;robintown](https://github.com/robintown). - Allow setting default secret storage key id to null ([#&#8203;4615](https://github.com/matrix-org/matrix-js-sdk/pull/4615)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Add authenticated media to getAvatarUrl in room and room-member models ([#&#8203;4616](https://github.com/matrix-org/matrix-js-sdk/pull/4616)). Contributed by [@&#8203;m004](https://github.com/m004). - Send MSC3981 'recurse' param on `/relations` endpoint on Matrix 1.10 servers ([#&#8203;4023](https://github.com/matrix-org/matrix-js-sdk/pull/4023)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). #### 🐛 Bug Fixes - \[Backport staging] Revert "Distinguish room state and timeline events in embedded clients ([#&#8203;4574](https://github.com/matrix-org/matrix-js-sdk/issues/4574))" ([#&#8203;4657](https://github.com/matrix-org/matrix-js-sdk/pull/4657)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Change randomString et al to be secure ([#&#8203;4621](https://github.com/matrix-org/matrix-js-sdk/pull/4621)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Fix issue with sentinels being incorrect on m.room.member events ([#&#8203;4609](https://github.com/matrix-org/matrix-js-sdk/pull/4609)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v36.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3600-2025-01-14) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v35.1.0...v36.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove support for "legacy" MSC3898 group calling in MatrixRTCSession and CallMembership ([#&#8203;4583](https://github.com/matrix-org/matrix-js-sdk/pull/4583)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### ✨ Features - MatrixRTC: Implement expiry logic for CallMembership and additional test coverage ([#&#8203;4587](https://github.com/matrix-org/matrix-js-sdk/pull/4587)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Don't retry on 4xx responses ([#&#8203;4601](https://github.com/matrix-org/matrix-js-sdk/pull/4601)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Upgrade matrix-sdk-crypto-wasm to 12.1.0 ([#&#8203;4596](https://github.com/matrix-org/matrix-js-sdk/pull/4596)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Avoid key prompts when resetting crypto ([#&#8203;4586](https://github.com/matrix-org/matrix-js-sdk/pull/4586)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Handle when aud OIDC claim is an Array ([#&#8203;4584](https://github.com/matrix-org/matrix-js-sdk/pull/4584)). Contributed by [@&#8203;liamdiprose](https://github.com/liamdiprose). - Save the key backup key to 4S during `bootstrapSecretStorage ` ([#&#8203;4542](https://github.com/matrix-org/matrix-js-sdk/pull/4542)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Only re-prepare MatrixrRTC delayed disconnection event on 404 ([#&#8203;4575](https://github.com/matrix-org/matrix-js-sdk/pull/4575)). Contributed by [@&#8203;toger5](https://github.com/toger5). ### [`v35.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3510-2024-12-18) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v35.0.0...v35.1.0) \================================================================================================== This release updates matrix-sdk-crypto-wasm to fix a bug which could prevent loading stored crypto state from storage. #### 🐛 Bug Fixes - Upgrade matrix-sdk-crypto-wasm to 1.11.0 ([#&#8203;4593](https://github.com/matrix-org/matrix-js-sdk/pull/4593)). ### [`v35.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3500-2024-12-17) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.13.0...v35.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES This release contains several breaking changes which will need code changes in your app. Most notably, `initCrypto()` no longer exists and has been moved to `initLegacyCrypto()` in preparation for the eventual removal of Olm. You can continue to use legacy Olm crypto for now by calling `initLegacyCrypto()` instead. You may also need to make further changes if you use more advanced APIs. See the individual PRs (listed in order of size of change) for specific APIs changed and how to migrate. - Rename `MatrixClient.initCrypto` into `MatrixClient.initLegacyCrypto` ([#&#8203;4567](https://github.com/matrix-org/matrix-js-sdk/pull/4567)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Support MSC4222 `state_after` ([#&#8203;4487](https://github.com/matrix-org/matrix-js-sdk/pull/4487)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Avoid use of Buffer as it does not exist in the Web natively ([#&#8203;4569](https://github.com/matrix-org/matrix-js-sdk/pull/4569)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### 🦖 Deprecations - Deprecate remaining legacy functions and move `CryptoEvent.LegacyCryptoStoreMigrationProgress` handler ([#&#8203;4560](https://github.com/matrix-org/matrix-js-sdk/pull/4560)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### ✨ Features - Rename `MatrixClient.initCrypto` into `MatrixClient.initLegacyCrypto` ([#&#8203;4567](https://github.com/matrix-org/matrix-js-sdk/pull/4567)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Avoid use of Buffer as it does not exist in the Web natively ([#&#8203;4569](https://github.com/matrix-org/matrix-js-sdk/pull/4569)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Re-send MatrixRTC media encryption keys for a new joiner even if a rotation is in progress ([#&#8203;4561](https://github.com/matrix-org/matrix-js-sdk/pull/4561)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Support MSC4222 `state_after` ([#&#8203;4487](https://github.com/matrix-org/matrix-js-sdk/pull/4487)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Revert "Fix room state being updated with old (now overwritten) state and emitting for those updates. ([#&#8203;4242](https://github.com/matrix-org/matrix-js-sdk/issues/4242))" ([#&#8203;4532](https://github.com/matrix-org/matrix-js-sdk/pull/4532)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Fix age field check in event echo processing ([#&#8203;3635](https://github.com/matrix-org/matrix-js-sdk/pull/3635)). Contributed by [@&#8203;stas-demydiuk](https://github.com/stas-demydiuk). ### [`v34.13.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-34130-2024-12-03) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.12.0...v34.13.0) \==================================================================================================== #### 🦖 Deprecations - Deprecate `MatrixClient.isEventSenderVerified` ([#&#8203;4527](https://github.com/matrix-org/matrix-js-sdk/pull/4527)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Add `restoreKeybackup` to `CryptoApi`. ([#&#8203;4476](https://github.com/matrix-org/matrix-js-sdk/pull/4476)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### ✨ Features - Ensure we disambiguate display names which look like MXIDs ([#&#8203;4540](https://github.com/matrix-org/matrix-js-sdk/pull/4540)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add `CryptoApi.getBackupInfo` ([#&#8203;4512](https://github.com/matrix-org/matrix-js-sdk/pull/4512)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Fix local echo in embedded mode ([#&#8203;4498](https://github.com/matrix-org/matrix-js-sdk/pull/4498)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Add `restoreKeybackup` to `CryptoApi`. ([#&#8203;4476](https://github.com/matrix-org/matrix-js-sdk/pull/4476)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### 🐛 Bug Fixes - Fix `RustBackupManager` remaining values after current backup removal ([#&#8203;4537](https://github.com/matrix-org/matrix-js-sdk/pull/4537)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). ### [`v34.12.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-34120-2024-11-19) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.11.1...v34.12.0) \==================================================================================================== #### 🦖 Deprecations - Deprecate `MatrixClient.getKeyBackupVersion` ([#&#8203;4505](https://github.com/matrix-org/matrix-js-sdk/pull/4505)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Deprecate unused callbacks in `CryptoCallbacks` ([#&#8203;4501](https://github.com/matrix-org/matrix-js-sdk/pull/4501)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### ✨ Features - Handle M\_MAX\_DELAY\_EXCEEDED errors ([#&#8203;4511](https://github.com/matrix-org/matrix-js-sdk/pull/4511)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Allow configuration of MatrixRTC timers when calling joinRoomSession() ([#&#8203;4510](https://github.com/matrix-org/matrix-js-sdk/pull/4510)). Contributed by [@&#8203;hughns](https://github.com/hughns). - When state says you've left ongoing call, rejoin ([#&#8203;4342](https://github.com/matrix-org/matrix-js-sdk/pull/4342)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Remove redundant type arguments in function call ([#&#8203;4507](https://github.com/matrix-org/matrix-js-sdk/pull/4507)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - MatrixRTCSession: handle rate limit errors ([#&#8203;4494](https://github.com/matrix-org/matrix-js-sdk/pull/4494)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Send/receive error details with widgets ([#&#8203;4492](https://github.com/matrix-org/matrix-js-sdk/pull/4492)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Capture HTTP error response headers & handle Retry-After header (MSC4041) ([#&#8203;4471](https://github.com/matrix-org/matrix-js-sdk/pull/4471)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Add RoomWidgetClient.sendToDeviceViaWidgetApi() ([#&#8203;4475](https://github.com/matrix-org/matrix-js-sdk/pull/4475)). Contributed by [@&#8203;hughns](https://github.com/hughns). ### [`v34.11.1`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-34111-2024-11-12) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.10.0...v34.11.1) \==================================================================================================== ### [`v34.10.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-34100-2024-11-05) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.9.0...v34.10.0) \==================================================================================================== #### 🦖 Deprecations - Deprecate `CreateSecretStorageOpts.keyBackupInfo` used in `CryptoApi.bootstrapSecretStorage.` ([#&#8203;4474](https://github.com/matrix-org/matrix-js-sdk/pull/4474)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Add CryptoApi.encryptToDeviceMessages() and deprecate Crypto.encryptAndSendToDevices() ([#&#8203;4380](https://github.com/matrix-org/matrix-js-sdk/pull/4380)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Remove abandoned MSC3886, MSC3903, MSC3906 experimental implementations ([#&#8203;4469](https://github.com/matrix-org/matrix-js-sdk/pull/4469)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Deprecate `MatrixClient.getDehydratedDevice` ([#&#8203;4467](https://github.com/matrix-org/matrix-js-sdk/pull/4467)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). - Deprecate top level crypto events re-export ([#&#8203;4444](https://github.com/matrix-org/matrix-js-sdk/pull/4444)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### ✨ Features - Add CryptoApi.encryptToDeviceMessages() and deprecate Crypto.encryptAndSendToDevices() ([#&#8203;4380](https://github.com/matrix-org/matrix-js-sdk/pull/4380)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Do not rotate MatrixRTC media encryption key when a new member joins a session ([#&#8203;4472](https://github.com/matrix-org/matrix-js-sdk/pull/4472)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Avoid `<sender>|<session>` notation in log messages ([#&#8203;4473](https://github.com/matrix-org/matrix-js-sdk/pull/4473)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Refactor/simplify Promises in MatrixRTCSession ([#&#8203;4466](https://github.com/matrix-org/matrix-js-sdk/pull/4466)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Prepare delayed call leave events more reliably ([#&#8203;4447](https://github.com/matrix-org/matrix-js-sdk/pull/4447)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). #### 🐛 Bug Fixes - Fix DelayedEventInfo type ([#&#8203;4446](https://github.com/matrix-org/matrix-js-sdk/pull/4446)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). ### [`v34.9.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3490-2024-10-22) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.8.0...v34.9.0) \================================================================================================== #### 🦖 Deprecations - Deprecate the crypto events which are not used by the rust-crypto ([#&#8203;4442](https://github.com/matrix-org/matrix-js-sdk/pull/4442)). Contributed by [@&#8203;florianduros](https://github.com/florianduros). #### 🐛 Bug Fixes - Fix the rust crypto import in esm environments. ([#&#8203;4445](https://github.com/matrix-org/matrix-js-sdk/pull/4445)). Contributed by [@&#8203;saul-jb](https://github.com/saul-jb). - Fix MatrixRTC sender key wrapping ([#&#8203;4441](https://github.com/matrix-org/matrix-js-sdk/pull/4441)). Contributed by [@&#8203;hughns](https://github.com/hughns). ### [`v34.8.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3480-2024-10-15) [Compare Source](https://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://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3470-2024-10-08) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.6.0...v34.7.0) \================================================================================================== #### 🦖 Deprecations - RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() ([#&#8203;4427](https://github.com/matrix-org/matrix-js-sdk/pull/4427)). Contributed by [@&#8203;hughns](https://github.com/hughns). #### ✨ Features - Bump matrix-rust-sdk to 9.1.0 ([#&#8203;4435](https://github.com/matrix-org/matrix-js-sdk/pull/4435)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Rotate Matrix RTC media encryption key when a new member joins a call for Post Compromise Security ([#&#8203;4422](https://github.com/matrix-org/matrix-js-sdk/pull/4422)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Update media event content types to include captions ([#&#8203;4403](https://github.com/matrix-org/matrix-js-sdk/pull/4403)). Contributed by [@&#8203;tulir](https://github.com/tulir). - Update OIDC registration types to match latest MSC2966 state ([#&#8203;4432](https://github.com/matrix-org/matrix-js-sdk/pull/4432)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add `CryptoApi.pinCurrentUserIdentity` and `UserIdentity.needsUserApproval` ([#&#8203;4415](https://github.com/matrix-org/matrix-js-sdk/pull/4415)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v34.6.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3460-2024-09-24) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.5.0...v34.6.0) \================================================================================================== #### 🦖 Deprecations - Element-R: Mark unsupported MatrixClient methods as deprecated ([#&#8203;4389](https://github.com/matrix-org/matrix-js-sdk/pull/4389)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). #### ✨ Features - Add crypto mode setting for invisible crypto, and apply it to decrypting events ([#&#8203;4407](https://github.com/matrix-org/matrix-js-sdk/pull/4407)). Contributed by [@&#8203;uhoreg](https://github.com/uhoreg). - Don't share full key history for RTC per-participant encryption ([#&#8203;4406](https://github.com/matrix-org/matrix-js-sdk/pull/4406)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Export membership types ([#&#8203;4405](https://github.com/matrix-org/matrix-js-sdk/pull/4405)). Contributed by [@&#8203;Johennes](https://github.com/Johennes). - Fix sending redacts in embedded (widget) mode ([#&#8203;4398](https://github.com/matrix-org/matrix-js-sdk/pull/4398)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Expose the event ID of a call membership ([#&#8203;4395](https://github.com/matrix-org/matrix-js-sdk/pull/4395)). Contributed by [@&#8203;robintown](https://github.com/robintown). - MSC4133 - Extended profiles ([#&#8203;4391](https://github.com/matrix-org/matrix-js-sdk/pull/4391)). Contributed by [@&#8203;Half-Shot](https://github.com/Half-Shot). ### [`v34.5.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3450-2024-09-10) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.4.0...v34.5.0) \================================================================================================== #### 🦖 Deprecations - Deprecate unused callback hooks `CryptoCallbacks.onSecretRequested` and `CryptoCallbacks.getDehydrationKey` ([#&#8203;4376](https://github.com/matrix-org/matrix-js-sdk/pull/4376)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v34.4.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3440-2024-08-27) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.3.1...v34.4.0) \================================================================================================== #### ✨ Features - Use non-legacy calls if any are found ([#&#8203;4337](https://github.com/matrix-org/matrix-js-sdk/pull/4337)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). #### 🐛 Bug Fixes - Retry event decryption failures on first failure ([#&#8203;4346](https://github.com/matrix-org/matrix-js-sdk/pull/4346)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Ensure "type" = "module" ES declaration in pre-release.sh ([#&#8203;4350](https://github.com/matrix-org/matrix-js-sdk/pull/4350)). Contributed by [@&#8203;BLCK-B](https://github.com/BLCK-B). - Handle MatrixRTC encryption keys arriving out of order ([#&#8203;4345](https://github.com/matrix-org/matrix-js-sdk/pull/4345)). Contributed by [@&#8203;hughns](https://github.com/hughns). - Resend MatrixRTC encryption keys if a membership has changed ([#&#8203;4343](https://github.com/matrix-org/matrix-js-sdk/pull/4343)). Contributed by [@&#8203;hughns](https://github.com/hughns). ### [`v34.3.1`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3431-2024-08-20) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.3.0...v34.3.1) \================================================================================================== ### [`v34.3.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3430-2024-08-13) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v34.2.0...v34.3.0) \================================================================================================== #### ✨ Features - Bump matrix-widget-api ([#&#8203;4336](https://github.com/matrix-org/matrix-js-sdk/pull/4336)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Also check for MSC3757 for session state keys ([#&#8203;4334](https://github.com/matrix-org/matrix-js-sdk/pull/4334)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Support Futures via widgets ([#&#8203;4311](https://github.com/matrix-org/matrix-js-sdk/pull/4311)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Support MSC4140: Delayed events (Futures) ([#&#8203;4294](https://github.com/matrix-org/matrix-js-sdk/pull/4294)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Handle late-arriving `m.room_key.withheld` messages ([#&#8203;4310](https://github.com/matrix-org/matrix-js-sdk/pull/4310)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Be specific about what is considered a MSC4143 call member event. ([#&#8203;4328](https://github.com/matrix-org/matrix-js-sdk/pull/4328)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Add index.ts for matrixrtc module ([#&#8203;4314](https://github.com/matrix-org/matrix-js-sdk/pull/4314)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Fix hashed ID server lookups with no Olm ([#&#8203;4333](https://github.com/matrix-org/matrix-js-sdk/pull/4333)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). ### [`v34.2.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3420-2024-07-30) [Compare Source](https://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 ([#&#8203;4302](https://github.com/matrix-org/matrix-js-sdk/pull/4302)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v34.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3410-2024-07-16) [Compare Source](https://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 ([#&#8203;4300](https://github.com/matrix-org/matrix-js-sdk/pull/4300)). Contributed by [@&#8203;jgarplind](https://github.com/jgarplind). - Remove redundant hack for using the old pickle key in rust crypto ([#&#8203;4282](https://github.com/matrix-org/matrix-js-sdk/pull/4282)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Add fetching the well known in embedded mode. ([#&#8203;4259](https://github.com/matrix-org/matrix-js-sdk/pull/4259)). Contributed by [@&#8203;toger5](https://github.com/toger5). #### 🐛 Bug Fixes - Fix room state being updated with old (now overwritten) state and emitting for those updates. ([#&#8203;4242](https://github.com/matrix-org/matrix-js-sdk/pull/4242)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Fix incorrect "Olm is not available" errors ([#&#8203;4301](https://github.com/matrix-org/matrix-js-sdk/pull/4301)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Fix build for example script ([#&#8203;4286](https://github.com/matrix-org/matrix-js-sdk/pull/4286)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Declare matrix-js-sdk as an ES module ([#&#8203;4285](https://github.com/matrix-org/matrix-js-sdk/pull/4285)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). ### [`v34.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3400-2024-07-08) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v33.1.0...v34.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Fetch capabilities in the background ([#&#8203;4246](https://github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). #### ✨ Features - Prefix the user+device state key if needed ([#&#8203;4262](https://github.com/matrix-org/matrix-js-sdk/pull/4262)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Use legacy call membership if anyone else is ([#&#8203;4260](https://github.com/matrix-org/matrix-js-sdk/pull/4260)). Contributed by [@&#8203;AndrewFerr](https://github.com/AndrewFerr). - Fetch capabilities in the background ([#&#8203;4246](https://github.com/matrix-org/matrix-js-sdk/pull/4246)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). - Use server name instead of homeserver url to allow well-known lookups during QR OIDC reciprocation ([#&#8203;4233](https://github.com/matrix-org/matrix-js-sdk/pull/4233)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add via parameter for MSC4156 ([#&#8203;4247](https://github.com/matrix-org/matrix-js-sdk/pull/4247)). Contributed by [@&#8203;Johennes](https://github.com/Johennes). - Make the js-sdk compatible with MSC preferred foci and active focus. ([#&#8203;4195](https://github.com/matrix-org/matrix-js-sdk/pull/4195)). Contributed by [@&#8203;toger5](https://github.com/toger5). - Replace usages of setImmediate with setTimeout for wider compatibility ([#&#8203;4240](https://github.com/matrix-org/matrix-js-sdk/pull/4240)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### 🐛 Bug Fixes - \[Backport staging] Fix "Unable to restore session" error ([#&#8203;4299](https://github.com/matrix-org/matrix-js-sdk/pull/4299)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - \[Backport staging] Fix error when sending encrypted messages in large rooms ([#&#8203;4297](https://github.com/matrix-org/matrix-js-sdk/pull/4297)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Element-R: Fix resource leaks in verification logic ([#&#8203;4263](https://github.com/matrix-org/matrix-js-sdk/pull/4263)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Upgrade Rust Crypto SDK to 6.1.0 ([#&#8203;4261](https://github.com/matrix-org/matrix-js-sdk/pull/4261)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Correctly transform base64 with multiple instances of + or / ([#&#8203;4252](https://github.com/matrix-org/matrix-js-sdk/pull/4252)). Contributed by [@&#8203;robintown](https://github.com/robintown). - Work around spec bug for m.room.avatar state event content type ([#&#8203;4245](https://github.com/matrix-org/matrix-js-sdk/pull/4245)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). ### [`v33.1.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3310-2024-06-18) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v33.0.0...v33.1.0) \================================================================================================== #### ✨ Features - MSC4108 support OIDC QR code login ([#&#8203;4134](https://github.com/matrix-org/matrix-js-sdk/pull/4134)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Add crypto methods for export and import of secrets bundle ([#&#8203;4227](https://github.com/matrix-org/matrix-js-sdk/pull/4227)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### 🐛 Bug Fixes - Fix screen sharing in recent Chrome ([#&#8203;4243](https://github.com/matrix-org/matrix-js-sdk/pull/4243)). Contributed by [@&#8203;RiotRobot](https://github.com/RiotRobot). - Fix incorrect assumptions about required fields in /search response ([#&#8203;4228](https://github.com/matrix-org/matrix-js-sdk/pull/4228)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Fix the queueToDevice tests for the new fakeindexeddb ([#&#8203;4225](https://github.com/matrix-org/matrix-js-sdk/pull/4225)). Contributed by [@&#8203;dbkr](https://github.com/dbkr). ### [`v33.0.0`](https://github.com/matrix-org/matrix-js-sdk/blob/HEAD/CHANGELOG.md#Changes-in-3300-2024-06-04) [Compare Source](https://github.com/matrix-org/matrix-js-sdk/compare/v32.4.0...v33.0.0) \================================================================================================== #### 🚨 BREAKING CHANGES - Remove more deprecated methods, fields, and exports ([#&#8203;4217](https://github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Remove deprecated methods and fields ([#&#8203;4201](https://github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### 🦖 Deprecations - Remove more deprecated methods, fields, and exports ([#&#8203;4217](https://github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Remove deprecated methods and fields ([#&#8203;4201](https://github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). #### ✨ Features - `initRustCrypto`: allow app to pass in the store key directly ([#&#8203;4210](https://github.com/matrix-org/matrix-js-sdk/pull/4210)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Preserve ESM for async imports to work correctly ([#&#8203;4187](https://github.com/matrix-org/matrix-js-sdk/pull/4187)). Contributed by [@&#8203;ms-dosx86](https://github.com/ms-dosx86). #### 🐛 Bug Fixes - Don't run migration for Rust crypto if the legacy store is empty ([#&#8203;4218](https://github.com/matrix-org/matrix-js-sdk/pull/4218)). Contributed by [@&#8203;andybalaam](https://github.com/andybalaam). - Bump matrix-sdk-crypto-wasm to 5.0.0 ([#&#8203;4216](https://github.com/matrix-org/matrix-js-sdk/pull/4216)). Contributed by [@&#8203;richvdh](https://github.com/richvdh). - Wire up verification cancel & mismatch for rust crypto ([#&#8203;4202](https://github.com/matrix-org/matrix-js-sdk/pull/4202)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). - Only pass id\_server if we had one to begin with ([#&#8203;4200](https://github.com/matrix-org/matrix-js-sdk/pull/4200)). Contributed by [@&#8203;t3chguy](https://github.com/t3chguy). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjI2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/matrix-js-sdk-42.x:renovate/matrix-js-sdk-42.x
git switch renovate/matrix-js-sdk-42.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/matrix-js-sdk-42.x
git switch renovate/matrix-js-sdk-42.x
git rebase main
git switch main
git merge --ff-only renovate/matrix-js-sdk-42.x
git switch renovate/matrix-js-sdk-42.x
git rebase main
git switch main
git merge --no-ff renovate/matrix-js-sdk-42.x
git switch main
git merge --squash renovate/matrix-js-sdk-42.x
git switch main
git merge --ff-only renovate/matrix-js-sdk-42.x
git switch main
git merge renovate/matrix-js-sdk-42.x
git push origin main
Sign in to join this conversation.
No description provided.