nx
24.0.6 · 10 Nov 2026MIT15.6M / weekRepositoryHomepagenpmAtom feed
17.3.2 is the newest release of 17.x.
In short
7 breaking10 removed25 new29 fixed
- Breaking
@nx/linterhas been renamed to@nx/eslint. There is a migration for this. - Breaking
workspaces-generatorcommand has been removed. This was deprecated since v15 and only errored. - Breaking
workspaces-lintcommand has been removed. This was deprecated since v15 and only errored. - Breaking
defaultCollectioncan no longer be configured innx.json. There is a prompt to choose the collection when running a generator name which exists in multiple collections. - Breaking
npmScopecan no longer be configured innx.json. Import paths in libraries will have a scope which is the same as the scope of the name in the rootpackage.json. Most generators should have animportPathoverride to control the import path entirely. - Breaking
Nx generators and executors can no longer be used as Angular CLI schematics and builders. You can still wrap them with
@nx/devkitmethods to use them programmatically. - Breaking
Deprecated exported utils from
@nrwl/workspacehave been removed. - Removed
core: remove deprecated workspace generator command
Security
3 advisories affect 17.0.0; 22.7.10 fixes them
- HighNx: OS command injection via git revisions and remote refsGHSA-w2vw-w76x-qr89 · 5 Oct 2026Fixed in 22.7.8
- HighNx daemon and plugin worker sockets are accessible to other local usersGHSA-w3vv-58gj-gw77 · 5 Oct 2026Fixed in 22.7.9
- ModerateNx: Path traversal in nx migrate package-migrations extractionGHSA-hrvq-x7jp-36xv · 5 Oct 2026Fixed in 22.7.10
Release note
The section about nx of a note shared by several packages.
Features
core: accept various task runner options from root of nx.json
core: read cloud url from nx.json
core: add --type for nx show projects
core: add NX_PARALLEL env var
core: generate new workspaces without tasks runner options
core: update default cache directory to .nx/cache
core: migrate existing workspaces to slimmer tasks runner options config
core: add the outputs of a task onto the task
- Removed
core: remove deprecated workspace generator command
core: add nx task planner
core: Allow specifying daemon socket dir
core: allow using Nx Cloud without nx-cloud installed
- Removed
core: remove deprecated workspace-lint
core: add batch flag to run
core: update version of axios used
core: add standard way to pass plugin options
core: generate standalone projects with scoped package names
core: allow specifying cacheability per target
- Removed
core: remove deprecated defaultCollection and npmScope nx.json …
devkit: remove backwards compatibility for Nx 15
- Removed
js: remove options to update package.json dependencies and peerDependencies
linter: remove tslint logic
misc: remove migrations for v14 and under
- Removed
misc: remove deprecated Angular CLI usage of schematics and builders
- Removed
misc: remove deprecated code from @nx/workspace
nx-dev: statically highlight lines in code
nx-dev: mark internal properties
nx-plugin: add as provided prompt for executor generator
nx-plugin: add as-provided mode for generator and migration gen…
- Removed
react: remove stylus option from generators
Fixes
angular: fix usage of internal generators and prevent usage of deprecated project option
core: register transpiler should setup loading for node code
core: use typescript to get compiler options for ts-node
core: hash the same environment as the tasks are run with
core: set prerelease on GitHub release API request
core: typo in cache error message
core: notify life cycles that tasks are scheduled after they are…
core: fix verification of non-existent cloud client
core: correct windows path for native watcher
core: support prettier v3 when run nx format
core: setup the nx cloud client during postinstall
- Removed
core: removes formatting from show command when using --json flag
core: remove -d alias because it conflicts with --dry-run
core: always hash runtime input
core: ensure CNW works without .yarnrc with custom registry
core: only show cloud messaging when migrating if not using cloud
core: check nxjson cli exists before looking for keys
core: fix convert to monorepo eslint issue
- Removed
js: remove deprecated babel transform
linter: remove consistent-type-assertions rule from config
misc: don't interpolate arg as
undefinedmisc: pass full path to tsconfig when registering transpiler
misc: remove projectNameAndRootFormat from nx.json schema
misc: do not normalize project name and root when using as-provided format
misc: update re-exports when updating imports during move
nest: add deprecated messages to generator js schema and fix casing
nx-cloud: fix nx connect throwing if run twice
nx-dev: video cards formatting
nx-dev: fix internal link checker
nx-dev: fix broken linter icon
nx-plugin: enable prompt for generator and migration generators
nx-plugin: add nameAndDirectoryFormat to schema for generator,ex…
react: update usage of deprecated "project" option in generators
- Removed
vue: remove unitTestRunner option from component generator
:warning: Breaking Changes
- Breaking
@nx/linterhas been renamed to@nx/eslint. There is a migration for this. - Breaking
workspaces-generatorcommand has been removed. This was deprecated since v15 and only errored. - Breaking
workspaces-lintcommand has been removed. This was deprecated since v15 and only errored. - Breaking
defaultCollectioncan no longer be configured innx.json. There is a prompt to choose the collection when running a generator name which exists in multiple collections. - Breaking
npmScopecan no longer be configured innx.json. Import paths in libraries will have a scope which is the same as the scope of the name in the rootpackage.json. Most generators should have animportPathoverride to control the import path entirely. - Breaking
Nx generators and executors can no longer be used as Angular CLI schematics and builders. You can still wrap them with
@nx/devkitmethods to use them programmatically. - Breaking
Deprecated exported utils from
@nrwl/workspacehave been removed.
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.