yarn @angular/compiler-cli 14.0.0-next.15
v14.0.0-next.15

latest releases: 14.2.0-next.0, 14.1.1, 14.1.0...
3 months ago

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 or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.

router

  • When a guard returns a UrlTree, the router would previously schedule
    the redirect navigation within a setTimeout. 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

CommitDescription
feat - 68597bb0caspeed up dev-turnaround by bundling types only when packaging (#45405)
fix - 970a3b5c70add this_is_bazel marker (#45728)

common

CommitDescription
feat - 31d7c3bd71add getState method to LocationStrategy interface (#45648)

compiler

CommitDescription
fix - 4d6a1d6722scope css keyframes in emulated view encapsulation (#42608)

core

CommitDescription
feat - 5771b18a98add the bootstrapApplication function (#45674)
feat - 5a10fc4f82implement standalone directives, components, and pipes (#45687)

localize

CommitDescription
fix - a50e2da64aensure transitively loaded compiler code is tree-shakable (#45405)

router

CommitDescription
feat - dea8c86cd5add ariaCurrentWhenActive input to RouterLinkActive directive (#45167)
feat - 4962a4a332Allow loadChildren to return a Route array (#45700)
feat - 50004c143bSupport lazy loading standalone components with loadComponent (#45705)
refactor - 7b367d9d90Remove 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

Don't miss a new compiler-cli release

NewReleases is sending notifications on new releases.