yarn @angular/platform-browser-dynamic 16.0.0-next.0
v16.0.0-next.0

latest releases: 19.0.0-rc.1, 18.2.11, 19.0.0-rc.0...
20 months ago

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 a 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 a 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

Don't miss a new platform-browser-dynamic release

NewReleases is sending notifications on new releases.