v21.1.0-rc.0
📦 angularView on GitHub →
✨ 8 features🐛 8 fixes🔧 12 symbols
Summary
This release introduces enhanced image loader transformations, support for spread/rest operators in templates, and experimental Router integration with the platform Navigation API. It also includes significant bug fixes for memory leaks and improved diagnostic reporting in the compiler.
✨ New Features
- Add custom transformations for Cloudflare, Cloudinary, ImageKit, and Imgix image loaders
- Add support for multiple switch cases matching in the compiler
- Add stability debugging utility to core
- Support rest arguments in function calls, spread elements in array literals, and spread expressions in object literals
- Add [formField] directive to forms
- Add controls for route cleanup and a standalone function to create a computed for isActive
- Extend RedirectFunction parameters to include paramMap and queryParamMap
- Publish Router's integration with platform Navigation API as experimental
🐛 Bug Fixes
- Improve types for expression AST nodes and provide accurate spans for typeof/void expressions
- Stop ThisReceiver inheritance from ImplicitReceiver in the compiler
- Ensure component import diagnostics are reported within the imports expression
- Fix memory leaks in animations and event replay
- Sanitize sensitive attributes on SVG script elements
- Allow custom form controls to require dirty, hidden, or pending inputs
- Support custom controls with non signal-based models and readonly arrays in signal forms
- Fix RouterLink href not updating with queryParamsHandling
🔧 Affected Symbols
CloudflareImageLoaderCloudinaryImageLoaderImageKitLoaderImgixLoaderThisReceiverImplicitReceivertypeofvoid[formField]RedirectFunctionRouterLinkisActive