v22.0.0-rc.1
Breaking Changes📦 angularView on GitHub →
⚠ 1 breaking🐛 8 fixes🔧 2 symbols
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.
⚠️ Breaking Changes
- 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
- If you are using `TitleStrategy.getResolvedTitleForRoute`, ensure your code handles the return type being strictly `string` or `undefined`, as it is no longer 'any'.
🐛 Bug Fixes
- Strip namespaced SVG script elements during template compilation.
- Do not insert todo when migrating void @Output.
- Makes resource URL sanitizer lookup case-insensitive.
- Reject script element as a dynamic component host.
- Support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation.
- Synchronize core sanitization schema with compiler.
- Visit ICU expressions in signal migration schematics.
- Skip scroll-to-top on initial navigation when hydrating.