@nx/devkit
24.0.6 · 10 Nov 2026MIT12.1M / weekRepositoryHomepagenpmAtom feed
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 --includeDependencies instead of --includeDependentProjects
- Check tasks depending on continuous tasks now wait for readiness
- Expect cache misses; legacy target-name cache fallback is gone
- Check which tasks run now that affected selection is defaultTo check
- Check Nx token placeholders, release settings and run-commands env behavior
- Check release-tag and pnpm prune configuration for v24 changes
- Rename ignoredReads/ignoredWrites to ignoreReads/ignoreWrites
- Use NX_MIGRATE_USE_REGISTRY_RESOLUTION=false instead
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
16 breaking11 removed2 deprecated12 new1 faster31 fixed8 internal
- Breaking
⚠️ core: let tasks wait for a continuous dependency to be ready
- BreakingTo check
core: select affected tasks by default
- 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
- BreakingTo check
core: wait for dev servers by default, with a 10-minute readiness timeout
- Breaking
⚠️ misc: migrate removed config helpers with loadable stubs
- Breaking
⚠️ core: keep inferred project names when project.json omits a name
Release note
The section about @nx/devkit 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
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
thesetParserOptionsProjectgenerator option is
removed. UseenableTypedLintinginstead.nx migraterewrites
generator defaults that set it, but not scripts that pass--setParserOptionsProjecttonx g. - Breaking
core: remove deprecated NX_MIGRATE_SKIP_REGISTRY_FETCH env var
NX_MIGRATE_SKIP_REGISTRY_FETCHis removed, andnx migrateignores it. To keep resolving versions and migration metadata
through a package-manager install, setNX_MIGRATE_USE_REGISTRY_RESOLUTION=falseormigrate.useRegistryResolution: falseinnx.json. - Breaking
angular: remove deprecated SCAM generators
the@nx/angular:scam,@nx/angular:scam-directive,@nx/angular:scam-pipe, and@nx/angular:scam-to-standalonegenerators
and their@nx/angular/generatorsexports 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 withNX_ISOLATE_PLUGINS=falseorNX_USE_V8_SERIALIZER=true, or that use
the WASM build of Nx. In those workspaces, a project whose project.json
has nonamewas named after its directory. It now gets the name Nx
already gives it with default settings. That name comes from its
package.jsonname, or from another plugin such as@nx/maven. For
example,packages/foowith the package name@scope/foochanges fromfooto@scope/foo. Update commands and configuration that use the
old name, such asnx build fooorimplicitDependencies. 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
outputsplaceholder whose option is0orfalseresolves 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. DockerversionSchemes, which@nx/docker
resolves, are unchanged.Direct-mode
nx:run-commands, the default, builds the command env the
way forked mode does.envFilereferences see the project's.env
values, and an empty shell variable no longer overrides anenvFile
value.NX_LOAD_DOT_ENV_FILESand the root.envfollow 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
dependsOnentries withprojects: 'self'orprojects: 'dependencies'are no longer special. Runnx repairto
rewrite them to the token form. - Breaking
core: remove deprecated nx watch --includeDependentProjects alias
nx watch --includeDependentProjectsis 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.