npm / @solid-primitives/event-bus
@solid-primitives/event-bus
What changed in @solid-primitives/event-bus 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking1 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@solid-primitives/event-bus 37 changes
Breaking changes 3
The batch wrapper has been removed; callers must no longer use it.
Solid 2 is now required as a peer dependency; the peer dependency range was updated through 2.0.0-rc.14.
Uses Solid 2.0's split createEffect signature and captures and forwards the reactive owner for the apply phase.
Behavior and default changes 1
In Solid 2.0, batchEmits is a no-op that returns the bus unchanged because signal writes are automatically batched via microtasks.
Fixes and other changes 3
Stack values in event payloads are computed inside the setter callback, so they reflect updated state despite deferred signal reads in Solid 2.0.
Explicit named exports are emitted alongside barrel re-exports so named imports resolve reliably with Rolldown-based bundlers.
Pending payloads use a plain queue and counter signal to schedule draining, removing an extra empty effect rerun and its development diagnostic.
@solid-primitives/event-bus 11 changes
Fixes and other changes 1
The package emits explicit exports for runtime exports reachable through barrel re-exports, fixing named-import resolution in Rolldown-based bundlers.