Change8

20.1.0-next.0

Breaking Changes
📦 angularView on GitHub →
1 breaking6 features🐛 9 fixes🔧 7 symbols

Summary

This release introduces experimental fast type declaration emission, adds a 'destroyed' property to DestroyRef, and updates minimum Node.js requirements to versions 20.19, 22.12, and 24.0.

⚠️ Breaking Changes

  • Minimum Node.js version requirement has been increased. Ensure your environment uses Node.js 20.19, 22.12, 24.0 or higher.

Migration Steps

  1. Update Node.js to a supported version (20.19+, 22.12+, or 24.0+).
  2. If using the experimental fast type declaration emission, update the configuration flag to the new name.

✨ New Features

  • Added experimental support for fast type declaration emission in compiler-cli.
  • Support for host directives with direct external references in fast type declaration emission.
  • Added 'destroyed' property to 'DestroyRef' in core.
  • Support for importing external module exports for Angular metadata in language-service.
  • Support for notification close events in service-worker.
  • Support for push subscription changes in service-worker.

🐛 Bug Fixes

  • Compiler now only reports parser errors on invalid expressions.
  • Removed TypeScript dependency from the linker.
  • Renamed the flag for enabling fast type declaration emission.
  • Fixed symbol builder duplicating host directives.
  • Corrected a typo in the NG2026 error message.
  • Fixed fakeAsync dependency on module import order.
  • Fixed missing useExisting providers throwing errors for optional calls.
  • Updated minimum Node.js support versions.
  • Allowed ControlState as reset arguments for FormGroup and FormRecord.

🔧 Affected Symbols

DestroyRefDestroyRef.destroyedFormGroupFormRecordfakeAsynccompiler-cliNG2026