Migrating to Angular v22.0.0-next.9
Version v22.0.0-next.9 introduces 1 breaking change. This guide details how to update your code.
Released: 4/22/2026
1
Breaking Changes
1
Migration Steps
1
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
paramsInheritanceStrategyBreaking Changes
●Issue #1
The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always' in the router configuration. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly'.
Migration Steps
- 1If you relied on the previous default behavior of paramsInheritanceStrategy ('emptyOnly'), update your router configuration to explicitly set paramsInheritanceStrategy to 'emptyOnly'.
Release Summary
This release introduces the @Service decorator and updates Testability for stability, while also changing the default route parameter inheritance strategy to 'always' in the router.
Need More Details?
View the full release notes and all changes for Angular v22.0.0-next.9.
View Full Changelog