Angular: 16.0.0-next.0 Release

Release date:
October 4, 2023
Previous version:
15.2.10 (released October 4, 2023)
Magnitude:
10,495 Diff Delta
Contributors:
60 total committers
Data confidence:
Commits:

Top Contributors in 16.0.0-next.0

JeanMeche
trekladyone
alan-agius4
crisbeto
atscott
alxhub
AndrewKushnir
LayZeeDK
devversion
MatthiasKunnen

Directory Browser for 16.0.0-next.0

All files are compared to previous version, 15.2.10. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

<a name="16.0.0-next.0"></a>

16.0.0-next.0 (2023-02-22)

Breaking Changes

  • Angular Compatibility Compiler (ngcc) has been removed and as a result Angular View Engine libraries will no longer work ### common
  • MockPlatformLocation is now provided by default in tests. Existing tests may have behaviors which rely on BrowserPlatformLocation instead. For example, direct access to the window.history in either the test or the component rather than going through the Angular APIs (Location.getState()). The quickest fix is to update the providers in the test suite to override the provider again TestBed.configureTestingModule({providers: [{provide: PlatformLocation, useClass: BrowserPlatformLocation}]}). The ideal fix would be to update the code to instead be compatible with MockPlatformLocation instead. ### core
  • RendererType2.styles no longer accepts nested arrays. ### router
  • The Scroll event's routerEvent property may also be a NavigationSkipped event. Previously, it was only a NavigationEnd event.
  • The RouterEvent type is no longer present in the Event union type representing all router event types. If you have code using something like filter((e: Event): e is RouterEvent => e instanceof RouterEvent), you'll need to update it to filter((e: Event|RouterEvent): e is RouterEvent => e instanceof RouterEvent). ### | Commit | Description | | -- | -- | | refactor - 48aa96ea13 | remove Angular Compatibility Compiler (ngcc) (#49101) | ### common | Commit | Description | | -- | -- | | feat - 5dce2a5a3a | Provide MockPlatformLocation by default in BrowserTestingModule (#49137) | ### core | Commit | Description | | -- | -- | | feat - bc5ddabdcb | add Angular Signals to the public API (#49150) | | perf - 9b9c818f99 | change RendererType2.styles to accept only a flat array (#49072) | ### router | Commit | Description | | -- | -- | | fix - 1f055b90b6 | Ensure anchor scrolling happens on ignored same URL navigations (#48025) | | fix - 1e32709e0e | remove RouterEvent from Event union type (#46061) | ## Special Thanks Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Cรฉdric Exbrayat, Joey Perrott, Mladen Jakovljeviฤ‡ and Pawel Kozlowski