unstale

npm / lerna

lerna

What changed in lerna 3 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-20.

45 breaking1 deprecations14 new APIs and options4 behavior and defaults3 tooling17 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

lerna 1016 changes

Breaking changes 6

  • Choose whether a stale remote in CI causes an error or is skipped; the default is error.

    10.0.0release notes

  • Configure whether a stale remote in CI causes an error or is skipped; the default is error.

    10.0.0release notes

  • Lerna now uses current conventional-changelog APIs instead of the deprecated core stack; generated changelog output may differ, so custom presets should be verified.

    10.0.0release notes

  • Lerna is now shipped as ESM-only, changing how consumers load the package.

    10.0.0release notes

  • The lowest supported Node.js version is now 22.13.0; supported major versions are 22, 24, and 26.

    10.0.0release notes

  • Versioning and publishing now throw EBEHIND in CI when the checkout is behind the latest remote; previously this occurred only outside CI.

    10.0.0release notes

Tooling 1

Fixes and other changes 9

  • Errors from failed prompts are now reported, making prompt failures visible to developers.

    10.1.1release notes

  • Fixes resolution of conventional-commits-filter when using --conventional-commits.

    10.1.0release notes

  • Uses colorize instead of an undeclared chalk dependency during initialization.

    10.1.0release notes

  • Keeps the modern writer template when a preset includes a legacy writer guard.

    10.1.0release notes

  • Skips unnecessary package managers during release.

    10.0.1release notes

  • Fixes a missing peer dependency in Lerna 10.

    10.0.1release notes

  • Changelog presets that expose only the ESM import condition are now supported.

    10.0.0release notes

  • OIDC trusted publishing on CircleCI is now supported.

    10.0.0release notes

  • Output from publish and postpublish lifecycle scripts is now shown.

    10.0.0release notes

lerna 97 changes

Breaking changes 2

  • The legacy package-management package has been formally removed; users of its commands should migrate to their package manager's workspaces feature.

    9.0.0release notes

  • Node.js v18 support is dropped; supported versions are ^20.19.0 || ^22.12.0 || >=24.0.0.

    9.0.0release notes

Tooling 2

  • Expanded the supported version range to include Nx v22.x.

    9.0.1release notes

  • Lerna now supports OIDC trusted publishing with no specification configuration required.

    9.0.0release notes

Fixes and other changes 3

  • lerna version supports ESM and the new v8+ conventional-changelog preset API.

    9.0.7release notes

  • A ./ prefix in workspace globs is normalized for package detection.

    9.0.7release notes

  • README file names are now populated on package.json during publish.

    9.0.0release notes

lerna 86 changes

Breaking changes 3

  • The package is no longer separately published; it will be officially deprecated on npm in the future.

    8.0.0release notes

  • The task runner now depends on nx v17, bringing further performance improvements.

    8.0.0release notes

  • Support for Node.js 16 is dropped because it is end of life.

    8.0.0release notes

Deprecations 1

  • Older packages under the @lerna/ scope have been marked as deprecated on npm to signal that they are no longer maintained.

    8.0.0release notes

New APIs and options 1

  • Adds an option to force patch bumps for non-breaking changes in premajor packages.

    8.0.0release notes

Behavior and default changes 1

lerna 720 changes

Breaking changes 16

  • This deprecated option was removed; provide the bump positionally instead.

    7.0.0release notes

  • This deprecated option was removed; use --createRelease=github instead.

    7.0.0release notes

  • This deprecated option was removed; use --ignoreChanges instead.

    7.0.0release notes

  • This deprecated option was removed; use --includeDependencies instead.

    7.0.0release notes

  • This deprecated option was removed; use --includeDependents instead.

    7.0.0release notes

  • The legacy package management command is no longer included by default; use a package manager for package management concerns.

    7.0.0release notes

  • The legacy package management command is no longer included by default; use a package manager for package management concerns.

    7.0.0release notes

  • Running lerna init in an already initialized repository now hard errors instead of attempting to coerce its setup.

    7.0.0release notes

  • The legacy package management command is no longer included by default; use a package manager for package management concerns.

    7.0.0release notes

  • Node.js 14 support was dropped because it is end of life.

    7.0.0release notes

  • This deprecated option was removed; use --distTag instead.

    7.0.0release notes

  • This deprecated option was removed; provide the bump positionally instead.

    7.0.0release notes

  • A migration adds $schema to configuration and increases some strictness.

    7.0.0release notes

  • This deprecated option was removed; use --push=false --gitTagVersion=false instead.

    7.0.0release notes

  • The useWorkspaces flag has been removed; lerna repair automatically removes it from lerna.json.

    7.0.0release notes

  • Lerna now uses the package manager's workspaces configuration by default to resolve packages, unless a packages property is present in lerna.json.

    7.0.0release notes

