yarn @angular/router 14.0.0-next.5
v14.0.0-next.5

latest releases: 18.0.0-next.6, 17.3.6, 18.0.0-next.5...
2 years ago

14.0.0-next.5 (2022-03-02)

Breaking Changes

router

  • The type of Route.pathMatch is now more strict. Places that use
    pathMatch will likely need to be updated to have an explicit
    Route/Routes type so that TypeScript does not infer the type as
    string.

  • Previously, resolvers were waiting to be completed
    before proceeding with the navigation and the Router would take the last
    value emitted from the resolver.
    The router now takes only the first emitted value by the resolvers
    and then proceeds with navigation. This is now consistent with Observables
    returned by other guards: only the first value is used.

common

Commit Description
fix - 7671a1e40d canceled JSONP requests won't throw console error with missing callback function (#36807)
perf - 05d50b849b make NgLocalization token tree-shakable (#45118)

core

Commit Description
feat - 69018c9f42 allow for injector to be specified when creating an embedded view (#45156)
feat - 94c949a60a allow for injector to be specified when creating an embedded view (#45156)
fix - c5df474c7c remove individual commands for updating gold files (#45198)
perf - 88f1168506 only track LViews that are referenced in ngContext (#45172)

forms

Commit Description
feat - 7ee121f595 Add untyped versions of the model classes for use in migration. (#45205)

localize

Commit Description
fix - ca5603b09b avoid imports into compiler-cli package (#45180)

router

Commit Description
fix - 7fd416d060 Fix type of Route.pathMatch to be more accurate (#45176)
refactor - c9679760b2 take only the first emitted value of every resolver to make it consistent with guards (#44573)

Special Thanks

Andrew Kushnir, Andrew Scott, Charles Lyding, Dmitrij Kuba, Dylan Hunn, Guillaume Bonnet, Jessica Janiuk, JiaLiPassion, JoostK, Kristiyan Kostadinov, Martin Sikora, Paul Gschwendtner, Theodore Brown and dario-piotrowicz

Don't miss a new router release

NewReleases is sending notifications on new releases.