Packages

nx

24.0.6 · 10 Nov 2026MIT15.6M / weekRepositoryHomepagenpmAtom feed

Your version

24.0.0

major21 Oct 2026Where it was published

24.0.6 is the newest release of 24.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 8 changes to make.

Before you upgrade

  • Use nx watch --includeDependencies instead of --includeDependentProjects
  • Check tasks with continuous dependencies; they now wait for readiness
  • Legacy target-name cache fallback removed; expect cache misses for old entries
  • Check outputs placeholders, release env tokens and run-commands env behaviour
  • Update release-tag and pnpm prune configuration per v24 cleanups
  • Rename ultracache ignoredReads/ignoredWrites to ignoreReads/ignoreWritesTo check
  • Use NX_MIGRATE_USE_REGISTRY_RESOLUTION=false instead of NX_MIGRATE_SKIP_REGISTRY_FETCH
  • Dev servers are now awaited by default; check readiness configurationTo check

Deprecated

  • Move off executor custom hashers
  • Move off executor custom hashers

New

  • core: let dependsOn opt out of a continuous dependency's inputs
  • core: suggest available targets and closest task id on run-one errors
  • core: keep always inputs under ultracache and scope e2e files with @nx-depends-on
  • core: include dependencies in project-selected inputs and support @nx-depends-on in Jest
  • core: make the migrate orchestrator the default for agent-driven runs

In short

13 breaking13 removed2 deprecated13 new35 fixed7 internal

  • Breaking

    ⚠️ core: let tasks wait for a continuous dependency to be ready

  • Breaking

    ⚠️ core: support ?? fallbacks in Nx tokens

  • Breaking

    ⚠️ core: finish v24 release-tag and pnpm prune cleanups

  • Breaking

    core: rename ultracache ignoredReads/ignoredWrites to ignoreReads/ignoreWrites

    To check
  • Breaking

    core: wait for dev servers by default, with a 10-minute readiness timeout

    To check
  • Breaking

    ⚠️ core: keep inferred project names when project.json omits a name

  • Breaking

    core: keep inferred project names when project.json omits a name This affects workspaces that run Nx with NX_ISOLATE_PLUGINS=false or NX_USE_V8_SERIALIZER=true, or that use the WASM build of Nx. In those workspaces, a project whose project.json has no name was named after its directory. It now gets the name Nx already gives it with default settings. That name comes from its package.json name, or from another plugin such as @nx/maven. For example, packages/foo with the package name @scope/foo changes from foo to @scope/foo. Update commands and configuration that use the ol

  • Breaking

    core: finish v24 release-tag and pnpm prune cleanups

Release note

The section about nx of a note shared by several packages.

Features

  • Breaking

    ⚠️ angular: remove deprecated SCAM generators

  • Breaking

    ⚠️ core: remove deprecated nx watch --includeDependentProjects alias

  • core: let dependsOn opt out of a continuous dependency's inputs

  • Breaking

    ⚠️ core: deprecate executor custom hashers

  • core: suggest available targets and closest task id on run-one errors

  • core: own socket path resolution in the native crate

  • Breaking

    ⚠️ core: let tasks wait for a continuous dependency to be ready

  • core: keep always inputs under ultracache and scope e2e files with @nx-depends-on

  • core: include dependencies in project-selected inputs and support @nx-depends-on in Jest

  • core: make the migrate orchestrator the default for agent-driven runs

  • core: make stat collection a per-task opt-in

  • Breaking

    ⚠️ core: remove the legacy target-name cache fallback

  • core: select affected tasks by default

  • core: give nx migrate --run-migration the same agent flow as full runs

  • Breaking

    ⚠️ core: support ?? fallbacks in Nx tokens

  • Breaking

    ⚠️ core: finish v24 release-tag and pnpm prune cleanups

  • core: rename ultracache ignoredReads/ignoredWrites to ignoreReads/ignoreWrites

  • core: fetch ultracache configurations by default in CI

  • core: let dev servers signal readiness instead of guessing their port

  • core: say in nx show target and nx graph how ci treats a target under ultracache

  • Breaking

    ⚠️ core: remove deprecated NX_MIGRATE_SKIP_REGISTRY_FETCH env var

  • core: wait for dev servers by default, with a 10-minute readiness timeout

  • Breaking

    ⚠️ dotnet: make the inferred restore target opt-in

  • Breaking

    ⚠️ gradle: remove @nx/gradle/plugin-v1 and migrate to @nx/gradle

  • Breaking

    ⚠️ linter: remove deprecated setParserOptionsProject generator option

  • Breaking

    ⚠️ misc: remove no-op createDependencies exports from first-party plugins

  • misc: add rolldown plugin, node app bundler defaults and shebang script plugins

  • Breaking

    ⚠️ misc: migrate removed config helpers with loadable stubs

  • Removed

    misc: remove deprecated executors

  • misc: add dev server readiness to the remaining plugins

  • Breaking

    ⚠️ module-federation: remove nx module federation and migrate to official plugins

  • Breaking

    ⚠️ remix: remove generators and executors in v24

