Angular 21.2.5 Release: Bug Fixes and Minor Improvements

2026/04/10

The Angular team has released version 21. 2. 5, which includes several bug fixes and minor improvements to the Angular framework.

One of the key fixes is in the compiler, where the team has ensured that generated code compiles correctly. Additionally, the compiler-cli has been updated to escape template literals in TCB and to correctly fill out generic types in type check blocks. The core module has also been updated to clean up dehydrated views during HMR component replacement and to run linked signal equality checks without reactive consumers.

The migrations module has been updated to prevent trailing comma syntax errors after removing NgStyle. Finally, the service-worker module has been updated to preserve redirect policy on reconstructed asset requests. These updates should improve the overall stability and performance of Angular applications.

To learn more, read the release notes for Angular 21. 2. 5.

References