Change8

22.2.0-beta.0

📦 nxView on GitHub →
4 features🐛 18 fixes🔧 7 symbols

Summary

This beta release introduces features like multiple Nx version detection and improved Next.js migration support, alongside numerous bug fixes across core, linter, and various builders to enhance stability and correctness.

✨ New Features

  • Added multiple Nx version detection to nx report in core.
  • Added utility to load eslint rules from a directory in linter.
  • Added migration to inject AI instructions for upgrading to Next 16 in nextjs.
  • Prepended nx version to stats metadata in nx-cloud.

🐛 Bug Fixes

  • Fixed core not to presume a task is long running if it is marked cacheable.
  • Fixed daemon command to exit at the end.
  • Fixed core to provide an error when nested graph construction would occur invoked during createNodes.
  • Fixed core to filter out automated release commits in getCommitsRelevantToProjects.
  • Fixed core to use a unique daemon socket path per process to prevent race conditions.
  • Fixed core to use nx-mcp for older nx versions instead of nx mcp.
  • Fixed core to propagate continuous task failures to dependent tasks.
  • Fixed graph to align the exclude flag with others by using findMatchingProjects.
  • Fixed graph to surface task graph client errors via error toast.
  • Fixed js to ensure copy-workspace-modules copies transitive workspace dependencies.
  • Fixed linter to handle various flat config override structures.
  • Fixed nest to set moduleResolution to node to prevent TS5095 error.
  • Fixed node to set generatePackageJson:false for TS Solution workspaces.
  • Fixed react to exclude tailwind from CSS modules syntax in component generator.
  • Fixed release to ensure emoji is not repeated in breaking changes summary.
  • Fixed storybook to remove STORYBOOK_PROJECT_ROOT when running automigrate to prevent hanging.
  • Fixed testing to remove declare global wrapper from cypress commands.ts template.
  • Fixed vite to generate .mts config files to force ESM.

🔧 Affected Symbols

nx reportcreateNodesgetCommitsRelevantToProjectsfindMatchingProjectscopy-workspace-modulesmoduleResolutiongeneratePackageJson