Skip to content

v18.0.0

Choose a tag to compare

@kaylendog kaylendog released this 11 Mar 11:57
· 57 commits to main since this release
v18.0.0
1ac734e
  • BREAKING: Refine type declarations to improve developer experience and ensure stronger type safety. (#305)

    • Adds explicit type definitions to methods that previously lacked them, and refines cases where methods return a union of types to make them more precise.
    • Deprecates all outdated types previously exposed in index.d.ts, which were no longer accurate or reliable.

    These changes are not strictly breaking - they do not affect the underlying Rust bindings - but the compile-time interface has been modified, which necessitates the addition of extra checks to ensure type correctness holds.

  • Add support for storing and querying the rooms that are awaiting MSC4268 key bundles. (#299)

  • BREAKING: Add support for MSC4388 in the QrCodeData class. QrCodeMode has been renamed to QrCodeIntent. (#290), (#292)

  • Update matrix-rust-sdk to fadfd98be, which includes:

    • Add Store::{store,clear}_room_pending_key_bundle, CryptoStore::get_pending_key_bundle_details_for_room and CryptoStore::get_all_rooms_pending_key_bundle, which can be used by applications to track whether they are expecting an MSC4268 key bundle. (#6199), (#6233)
    • Add MSC4388 support to the QrcodeData struct. (#6089)
    • [BREAKING] The QrcodeData struct has been reworked in preparation to support MSC4388. The fields of the QrcodeData struct are not anymore publicly accessible. The mode_data() method has been renamed to intent_data() and returns an MSC-specific struct now. The rendezvous_url() method has been removed. (#6081)
    • Add MSC4388 support to the QrcodeData struct. (#6089)