Skip to content

Releases: matrix-org/matrix-js-sdk

v35.1.0

18 Dec 14:10
Compare
Choose a tag to compare

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

17 Dec 13:22
Compare
Choose a tag to compare

🚨 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 libolm. You can continue to use legacy libolm for now by calling initLegacyCrypto() instead, but this will be removed soon.

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

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