Repository navigation
v1.7.0
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../mainas a directory, so Node was failing to load it withERR_UNSUPPORTED_DIR_IMPORT. reactandimmerare now declared as optional peer dependencies (react >=16.8andimmer >=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