v22.1.0-next.2
📦 angularView on GitHub →
✨ 2 features🐛 7 fixes🔧 4 symbols
Summary
This release focuses on bug fixes across the compiler, core, HTTP, and service worker modules, and introduces a new migration path for converting @Injectable() to @Service().
Migration Steps
- Run the migration to convert @Injectable() to @Service() usage.
✨ New Features
- Added migration to convert @Injectable() usage to @Service().
- RouterLinkActive now handles null and undefined inputs correctly.
🐛 Bug Fixes
- NgModule dependencies are now accounted for in JIT-compiled partial declarations.
- The compiler-cli now reports a diagnostic instead of crashing when encountering a malformed host binding.
- Uncaught promise errors during injectAsync prefetching are now avoided.
- HTTP client now prevents caching of responses that include Set-Cookie headers.
- Service Worker now preserves referrer information in asset requests.
- Service Worker now preserves referrer policy in asset requests.
- DowngradeComponent now supports model() signals.