Change8

21.0.0-next.9

Breaking Changes
📦 angularView on GitHub →
1 breaking3 features🐛 14 fixes🔧 8 symbols

Summary

This release introduces generic support for SimpleChanges and updates CLDR to version 47. It includes significant bug fixes for forms interoperability, router serialization, and animation scheduling, while dropping support for legacy browsers in zone.js.

⚠️ Breaking Changes

  • IE and Non-Chromium Edge are no longer supported in zone.js. Applications requiring these browsers must remain on older versions or implement polyfills.

Migration Steps

  1. If using the standalone migration tool, you can now migrate CommonModule usage automatically.
  2. Update any custom implementations of SimpleChanges to utilize the new generic type parameters for improved type safety.
  3. Verify application compatibility if targeting legacy browsers like IE or non-Chromium Edge, as zone.js support has been dropped.

✨ New Features

  • Update to CLDR 47 for localized data.
  • Make SimpleChanges generic in @angular/core for better type safety.
  • Added support for CommonModule to the standalone migration tool.

🐛 Bug Fixes

  • Account for Element.animate exceptions in animations.
  • Properly type ngComponentOutlet in @angular/common.
  • Correctly compile long numeric HTML entities in the compiler.
  • Fix false negatives in missingStructuralDirective diagnostic in compiler-cli.
  • Prevent duplicate nodes from being retained with fast animate.leave calls.
  • Update animation scheduling and symbol exports in core.
  • Implement interoperability between signal forms and reactive forms.
  • Mark form fields as dirty when values are changed by ControlValueAccessor or bound controls.
  • Only propagate schema-defined properties from field to control in forms.
  • Prevent interpolation from superseding block braces in language-service.
  • Ensure DomEventsPlugin is always the last plugin called for supports().
  • Fix outlet serialization and parsing with no primary children in router.
  • Respect custom UrlSerializer handling of query parameters.
  • Surface parse errors in Router.parseUrl.

🔧 Affected Symbols

SimpleChangesngComponentOutletControlValueAccessorDomEventsPluginRouter.parseUrlUrlSerializerElement.animateCommonModule