Skip to content

Releases: matter-ecs/matter-hooks

Matter Hooks v0.2.1

27 Jun 21:20
v0.2.1
2f2428a
Compare
Choose a tag to compare

This update the long-delayed increase in compatibility range.

Special Note on Compatibility

For anyone who may have run into a compatibility issue between Matter and Matter Hooks, this happens as a result of the inability to declare Matter as a peer dependency of Matter Hooks. Matter Hooks must be using the exact same version of Matter your project is and this can lead to conflicts when Wally decides (because it's not marked as compatible) to install separate versions of Matter for your project and Matter Hooks. Unfortunately nothing notifies you of this happening, so it will fail in confusing ways.

To help avoid this issue, we'll take special care to coordinate the release of these projects so this happens quickly (often this is as simple as marking the new version as compatible). Once Matter reaches v1 (no longer v0 in rapid development) this will happen less often, and hopefully Wally can gain support for peer dependencies in the future as well.

Changed

  • Increase the maximum compatible version of matter up to v0.9.0 in #27

For more details, view the full changelog, or check out our documentation.

Matter Hooks v0.1.0

19 Mar 04:13
v0.1.0
5c6803f
Compare
Choose a tag to compare

This is the initial release of Matter Hooks!

Added

  • This release includes several new hooks.
    • useAsync - For calling asynchronous functions and memoizing the result
    • useChange - For reacting to changing dependencies
    • useContextAction - For registering context actions within systems
    • useMap - For mapping keys to values
    • useMemo - For memoizing values based on dependencies
    • useReducer - For storing stateful values updated by a reducer function
    • useStream - For processing instance streaming events

For more details, view the full changelog, or check out our documentation.