Change8

22.0.0-beta.5

Breaking Changes
📦 nxView on GitHub →
4 breaking4 features🐛 10 fixes🔧 3 symbols

Summary

This beta release introduces support for TS Soln/PN workspaces in module-federation and refactors release configuration structure, while fixing several issues related to TUI display and dependency handling.

⚠️ Breaking Changes

  • The --legacy-peer-deps behavior is no longer forced. Users relying on this behavior must explicitly configure it if needed.
  • The `--legacy-peer-deps` behavior is no longer forced by default. Users must explicitly configure this if required.
  • The preferred configuration structure for release properties has changed. Existing configurations will work during migration, but users should update to the new nested format (e.g., refactoring releaseTag* properties to a releaseTag object).
  • Users who relied on the previous 'auto' behavior for release configuration need to adjust their setup due to changes in default behavior.

Migration Steps

  1. Review release configuration to adapt to the new nested structure (e.g., updating releaseTag* properties to use the releaseTag object).
  2. If you relied on the previous default behavior of --legacy-peer-deps, you must now explicitly configure it.

✨ New Features

  • Exposed registerProjectGraphRecomputationListener from the daemon client in core.
  • Module-federation now supports TS Solution Style and Package Manager workspaces paradigms.
  • The release process now sets updateDependents to always by default.
  • Refactored releaseTag* properties into a releaseTag object structure.

🐛 Bug Fixes

  • Fixed incorrect display of the bottom corner indicator of the tui in the progress section.
  • Temporarily disabled tui for run-one commands.
  • Ensured --help works properly when using infix notation.
  • Stopped setting legacy-peer-deps by default.
  • Updated nextjs internal-link-checker to include astro urls.
  • Ensured sitemap checker respects the NX_DEV_URL environment variable.
  • Handled null data when processing github information.
  • Fixed dynamic module federation initialization where remoteUrlDefinitions should not default to an empty object.
  • Skipped filtered out groups when processing release steps.
  • Ensured multiline content in breaking changes sections are rendered correctly by the changelog renderer.

🔧 Affected Symbols

registerProjectGraphRecomputationListenerreleaseTag*releaseTag