Skip to content

Releases: matrix-org/matrix-js-sdk

v35.0.0-rc.0

10 Dec 15:43
Compare
Choose a tag to compare
v35.0.0-rc.0 Pre-release
Pre-release

🚨 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 (#4567). Contributed by @florianduros.
  • Support MSC4222 state_after (#4487). Contributed by @dbkr.
  • Avoid use of Buffer as it does not exist in the Web natively (#4569). Contributed by @t3chguy.

πŸ¦– 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

03 Dec 12:23
Compare
Choose a tag to compare

πŸ¦– Deprecations

✨ Features

πŸ› Bug Fixes

  • Fix RustBackupManager remaining values after current backup removal (#4537). Contributed by @florianduros.

v34.13.0-rc.0

26 Nov 13:42
Compare
Choose a tag to compare
v34.13.0-rc.0 Pre-release
Pre-release

πŸ¦– Deprecations

✨ Features

πŸ› Bug Fixes

  • Fix RustBackupManager remaining values after current backup removal (#4537). Contributed by @florianduros.

v34.12.0

19 Nov 14:17
Compare
Choose a tag to compare

πŸ¦– Deprecations

✨ Features

  • Handle M_MAX_DELAY_EXCEEDED errors (#4511). Contributed by @AndrewFerr.
  • Allow configuration of MatrixRTC timers when calling joinRoomSession() (#4510). Contributed by @hughns.
  • When state says you've left ongoing call, rejoin (#4342). Contributed by @AndrewFerr.
  • Remove redundant type arguments in function call (#4507). Contributed by @AndrewFerr.
  • MatrixRTCSession: handle rate limit errors (#4494). Contributed by @AndrewFerr.
  • Send/receive error details with widgets (#4492). Contributed by @AndrewFerr.
  • Capture HTTP error response headers & handle Retry-After header (MSC4041) (#4471). Contributed by @AndrewFerr.
  • Add RoomWidgetClient.sendToDeviceViaWidgetApi() (#4475). Contributed by @hughns.

v34.12.0-rc.0

12 Nov 13:59
Compare
Choose a tag to compare
v34.12.0-rc.0 Pre-release
Pre-release

πŸ¦– Deprecations

✨ Features

  • Handle M_MAX_DELAY_EXCEEDED errors (#4511). Contributed by @AndrewFerr.
  • Allow configuration of MatrixRTC timers when calling joinRoomSession() (#4510). Contributed by @hughns.
  • When state says you've left ongoing call, rejoin (#4342). Contributed by @AndrewFerr.
  • Remove redundant type arguments in function call (#4507). Contributed by @AndrewFerr.
  • MatrixRTCSession: handle rate limit errors (#4494). Contributed by @AndrewFerr.
  • Send/receive error details with widgets (#4492). Contributed by @AndrewFerr.
  • Capture HTTP error response headers & handle Retry-After header (MSC4041) (#4471). Contributed by @AndrewFerr.
  • Add RoomWidgetClient.sendToDeviceViaWidgetApi() (#4475). Contributed by @hughns.

v34.11.1

12 Nov 09:30
Compare
Choose a tag to compare

v34.10.0

05 Nov 13:49
Compare
Choose a tag to compare

πŸ¦– 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.10.0-rc.0

29 Oct 12:55
Compare
Choose a tag to compare
v34.10.0-rc.0 Pre-release
Pre-release

πŸ¦– 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

22 Oct 11:58
Compare
Choose a tag to compare

πŸ¦– Deprecations

  • Deprecate the crypto events which are not used by the rust-crypto (#4442). Contributed by @florianduros.

πŸ› Bug Fixes

  • Fix the rust crypto import in esm environments. (#4445). Contributed by @saul-jb.
  • Fix MatrixRTC sender key wrapping (#4441). Contributed by @hughns.

v34.9.0-rc.0

15 Oct 14:31
Compare
Choose a tag to compare
v34.9.0-rc.0 Pre-release
Pre-release

πŸ¦– Deprecations

  • Deprecate the crypto events which are not used by the rust-crypto (#4442). Contributed by @florianduros.

πŸ› Bug Fixes

  • Fix the rust crypto import in esm environments. (#4445). Contributed by @saul-jb.
  • Fix MatrixRTC sender key wrapping (#4441). Contributed by @hughns.