Change8

Migrating to Angular v22.0.0-rc.1

Version v22.0.0-rc.1 introduces 1 breaking change. This guide details how to update your code.

Released: 5/20/2026

1
Breaking Changes
1
Migration Steps
2
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

TitleStrategy.getResolvedTitleForRouteFormField.parseErrors

Breaking Changes

Issue #1

The return type for `TitleStrategy.getResolvedTitleForRoute` was previously 'any' while the actual return type could only be either `string` or `undefined`. The return type now reflects the possible values correctly. Code that reads the value may need to be adjusted.

Migration Steps

  1. 1
    If you are using `TitleStrategy.getResolvedTitleForRoute`, ensure your code handles the return type being strictly `string` or `undefined`, as it is no longer 'any'.

Release Summary

This release includes several bug fixes across compiler, core, forms, and router modules, notably tightening typing for title resolution in the router and improving sanitization logic.

Need More Details?

View the full release notes and all changes for Angular v22.0.0-rc.1.

View Full Changelog