unstale

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

@unstale/cli on npm

@solid-primitives/event-bus 37 changes

Breaking changes 3

  • The batch wrapper has been removed; callers must no longer use it.

    3.0.0release notes

  • Solid 2 is now required as a peer dependency; the peer dependency range was updated through 2.0.0-rc.14.

    3.0.0release notes

  • Uses Solid 2.0's split createEffect signature and captures and forwards the reactive owner for the apply phase.

    3.0.0release notes

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.

    3.0.0release notes

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.

    3.0.0release notes

  • Explicit named exports are emitted alongside barrel re-exports so named imports resolve reliably with Rolldown-based bundlers.

    3.0.0release notes

  • Pending payloads use a plain queue and counter signal to schedule draining, removing an extra empty effect rerun and its development diagnostic.

    3.0.0release notes

@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.

    1.1.4release notes