Change8

v21.2.0-next.2

📦 angularView on GitHub →
7 features🐛 6 fixes🔧 8 symbols

Summary

This release introduces new features like SignalFormControl and form-level submit options, alongside several bug fixes across core, forms, and the router, including improved error propagation for linked signals.

Migration Steps

  1. If you rely on the exact behavior of `linkedSignal.update`, be aware that errors are now propagated.
  2. If you were using internal APIs related to dependency tracking, note that constructors are now held weakly in DepsTracker cache.

✨ New Features

  • Added ChangeDetectionStrategy.Eager as an alias for Default.
  • Forms now allow setting submit options at the form level.
  • Introduced SignalFormControl for Reactive Forms compatibility.
  • The submit function in forms now accepts an options object.
  • Language service added JSON schema for angularCompilerOptions.
  • Language service added linked editing ranges for HTML tag synchronization.
  • Localize schematic (ng-add) now supports the unit-test builder.

🐛 Bug Fixes

  • `linkedSignal.update` now correctly propagates errors.
  • Exported DirectiveWithBindings.
  • Constructors are now held weakly in the DepsTracker cache.
  • Prevented element duplication when using dynamic components.
  • Debounce promise now resolves on abort in debounceForDuration.
  • Router UrlParser recursion depth is limited to prevent stack overflow.

Affected Symbols