Nx
Dev ToolsGet to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
Release History
23.1.023.1.0-rc.322.7.723.0.223.1.0-rc.223.1.0-rc.123.1.0-rc.011 fixes2 featuresThis release introduces the ability to force changelog generation programmatically and stabilizes build coordination for Vite projects. Numerous core improvements focus on optimizing hashing and task planning performance.
23.1.0-beta.711 fixes1 featureThis beta release introduces the ability to scaffold create-nx-workspace into the current directory and includes numerous bug fixes related to TypeScript compilation errors (TS6059) across bundling and JS builds, alongside performance improvements for bun lockfile parsing.
23.1.0-beta.610 fixes2 featuresThis beta release introduces mouse support for the terminal UI and includes numerous fixes across Angular, Linter, and React tooling, focusing heavily on compatibility with ESLint v9 and Angular v22 migrations.
23.1.0-beta.528 fixes4 featuresThis beta release introduces performance reporting, enhanced targetDefaults filtering, and crucial fixes for remote caching security and package resolution issues. It also includes necessary dependency bumps for Angular and React ecosystem compatibility.
23.1.0-beta.43 fixes3 featuresThis beta release introduces a performance report feature in the core, improves how nx migrate handles preapproved packages, and includes fixes related to daemon recomputation and Gradle plugin migrations.
23.1.0-beta.39 fixes1 featureThis beta release introduces support for Expo SDK 56 and includes numerous stability fixes across core, build systems (gradle, maven, vite), and testing infrastructure.
22.7.61 fixThis patch release updates several underlying dependencies (happy-dom, tmp, and form-data) to patched versions to address potential issues.
23.0.1Breaking12 fixes1 featureThis patch release introduces UTM tracking for nx-cloud links and resolves numerous bugs across Angular, bundling, core migration logic, and Vitest configuration. A key fix ensures breaking change changelog generation correctly includes trailing PR body content.
23.1.0-beta.23 fixesThis beta release focuses on bug fixes, including restoring postcss preprocessor extensions and ensuring proper formatting after agentic migrations, while also addressing React 19 updates for Remix v2 users.
23.1.0-beta.1Breaking3 fixesThis beta release fixes several issues, including crashes in nx migrate and incorrect parsing of breaking change descriptions in changelogs. The breaking change fix ensures that only the intended breaking change text is captured.
23.1.0-beta.0Breaking7 fixes5 featuresThis beta release introduces support for Angular v22 and updates to rspack core versions 2, while dropping support for ESLint v8 and Angular v19.
23.0.0Breaking4 fixes26 featuresVersion 23.0.0 introduces significant cleanup by removing long-deprecated features across Angular, Bundling, and Misc areas, while heavily enhancing the `nx migrate` experience with agentic mode and better configuration support. Node 20 support has been dropped.
23.0.0-rc.45 fixes2 featuresThis release reverts array-shape targetDefaults support in core and introduces fixes for command help handling, output path resolution, and caching failures.
23.0.0-rc.32 fixesThis release focuses on bug fixes, specifically addressing issues with batch task rehashing and local plugin lookup failures related to the root tsconfig.
23.0.0-rc.23 fixesThis release focuses on patching security vulnerabilities and improving determinism and correctness in Gradle task inputs.
23.0.0-rc.14 fixes1 featureThis release introduces a new docs banner for the AI monorepos conference and includes several fixes related to analytics, environment variable handling, dist-tag degradation, and repository update scripts.
23.0.0-rc.0Breaking8 fixes4 featuresThis release introduces enhanced migration capabilities, including support for optional package updates via 'nx migrate --include', and removes very old migration steps in preparation for v23.
23.0.0-beta.252 fixesThis beta release focuses on bug fixes, specifically improving how nx migrate handles package manager release ages and correcting Remix migration paths.
23.0.0-beta.24Breaking6 fixes4 featuresThis beta release introduces support for prompt-only and hybrid migrations in Nx Console UI and enforces compliance for multi-version support across several packages. It also deprecates several configuration helpers and parameters.
23.0.0-beta.23Breaking7 fixes2 featuresThis beta release introduces core improvements like avoiding redundant matching and fixing migration fetching, alongside deprecating the angular 'convert-to-with-mf' generator and the nextjs 'withNx' function. Breaking changes involve renaming CreateNodes V2 types.
23.0.0-beta.22Breaking12 fixes2 featuresThis beta release introduces configuration migration features and enforces multi-version compliance for several packages, while removing deprecated Jest options and deprecating ESLint v8 support.
23.0.0-beta.216 fixesThis beta release introduces new module-federation generators while deprecating the old ones, and includes numerous bug fixes focused on multi-version compliance and dependency updates.
22.7.51 fixThis patch release updates the core tmp dependency to version 0.2.6 to mitigate CVE-2026-44705.
23.0.0-beta.201 fix1 featureThis beta release introduces agentic mode for migration commands and updates core dependencies like brace-expansion and yaml.
22.7.41 fixThis patch release primarily addresses dependency updates for brace-expansion and yaml within the core functionality.
23.0.0-beta.19Breaking6 fixes2 featuresThis beta release introduces pnpm 11.2.2 support and includes several fixes related to bundling, task caching, and plugin lint checks, alongside dropping deprecated webpack plugin exports.
22.7.322 fixes1 featureThis patch introduces support for pnpm 11.2.2 and includes numerous bug fixes across Angular, Core, Gradle, Linter, and Rsbuild plugins.
23.0.0-beta.186 fixes1 featureThis beta release introduces shell tab-completion support across various shells and includes several bug fixes related to Angular, core detection, JS publishing, and dotnet file inclusion.
23.0.0-beta.17Breaking6 fixes1 featureThis beta release introduces a feature for prompt generator migrations and includes several bug fixes across core, js, linter, and rsbuild, notably migrating ESLint packages to a local distribution build.
23.0.0-beta.16Breaking1 fix1 featureThis beta release introduces native Node.js TypeScript stripping by default and migrates the @nx/jest testing setup to use the local distribution build, which constitutes a breaking change for testing configurations.
23.0.0-beta.151 fixThis beta release focuses on fixing an issue by restoring the nx/src/index entrypoint to ensure compatibility with the Nx Cloud client.
23.0.0-beta.14Breaking3 fixesThis beta release removes the deprecated `initTasksRunner` API, requiring consumers to switch to `runDiscreteTasks` or `runContinuousTasks`, and includes fixes for target defaults and internal exports.
23.0.0-beta.13Breaking6 fixes3 featuresVersion 23.0.0-beta.13 introduces feature enhancements like renaming CLI flags and updating linter capabilities, alongside critical fixes including native process shutdown and configuration updates for the release system.
22.7.245 fixes3 featuresThis release focuses heavily on bug fixes across core functionality, bundling, and ecosystem integrations like Angular, Gradle, Maven, and JS tooling. New features include streaming batch task results and enhanced analytics tracking.
23.0.0-beta.12Breaking3 fixes1 featureThis beta release introduces support for the 'prompt' field in migration entries and includes several bug fixes related to migration handling, dependency rewriting, and testing utilities.
23.0.0-beta.112 fixesThis beta release focuses on stability improvements, specifically fixing an issue with the freshness-gate daemon recomputation and ensuring correct transitive dependency handling in Gradle tasks.
23.0.0-beta.10Breaking14 fixes4 featuresThis beta release introduces several breaking changes, including the removal of the SVGR option and legacy 'dependsOn' magic strings. It also brings feature updates like new flags for 'nx migrate' and bug fixes across Angular, core tooling, and testing utilities.
23.0.0-beta.9Breaking14 fixes2 featuresThis beta release removes deprecated Angular ngrx generators and Vitest support, while also dropping support for Node 20 and introducing several core and plugin-specific bug fixes.
23.0.0-beta.8Breaking5 fixes1 featureThis beta release introduces a breaking change by dropping the legacy typescript plugin for bundling and aligning build defaults. Several bug fixes address dependency updates, path corrections, and environment variable isolation.
23.0.0-beta.71 fixThis beta release focuses on fixing an issue within the devkit where deep-import paths were being rewritten incorrectly.
23.0.0-beta.6Breaking6 fixes1 featureThis beta release focuses on deprecating older executors for Detox and Cypress, alongside internal migrations within devkit and various bug fixes related to telemetry, package management, and caching.
23.0.0-beta.51 fix2 featuresThis beta release introduces streaming batch task results for Gradle and enhanced analytics tracking in nx-dev.
23.0.0-beta.4Breaking7 fixes1 featureThis beta release removes deprecated Angular entry points and generators, while introducing improvements to task graph visualization and fixing several core and ecosystem-specific bugs.
23.0.0-beta.32 fixesThis beta release focuses on bug fixes, specifically preserving back-compatibility for hydrateFileMap in nx-cloud workers and excluding batch-runner from jest haste-map crawling in Gradle projects.
23.0.0-beta.2Breaking17 fixesThis beta release focuses heavily on core stability, fixing numerous bugs related to bundling, daemon operation, and TUI handling. It also removes legacy Tailwind CSS setup generators and deprecated stylesheet options.
22.7.118 fixesThis patch release focuses heavily on bug fixes across the core functionality, improving stability in TUI handling, daemon operations, dependency resolution (npm/pnpm), and build/testing configurations for various frameworks like Next.js and Node.
23.0.0-beta.19 fixesThis beta release focuses on numerous bug fixes across core, detox, js, linter, and testing modules, improving stability and feedback mechanisms.
23.0.0-beta.01 fix1 featureThis beta release introduces support for the '...' spread token in target configuration merging and cleans up the project graph pipeline by removing redundant file tracking.
22.7.034 fixes25 featuresThis release introduces significant improvements to caching, task execution concurrency, and the developer experience during workspace initialization, alongside numerous fixes across Angular and bundling tools.
22.7.0-rc.29 fixes1 featureThis release introduces compiler option support for tsgo in the vite plugin and includes numerous fixes across bundling, core functionality, JS tooling, and Maven integration.
22.7.0-rc.12 fixes1 featureThis release introduces support for nx.sync.ignoredDependencies in typescript-sync and fixes issues related to node executor output paths and release patch bumping.
22.7.0-rc.03 fixesThis release focuses on bug fixes, including resolving an issue in the core set constructor, improving nextjs package handling, and ensuring React Router compatibility with Vite 8.
22.7.0-beta.175 fixes2 featuresThis beta release introduces new logging capabilities in the core daemon and improves TypeScript type definitions. Several minor fixes address issues related to workspace creation and plugin hashing.
22.7.0-beta.169 fixesThis beta release focuses on numerous bug fixes across core, Gradle, and JavaScript tooling, including resolving a native binary crash on specific Linux kernels and improving build output resolution.
21.6.112 fixesThis patch release addresses several issues in the linter related to handling flat config overrides and variable references in replaceOverride.
22.7.0-beta.152 fixesThis beta release focuses on internal fixes, specifically updating serialization methods in the core pseudo-IPC channel and improving JSON input recognition for the TS task hasher fallback.
22.7.0-beta.144 fixes1 featureThis beta release introduces TUI navigation enhancements and fixes several core issues related to installation concurrency, pnpm lockfile handling, and caching operations.
22.7.0-beta.1323 fixes3 featuresThis beta release introduces new features like JSON input hashing and environment variable control, alongside numerous fixes across Angular, JS, and core task execution logic. Key fixes include preventing crashes with large command outputs and optimizing cache performance.
22.7.0-beta.1219 fixes3 featuresThis beta release introduces new features like setup mode prompting during nx init and source map annotations for show targets. It also includes numerous bug fixes across core, angular, js, linter, and testing modules, alongside an update to the axios dependency.
22.6.532 fixes4 featuresThis release introduces new features for the 'nx init' command, including cloud prompt variants and setup mode prompting. It also includes numerous bug fixes focused on dependency updates, security patches (axios CVE), build tool compatibility (esbuild/vite 8), and improved task execution cleanup.
22.7.0-beta.118 fixes2 featuresThis beta release introduces the ability to skip project graph creation during generation and removes the polygraph cloud passthrough. It also includes several fixes related to dependency licensing, task cleanup, and Gradle/Maven plugin behavior.
22.7.0-beta.1015 fixes2 featuresThis beta release focuses on stability and security by bumping critical dependencies like axios and esbuild, alongside various fixes for plugin loading, repository operations, and build configurations.
22.6.422 fixes2 featuresThis patch addresses numerous bug fixes across core functionality, JS tooling, and build systems, including updates for Vite 8 compatibility and dependency security patches. Key improvements involve better handling of workspace creation and build output narrowing.
22.7.0-beta.96 fixesThis beta release focuses on bug fixes across core functionality, telemetry, Gradle integration, React setup, and repository tooling, including restoring telemetry tracking and fixing lock-thread failures.
22.7.0-beta.814 fixes2 featuresThis release introduces updates to telemetry format and enables the tsgo compiler. It also includes numerous bug fixes across core, Gradle, JS, Vite, and Webpack related to validation, dependency pinning, hashing, and compatibility updates for Vite 8.
22.7.0-beta.74 fixes1 featureThis beta release introduces a conditional blog/changelog proxy in the nx-dev edge function and includes several fixes related to dependency checks, tsc build outputs, and copy-assets plugin improvements.
22.6.33 fixes1 featureThis release introduces an A/B test for cloud prompt copy in workspace creation and includes several minor fixes related to TypeScript d.ts filesets and chalk compatibility.
22.7.0-beta.64 fixes1 featureThis beta release introduces an A/B test for cloud prompt copying in workspace creation and includes several internal fixes related to package exports, TypeScript file sets, and plugin migration.
22.7.0-beta.512 fixes2 featuresThis beta release introduces features like auto-opening the browser for Cloud setup and updates repository handling, alongside numerous bug fixes across bundling, core execution, and Vite support.
22.6.231 fixes2 featuresThis patch introduces auto-opening the browser for Cloud setup during workspace creation and fixes numerous bugs across core functionality, bundling, angular, and devkit. It also adds support for Vite 8.
22.7.0-beta.410 fixes1 featureThis beta release introduces a significant core feature decoupling the DB version from the Nx version, allowing DB sharing across worktrees. It also includes numerous bug fixes across various plugins like angular-rspack, core, gradle, js, nx-cloud, and vitest.
22.7.0-beta.310 fixesThis beta release focuses on stability and bug fixes across core functionalities, including improvements to the TUI, task concurrency handling, and native scanner behavior.
22.7.0-beta.26 fixes1 featureThis beta release focuses on stability and bug fixes, including improvements to child process handling, linter configuration, and module federation output for Angular.
22.6.119 fixesThis patch release focuses heavily on bug fixes across core functionality, task execution, dependency handling, and linter rules, including improvements to shell argument quoting and process spawning on Windows.
22.7.0-beta.11 fixThis beta release primarily focuses on a critical bug fix in the core module to prevent database corruption during concurrent initialization.
22.7.0-beta.015 fixes1 featureThis beta release introduces updates to gitignore, improves CLI argument quoting, and refines linter configuration handling, alongside various bug fixes across core and plugins.
22.6.018 fixes45 featuresThis release introduces significant enhancements around AI agent integration, including sandboxing, new modes for init/import, and improved configuration. It also brings performance improvements via jemalloc and updates to build tooling like Angular v21.2 support and napi-rs v3 migration.
22.6.0-rc.21 fix1 featureThis release brings back cloud prompts and templates in CNW and fixes an issue with cross site link checks in nx-dev.
22.6.0-rc.110 fixes2 featuresThis release introduces a new deps-sync generator for JavaScript projects and includes numerous fixes across core functionality, analytics handling, and build tool integration like Vite and Gradle.
22.6.0-rc.03 fixesRelease 22.6.0-rc.0 focuses on stability, ensuring signal handling for continuous tasks and improving Nx Cloud client download behavior.
22.6.0-beta.1418 fixes3 featuresThis beta release introduces new telemetry features and prompts for analytics preferences in the core. It also includes numerous bug fixes across Gradle, JS, Maven, Module Federation, Release, Testing, and Webpack plugins.
22.6.0-beta.135 fixes1 featureThis beta release introduces centralized performance tracking and fixes several issues, including gating TUI logger initialization and updating Nuxt to resolve a critical vulnerability.
22.6.0-beta.1210 fixes3 featuresThis beta release introduces persistence of the analytics session ID, enhancements to Gradle and Maven dependency reporting, and numerous fixes across core, JS, and webpack configurations.
22.6.0-beta.11Breaking8 fixes1 featureThis beta release introduces core analytics and fixes several issues across Gradle, JavaScript tasks, and the Vitest executor. Notably, Vitest configuration for report directories has changed to resolve against the workspace root.
22.6.0-beta.1013 fixes4 featuresThis beta release introduces the 'polygraph' command for cross-repo sessions and enhances caching utilities. It also includes numerous bug fixes across Angular, JS, core Nx functionality, and addresses several security CVEs.
22.5.417 fixes1 featureThis patch introduces minor features like updating gitignore for polygraph and fixes numerous bugs across core, build tools (Angular RSPack, Gradle, Maven, Vitest), and documentation redirects. It also updates the minimatch dependency.
22.6.0-beta.98 fixes2 featuresThis beta release introduces migration to napi-rs v3 and adds Codex subagent support for AI agent configuration. It also includes several bug fixes related to input resolution, caching, and loop detection.
22.6.0-beta.810 fixes1 featureThis beta release introduces an update to gitignore during migration and includes numerous bug fixes across Angular RSPack, Gradle, CLI search, redirects, and Vitest execution.
22.6.0-beta.72 fixes1 featureThis beta release introduces jemalloc with tuned decay timers in the core module and fixes an issue with canonical SSH URL support during `nx release`.
22.6.0-beta.66 fixes1 featureThis beta release introduces support for Angular v21.2 and includes several bug fixes across core, linter, maven, and testing functionalities.
22.5.332 fixes3 featuresThis patch introduces several core features like improved JSON output for listing and cloud opt-out, alongside numerous bug fixes across Angular, bundling, Gradle, JS tooling, and dependency updates including a fix for a minimatch CVE.
22.6.0-beta.58 fixes1 featureThis beta release introduces an explicit cloud opt-out feature for CNW and resolves several bugs across core, gradle, js, nx-dev, and vite modules.
22.6.0-beta.49 fixesThis beta release focuses primarily on bug fixes across various Nx components, including improvements to file watching on macOS, webpack environment variable handling, and release schema validation.
22.6.0-beta.39 fixes6 featuresThis beta release introduces several accessibility improvements, adds support for yarn berry catalogs, and includes fixes for Angular styling, bundling type-checking, and a security patch by bumping minimatch.
Common Errors
CssSyntaxError2 reportsCssSyntaxError in NX often arises from using incorrect or unsupported CSS syntax within your project's stylesheets, especially when using features like `postcss-cli-resources` for asset handling. To resolve this, carefully review your CSS files (including those in libraries) and ensure all syntax is valid and supported by your configured PostCSS plugins; usually, updating or configuring PostCSS plugins like `postcss-url` to correctly resolve asset paths (e.g., URLs in `url()` functions) will fix the problem.
IllegalStateException1 reportThe "IllegalStateException" in nx often arises from duplicate task registrations within your nx.json or project configurations, such as defining the same target with identical executors multiple times. To resolve this, carefully review your nx.json, project.json (or equivalent config files), and any plugin configurations for redundant entries; remove any duplicate task definitions or consolidate them into a single, correctly configured target.
NullPointerException1 reportNullPointerException in nx typically arises when attempting to access a member (field or method) of an object reference that is currently null. To fix, identify the potentially null object reference in your code using debugging tools or careful inspection; then, either initialize the object before its use or add a null check (e.g., using `if (object != null)`) to prevent accessing it if it's null.
MainFileEvaluationError1 reportThe "MainFileEvaluationError" in Nx often arises from issues with module resolution, especially when using non-standard file extensions or paths without specifying them in your TypeScript or Storybook configuration. To fix it, ensure all imported files (e.g., extensionless TypeScript files or those with custom extensions) are properly resolved by configuring `tsconfig.json` (including `compilerOptions.paths`, `compilerOptions.baseUrl`), or updating Storybook's `webpackFinal` configuration to include the necessary resolvers and loaders for those file types. Consider adding `@nx/js:tsc` executor in the target configuration, specifying the `tsConfig` option to ensure proper TS compilation before other tasks are run.
ModelBuilderException1 reportModelBuilderException in nx often arises when the workspace graph is inconsistent with the physical project structure or when dependencies are improperly defined, especially in Maven projects. Ensure that your `nx.json` and `project.json` files accurately reflect project dependencies and that `pom.xml` files are correctly structured with proper parent-child relationships declared and reachable within the workspace. Run `nx graph` or `nx dep-graph` to visually inspect the dependency graph and identify inconsistencies; then, correct the relevant configuration files.
FailedToResolvePathError1 reportThis error often arises when Nx tasks use paths that are no longer valid due to changes in dependencies or project structure. To fix it, carefully examine your task configurations (project.json or target defaults) and update any file paths, especially those related to generated files or node_modules, to reflect the current project layout after the updates that triggered the error. Running `nx reset` may also clean up cached artifacts causing path resolution issues.
Related Dev Tools Packages
Empowering everyone to build reliable and efficient software.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Next generation frontend tooling. It's fast!
An extremely fast Python package and project manager, written in Rust.
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Subscribe to Updates
Get notified when new versions are released