unstale

npm / @nestjs/event-emitter

@nestjs/event-emitter

What changed in @nestjs/event-emitter 3 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

2 breaking5 new APIs and options1 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

@nestjs/event-emitter 129 changes

Breaking changes 2

  • Imports from build internals are no longer resolvable; import from the package root instead.

    12.0.0release notes

  • The minimum Node.js version is now 20.19.0; older runtimes cannot require the package from a CommonJS app.

    12.0.0release notes

New APIs and options 5

  • The package root exports the metadata key written by @OnEvent, allowing custom decorators to produce listener metadata the loader understands.

    12.0.0release notes

  • The package root now re-exports EventEmitter2; ESM consumers should import it from this package rather than eventemitter2.

    12.0.0release notes

  • This public interface is now exported from the package root instead of requiring a deep import.

    12.0.0release notes

  • This public interface is now exported from the package root instead of requiring a deep import.

    12.0.0release notes

  • This public interface is now exported from the package root instead of requiring a deep import.

    12.0.0release notes

Behavior and default changes 1

  • A plain CommonJS Nest app can continue to load the package with require() on supported Node.js runtimes.

    12.0.0release notes

Fixes and other changes 1

@nestjs/event-emitter 31 changes

Fixes and other changes 1

  • Request-scoped listeners inherit the request context id.

    3.1.0release notes