Fixes

  • core: drop the Node 24 ERR_USE_AFTER_CLOSE handlers

  • core: never hash continuous tasks from ultracache configurations

  • core: load the native binding once in the hash helpers

  • core: drop the redundant watch stop from daemon shutdown

  • core: replace the open package with a native URL opener (#36450, #34502)

  • Breaking

    ⚠️ core: remove the dependsOn 'self' / 'dependencies' magic-string shim

  • core: stop three specs flaking on temp workspace cleanup and process order

  • core: forward environment updates to restarting plugin workers

  • core: detect the invoking package manager before inherited user agents

  • core: only report recursive task invocations from ancestor processes

  • core: prevent daemon client wedge on failed reconnect

  • core: resolve externalDependencies deterministically when several versions are installed (#37327, #37324)

  • core: regenerate index.d.ts for the default cache size doc comment

  • core: stop install and commit prompts from hanging nx migrate agent runs

  • core: keep includeIgnored globs out of nested projects

  • core: disconnect batch workers once they report results (#37167, #37164)

  • core: run batches in waves so deferred tasks can hit the cache

  • core: show output appended to a running task in the inline TUI

  • core: support pnpm build approvals declared by custom presets and plugins

  • core: ignore pnpm store-probe temp files in the watcher and walker

  • core: retry readyWhen probes every 250 ms by default

  • core: run postinstall steps only from the workspace's nx install

  • core: handle readyWhen hosts and ports dev servers resolve at startup

  • Breaking

    ⚠️ core: keep inferred project names when project.json omits a name

  • core: run optional update migrations in the --include=optional pass only

  • core: install after migrations that only change catalog entries

  • Removed

    core: drop an empty default configuration from the task target

  • core: let processInBackground payloads fall back to v8 serialization

  • core: prevent stale cache hits when task inputs share a hash details key

  • core: show progress for nx affected on the daemon and for each nx reset step

  • core: pass release publish commands as argv instead of shell strings

  • core: hash every task an Nx Cloud agent starts

  • core: load the native binding under module.registerHooks() loaders

  • Breaking

    ⚠️ js: framework plugins defer typecheck to @nx/js/typescript (#37342, #36744)

  • misc: add origin/ defaultBase for bitbucket when affected has no defaultBase

  • misc: stop generators from accepting targets on removed executors

  • misc: harden v24 migrations

  • module-federation: throw from removed mf stubs outside graph creation

  • nx-cloud: serialize client bundle downloads across processes with a file lock

  • nx-cloud: keep client bundle state files out of the install directory

  • nx-dev: redirect legacy global-nx link from older nx clis (#37412, #36616)

  • nx-dev: replace old nx logo in favicon assets

  • nx-plugin: keep generated e2e package managers consistent

  • release: allow filtered releases with pending version plans for other groups

  • remix: address review feedback on the v24 removal

  • repo: notify slack when the publish job does not succeed

  • repo: guard JAVA17_HOME when no JDK is installed

  • repo: stop excluding nx native binary reads from sandbox tracking

  • repo: unblock Windows and FreeBSD publish builds after @nx/maven self-build

Breaking Changes

  • Breaking

    linter: remove deprecated setParserOptionsProject generator option
    the setParserOptionsProject generator option is
    removed. Use enableTypedLinting instead. nx migrate rewrites
    generator defaults that set it, but not scripts that pass
    --setParserOptionsProject to nx g.

  • Breaking

    core: remove deprecated NX_MIGRATE_SKIP_REGISTRY_FETCH env var
    NX_MIGRATE_SKIP_REGISTRY_FETCH is removed, and nx migrate ignores it. To keep resolving versions and migration metadata
    through a package-manager install, set
    NX_MIGRATE_USE_REGISTRY_RESOLUTION=false or
    migrate.useRegistryResolution: false in nx.json.

  • Breaking

    angular: remove deprecated SCAM generators
    the @nx/angular:scam, @nx/angular:scam-directive,
    @nx/angular:scam-pipe, and @nx/angular:scam-to-standalone generators
    and their @nx/angular/generators exports are removed. Use the
    @nx/angular:component, @nx/angular:directive, or @nx/angular:pipe
    generators instead.

  • Breaking

    core: keep inferred project names when project.json omits a name
    This affects workspaces that run Nx with
    NX_ISOLATE_PLUGINS=false or NX_USE_V8_SERIALIZER=true, or that use
    the WASM build of Nx. In those workspaces, a project whose project.json
    has no name was named after its directory. It now gets the name Nx
    already gives it with default settings. That name comes from its
    package.json name, or from another plugin such as @nx/maven. For
    example, packages/foo with the package name @scope/foo changes from
    foo to @scope/foo. Update commands and configuration that use the
    old name, such as nx build foo or implicitDependencies. To keep the
    old name, set "name": "foo" in project.json.

  • Breaking

    core: finish v24 release-tag and pnpm prune cleanups

  • Breaking

    core: support ?? fallbacks in Nx tokens

    • An outputs placeholder whose option is 0 or false resolves to
      that value instead of dropping the output.

    • {env.*} and ?? fallbacks in the release settings that resolve
      placeholders, such as tag patterns and commit messages, are an error
      instead of literal text. Docker versionSchemes, which @nx/docker
      resolves, are unchanged.

    • Direct-mode nx:run-commands, the default, builds the command env the
      way forked mode does. envFile references see the project's .env
      values, and an empty shell variable no longer overrides an envFile
      value. NX_LOAD_DOT_ENV_FILES and the root .env follow the task env,
      not the Nx process, except for a command in a pseudo-terminal (see
      Implementation Notes).

  • Breaking

    misc: migrate removed config helpers with loadable stubs
    Deprecated config helpers no longer configure builds.
    Existing workspaces must follow the migration instructions.

  • Breaking

    core: remove the legacy target-name cache fallback

  • Breaking

    module-federation: remove nx module federation and migrate to official plugins

  • Breaking

    core: let tasks wait for a continuous dependency to be ready

  • Deprecated

    core: deprecate executor custom hashers

  • Breaking

    misc: remove no-op createDependencies exports from first-party plugins

  • Breaking

    remix: remove generators and executors in v24

  • Breaking

    gradle: remove @nx/gradle/plugin-v1 and migrate to @nx/gradle

  • Breaking

    core: remove the dependsOn 'self' / 'dependencies' magic-string shim
    dependsOn entries with projects: 'self' or
    projects: 'dependencies' are no longer special. Run nx repair to
    rewrite them to the token form.

  • Breaking

    core: remove deprecated nx watch --includeDependentProjects alias
    nx watch --includeDependentProjects is removed. Use
    --includeDependencies.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.