Change8

20.2.0-next.5

📦 angularView on GitHub →
2 features1 deprecations🔧 3 symbols

Summary

This release introduces the IsolatedShadowDom encapsulation method and adds a new currentNavigation signal to the Router service, deprecating the previous getCurrentNavigation method.

Migration Steps

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

✨ New Features

  • Add IsolatedShadowDom encapsulation method to platform-browser.
  • Add a currentNavigation signal to the Router service.

🔧 Affected Symbols

IsolatedShadowDomRouter.currentNavigationRouter.getCurrentNavigation

⚡ Deprecations

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