unstale

npm / @dagrejs/dagre

@dagrejs/dagre

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

1 new APIs and options1 behavior and defaults1 tooling1 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@dagrejs/dagre 33 changes

Behavior and default changes 1

  • ESM and CommonJS exports were standardized for compatibility with modern bundlers.

    3.0.0release notes

Tooling 1

  • Types are shipped directly with the library, removing the need for external @types/dagre packages.

    3.0.0release notes

Fixes and other changes 1

  • Internal graph traversal logic was refined to reduce undefined runtime errors.

    3.0.0release notes

@dagrejs/dagre 21 changes

New APIs and options 1

  • A new import-style library is available for developers who want to import Dagre.

    2.0.0release notes