21.0.0-next.6
Breaking Changes📦 angularView on GitHub →
⚠ 1 breaking✨ 1 features🐛 6 fixes🔧 3 symbols
Summary
This release introduces support for optional keys in the KeyValue pipe and standardizes signal input access in Angular Elements to match decorator input behavior. It also includes several bug fixes for animations, template literal compilation, and migration scripts.
⚠️ Breaking Changes
- Signal inputs in custom elements (Angular Elements) are now accessed via direct property access instead of function calls. To fix, remove the parentheses when accessing signal inputs on element references (e.g., change 'elementRef.newInput()' to 'elementRef.newInput').
Migration Steps
- Update code accessing Angular Elements signal inputs to use property access instead of calling them as functions.
✨ New Features
- Support of optional keys for the KeyValue pipe (#48814)
🐛 Bug Fixes
- compiler: recover template literals with broken expressions (#64150)
- core: Fixes animations in conjunction with content projection (#63776)
- core: prevents unintended early termination of leave animations and hoisting (#64088)
- elements: return value on signal input getter (#62113)
- migrations: handle shorthand property declarations in NgModule (#64160)
- migrations: skip migration for inputs with 'this' references (#64142)
🔧 Affected Symbols
KeyValuePipeNgModulecreateCustomElement