Skip to content

v1.7.0

Choose a tag to compare

@felladrin felladrin released this 10 Sep 23:18
· 45 commits to main since this release

What's Changed

  • Fixed unsubscribing handlers in the same order they were subscribed. Calling the unsubscribe functions from the first to the last one was leaving the later handlers still subscribed, so they kept receiving the published data.
  • Fixed the ESM build of create-pubsub/immer, which was importing ../main as a directory, so Node was failing to load it with ERR_UNSUPPORTED_DIR_IMPORT.
  • react and immer are now declared as optional peer dependencies (react >=16.8 and immer >=9). Both stay optional, so nothing changes if you only use the main entry.
  • The package is now published with Trusted Publishing, replacing the token-based workflow.
  • The size of every bundle is now checked on CI, to make sure the library stays tiny.

Full Changelog: v1.6.3...v1.7.0