npm / lerna
lerna
What changed in lerna 9 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
6 breaking2 tooling11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlerna 1016 changes
Breaking changes 6
Choose whether a stale remote in CI causes an error or is skipped; the default is error.
Configure whether a stale remote in CI causes an error or is skipped; the default is error.
Lerna now uses current conventional-changelog APIs instead of the deprecated core stack; generated changelog output may differ, so custom presets should be verified.
Lerna is now shipped as ESM-only, changing how consumers load the package.
The lowest supported Node.js version is now 22.13.0; supported major versions are 22, 24, and 26.
Versioning and publishing now throw EBEHIND in CI when the checkout is behind the latest remote; previously this occurred only outside CI.
Tooling 1
Bun is now a supported package manager.
Fixes and other changes 9
Errors from failed prompts are now reported, making prompt failures visible to developers.
Fixes resolution of conventional-commits-filter when using --conventional-commits.
Uses colorize instead of an undeclared chalk dependency during initialization.
Keeps the modern writer template when a preset includes a legacy writer guard.
Skips unnecessary package managers during release.
Fixes a missing peer dependency in Lerna 10.
Changelog presets that expose only the ESM import condition are now supported.
OIDC trusted publishing on CircleCI is now supported.
Output from publish and postpublish lifecycle scripts is now shown.
lerna 93 changes
Tooling 1
Expanded the supported version range to include Nx v22.x.
Fixes and other changes 2
lerna version supports ESM and the new v8+ conventional-changelog preset API.
A ./ prefix in workspace globs is normalized for package detection.