14.0.0-next.15 (2022-04-27)
Breaking Changes
common
- Adds new required class member that any implementors of the LocationStrategy will need to satisfy.
Location does not depend on PlatformLocation anymore.
compiler
-
Keyframes names are now prefixed with the component's "scope name".
For example, the following keyframes rule in a component definition,
whose "scope name" is host-my-cmp:@Keyframes foo { ... }
will become:
@Keyframes host-my-cmp_foo { ... }
Any TypeScript/JavaScript code which relied on the names of keyframes rules
will no longer match.The recommended solutions in this case are to either:
- change the component's view encapsulation to the
None
orShadowDom
- define keyframes rules in global stylesheets (e.g styles.css)
- define keyframes rules programmatically in code.
- change the component's view encapsulation to the
router
- When a guard returns a
UrlTree
, the router would previously schedule
the redirect navigation within asetTimeout
. This timeout is now removed,
which can result in test failures due to incorrectly written tests.
Tests which perform navigations should ensure that all timeouts are
flushed before making assertions. Tests should ensure they are capable
of handling all redirects from the original navigation.
bazel
Commit | Description |
---|---|
speed up dev-turnaround by bundling types only when packaging (#45405) | |
add this_is_bazel marker (#45728) |
common
Commit | Description |
---|---|
add getState method to LocationStrategy interface (#45648) |
compiler
Commit | Description |
---|---|
scope css keyframes in emulated view encapsulation (#42608) |
core
Commit | Description |
---|---|
add the bootstrapApplication function (#45674)
| |
implement standalone directives, components, and pipes (#45687) |
localize
Commit | Description |
---|---|
ensure transitively loaded compiler code is tree-shakable (#45405) |
router
Commit | Description |
---|---|
add ariaCurrentWhenActive input to RouterLinkActive directive (#45167) | |
Allow loadChildren to return a Route array (#45700)
| |
Support lazy loading standalone components with loadComponent (#45705)
| |
Remove unnecessary setTimeout in UrlTree redirects (#45735) |
Special Thanks
Alex Rickabaugh, Andrew Kushnir, Andrew Scott, George Kalpakas, Joey Perrott, Michal Materowski, Paul Gschwendtner, Pawel Kozlowski, Sumit Arora and dario-piotrowicz