Migrating to Angular v21.0.7
Version v21.0.7 introduces 1 breaking change. This guide details how to update your code.
Released: 1/7/2026
1
Breaking Changes
2
Migration Steps
8
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
ThisReceiverImplicitReceiverformFieldRouterLinktypeofvoidSVGScriptElementupdateCallbackDoneBreaking Changes
●Issue #1
The 'ThisReceiver' class no longer inherits from 'ImplicitReceiver' in the compiler AST. Code relying on this inheritance hierarchy for type checking or property access may need to be updated.
Migration Steps
- 1Check custom compiler plugins or AST transformations for reliance on ThisReceiver inheriting from ImplicitReceiver.
- 2Update any custom form controls that need to utilize the new dirty, hidden, or pending input requirements.
Release Summary
This release introduces the [formField] directive and several enhancements to custom form controls, alongside critical bug fixes for the compiler AST, SVG security, and RouterLink behavior.
Need More Details?
View the full release notes and all changes for Angular v21.0.7.
View Full Changelog