nx/docs/shared/packages/angular/angular-nx-version-matrix.md
Leosvel Pérez Espinosa 881adfb185
docs(misc): replace angular.io links with angular.dev (#25831)
[Angular.dev](https://angular.dev/) is now the new home for Angular
developers as mentioned in the [Angular 18 release blog
post](https://blog.angular.dev/angular-v18-is-now-available-e79d5ac0affe).

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
<!-- Fixes NXP-759 -->

Fixes #
2024-05-23 15:58:53 +02:00

3.3 KiB

Nx and Angular Versions

The latest version of Nx supports the actively supported versions of Angular (current and LTS versions). Workspaces in any of those versions are recommended to use the latest version of Nx to benefit from all the new features and fixes.

{% callout type="note" title="Older Nx and Angular versions" %} The support for multiple versions of Angular in the latest version of Nx was added in v15.7.0 and started by supporting Angular v14 and v15. If your workspace is in an older version of Angular or you can't update to the latest version of Nx for some reason, please have a look at the next section to know which version of Nx to use. {% /callout %}

Nx and Angular Version Compatibility Matrix

Below is a reference table that matches versions of Angular to the version of Nx that is compatible with it. The table shows the version of Angular, the recommended version of Nx to use and the range of Nx versions that support the version of Angular.

We provide a recommended version, and it is usually the latest minor version of Nx in the range provided because there will have been bug fixes added since the first release in the range.

Angular Version Nx Version (recommended) Nx Version (range)
~17.3.0 latest 18.2.0 <= latest
~17.2.0 latest 18.1.1 <= latest
~17.1.0 latest 17.3.0 <= latest
~17.0.0 latest 17.1.0 <= latest
~16.2.0 latest 16.7.0 <= latest
~16.1.0 latest 16.4.0 <= latest
~16.0.0 latest 16.1.0 <= latest
~15.2.0 latest 15.8.0 <= latest
~15.1.0 latest 15.5.0 <= latest
~15.0.0 latest 15.2.0 <= 15.4.8 || 15.7.0 <= latest
~14.2.0 ~17.0.0 14.6.0 <= 15.1.1 || 15.7.0 < 17.1.0
~14.1.0 ~17.0.0 14.5.0 <= 14.5.10 || 15.7.0 < 17.1.0
~14.0.0 ~17.0.0 14.2.1 <= 14.4.3 || 15.7.0 < 17.1.0
^13.0.0 14.1.9 13.2.0 <= 14.1.9
^12.0.0 13.1.4 12.3.0 <= 13.1.4
^11.0.0 12.2.0 11.0.0 <= 12.2.0
^10.0.0 10.4.15 9.7.0 <= 10.4.15
^9.0.0 9.6.0 8.12.4 <= 9.6.0
^8.0.0 8.12.2 8.7.0 <= 8.12.2

Additionally, you can check the supported versions of Node and Typescript for the version of Angular you are using in the Angular docs.