Skip to content

@matrix-widget-toolkit/api@5.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Sep 22:30
46862f5

Highlights

Besides the usual dependency updates and bug fixes™️, version 5.1.0 brings support for two new Matrix Spec Proposals to the Widget API.

Sticky events (MSC4407) let a widget send short-lived events that the homeserver keeps delivering for a configurable duration. sendRoomEvent() and sendDelayedRoomEvent() accept a new stickyDurationMs option, and the new isRoomEventCurrentlySticky() helper tells you whether a received event is still within its sticky window.

RTC transports discovery (MSC4515) adds widgetApi.getRtcTransports(), so a widget can ask the hosting client which real-time transports are available.

Both proposals are still unstable, so what you actually get depends on the hosting client and homeserver supporting them.

Minor Changes

  • c246174: Add support for RTC transports discovery (MSC4515)
  • 5f2f76a: Add support for sticky events (MSC4407)

Patch Changes

  • 2b536aa: Update dependency @rollup/plugin-commonjs to v29
  • 3e6c8e9: Update @reduxjs/toolkit to 2.12.0, matrix-widget-api to 1.18.0