Change8

20.2.0-next.4

📦 angularView on GitHub →
6 features🐛 8 fixes1 deprecations🔧 6 symbols

Summary

This release promotes zoneless support to stable, introduces a new currentNavigation signal in the Router, and includes several fixes for animations and HTTP resource handling.

Migration Steps

  1. Replace calls to Router.getCurrentNavigation() with the new Router.currentNavigation signal.

✨ New Features

  • Promote zoneless support to stable status.
  • Add support for pushing an array of controls to FormArray.
  • Add a currentNavigation signal to the Router service.
  • Add warning for conflicting hydration and blocking navigation in platform-browser.
  • Add messageerror event handling and logging to service-worker.
  • Add type support in provideServiceWorker.

🐛 Bug Fixes

  • Correctly type check host listeners to own outputs in compiler-cli.
  • Fix animate.enter class removal when composing classes.
  • Fix support for space separated strings in leave animations.
  • Fix empty animations when recalculating styles.
  • Fix timing issues with enter animations.
  • Properly recognize failed fetch responses when loading external resources in JIT.
  • Reset headers, progress, and statusCode when using set() in HttpResource.
  • Fix incorrect filtering in the inject migration.

🔧 Affected Symbols

Router.getCurrentNavigationRouter.currentNavigationFormArrayHttpResourceprovideServiceWorkeranimate.enter

⚡ Deprecations

  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.