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
Commit
| Description
|
| implement missing transition delay (#44799)
|
common
Commit
| Description
|
| support years greater than 9999 (#43622)
|
compiler
Commit
| Description
|
| allow banana-in-a-box bindings to end with non-null assertion (#37809)
|
compiler-cli
Commit
| Description
|
| initial implementation of standalone components (#44812)
|
core
Commit
| Description
|
| input coercion (#42803)
|
forms
Commit
| Description
|
| Correct empty validator to handle objects with a property length: 0 . (#33729)
|
| incorrectly keeping track of ngModel with ngFor inside a form (#40459)
|
http
Commit
| Description
|
| remove IE special status handling (#44354)
|
platform-browser
Commit
| Description
|
| do not run change detection when loading Hammer (#44921)
|
| Make transfer state key typesafe. (#23020)
|
router
Commit
| Description
|
| set stricter type for Route.title (#44939)
|
| Update Navigation#initialUrl to match documentation and reality (#43863)
|
upgrade
Commit
| Description
|
| Do 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