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

latest releases: 14.1.2, 14.2.0-next.1, 14.2.0-next.0...
6 months ago

14.0.0-next.2 (2022-02-07)

Breaking Changes

core

  • Forms [email] input coercion

Forms [email] input value will be considered as true if it is defined with any value rather
than false and 'false'.

forms

  • objects with a length key set to zero will no longer validate as empty.

This is technically a breaking change, since objects with a key length and value 0 will no longer validate as empty. This is a very minor change, and any reliance on this behavior is probably a bug anyway.

platform-browser

  • This change may cause a breaking change in unit tests that are implicitly depending on a specific
    number and sequence of change detections in order for their assertions to pass.

  • This may break invalid calls to TransferState methods.

This tightens parameter types of TransferState usage, and is a minor breaking change which may reveal existing problematic calls.

router

    • The type of initialUrl is set to string|UrlTree but in reality,
      the Router only sets it to a value that will always be UrlTree
  • initialUrl is documented as "The target URL passed into the
    Router#navigateByUrl() call before navigation" but the value
    actually gets set to something completely different. It's set to the
    current internal UrlTree of the Router at the time navigation
    occurs.

With this change, there is no exact replacement for the old value of
initialUrl because it was enver intended to be exposed.
Router.url is likely the best replacement for this.
In more specific use-cases, tracking the finalUrl between successful
navigations can also be used as a replacement.

animations

CommitDescription
fix - e46b379204implement missing transition delay (#44799)

common

CommitDescription
feat - 38c03a2035support years greater than 9999 (#43622)

compiler

CommitDescription
fix - db6cf7e7c1allow banana-in-a-box bindings to end with non-null assertion (#37809)

compiler-cli

CommitDescription
feat - 0072eb48bainitial implementation of standalone components (#44812)

core

CommitDescription
fix - d5719c2e0finput coercion (#42803)

forms

CommitDescription
fix - 8dd3f82f94Correct empty validator to handle objects with a property length: 0. (#33729)
fix - ebf2fc5224incorrectly keeping track of ngModel with ngFor inside a form (#40459)

http

CommitDescription
perf - 28393031b1remove IE special status handling (#44354)

platform-browser

CommitDescription
fix - a01bcb8e7edo not run change detection when loading Hammer (#44921)
fix - b32647dc68Make transfer state key typesafe. (#23020)

router

CommitDescription
feat - 791bd31424set stricter type for Route.title (#44939)
fix - 64f837d2c0Update Navigation#initialUrl to match documentation and reality (#43863)

upgrade

CommitDescription
fix - 202a1a5631Do not trigger duplicate navigation events from Angular Router (#43441)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Daniel Díaz, Dario Piotrowicz, Doug Parker, Jayson Acosta, Joey Perrott, JoostK, Kristiyan Kostadinov, Olivier Capuozzo, Payam Shahidi, Pusztai Tibor, Ramzan, Ruslan Lekhman, Sergej Grilborzer, Shai Reznik, TANMAY SRIVASTAVA, arturovt, dario-piotrowicz, iRealNirmal, jhonyeduardo, markostanimirovic, mgechev and zuckjet

Don't miss a new compiler-cli release

NewReleases is sending notifications on new releases.