Change8

21.5.0-beta.0

📦 nxView on GitHub →
5 features🐛 14 fixes🔧 3 symbols

Summary

This beta release introduces platform certificate trust store usage in nx, adds rspack support for webpack plugin config conversion, and fixes several issues related to IDE detection, task graph generation, and JS plugin behavior.

✨ New Features

  • nx now uses the platform certificate trust store.
  • nx-dev now links a UKG article on the homepage.
  • nx-dev configures a rewrite to astro-docs when NEXT_PUBLIC_ASTRO_URL is set.
  • rspack now supports converting webpack plugin configurations.
  • webpack migrated from deprecated url.parse() to the WHATWG URL API.

🐛 Bug Fixes

  • Angular: Set the tsConfig option when possible to aid with angular migrations.
  • Core: Improved Cursor editor detection and extension installation.
  • Core: Ensured deterministic dummy task generation in task graphs.
  • Core: Handled unsupported platforms in the Cursor IDE install command.
  • Core: Only prompt for NX Console installation in TTY environments.
  • Devkit: Restored peer dependency range to 2 majors.
  • Graph: Applied miscellaneous fixes to the graph visualization.
  • JS: ESM loader now handles absolute paths on Windows.
  • JS: Improved @nx/js/typescript plugin check for buildable libraries.
  • JS: The @nx/js/typescript plugin no longer infers the project type.
  • Misc: Updated @types/node to v20.19.9 to support the fetch API.
  • Nx-dev: Updated navbar CTA buttons and event tracking.
  • Testing: Added support for NX_CACHE_PROJECT_GRAPH when reading inferred config from the jest cache file.
  • Testing: Fall back to tsconfig.json in the jest resolver.

🔧 Affected Symbols

@nx/js/typescripturl.parse()WHATWG URL API