21.4.1
📦 nxView on GitHub →
✨ 10 features🐛 33 fixes🔧 8 symbols
Summary
This patch introduces new features like multi-target task graphs and enhanced Rspack configuration conversion, alongside numerous bug fixes across core, Angular, JS, and build plugins.
✨ New Features
- Task graph support multiple targets.
- Added includeIgnoredAssetFiles option and per-asset includeIgnoredFiles for js plugin.
- Detect duplicate project references in @nx/js:typescript-sync.
- Use platform certificate trust store for nx core.
- Link ukg article on homepage in nx-dev.
- Configure rewrite to astro-docs when NEXT_PUBLIC_ASTRO_URL is set in nx-dev.
- Add GitHub Actions workflow to validate PR titles in repo.
- Add support for converting webpack plugin configs in rspack.
- Add repository update system for automated Nx migrations.
- Migrate from deprecated url.parse() to WHATWG URL API in webpack.
🐛 Bug Fixes
- Set the tsConfig option when possible in angular to aid with angular migrations.
- Do not update project configuration when no changes were made in angular migration.
- Do not error on server budget violation in angular-rspack.
- Improve Cursor editor detection and extension installation in core.
- Ensure deterministic dummy task generation in task graphs in core.
- Handle unsupported platforms in Cursor IDE install command in core.
- Only prompt for NX Console installation in TTY environments in core.
- Enhance validation for continuous task dependencies in core.
- Retry current message when receiving NX_VERSION_CHANGED from daemon in core.
- Use black for all fg elements when in light theme in core.
- Fail fast when running commands in parallel in core.
- Handle no daemon when stopping in core.
- Create pnpm peer deps settings in the appropriate location when creating workspace in core.
- Repair nx mcp in pnpm/yarn in core.
- Restore peer dep range to 2 majors in devkit.
- Include UPDATE changes in findCreatedProjectFiles for generator callbacks in devkit.
- Expo output should be within project directory.
- Use AST parsing to migrate updates to version catalogs in gradle.
- Allow test target name to be configuration from nx.json in gradle.
- Some misc fixes to the graph.
- nxArgs.projects can be an empty array in graph.
- ESM loader should handle absolute paths on windows in js.
- Improve @nx/js/typescript plugin check for buildable libraries in js.
- Do not infer the project type in the @nx/js/typescript plugin in js.
- Update @types/node to v20.19.9 to support fetch API in misc.
- Respect string values in alwaysAddToPackageJson migration flag in misc.
- Check for packages existence to detect pnpm workspaces setup in misc.
- Do not rely on virtualRuntimeEntry in module-federation.
- Update navbar CTA buttons and updates event tracking in nx-dev.
- Handle directory paths correctly in executor and generator generators in plugin.
- Support NX_CACHE_PROJECT_GRAPH when reading inferred config from jest cache file in testing.
- Fall back to tsconfig.json in the jest resolver in testing.
- Migrate from deprecated url.parse() to WHATWG URL API in webpack.
🔧 Affected Symbols
@nx/js:typescript-sync@nx/js/typescripturl.parse()WHATWG URL APINX_VERSION_CHANGEDNX Consolenx.jsonjest cache file