Releases
v2.0.0
Compare
Sorry, something went wrong.
No results found
🚨 Breaking Changes
Drop React 17 support; require React >=18 - by @AZagatti and Claude Opus 4.8 (1M context) in #82 (7245a)
Route subscriber errors to a configurable onError (default console.error) - by @AZagatti and Claude Opus 4.8 (1M context) in #83 (b680b)
Brand SubscriptionToken so unsubscribe rejects arbitrary strings - by @AZagatti and Claude Opus 4.8 (1M context) in #84 (d401d)
Bundle/packaging hygiene (drop utils/debounce subpath, es2021 target) - by @AZagatti and Claude Opus 4.8 (1M context) in #88 (242a5)
hooks : Typed bus param + Events generic; widen message; rename useSubscribe types - by @AZagatti and Claude Opus 4.8 (1M context) in #77 (fa60f)
v2-M4 : Semver-major type cleanups - by @AZagatti and Claude Opus 4.8 (1M context) in #73 (a72cc)
🚀 Features
Retained-value bus mode + useBusState hook (useSyncExternalStore) - by @AZagatti and Claude Opus 4.8 (1M context) in #86 (4079d)
React19/useSubscribe built on useEffectEvent (opt-in subpath) - by @AZagatti and Claude Opus 4.8 (1M context) in #87 (85b12)
CreateHierarchicalPubSub — typed + hierarchical bus - by @AZagatti and Claude Opus 4.8 (1M context) in #93 (d664a)
v2-M1 : Internal pub/sub module + isolation & parity tests (not yet wired) - by @AZagatti and Claude Opus 4.8 (1M context) in #71 (e2605)
v2-M2 : Swap the hooks to the internal pub/sub module (zero runtime deps) - by @AZagatti and Claude Opus 4.8 (1M context) in #72 (b85f1)
v2-M5 : Add ./pubsub subpath export, metadata, behavioral e2e smoke - by @AZagatti and Claude Opus 4.8 (1M context) in #74 (1842a)
🏎 Performance
pubsub : Flatten the publish snapshot to one array - by @AZagatti and Claude Opus 4.8 (1M context) in #89 (b4d9d)
You can’t perform that action at this time.