Skip to content

Releases: nordeck/matrix-widget-toolkit

@matrix-widget-toolkit/[email protected]

Patch Changes

@matrix-widget-toolkit/[email protected]

Patch Changes

@matrix-widget-toolkit/[email protected]

Patch Changes

@matrix-widget-toolkit/[email protected]

Major Changes

  • 14f1795: WidgetApi.sendStateEvent no longer returns the same event sent back down sync.
    If the room state was not altered by the sent event, no state update would be sent back by the server.
    Now sendStateEvent returns the response of the Matrix Widget API instead, including the event ID, among other things.

Minor Changes

  • 76314a9: The api package now exposes some utility functions via the utils module

@matrix-widget-toolkit/[email protected]

06 Dec 12:06
0fa0c32
Compare
Choose a tag to compare

Highlights

This is a technical release where we improved the possible settings for server administrators. 🔧

Customizing the nginx config

It is now possible to deploy widgets using the widget-server container on hosts without IPv6 support through a configuration option. This can be toggled easily using Helm charts, of which you can find an example in the NeoChoice widget..

Beyond that, the container image gained the ability to also add your own files with custom config that will be added to the nginx server block config, should you need that. Read more about both in our documentation.

Minor Changes

  • e449db3: Adds configurable listen directive
  • 1fdc00d: Adds proper mime type config for js, mjs and cjs files

@matrix-widget-toolkit/[email protected]

Patch Changes

@matrix-widget-toolkit/[email protected]

Highlights

Although it is only a minor version, it does bring some nice changes.

🎨 Better Element Web design integration: Element Web is currently the most commonly used hosting client for widgets. At the moment, Element Web is moving the designs towards the Element Compound design system. In this toolkit release, the primary (green) and error (red) colours and the avatar colours have been matched with the Compound design system.

Before After
before after

🚀 To the future: The popular lodash library seems to be unmaintained. Also nowadays many functions are built in to the ECMAScript standard or Browser APIs. We therefore decided to remove the lodash dependency. Most uses are replaced by native functions. What could not be replaced is now provided by a utils module in each package. Last but not least, one less dependency.

Changelog

Minor Changes

  • 9486231: Remove usage of lodash and replace split with Intl.Segmenter().segment() which bumps Firefox requirements to 125 and Chrome to at least 87

Patch Changes

  • 094aa47: Update default primary and error colors to match current Element Web theme.
  • cde8b5b: Align avatar colours with current Element Web

@matrix-widget-toolkit/[email protected]

21 Oct 14:46
732d0c8
Compare
Choose a tag to compare

Patch Changes

@matrix-widget-toolkit/[email protected]

21 Oct 08:38
049fc26
Compare
Choose a tag to compare

Highlights

We are happy to share the newest Matrix Widget Toolkit update with you today!
While the list isn't long, it is quite significant.

In this release, we migrated away from Facebook's Create React App (CRA) framework in favour of the new and actively maintained Vite framework (mind the French pronunciation 😉).
This allows us to update some dependencies with known issues that were kept back behind CRA.
Along with that, we also swapped out our testing framework from jest to the Vite-native Vitest.
If you're consuming our @matrix-widget-toolkit/testing package, this means breaking changes which caused us to release a new major version.
In our experience, upgrading apps that consume the Widget Toolkit, including the testing package, is fairly straightforward.

Changelog

Major Changes

  • f00e7cf: Migrate to vitest for testing. We do not support jest any further

Patch Changes

@matrix-widget-toolkit/[email protected]

21 Oct 14:46
732d0c8
Compare
Choose a tag to compare

Patch Changes