Change8

20.1.0-next.3

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

Summary

This release introduces several enhancements to the Angular compiler, HTTP client, and router, including support for binary assignment operators and improved injection contexts for route loading. It also addresses various bug fixes across core, compiler-cli, and zoneless support for hybrid applications.

✨ New Features

  • Added support for new binary assignment operators in the compiler.
  • Added 'destroyed' property to EnvironmentInjector.
  • Added keepalive support for fetch requests in httpResource.
  • Added support for fetch request cache and priority options in HTTP.
  • Added semantic tokens for templates in the language service.
  • Added support to fix missing required inputs diagnostic in the language service.
  • Modified router to run 'loadComponent' and 'loadChildren' functions within the route's injection context.

🐛 Bug Fixes

  • Added suggestion when a pipe is missing in compiler-cli.
  • Handled initializer APIs wrapped in type casts in compiler-cli.
  • Allowed setting a resource in an error state in core.
  • Prevented injection of ErrorHandler from a destroyed injector.
  • Fixed retrieval of defer blocks in tests when a component injects ViewContainerRef.
  • Handled scrollRestoration errors in restricted environments.
  • Enabled zoneless support for hybrid apps in the upgrade module.

🔧 Affected Symbols

EnvironmentInjectorhttpResourceErrorHandlerViewContainerRefloadComponentloadChildrenscrollRestoration