Nx 21.2 Release: Big upgrades to Angular 20, NestJS 11, and Storybook 9
Blog post from Nx
Nx 21.2 introduces significant updates by incorporating newer versions of key technologies such as Angular 20, Storybook 9, and NestJS 11. Angular 20 brings changes like the deprecation of structural directives in favor of new control flow syntax and experimental support for the Vitest unit test runner, which enhances testing capabilities. The update also aligns with the new Angular style guide, reflecting changes in filename formats generated by the Angular CLI, while support for Angular 17 has been discontinued. Storybook 9 offers improved component testing, and deprecated Storybook generators have been removed, with users now directed to use up-to-date configurations. NestJS 11 introduces improvements such as better logging and more flexible microservices, and workspaces are automatically migrated to this version. The release also provides tools for managing migrations, including the Migrate UI in Nx Console, to facilitate updating to the latest version.