Releases: reactivando/use-pubsub-js
Releases · reactivando/use-pubsub-js
Release list
v2.0.0
🚨 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)
View changes on GitHub
v1.3.3
v1.3.2
No significant changes
View changes on GitHub
v1.3.1
No significant changes
View changes on GitHub
v1.3.0
v1.2.0
v1.1.0
🚀 Features
- Modernize package - (d073d)
- Fix lock - by @AZagatti (00a37)
- Fix coverage with v8 - by @AZagatti (fb9bb)
- Fix lint - by @AZagatti (2248c)
- Improve vitest config and project maintenance - in #40 (57a31)
- Add GitHub Actions workflow for Pages deployment - in #42 (300c7)
- Switch to tsdown and fix build process - in #48 (9ba6b)
- Refactor release process and add E2E tests - in #51 (c6975)
🐞 Bug Fixes
- Build root package before example app - by @AZagatti in #43 (dbb1b)
- Mark peer dependencies as external - by @AZagatti in #45 (10d7a)
- Add environment to GitHub Pages workflow - by @AZagatti in #46 (6ffc7)
- Correct peer dependencies and finalize build setup - by @AZagatti in #49 (5dce5)
- Resolve dependency duplication and finalize build - by @AZagatti in #50 (9987d)
- ci: Update lockfile and allow build scripts - (861ab)
- hooks: Correct useSubscribe handler updates - in #41 (ce68d)