Change8

21.6.1

Breaking Changes
📦 nxView on GitHub →
1 breaking19 features🐛 44 fixes🔧 4 symbols

Summary

This release introduces support for Angular v20.3.0, enhances the CLI with AI file generation and improved Gradle support, and fixes numerous bugs across core functionality, bundling, and testing executors.

⚠️ Breaking Changes

  • The SVGR option has been removed from the webpack executor. Users should now use the provided withSvgr composable function instead.

✨ New Features

  • Support for Angular v20.3.0 added.
  • Pagination replaced with scrolling for the tui tasks list.
  • AI files generation supported in create-nx-workspace.
  • NX_PROJECT_ROOT environment variable added to runtimes.
  • Split target improved to support Gradle format.
  • ID, start, and end time added to lifecycle hooks.
  • configure-ai-agents command added.
  • Environment variable added to docker plugin for providing the docker registry.
  • docker:build now ensures dependsOn build.
  • Unified graph UI and controls implemented.
  • Cookiebot global scripts added to astro-docs.
  • Algolia search disabled on non-docs pages when Astro docs are enabled.
  • Login button changed to try nx cloud.
  • UI animations & statistics display enhanced in nx-dev.
  • New option preserveMatchingDependencyRanges added to prevent updating matching dependency ranges during release.
  • Rspack executor now respects the deleteOutputPath option.
  • Infer task added to merge reports from playwright atomized tasks.
  • Support for inferring atomized tasks for cypress component tests added.
  • e2e-ci task options are now forwarded to their atomized tasks.

🐛 Bug Fixes

  • A compatible version of jest is now installed for angular projects.
  • Correct file sizes shown in build stats for angular-rspack i18n builds.
  • Assets extracted from stylesheets are now correctly handled in angular-rspack.
  • postcss-cli-resources now correctly handles relative urls.
  • Ensured only supported bundlers are used for angular fallback to default.
  • Project graph is invalidated when external nodes change.
  • Daemon process now checks if it is actually alive before attempting to kill it.
  • Bold styling added to terminal pane title when focused.
  • Watcher infinite loops resolved due to missing parent gitignore support.
  • Nx packages are checked for provenance config before running nx migrate.
  • Autoinstall logic now handles uninstalled nx console case.
  • Task duration estimation is now filtered by successful tasks only.
  • Git utilities moved to fix WASM build.
  • VSCode insiders detected as a separate editor.
  • Fork process and children now exit when ipc connection closes.
  • Improved error messages for provenance checks.
  • Missing view command added to npm.
  • Child process killed correctly when run-script executor process is killed and not using pseudoterminal.
  • Daemon shutdown prevented for project graph errors.
  • Miscellaneous db-related issues fixed.
  • Tui title text structure updated.
  • Moved from execFile to exec for windows support.
  • Placeholder parallel entries are no longer shown in tui when filtering.
  • cache_outputs foreign key is not added to task_details when NX_DISABLE_DB=true.
  • Terminal pane scrolling prevented on tasks list events.
  • Prettier valid errors are now displayed.
  • Environment variable added to disable fetching migration metadata from registry.
  • Project graph creation now processes project dependencies correctly.
  • Messaging tweaked if vscode / cursor aren't installed.
  • Spinner shows correct plugin count during project graph creation.
  • Gradle now uses project configurations to determine project dependencies.
  • Gradle now supports custom test targets.
  • Gradle skips targets on Netlify due to old Java version.
  • Graph package updated.
  • Typescript output added to eslint ignore when needed.
  • Unnecessary bust property removed from plugin hashes.
  • Nest tsconfig set up to use decorators.
  • Corrected courses page og image.
  • Links to url fragments for devkit corrected.
  • Client-side routing implemented for documentation URLs.
  • Client-side redirect issue fixed for OSS cloud plan form.
  • React router plugin is only added when react router is used.
  • Release version internals optimized.
  • Broken CI documentation link in README updated.

🔧 Affected Symbols

NX_PROJECT_ROOTconfigure-ai-agentsdocker:buildwithSvgr