unstale

npm / @solid-primitives/event-listener

@solid-primitives/event-listener

What changed in @solid-primitives/event-listener 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking1 behavior and defaults1 tooling2 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-listener 35 changes

Breaking changes 2

  • Without an owner, makeEventListenerStack no longer registers cleanup or emits a dev-only NO_OWNER_CLEANUP diagnostic; unowned callers must call clear() to avoid leaks.

    3.0.0release notes

  • Solid.js 2.0 beta.14 or later is now required as a peer dependency.

    3.0.0release notes

Behavior and default changes 1

  • Called with props alone, eventListener now returns a ref callback for use with Solid 2's ref shape; the two-argument form still works.

    3.0.0release notes

Tooling 1

  • The build emits explicit named exports through barrels so Rolldown can resolve named imports reliably.

    3.0.0release notes

Fixes and other changes 1

  • Hydration IDs are now balanced for createEventListener.

    3.0.0release notes

@solid-primitives/event-listener 21 changes

Fixes and other changes 1

  • Named imports now resolve under Rolldown because dist output includes explicit exports for runtime exports reachable through star re-exports.

    2.4.6release notes