Angular: 13.0.0-next.1 Release

Release date:
August 11, 2021
Previous version:
13.0.0-next.0 (released November 21, 2022)
Magnitude:
670 Diff Delta
Contributors:
13 total committers
Data confidence:
Commits:

Top Contributors in 13.0.0-next.1

danieltre23
gkalpak
dylhunn
atscott
jonrimmer
josephperrott
ahasall
AndrewKushnir
timgates42
fabien0102

Directory Browser for 13.0.0-next.1

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

<a name="13.0.0-next.1"></a>

13.0.0-next.1 (2021-08-11)

forms

| Commit | Description | | -- | -- | | e49fc96ed3 | feat(forms): Make Form Statuses use stricter types. (#42952) |

router

| Commit | Description | | -- | -- | | bbad42310b | fix(router): ensure check for match options is compatible with property renaming (#43086) | | 784671597e | fix(router): Allow question marks in query param values (#31187) |

Breaking Changes

forms

A new type called FormControlStatus has been introduced, which is a union of all possible status strings for form controls. AbstractControl.status has been narrowed from string to FormControlStatus, and statusChanges has been narrowed from Observable<any> to Observable<FormControlStatus>. Most applications should consume the new types seamlessly. Any breakage caused by this change is likely due to one of the following two problems: (1) the app is comparing AbstractControl.status against a string which is not a valid status; or, (2) the app is using statusChanges events as if they were something other than strings.

router

The default url serializer would previously drop everything after and including a question mark in query parameters. That is, for a navigation to /path?q=hello?&other=123, the query params would be parsed to just {q: 'hello'}. This is incorrect because the URI spec allows for question mark characters in query data. This change will now correctly parse the params for the above example to be {v: 'hello?', other: '123'}.

Special Thanks:

Amadou Sall, Andrew Kushnir, Andrew Scott, Daniel Trevino, Dylan Hunn, Erik Slack, Fabien BERNARD, George Kalpakas, Jeroen van Warmerdam, Joey Perrott, Jon Rimmer, Tim Gates and Vugar_Abdullayev