New APIs and options 3

  • lerna init supports --dryRun to preview file system changes.

    7.0.0release notes

  • Set npmClient to pnpm so Lerna looks for pnpm-workspaces.yaml rather than checking only the root package.json.

    7.0.0release notes

  • Publishing now supports a custom directory for each package.

    7.0.0release notes

Fixes and other changes 1

  • The repair command is no longer blocked by configuration validation.

    7.0.0release notes

lerna 66 changes

Breaking changes 1

  • The command delegates to the Nx-powered task-runner by default instead of the legacy task-runner.

    6.0.0release notes

New APIs and options 4

  • Run this command to interactively generate workspace configuration for script outputs and task relationships.

    6.0.0release notes

  • Run code migrations and codemods to update workspace configuration to current best practices, including removing explicit "useNx": true references.

    6.0.0release notes

  • Set this option to false to disable automatic loading of .env files.

    6.0.0release notes

  • Set useNx to false in lerna.json to opt in to the legacy task-runner implementation.

    6.0.0release notes

Behavior and default changes 1

  • The modern task-runner automatically loads .env files for lerna run by default.

    6.0.0release notes

lerna 53 changes

Breaking changes 2

  • Node v10.x and v12.x are no longer supported; upgrade to a newer LTS release.

    5.0.0release notes

  • Lerna now invokes npm lifecycle scripts using @npmcli/run-script instead of npm-lifecycle; their APIs differ significantly, so this may cause breaking changes.

    5.0.0release notes

Fixes and other changes 1

  • Lerna workspaces no longer have dependency deprecation warnings.

    5.0.0release notes

lerna 411 changes

Breaking changes 9

  • The ambiguous prompt export confirm has been removed; use promptConfirmation instead.

    4.0.0release notes

  • The ambiguous prompt export input has been removed; use promptTextInput instead.

    4.0.0release notes

  • The makePredicate() export has been removed; callers are responsible for memoization.

    4.0.0release notes

  • Node v6.x and v8.x are no longer supported; the minimum supported version is v10.18.0.

    4.0.0release notes

  • lazy is now a static method of Package rather than a named export.

    4.0.0release notes

  • Use promptConfirmation in place of the ambiguous confirm export.

    4.0.0release notes

  • Use promptSelectOne in place of the ambiguous select export.

    4.0.0release notes

  • Use promptTextInput in place of the ambiguous input export.

    4.0.0release notes

  • The ambiguous prompt export select has been removed; use promptSelectOne instead.

    4.0.0release notes

Behavior and default changes 1

  • The default GitHub branch used by create is now main.

    4.0.0release notes

Fixes and other changes 1

lerna 315 changes

Breaking changes 6

  • Package names emitted to stdout no longer have a - prefix, and private packages are hidden by default.

    3.0.0release notes

  • The default output no longer shows version strings or private packages.

    3.0.0release notes

  • Publishing now validates npm registry and package access prerequisites.

    3.0.0release notes

  • --no-verify is no longer passed to git commit by default; commit-hook behavior is controlled by --commit-hooks.

    3.0.0release notes

  • During prereleases, --preid now defaults to alpha, yielding results such as 1.0.1-alpha.0.

    3.0.0release notes

  • lerna version is split from lerna publish.

    3.0.0release notes

New APIs and options 6

  • Explicit and implicit relative file specifiers are supported.

    3.0.0release notes

  • A new alias resembles the old lerna ls output and includes each package's relative path.

    3.0.0release notes

  • A new alias provides a shortcut for the --long option.

    3.0.0release notes

  • The new option aids piping command output.

    3.0.0release notes

  • An npmPack export is added.

    3.0.0release notes

  • A tarball property is added.

    3.0.0release notes

Behavior and default changes 1

  • Lerna runs npm pack before npm publish, improving the package packing experience.

    3.0.0release notes

Fixes and other changes 2

  • Relative file specifiers are now computed using POSIX paths.

    3.0.0release notes

  • Imports generated from a test file use the filename without its scope.

    3.0.0release notes