Change8

22.3.0-beta.0

📦 nxView on GitHub →
8 features🐛 42 fixes🔧 2 symbols

Summary

This beta release introduces support for Angular v21, adds the NX_DEFAULT_OUTPUT_STYLE environment variable, and includes numerous fixes across core functionality, JS tooling, and build systems like Rspack and Webpack.

✨ New Features

  • Support for Angular v21 added.
  • Added NX_DEFAULT_OUTPUT_STYLE environment variable to core.
  • Added CnwError class for typed error handling in create-nx-workspace.
  • Added option to use tsgo compiler when inferring build and typecheck tasks for JS projects.
  • Improved SWC compilation error logging.
  • Added support for `cssFilename` config in rspack.
  • Added option to playwright preset to open html report.
  • Added support for merging externals to NxAppWebpackPlugin.

🐛 Bug Fixes

  • Fixed processing only in-progress entry points in ng-packagr-lite's write bundles transform function.
  • Fixed collecting known tsconfig files from non-buildable angular libraries during migration.
  • Improved error message when using esbuild-based build targets and generating cypress ct.
  • Fixed installing compatible vitest version for angular projects.
  • Corrected project path for createTmpTsConfig.
  • Optimized pnpm lockfile parsing with pre-built indexes.
  • Shared visited Set across affected graph traversal.
  • Set max listeners for process in task orchestrator.
  • Fixed exiting with error when generator prompts fail.
  • Fixed record stat on initial CNW call.
  • Ensured `terminalOutput` is always a string in task results.
  • Improved node creation for pnpm parser.
  • Added pnpm/yarn support for CNW templates.
  • Fixed swc register base url missing when using tsgo.
  • Passed more error detail for CNW.
  • Created all tables upfront when creating the database.
  • Improved performance of buildExplicitPackageJsonDependencies.
  • Fixed not invoking prettier with --write and --list-different when unsupported.
  • Set projectRoot to workspaceRoot for Expo SDK 54+ compatibility.
  • Used Set for O(1) package.json root lookup in JS.
  • Recognized NodeNext as ESM.
  • Fixed displaying pnpm publish errors without requiring --verbose.
  • Made CopyAssetsHandler per-file logs opt-in via verbose mode.
  • Prevented crash when terminating task using the `@nx/js:swc` executor.
  • Handled workspace packages when nx.name differs from package.json.name.
  • Resolved nx binary from workspace root in node executor.
  • Normalized workspace protocol versions in requiredVersion for module-federation.
  • Replaced `sourceMaps` option with `sourceMap` in webpack config for node projects.
  • Updated template comment in react to be valid css.
  • Fixed {releaseGroupName} not interpolating in changelog tag/releaseTagPattern.
  • Fixed dotnet installation on Windows.
  • Restored mise tools in e2e-matrix workflow.
  • Installed nightly Rust for WASM build in publish workflow.
  • Used RUSTUP_TOOLCHAIN env var for WASM builds.
  • Reverted to older nightly Rust for WASM builds.
  • Installed correct Rust target for x86_64 macOS build.
  • Enabled build mode for TypeScript checker in TS solution setups in rspack.
  • Conditionally included node imports only for non-angular frameworks in storybook.
  • Updated jest ci target to forward top level args.
  • Updated worker configuration in generator to follow Vite's requirements.
  • Showed webpack chunks when verbose.
  • Interpolated process.env more verbosely to reduce bundle size with DefinePlugin.

🔧 Affected Symbols

NxAppWebpackPlugin@nx/js:swc