Change8

23.0.0-beta.22

Breaking Changes
📦 nxView on GitHub →
3 breaking2 features🐛 12 fixes5 deprecations🔧 8 symbols

Summary

This beta release introduces configuration migration features and enforces multi-version compliance for several packages, while removing deprecated Jest options and deprecating ESLint v8 support.

⚠️ Breaking Changes

  • The `setupFile` option of the `@nx/jest:jest` executor is removed. Users should migrate away from this option.
  • The `skipSetupFile` option of the `@nx/jest:configuration` generator is removed. Users should migrate away from this option.
  • The `nxViteTsPaths` and `nxCopyAssetsPlugin` helpers in Vite plugins are deprecated and effectively removed/broken if relied upon.

Migration Steps

  1. Migrate away from using the `setupFile` option in your `@nx/jest:jest` executor configurations.
  2. Migrate away from using the `skipSetupFile` option in your `@nx/jest:configuration` generator configurations.
  3. Update Vite configurations to use alternatives for the deprecated `nxViteTsPaths` and `nxCopyAssetsPlugin` helpers.

✨ New Features

  • Added a migrate configuration section to nx.json.
  • Migration documentation is now fed to agents during `nx migrate`.

🐛 Bug Fixes

  • Bumped zoneJsVersion to ~0.16.0 to align with Angular v21.
  • Core now reads pod cgroup limits instead of node limits when calculating resource metrics.
  • Forwarded the full task graph to batch executors under DTE.
  • Supported auto mode for non-pnpm lock files in affected detection.
  • Handled already-published version errors in the release-publish executor.
  • Ensured multi-version compliance for @nx/express, @nx/node, and @nx/nest.
  • Skipped expensive changelog operations when changelogs are disabled.
  • Scoped fallback to project history for new packages during release.
  • Required docker config for docker versioning.
  • Renamed the publish VERSION environment variable to avoid MSBuild leak.
  • Enforced jest 29-30 multi-version compliance for @nx/jest.
  • Enforced multi-version support on Windows for @nx/vite and @nx/vitest.

Affected Symbols

⚡ Deprecations

  • ESLint v8 support is deprecated.
  • The `skipSetupFile` jest option in `@nx/jest:configuration` generator is deprecated (and removed in this release).
  • The `setupFile` jest option in `@nx/jest:jest` executor is deprecated (and removed in this release).
  • The `nxViteTsPaths` helper in Vite plugins is deprecated.
  • The `nxCopyAssetsPlugin` helper in Vite plugins is deprecated.