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 withObservables
returned by other guards: only the first value is used.
common
Commit | Description |
---|---|
canceled JSONP requests won't throw console error with missing callback function (#36807) | |
make NgLocalization token tree-shakable (#45118)
|
core
Commit | Description |
---|---|
allow for injector to be specified when creating an embedded view (#45156) | |
allow for injector to be specified when creating an embedded view (#45156) | |
remove individual commands for updating gold files (#45198) | |
only track LViews that are referenced in ngContext (#45172) |
forms
Commit | Description |
---|---|
Add untyped versions of the model classes for use in migration. (#45205) |
localize
Commit | Description |
---|---|
avoid imports into compiler-cli package (#45180)
|
router
Commit | Description |
---|---|
Fix type of Route.pathMatch to be more accurate (#45176) | |
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