Skip to content

v35.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Dec 13:22
· 3 commits to refs/heads/staging since this 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 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