Change8

22.7.0-beta.13

📦 nxView on GitHub →
3 features🐛 23 fixes🔧 22 symbols

Summary

This 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.

Migration Steps

  1. If you rely on Nx generating `baseUrl` in tsconfig files, note that it is no longer generated; paths should now use the `./` prefix for mappings.

✨ New Features

  • Added json input type for selective JSON field hashing in core.
  • Updated nx-set-shas usage to v5 in core.
  • Added NX_BAIL environment variable in core.

🐛 Bug Fixes

  • Preserved specific file paths in tsconfig when adding angular secondary entry point.
  • Angular: Fall back to addUndefinedDefaults when addUndefinedObjectDefaults is unavailable.
  • Angular-rspack: Normalized Windows path separators for i18n.
  • Angular-rspack: Added fileReplacements to resolve.alias.
  • Angular-rspack: Fixed issues with angular-rspack hmr.
  • Core: Replaced exec() with spawn() to prevent maxBuffer crash on large command output.
  • Core: Inlined daemon status check and dropped subprocess workaround.
  • Core: Stopped caching project graph errors on daemon.
  • Core: Capped TUI parallel slots by total task count.
  • Core: Prevented hanging when workspace contains a named pipe.
  • Core: Optimized warm cache performance for task execution.
  • JS: Stopped generating baseUrl in tsconfig and now uses ./ prefix for path mappings.
  • JS: Suppressed false swc-node/ts-node warning on Node 22.18+.
  • JS: Avoided full source scan in readTsConfigPaths.
  • JS: Resolved project tsconfig for inferred tsc run-commands targets in dependency-checks.
  • Nextjs: Aligned nx-dev build inputs and updated plugin defaults.
  • Node: Split package-manager exec command for VS Code launch.json.
  • Nx-dev: Improved search ranking for reference pages.
  • Nx-dev: Implemented seo improvements for nx.dev/docs.
  • Release: Surfaced swallowed publish errors when stdout is not valid
  • Testing: Declared external tsconfig files as playwright e2e task inputs.
  • Vitest: Added dependent task output files as inputs for vitest test targets.
  • Vitest: Inferred ancestor tsconfig files as test task inputs.

Affected Symbols