Angular 13

https://github.com/angular/angular

13.4.0 (2023-04-06)

common

Commit Description
feat - ae34dbca1b Backport NgOptimizedImage to v13

Special Thanks

Alex Castle and Paul Gschwendtner

13.3.12 (2022-11-21)

Breaking Changes

core

  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.

core

Commit Description
fix - b1d7b79ff4 hardening attribute and property binding rules for elements (#48029)

Special Thanks

Andrew Kushnir, Andrew Scott, George Looshch, Joey Perrott and Paul Gschwendtner

13.3.11 (2022-05-31)

Special Thanks

Andrew Scott, Billy Lando, George Kalpakas, Ian Gregory, Matt Shaffer, Rune Andersen Hartvig, dario-piotrowicz and mgechev

13.3.10 (2022-05-25)

Special Thanks

A. J. Javier, Aristeidis Bampakos, J Rob Gant, Jerome Kruse, Joey Perrott, Nathan Nontell, Paul Gschwendtner, Roopesh Chinnakampalli, Thomas Mair, Tom Raithel, dario-piotrowicz and mgechev

13.3.9 (2022-05-18)

Special Thanks

4javier, Bob Watson, Evan Lee, George Kalpakas, Joey Perrott, Pavan Kumar Jadda, celinetunc and mariu

13.3.8 (2022-05-12)

language-service

Commit Description
fix - b4eb9ed884 Prevent TSServer from removing templates from project (#45965)

Special Thanks

Andrew Scott, George Kalpakas and Joey Perrott

13.3.7 (2022-05-11)

core

Commit Description
perf - 73bbee2c0d allow checkNoChanges mode to be tree-shaken in production (#45936)

language-service

Commit Description
fix - 5ca3bcf4f8 Add resource files as roots to their associated projects (#45601)

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, JayMartMedia, JoostK, Paul Gschwendtner, Ted.chang, Thomas Mair, Will 保哥, dario-piotrowicz, mgechev and ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ

13.3.6 (2022-05-04)

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Paul Gschwendtner, Pawel Kozlowski, Ryan Day and dario-piotrowicz

13.3.5 (2022-04-27)

bazel

Commit Description
fix - 63398e0eb4 add this_is_bazel marker (#45728)

Special Thanks

Andrew Kushnir, George Kalpakas, Joey Perrott and dario-piotrowicz

13.3.4 (2022-04-20)

core

Commit Description
fix - 9317f513d5 better error message when directive extends a component (#45658)
fix - 4766817f02 improve multiple components match error (#45645)

language-service

Commit Description
fix - d68333e508 two-way binding completion should not remove the trailing quote (#45582)

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Ilya Marchik, Jeremy Elbourn, Kristiyan Kostadinov, Louis Gombert, Mangalraj, Marko Kaznovac, Paul Gschwendtner, Saurabh Kamble, dario-piotrowicz and ivanwonder

13.3.3 (2022-04-13)

compiler

Commit Description
fix - e50fd9ee87 avoid errors with extremely long instruction chains (#45574)

Special Thanks

4javier, Andrew Kushnir, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Hossein Mousavi, Jason Hendee, Joe Martin (Crowdstaffing), Kristiyan Kostadinov, Michael-Doner, Michal Materowski and Virginia Dooley

13.3.2 (2022-04-06)

animations

Commit Description
fix - b46b25c562 handle structured AnimateTimings (#31107)

Special Thanks

Alan Agius, Andrew Kushnir, Christoph Guttandin, Cédric Exbrayat, mgechev and piyush132000

13.3.1 (2022-03-30)

bazel

Commit Description
fix - 960e42b2ac ng module compilation workers are subject to linker race-conditions (#45393)

compiler

Commit Description
fix - 3714305f84 scope css rules within @layer blocks (#45396)

compiler-cli

Commit Description
fix - 7f53c0f4ac handle inline type-check blocks in nullish coalescing extended check (#45478)

Special Thanks

AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Ben Brook, Dylan Hunn, George Kalpakas, JiaLiPassion, Joey Perrott, JoostK, Mike, Paul Gschwendtner, Willian Corrêa, arturovt, dario-piotrowicz, khai and mgechev

13.3.0 (2022-03-16)

Special Thanks

Andrew Scott, Kristiyan Kostadinov and Paul Gschwendtner

13.2.7 (2022-03-16)

forms

Commit Description
fix - eac94f0945 improve error message for invalid value accessors (#45192)

Special Thanks

Alistair Kane, Amer Yousuf, Andrew Scott, Jessica Janiuk, Lee Cooper, alirezaghey and why520crazy

13.3.0-rc.0 (2022-03-10)

Special Thanks

Alistair Kane, Andrew Scott and Kristiyan Kostadinov

13.2.6 (2022-03-09)

compiler

Commit Description
fix - 6efa366e2c compute correct offsets when interpolations have HTML entities (#44811)

language-service

Commit Description
fix - 9bce9ce89e Prioritize Angular-specific completions over DOM completions (#45293)

service-worker

Commit Description
fix - cff1c5622f file system hash in batch of 500 elements (#45262)

Special Thanks

Andrew Scott, Anner Visser, Aristeidis Bampakos, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Luca, Mladen Jakovljević, Paul Gschwendtner, Srikanth Kolli and nanda18

13.2.5 (2022-03-02)

animations

Commit Description
fix - 6c61d20476 allow animations with unsupported CSS properties (#45185)

common

Commit Description
fix - 64da1daa78 canceled JSONP requests won't throw console error with missing callback function (#36807)
perf - 56ca7d385b make NgLocalization token tree-shakable (#45118) (#45226)

compiler-cli

Commit Description
fix - 6c906a5bb9 Support resolve animation name from the DTS (#45169)

core

Commit Description
fix - e8fd452bd2 remove individual commands for updating gold files (#45198)
perf - 82d772857c make Compiler, ApplicationRef and ApplicationInitStatus tree-shakable (#45102) (#45222)
perf - 71ff12c1cc make LOCALE_ID and other tokens from ApplicationModule tree-shakable (#45102) (#45222)

localize

Commit Description
fix - d388522745 avoid imports into compiler-cli package (#45180)

Special Thanks

Andrew Kushnir, Andrew Scott, Charles Lyding, Guillaume Bonnet, Jessica Janiuk, JoostK, Martin Sikora, Paul Gschwendtner, Theodore Brown, dario-piotrowicz and ivanwonder

13.2.4 (2022-02-23)

animations

Commit Description
perf - 1a4b489692 improve algorithm to balance animation namespaces (#45113)

core

Commit Description
perf - cbd23ee0de make IterableDiffers and KeyValueDiffers tree-shakable (#45094) (#45115)

Special Thanks

Alan Cohen, AlirezaEbrahimkhani, Andrew Kushnir, Daniele Maltese, David Wolf, JoostK, Paul Gschwendtner, dario-piotrowicz and manuelkroiss

13.2.3 (2022-02-16)

animations

Commit Type Description
0050b01b62 perf made errors in the animations package tree shakeable (#45079)

compiler

Commit Type Description
09f0254bdd perf chain element start/end instructions (#44994)

core

Commit Type Description
92cf9fbebe fix ViewContainerRef.createComponent should consult module injector when custom one is provided (#44966)

Special Thanks

AlirezaEbrahimkhani, Amer Yousuf, Andrew Kushnir, Aristeidis Bampakos, Dario Piotrowicz, Esteban Gehring, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Mina Hosseini Moghadam, Patrick Cameron, Srdjan Milic, Yousaf Nawaz, dario-piotrowicz, markostanimirovic, mgechev and zuckjet

13.2.2 (2022-02-08)

compiler

Commit Description
fix - 37af6abb49 allow banana-in-a-box bindings to end with non-null assertion (#37809)

forms

Commit Description
fix - b75e90f809 incorrectly keeping track of ngModel with ngFor inside a form (#40459)

http

Commit Description
perf - 3fae6637e7 remove IE special status handling (#44354)

upgrade

Commit Description
fix - b9aab0c87b Do not trigger duplicate navigation events from Angular Router (#43441)

Special Thanks

Alan Agius, Alan Cohen, Andrew Kushnir, Andrew Scott, Daniel Díaz, Dario Piotrowicz, Doug Parker, Jayson Acosta, Joey Perrott, JoostK, Kristiyan Kostadinov, Olivier Capuozzo, Ramzan, Shai Reznik, TANMAY SRIVASTAVA, dario-piotrowicz, iRealNirmal, jhonyeduardo, mgechev and zuckjet

13.2.1 (2022-02-02)

animations

Commit Description
perf - 4644886aaf remove no longer needed CssKeyframes classes (#44903) (#44919)

common

Commit Description
fix - b4e4617807 include query parameters for open HTTP requests in verify (#44917)

compiler-cli

Commit Description
fix - 0778e6f7d7 accept nullish coalescing operator for any and unknown types (#44862)
fix - 07185f4ed1 enable nullish coalescing check only with strictNullChecks (#44862)
fix - 4a5ad1793f ensure casing of logical paths is preserved (#44798)

core

Commit Description
fix - 7ec482d9c2 Add back support for namespace URIs in createElement of dom renderer (#44914)
fix - 250dc40a46 flush delayed scoping queue while setting up TestBed (#44814)

forms

Commit Description
fix - 1aebbf8714 ensure OnPush ancestors are marked dirty when the promise resolves (#44886)
fix - 6b7fffcbeb Update the typed forms migration schematic to find all files. (#44881)

Special Thanks

Alan, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Arjen, Daniel Díaz, David Shevitz, Doug Parker, Dylan Hunn, Esteban Gehring, George Kalpakas, Jessica Janiuk, JoostK, Juri Strumpflohner, Lee Robinson, Maarten Tibau, Paul Gschwendtner, Theodore Brown, arturovt, dario-piotrowicz, fru2, markostanimirovic and mgechev

13.2.0 (2022-01-26)

Deprecations

  • The CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols were previously necessary in some cases to test AOT-compiled components with View Engine, but they are no longer needed since Ivy.

  • The ComponentFactory and ComponentFactoryResolver classes are deprecated. Since Ivy, there is no need to resolve Component factories. Please use other APIs where you Component classes can be used directly (without resolving their factories).

  • Since Ivy, the CompilerOptions.useJit and CompilerOptions.missingTranslation config options are unused, passing them has no effect.

Commit Description
docs - 9c11183e74 deprecate CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols (#44749)
docs - 9f12e7fea4 deprecate ComponentFactory and ComponentFactoryResolver symbols (#44749)
docs - 4e95a316ce deprecate unused config options from the CompilerOptions interface (#44749)

compiler

Commit Description
feat - a4ab6d6b72 add support for safe calls in templates (#44580)
fix - abd1bc8039 correct spans when parsing bindings with comments (#44785)
fix - ed67a074ce properly compile DI factories when coverage reporting is enabled (#44732)

compiler-cli

Commit Description
feat - fa835b5a29 enable extended diagnostics by default (#44712)
feat - 73424def13 provide the animations for DirectiveMeta (#44630)
fix - fe3e4d6865 Handle ng-template with structural directive in indexer (#44788)
fix - 7316e72ec5 properly index elements when on a template (#44785)
fix - 100091ebf0 remove leftover _extendedTemplateDiagnostics requirements (#44777)
fix - d2ae96f742 skip ExtendedTemplateCheckerImpl construction if there were configuration errors (#44778)

core

Commit Description
fix - 5626b34264 consistently use namespace short name rather than URI (#44766)
fix - 94bfcdd9de error if NgZone.isInAngularZone is called with a noop zone (#44800)

forms

Commit Description
feat - 72092ebd26 Allow a FormControl to use initial value as default. (#44434)
fix - f7aa937cac Make some minor fixups for forward-compatibility with typed forms. (#44540)

language-service

Commit Description
feat - af2a1317cb support completions for animation (#44630)

router

Commit Description
feat - 5a4ddfd4f5 Allow symbol keys for Route data and resolve properties (#44519)

Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dario Piotrowicz, Derek Cormier, Doug Parker, Douglas Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Martin Probst, Oleg Postoev, Stephanie Tuerk, Tim Bowersox, Wiley Marques, Yousaf Nawaz, dario-piotrowicz, iRealNirmal, ivanwonder and shejialuo

13.2.0-rc.1 (2022-01-24)

compiler

Commit Description
fix - ed67a074ce properly compile DI factories when coverage reporting is enabled (#44732)

compiler-cli

Commit Description
fix - 100091ebf0 remove leftover _extendedTemplateDiagnostics requirements (#44777)
fix - d2ae96f742 skip ExtendedTemplateCheckerImpl construction if there were configuration errors (#44778)

core

Commit Description
fix - 5626b34264 consistently use namespace short name rather than URI (#44766)

Special Thanks

Andrew Scott, Doug Parker, Douglas Parker, JoostK, Martin Probst, Oleg Postoev and Stephanie Tuerk

13.2.0-rc.0 (2022-01-19)

Deprecations

  • The CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols were previously necessary in some cases to test AOT-compiled components with View Engine, but they are no longer needed since Ivy.

  • The ComponentFactory and ComponentFactoryResolver classes are deprecated. Since Ivy, there is no need to resolve Component factories. Please use other APIs where you Component classes can be used directly (without resolving their factories).

  • Since Ivy, the CompilerOptions.useJit and CompilerOptions.missingTranslation config options are unused, passing them has no effect.

  • tap operator subscribe signature is deprecated

Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments

Commit Description
docs - 9c11183e74 deprecate CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols (#44749)
docs - 9f12e7fea4 deprecate ComponentFactory and ComponentFactoryResolver symbols (#44749)
docs - 4e95a316ce deprecate unused config options from the CompilerOptions interface (#44749)
docs - 34d2292323 update deprecated form of the tap operator in http example (#44738)

animations

Commit Description
fix - adc487fb75 apply setStyles to only rootTimelines (#44515)

common

Commit Description
feat - ed21f5c753 add injector input to ngTemplateOutlet (#44761)

compiler-cli

Commit Description
feat - fa835b5a29 enable extended diagnostics by default (#44712)
perf - 5efebf87be reduce analysis work during incremental rebuilds (#44731)

core

Commit Description
feat - b49ffcd50e allow for injector to be specified when creating an embedded view (#44666)

ngcc

Commit Description
fix - b66e479cdb support element accesses for export declarations (#44669)

Special Thanks

Alan Agius, Andrew Kushnir, AnkitSharma-007, Daniel Díaz, Derek Cormier, Dmytro Mezhenskyi, Doug Parker, Dylan Hunn, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Ramesh Thiruchelvam, Yousaf Nawaz, dario-piotrowicz, iRealNirmal, shejialuo and Łukasz Holeczek

13.1.3 (2022-01-19)

animations

Commit Description
fix - af0a152a2c apply setStyles to only rootTimelines (#44515)

compiler-cli

Commit Description
perf - 626f3f230b reduce analysis work during incremental rebuilds (#44731)

ngcc

Commit Description
fix - f9ca4d8499 support element accesses for export declarations (#44669)

Special Thanks

Alan Agius, Andrew Kushnir, AnkitSharma-007, Daniel Díaz, Dmytro Mezhenskyi, Jessica Janiuk, Joey Perrott, JoostK, Ramesh Thiruchelvam, dario-piotrowicz, iRealNirmal and Łukasz Holeczek

13.2.0-next.2 (2022-01-12)

animations

Commit Description
fix - 8ba43a1a1e retain triggers values for moved tracked list items (#44578)

compiler

Commit Description
feat - a4ab6d6b72 add support for safe calls in templates (#44580)
fix - b8ed03b5ad correct spans when parsing bindings with comments (#44678)

compiler-cli

Commit Description
feat - 73424def13 provide the animations for DirectiveMeta (#44630)
fix - 1a9121826e enable narrowing of using type guard methods (#44447)
fix - f8af49eb75 fix crash during type-checking of library builds (#44587)
fix - f83fb3a5f9 handle property reads of ThisReceiver in the indexer (#44678)
fix - eeaabe7fbf incorrectly interpreting $any calls with a property read (#44657)
fix - 92b23f4851 properly index elements (#44678)

forms

Commit Description
feat - 5ae1030462 Add an unused symbol AnyForUntypedForms. (#44467)
fix - f7aa937cac Make some minor fixups for forward-compatibility with typed forms. (#44540)

language-service

Commit Description
feat - af2a1317cb support completions for animation (#44630)
fix - 756761d534 revert the test files for Ivy (#44528)

router

Commit Description
feat - 5a4ddfd4f5 Allow symbol keys for Route data and resolve properties (#44519)

Special Thanks

Abdurrahman Abu-Hijleh, Adam Plumer, Alex Rickabaugh, AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Borja Paz Rodríguez, Chihab Otmani, Chris Mancini, Dario Piotrowicz, Doug Parker, Dylan Hunn, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, Kyoz, Patrick Prakash, Paul Gschwendtner, Serhey Dolgushev, Yousaf Nawaz, Yuchao Wu, alkavats1, dario-piotrowicz, huangqing, ivanwonder, shejialuo, twerske, wszgrcy and zuckjet

13.1.2 (2022-01-12)

animations

Commit Description
fix - abc217b28e retain triggers values for moved tracked list items (#44578)

compiler

Commit Description
fix - 59eef29a6c correct spans when parsing bindings with comments (#44678)

compiler-cli

Commit Description
fix - 08049fa23f enable narrowing of using type guard methods (#44447)
fix - a26afce68c fix crash during type-checking of library builds (#44587)
fix - 1e918b6f31 handle property reads of ThisReceiver in the indexer (#44678)
fix - 63c8e56a3a incorrectly interpreting $any calls with a property read (#44657)
fix - 60fb27f12d properly index elements (#44678)

language-service

Commit Description
fix - f5addee488 revert the test files for Ivy (#44528)

Special Thanks

Abdurrahman Abu-Hijleh, Adam Plumer, Alex Rickabaugh, AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Borja Paz Rodríguez, Chihab Otmani, Chris Mancini, Dario Piotrowicz, Doug Parker, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, Kyoz, Patrick Prakash, Paul Gschwendtner, Serhey Dolgushev, Yousaf Nawaz, Yuchao Wu, alkavats1, dario-piotrowicz, huangqing, ivanwonder, shejialuo, twerske, wszgrcy and zuckjet

13.2.0-next.1 (2021-12-15)

animations

Commit Description
fix - 38ddae1c2e don't consume instructions for animateChild (#44357)
fix - bab7ed3541 should not invoke disabled child animations (#37724)

core

Commit Description
feat - 9921b2ca35 Add a migration for typed forms. (#44449)

forms

Commit Description
feat - 72092ebd26 Allow a FormControl to use initial value as default. (#44434)
fix - 6a0dadf46f _reduceValue arrow function now has correct types. (#44483)
fix - 815d4ceeef I indroduced a minor error in a previous PR: pendingValue is a value not a boolean flag. (#44450)

Special Thanks

Alex Rickabaugh, Aristeidis Bampakos, Dylan Hunn, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Spej, Yousaf Nawaz, dario-piotrowicz, faso-dev, jaybell and zuckjet

13.1.1 (2021-12-15)

animations

Commit Description
fix - bb1d4ff315 don't consume instructions for animateChild (#44357)
fix - d8b6adb7bc should not invoke disabled child animations (#37724)

forms

Commit Description
fix - bce108ab49 _reduceValue arrow function now has correct types. (#44483)
fix - 998c1e63fe I indroduced a minor error in a previous PR: pendingValue is a value not a boolean flag. (#44450)

Special Thanks

Aristeidis Bampakos, Dylan Hunn, George Kalpakas, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Spej, Yousaf Nawaz, dario-piotrowicz, faso-dev, jaybell and zuckjet

13.2.0-next.0 (2021-12-09)

Special Thanks

Alex Rickabaugh

13.1.0 (2021-12-09)

Deprecations

  • The downgradeModule function calls with NgModule factories are deprecated. Please use NgModule class based downgradeModule calls instead.

common

  • TestRequest from @angular/common/http/testing no longer
    accepts ErrorEvent when simulating XHR errors. Instead instances of
    ProgressEvent should be passed, matching with the native browser behavior.

Commit Description
docs - dbc46d68b9 deprecate factory-based signature of the downgradeModule function (#44090)

common

Commit Description
fix - 489cf42cd0 incorrect error type for XHR errors in TestRequest (#36082)
perf - 13362972bb code size reduction of ngFor directive (#44315)

compiler

Commit Description
feat - c85bcb0c63 reference ICU message IDs from their placeholders (#43534)

core

Commit Description
feat - 5dff077d50 add migration to remove entryComponents (#44308)
feat - e65a245a0b add migration to remove entryComponents (#44322)
feat - d56e3f43a1 support TypeScript 4.5 (#44164)

http

Commit Description
feat - d452b388bd add has() method to HttpContext class (#43887)

localize

Commit Description
feat - d3cf222a81 support "associated message ids" for placeholders (#43534)

ngcc

Commit Description
fix - 41265919aa correctly resolve UMD dependencies (#44381)

upgrade

Commit Description
feat - 34f990986c support NgModule class as an argument of the downgradeModule function (#43973)

Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Doug Parker, Dustin M. Eastway, Dylan Hunn, George Kalpakas, HyperLife1119, Jelle Bruisten, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Markus Doggweiler, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin and dario-piotrowicz

13.1.0-next.3 (2021-12-01)

Deprecations

  • The downgradeModule function calls with NgModule factories are deprecated. Please use NgModule class based downgradeModule calls instead.

common

  • TestRequest from @angular/common/http/testing no longer
    accepts ErrorEvent when simulating XHR errors. Instead instances of
    ProgressEvent should be passed, matching with the native browser behavior.

Commit Description
docs - dbc46d68b9 deprecate factory-based signature of the downgradeModule function (#44090)

common

Commit Description
fix - 489cf42cd0 incorrect error type for XHR errors in TestRequest (#36082)

compiler-cli

Commit Description
fix - 6c1573bc08 downlevel transform incorrectly extracting constructor parameters for nested classes (#44281)
fix - 48ca7dce4f interpret string concat calls (#44167)

core

Commit Description
feat - 5dff077d50 add migration to remove entryComponents (#44308)
feat - e65a245a0b add migration to remove entryComponents (#44322)
feat - d56e3f43a1 support TypeScript 4.5 (#44164)
fix - b06e3981bc add missing info about a component in the "pipe could not be found" error message (#44081)
fix - 43dfab447d destroy hooks not set up for useClass provider using forwardRef (#44281)
fix - b930547ffd support cyclic metadata in TestBed overrides (#44215)

forms

Commit Description
fix - 38c02e13a5 make the FormControlStatus available as a public API (#44183)

language-service

Commit Description
fix - 3aafa765ee Correctly parse inputs and selectors with dollar signs (#44268)

ngcc

Commit Description
fix - de0975c6d9 correctly report error when collecting dependencies of UMD module (#44245)
fix - 24b635395f ensure that ngcc does not write a lock-file into node_modules package directories (#44228)
fix - 3c8a5d1c70 support the UMD wrapper function format emitted by Webpack (#44245)

router

Commit Description
fix - f44cb57c12 prevent componentless routes from being detached (#44240)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Artur, Christian-E, David Shevitz, Doug Parker, Douglas Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Marc Redemske, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin, Ramesh Thiruchelvam, Ravi Chandra, Rohan Pednekar, Ruslan Usmanov, dario-piotrowicz, profanis and unknown

13.0.3 (2021-12-01)

compiler-cli

Commit Description
fix - 6cdbfdbe6e downlevel transform incorrectly extracting constructor parameters for nested classes (#44281)
fix - 305b76b45f interpret string concat calls (#44167)

core

Commit Description
fix - 0ca5c5bd09 add missing info about a component in the "pipe could not be found" error message (#44081)
fix - 907da3977a destroy hooks not set up for useClass provider using forwardRef (#44281)
fix - bcd3b4959b support cyclic metadata in TestBed overrides (#44215)

forms

Commit Description
fix - 96fedd249e make the FormControlStatus available as a public API (#44183)

language-service

Commit Description
fix - cabc1786de Correctly parse inputs and selectors with dollar signs (#44268)

ngcc

Commit Description
fix - b68994d20a correctly report error when collecting dependencies of UMD module (#44245)
fix - 6f5c0c1515 ensure that ngcc does not write a lock-file into node_modules package directories (#44228)
fix - bf5f734e9c support the UMD wrapper function format emitted by Webpack (#44245)

router

Commit Description
fix - d265d0d241 prevent componentless routes from being detached (#44240)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Artur, Christian-E, David Shevitz, Doug Parker, Douglas Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Marc Redemske, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin, Ramesh Thiruchelvam, Ravi Chandra, Rohan Pednekar, Ruslan Usmanov, dario-piotrowicz, profanis and unknown

13.1.0-next.2 (2021-11-17)

Special Thanks

Andrew Kushnir, Armen Vardanyan, Dylan Hunn, Joey Perrott, Martin von Gagern, Paul Gschwendtner, Pete Bacon Darwin, Ramesh Thiruchelvam, dario-piotrowicz and fusho-takahashi

13.0.2 (2021-11-17)

Special Thanks

Andrew Kushnir, Armen Vardanyan, Dylan Hunn, Joey Perrott, Martin von Gagern, Paul Gschwendtner, Pete Bacon Darwin, Ramesh Thiruchelvam, dario-piotrowicz and fusho-takahashi

13.1.0-next.1 (2021-11-10)

compiler

Commit Description
fix - 393efa54e6 ensure that partially compiled queries can handle forward references (#44113)
fix - b249e24979 generate correct code for safe method calls (#44088)

compiler-cli

Commit Description
fix - 2a2744721b ensure literal types are retained when strictNullInputTypes is disabled (#38305)
fix - 247c18dee0 handle pre-release versions when checking version (#44109)

core

Commit Description
fix - 4f8eaac7ff do not use Function constructors in development mode to avoid CSP violations (#43587)

http

Commit Description
feat - d452b388bd add has() method to HttpContext class (#43887)

platform-browser

Commit Description
fix - 236bdff831 use correct parent in animation removeChild callback (#44033)

upgrade

Commit Description
feat - 34f990986c support NgModule class as an argument of the downgradeModule function (#43973)

Special Thanks

A. Singh, Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Dustin M. Eastway, George Kalpakas, HyperLife1119, Jelle Bruisten, Joe Martin (Crowdstaffing), Joel Lefkowitz, Joey Perrott, JoostK, Kristiyan Kostadinov, Michael Urban, Paul Gschwendtner, Pavan Kumar Jadda, Pei Wang, Pete Bacon Darwin, Roman Frołow, dario-piotrowicz, iRealNirmal, ileil, kreuzerk, mgechev, profanis and raman

13.0.1 (2021-11-10)

compiler

Commit Description
fix - ee2031d9f4 ensure that partially compiled queries can handle forward references (#44113)
fix - e5a960b159 generate correct code for safe method calls (#44088)

compiler-cli

Commit Description
fix - dede29e4f3 ensure literal types are retained when strictNullInputTypes is disabled (#38305)
fix - 04df3a0b92 handle pre-release versions when checking version (#44109)

core

Commit Description
fix - 4c700b6244 do not use Function constructors in development mode to avoid CSP violations (#43587)

platform-browser

Commit Description
fix - 30a27adf9a use correct parent in animation removeChild callback (#44033)

Special Thanks

A. Singh, Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, George Kalpakas, Joe Martin (Crowdstaffing), Joel Lefkowitz, Joey Perrott, JoostK, Kristiyan Kostadinov, Michael Urban, Paul Gschwendtner, Pavan Kumar Jadda, Pei Wang, Pete Bacon Darwin, Roman Frołow, dario-piotrowicz, iRealNirmal, ileil, kreuzerk, mgechev, profanis and raman

13.1.0-next.0 (2021-11-03)

compiler

Commit Description
feat - c85bcb0c63 reference ICU message IDs from their placeholders (#43534)

localize

Commit Description
feat - d3cf222a81 support "associated message ids" for placeholders (#43534)

Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Doug Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, Joey Perrott, Paul Gschwendtner and Pete Bacon Darwin

13.0.0 (2021-11-03)

Breaking Changes

common

  • The behavior of the SpyLocation used by the RouterTestingModule has changed
    to match the behavior of browsers. It no longer emits a 'popstate' event
    when Location.go is called. In addition, simulateHashChange now
    triggers both a hashchange and a popstate event.
    Tests which use location.go and expect the changes to be picked up by
    the Router should likely change to simulateHashChange instead.
    Each test is different in what it attempts to assert so there is no
    single change that works for all tests. Each test using the SpyLocation to
    simulate browser URL changes should be evaluated on a case-by-case basis.

core

  • TypeScript versions older than 4.4.2 are no longer supported.

  • NodeJS versions older than v12.20.0 are no longer
    supported due to the Angular packages using the NodeJS package exports
    feature with subpath patterns.

  • The WrappedValue class can no longer be imported from @angular/core,
    which may result in compile errors or failures at runtime if outdated
    libraries are used that are still using WrappedValue. The usage of
    WrappedValue should be removed as no replacement is available.

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 characers in
    query data. This change will now correctly parse the params for the
    above example to be {v: 'hello?', other: '123'}.

  • Previously null and undefined inputs for routerLink were
    equaivalent to empty string and there was no way to disable the link's
    navigation.
    In addition, the href is changed from a property HostBinding() to an
    attribute binding (HostBinding('attr.href')). The effect of this
    change is that DebugElement.properties['href'] will now return the
    href value returned by the native element which will be the full URL
    rather than the internal value of the RouterLink href property.

  • The router will no longer replace the browser URL when a new navigation
    cancels an ongoing navigation. This often causes URL flicker and was
    only in place to support some AngularJS hybrid applications. Hybrid
    applications which rely on the navigationId being present on initial
    navigations that were handled by the Angular router should instead
    subscribe to NavigationCancel events and perform the
    location.replaceState themselves to add navigationId to the Router
    state.
    In addition, tests which assert urlChanges on the SpyLocation may
    need to be adjusted to account for the replaceState which is no longer
    triggered.

  • It is no longer possible to use Route.loadChildren using a string
    value. The following supporting classes were removed from
    @angular/core:

  • NgModuleFactoryLoader

  • SystemJsNgModuleFactoryLoader

The @angular/router package no longer exports these symbols:

  • SpyNgModuleFactoryLoader
  • DeprecatedLoadChildren

The signature of the setupTestingRouter function from
@angular/core/testing has been changed to drop its NgModuleFactoryLoader
parameter, as an argument for that parameter can no longer be created.

service-worker

  • The return type of SwUpdate#activateUpdate and SwUpdate#checkForUpdate changed to Promise<boolean>.

Although unlikely, it is possible that this change will cause TypeScript type-checking to fail in
some cases. If necessary, update your types to account for the new
return type.

Deprecations

  • The renderModuleFactory symbol in @angular/platform-server is no longer necessary as of Angular v13.

The renderModuleFactory calls can be replaced with renderModule.

service-worker

  • The SwUpdate#activated observable is deprecated.

The SwUpdate#activated observable only emits values as a direct response to calling
SwUpdate#activateUpdate() and was only useful for determining whether the call resulted in an
update or not. Now, the return value of SwUpdate#activateUpdate() can be used to determine the
outcome of the operation and therefore using SwUpdate#activated does not offer any benefit.

  • The SwUpdate#availalbe observable is deprecated.

The new SwUpdate#versionUpdates observable provides the same information and more. Therefore, it
is possible to rebuild the same behavior as SwUpdate#availalbe using the events emitted by
SwUpdate#versionUpdates and filtering for VersionReadyEvent events.
As a result, the SwUpdate#availalbe observable is now redundant.

Commit Description
docs - 747553dd68 deprecate ViewEngine-based renderModuleFactory (#43757)

bazel

Commit Description
feat - 62d7005a52 add strict_templates and experimental_extended_template_diagnostics to ng_module() rule (#43582)
feat - d977701a43 allow for custom conditions to be set in ng_package targets (#43764)
feat - 4886585875 create transition for enabling partial compilation (#43431)
feat - cd1b52483e expose esm2020 and es2020 conditions in APF package exports (#43740)
feat - 49b82ae561 implement partial compilation APF v13 for ng_package rule (#43431)
feat - 274cb38e0b switch prodmode output to ES2020 (#43431)
feat - 73ac50c447 wire up partial compilation build setting in ng_module (#43431)
fix - e0a72857cc construct a manifest file even when warnings are emitted (#43582)
fix - dbe656d1e0 ngc-wrapped should not rely on linker for external workspaces (#43690)

common

Commit Description
feat - adf4481211 add injection token for default date pipe timezone (#43611)
fix - c6a93001eb synchronise location mock behavior with the navigators (#41730)

compiler

Commit Description
fix - 14b492df26 do not error if $any is used inside a listener (#43866)

compiler-cli

Commit Description
feat - bed121c34f inline resources when generating class metadata calls (#43178)
fix - 263feba5c2 handle nullable expressions correctly in the nullish coalescing extended template diagnostic (#43572)
fix - 8f7fdc59af not evaluating new signature for __spreadArray (#43618)
fix - 426a3ecae7 updates ngc to pass the build when only warnings are emitted (#43673)

core

Commit Description
feat - a3960846da add createNgModuleRef function to create NgModuleRef based on NgModule class (#43580)
feat - fe1f6421d2 add getNgModuleById function to retrieve loaded NgModules by id (#43580)
feat - 81c7eb813c add migration to opt out existing apps from new test module teardown behavior (#43353)
feat - e57691c9c5 Add migration to update empty routerLinks in templates (#43176)
feat - 7dccbdd27b add support for Types in ViewContainerRef.createComponent (#43022)
feat - c14085e434 drop support for TypeScript 4.2 and 4.3 (#43642)
feat - 94ba59bc9d enable test module teardown by default (#43353)
feat - ea61ec2562 support TypeScript 4.4 (#43281)
feat - e0a0d05d45 update node version support range to support v16 (#43740)
fix - 7396021e4b avoid duplicating comments in TestBed teardown migration (#43776)
fix - 7fd0428aae don't rethrow errors if test teardown has been disabled (#43635)
fix - 66fb311d20 incorrect signature for initTestEnvironment (#43615)
fix - 8ae99821d6 support InjectFlags argument in NodeInjector.get() (#41592)
perf - 8878183521 remove support for the deprecated WrappedValue (#43507)

elements

Commit Description
fix - a468213f34 remove ng-add schematic (#43975)
fix - f544a53f5f remove incorrect @angular/platform-browser peer dependency (#43975)

forms

Commit Description
feat - d9d8f950e9 allow disabling min/max validators dynamically (by setting the value to null) (#42978)
feat - e49fc96ed3 Make Form Statuses use stricter types. (#42952)

language-service

Commit Description
feat - b10d90bef6 Add method for retrieving the component template at the cursor location (#43208)
feat - d5f9890c92 auto-apply optional chaining on nullable symbol (#42995)
feat - 69957f72e2 provide snippets for attribute (#43590)
fix - fc3b50e427 exclude the SafePropertyRead when applying the optional chaining (#43321)

migrations

Commit Description
fix - 95a68c5dc3 account for CRLF characters in template migrations (#44013)
fix - 77bd2538cb apply individual expression edits to preserve newline characters (#43519)
fix - d849350c7b Ensure routerLink migration doesn't update unrelated files (#43519)
fix - 2efc18e675 migration failed finding tsconfig file (#43343)
fix - b6f2a55147 prevent migrations from updating external templates multiple times (#44013)

router

Commit Description
feat - 4f3beffdbf emit activate/deactivate events when an outlet gets attached/detached (#43333)
feat - faf9f5a3bc new output that would notify when link is activated (#43280)
feat - 3c6b653089 Option to correctly restore history on failed navigation (#43289)
fix - 784671597e Allow question marks in query param values (#31187)
fix - 796da641f0 Do not modify parts of URL excluded from with 'eager' updates (#43421)
fix - 772e08d14e fix Router's public API for canceledNavigationResolution (#43842)
fix - ccb09b4558 null/undefined routerLink should disable navigation (#43087)
fix - 9e039ca68b Only trigger router navigation on popstate events from Location subscription (#43328)
fix - c5d0bd4966 Prevent URL flicker when new navigations cancel ongoing ones (#43496)
fix - adc68b100b reuse route strategy fix (#43791)
refactor - 361273fad5 remove support for loadChildren string syntax (#43591)

service-worker

Commit Description
feat - 59225f5586 SwUpdate#activeUpdate and SwUpdate#checkForUpdate should have a meaningful outcome (#43668)
feat - 0dc45446fe expose more version update events (#43668)

Special Thanks

Ahmed Ayed, Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bjarki, Charles Lyding, Dmitrij Kuba, Doug Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, Jochen Kraushaar, Joe Martin (Crowdstaffing), Joey Perrott, Jon Rimmer, JoostK, Kristiyan Kostadinov, Maximilian Köller, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin, Tomasz Domański, Willy Schott, anandtiwary, dario-piotrowicz, iRealNirmal, ivanwonder, krzysztof-grzybek, mgechev and vthinkxie

13.0.0-rc.3 (2021-11-01)

core

Commit Description
fix - 8ae99821d6 support InjectFlags argument in NodeInjector.get() (#41592)

elements

Commit Description
fix - a468213f34 remove ng-add schematic (#43975)
fix - f544a53f5f remove incorrect @angular/platform-browser peer dependency (#43975)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, George Kalpakas, Jessica Janiuk, Jochen Kraushaar, Joe Martin (Crowdstaffing), Pete Bacon Darwin, mgechev and vthinkxie

13.0.0-rc.2 (2021-10-27)

compiler-cli

Commit Description
fix - 8e13c351ac avoid broken references in .d.ts files due to @internal markers (#43527)

ngcc

Commit Description
fix - 7c5d642106 support alternate UMD layout when adding new imports (#43931)

router

Commit Description
fix - adc68b100b reuse route strategy fix (#43791)

Special Thanks

Alan Agius, Andrew Kushnir, Doug Parker, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Mladen Jakovljević, Tomasz Domański, Virginia Dooley, Willy Schott, amayer42, dirk diebel, ericcheng2005, iRealNirmal and krzysztof-grzybek

13.0.0-rc.1 (2021-10-20)

compiler

Commit Description
fix - 14b492df26 do not error if $any is used inside a listener (#43866)
fix - 8c91e33d5d support i18n interpolated only attribute bindings (#43815)

compiler-cli

Commit Description
fix - 426a3ecae7 updates ngc to pass the build when only warnings are emitted (#43673)

ngcc

Commit Description
fix - c882b9fa8b support alternate wrapper function layout for UMD (#43879)

router

Commit Description
fix - dc6909ad3e Do not clear currentNavigation if already set to next one (#43852)
fix - 772e08d14e fix Router's public API for canceledNavigationResolution (#43842)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, David Shevitz, Doug Parker, George Kalpakas, Joe Martin (Crowdstaffing), Joey Perrott, JoostK, Kristiyan Kostadinov, Natalia Venditto, Paul Gschwendtner, Pete Bacon Darwin, Younes Jaaidi and dario-piotrowicz

13.0.0-rc.0 (2021-10-13)

Deprecations

  • The renderModuleFactory symbol in @angular/platform-server is no longer necessary as of Angular v13.

The renderModuleFactory calls can be replaced with renderModule.

Commit Description
docs - 747553dd68 deprecate ViewEngine-based renderModuleFactory (#43757)

core

Commit Description
fix - 7396021e4b avoid duplicating comments in TestBed teardown migration (#43776)

Special Thanks

Alan Agius, Andrew Scott, Daniel Díaz, David Shevitz, Doug Parker, George Kalpakas, Joe Martin (Crowdstaffing), Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Tanguy Nodet, Thomas Turrell-Croft, dario-piotrowicz, hchiam, markostanimirovic and mgechev

13.0.0-next.15 (2021-10-07)

bazel

Commit Description
feat - d977701a43 allow for custom conditions to be set in ng_package targets (#43764)

Special Thanks

Dylan Hunn and Paul Gschwendtner

13.0.0-next.14 (2021-10-06)

common

Commit Description
feat - adf4481211a add injection token for default date pipe timezone (#43611)

Special Thanks

Alex Rickabaugh, Dylan Hunn, Kristiyan Kostadinov and Pete Bacon Darwin

13.0.0-next.13 (2021-10-06)

Breaking Changes

core

  • NodeJS versions older than v12.20.0 are no longer
    supported due to the Angular packages using the NodeJS package exports
    feature with subpath patterns.

bazel

Commit Description
feat - cd1b52483e expose esm2020 and es2020 conditions in APF package exports (#43740)

core

Commit Description
feat - e0a0d05d45 update node version support range to support v16 (#43740)

Special Thanks

Alan Agius, Andrew Kushnir, George Kalpakas, Kristiyan Kostadinov, Paul Gschwendtner, Pete Bacon Darwin and dario-piotrowicz

13.0.0-next.12 (2021-10-05)

Breaking Changes

core

  • TypeScript versions older than 4.4.2 are no longer supported.

service-worker

  • The return type of SwUpdate#activateUpdate and SwUpdate#checkForUpdate changed to Promise<boolean>.

Although unlikely, it is possible that this change will cause TypeScript type-checking to fail in
some cases. If necessary, update your types to account for the new
return type.

Deprecations

service-worker

  • The SwUpdate#activated observable is deprecated.

The SwUpdate#activated observable only emits values as a direct response to calling
SwUpdate#activateUpdate() and was only useful for determining whether the call resulted in an
update or not. Now, the return value of SwUpdate#activateUpdate() can be used to determine the
outcome of the operation and therefore using SwUpdate#activated does not offer any benefit.

  • The SwUpdate#availalbe observable is deprecated.

The new SwUpdate#versionUpdates observable provides the same information and more. Therefore, it
is possible to rebuild the same behavior as SwUpdate#availalbe using the events emitted by
SwUpdate#versionUpdates and filtering for VersionReadyEvent events.
As a result, the SwUpdate#availalbe observable is now redundant.

bazel

Commit Description
fix - dbe656d1e0 ngc-wrapped should not rely on linker for external workspaces (#43690)

compiler-cli

Commit Description
fix - 263feba5c2 handle nullable expressions correctly in the nullish coalescing extended template diagnostic (#43572)

core

Commit Description
feat - c14085e434 drop support for TypeScript 4.2 and 4.3 (#43642)
fix - 7fd0428aae don't rethrow errors if test teardown has been disabled (#43635)

language-service

Commit Description
feat - 69957f72e2 provide snippets for attribute (#43590)

router

Commit Description
fix - 2ab2a080b6 unset attachRef when router-outlet is destroyed to avoid mounting a destroyed component (#43697)

service-worker

Commit Description
feat - 59225f5586 SwUpdate#activeUpdate and SwUpdate#checkForUpdate should have a meaningful outcome (#43668)
feat - 0dc45446fe expose more version update events (#43668)
fix - fddb50b597 make ngsw.json generation deterministic and correct (#43679)

Special Thanks

Alan Agius, Andrew Scott, Doug Parker, George Kalpakas, Kristiyan Kostadinov, Maximilian Köller, Paul Gschwendtner, Wey-Han Liaw and ivanwonder

13.0.0-next.11 (2021-10-04)

core

Commit Description
feat - a3960846da add createNgModuleRef function to create NgModuleRef based on NgModule class (#43580)
feat - fe1f6421d2 add getNgModuleById function to retrieve loaded NgModules by id (#43580)
feat - 81c7eb813c add migration to opt out existing apps from new test module teardown behavior (#43353)
feat - 94ba59bc9d enable test module teardown by default (#43353)

Special Thanks

Andrew Kushnir, Andrew Scott, Charles Lyding, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, dario-piotrowicz, iRealNirmal, mgechev and ultrasonicsoft

13.0.0-next.10 (2021-10-01)

Breaking Changes

core

  • The WrappedValue class can no longer be imported from @angular/core,
    which may result in compile errors or failures at runtime if outdated
    libraries are used that are still using WrappedValue. The usage of
    WrappedValue should be removed as no replacement is available.

bazel

Commit Description
feat - 4886585875 create transition for enabling partial compilation (#43431)
feat - 49b82ae561 implement partial compilation APF v13 for ng_package rule (#43431)
feat - 274cb38e0b switch prodmode output to ES2020 (#43431)
feat - 73ac50c447 wire up partial compilation build setting in ng_module (#43431)

core

Commit Description
fix - ad6407dcd0 handle invalid constructor parameters in partial factory declarations (#43619)
perf - 8878183521 remove support for the deprecated WrappedValue (#43507)

Special Thanks

Daniel Díaz, George Kalpakas, JoostK, Paul Gschwendtner, Pete Bacon Darwin, dario-piotrowicz, little-pinecone and xiaohanxu-nick

13.0.0-next.9 (2021-09-30)

Breaking Changes

router

  • It is no longer possible to use Route.loadChildren using a string
    value. The following supporting classes were removed from
    @angular/core:

  • NgModuleFactoryLoader

  • SystemJsNgModuleFactoryLoader

The @angular/router package no longer exports these symbols:

  • SpyNgModuleFactoryLoader
  • DeprecatedLoadChildren

The signature of the setupTestingRouter function from
@angular/core/testing has been changed to drop its NgModuleFactoryLoader
parameter, as an argument for that parameter can no longer be created.

bazel

Commit Description
feat - 62d7005a52 add strict_templates and experimental_extended_template_diagnostics to ng_module() rule (#43582)
fix - e0a72857cc construct a manifest file even when warnings are emitted (#43582)

compiler-cli

Commit Description
fix - 8d2b6affcd correctly interpret token arrays in @Injectable deps (#43226)
fix - 8f7fdc59af not evaluating new signature for __spreadArray (#43618)

core

Commit Description
feat - 7dccbdd27b add support for Types in ViewContainerRef.createComponent (#43022)
fix - 66fb311d20 incorrect signature for initTestEnvironment (#43615)

language-service

Commit Description
fix - 3e37e8979d provide dom event completions (#43299)

ngcc

Commit Description
fix - 988cca7ef5 do not fail for packages which correspond with Object members (#43589)

router

Commit Description
feat - 4f3beffdbf emit activate/deactivate events when an outlet gets attached/detached (#43333)
refactor - 361273fad5 remove support for loadChildren string syntax (#43591)

Special Thanks

Adrien Crivelli, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bobby Galli, Charles Lyding, Chris, Daniel Díaz, Dmitrij Kuba, Doug Parker, JoostK, Kristiyan Kostadinov, Pete Bacon Darwin, Rafael Santana, Raj Sekhar, Ricardo Chavarria, Teri Glover, dario-piotrowicz, enisfr and wszgrcy

13.0.0-next.8 (2021-09-27)

core

Commit Description
feat - ea61ec2562 support TypeScript 4.4 (#43281)

forms

Commit Description
feat - d9d8f950e9 allow disabling min/max validators dynamically (by setting the value to null) (#42978)

service-worker

Commit Description
fix - e131540f71 do not unassign clients from a broken version (#43518)

Special Thanks

Alan Agius, Daniel Díaz, Dario Piotrowicz, George Kalpakas, Joe Martin (Crowdstaffing), Kristiyan Kostadinov, Teri Glover, Virginia Dooley and iRealNirmal

13.0.0-next.7 (2021-09-22)

Breaking Changes

router

  • The router will no longer replace the browser URL when a new navigation
    cancels an ongoing navigation. This often causes URL flicker and was
    only in place to support some AngularJS hybrid applications. Hybrid
    applications which rely on the navigationId being present on initial
    navigations that were handled by the Angular router should instead
    subscribe to NavigationCancel events and perform the
    location.replaceState themselves to add navigationId to the Router
    state.
    In addition, tests which assert urlChanges on the SpyLocation may
    need to be adjusted to account for the replaceState which is no longer
    triggered.

common

Commit Description
fix - df792ebc26 titlecase pipe incorrectly handling numbers (#43476)

compiler

Commit Description
fix - feba4d2719 include leading whitespace in source-spans of i18n messages (#43132)

compiler-cli

Commit Description
fix - 9470f56ad3 handle directives that refer to a namespaced class in a type parameter bound (#43511)

migrations

Commit Description
fix - 77bd2538cb apply individual expression edits to preserve newline characters (#43519)
fix - d849350c7b Ensure routerLink migration doesn't update unrelated files (#43519)

platform-browser

Commit Description
fix - 35725f5550 improve error message for missing animation trigger (#41356)

router

Commit Description
fix - c5d0bd4966 Prevent URL flicker when new navigations cancel ongoing ones (#43496)

Special Thanks

Andrew Scott, Daniel Díaz, George Kalpakas, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Mwiku, Pei Wang, Pete Bacon Darwin, Teri Glover, Virginia Dooley, Xiaohanxu1996, dario-piotrowicz and kirjs

13.0.0-next.6 (2021-09-15)

animations

Commit Description
fix - 6c84c5f513 emit pure annotations to static property initializers (#43344)

core

Commit Description
fix - c80278ac4a emit pure annotations to static property initializers (#43344)

router

Commit Description
fix - 0e8548f667 Allow renavigating to failed URLs (#43424)
fix - 796da641f0 Do not modify parts of URL excluded from with 'eager' updates (#43421)
fix - 9e039ca68b Only trigger router navigation on popstate events from Location subscription (#43328)

service-worker

Commit Description
fix - 59353c6305 clear service worker cache in safety worker (#43324)

Special Thanks

Alan Agius, Amadou Sall, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bjarki, Charles Lyding, David Shevitz, George Kalpakas, Joe Martin (Crowdstaffing), Michele Stieven, Naveed Ahmed, Pei Wang, dario-piotrowicz, mezhik91 and mgechev

13.0.0-next.5 (2021-09-08)

Breaking Changes

common

  • The behavior of the SpyLocation used by the RouterTestingModule has changed
    to match the behavior of browsers. It no longer emits a 'popstate' event
    when Location.go is called. In addition, simulateHashChange now
    triggers both a hashchange and a popstate event.
    Tests which use location.go and expect the changes to be picked up by
    the Router should likely change to simulateHashChange instead.
    Each test is different in what it attempts to assert so there is no
    single change that works for all tests. Each test using the SpyLocation to
    simulate browser URL changes should be evaluated on a case-by-case basis.

common

Commit Description
fix - c6a93001eb synchronise location mock behavior with the navigators (#41730)

language-service

Commit Description
fix - fc3b50e427 exclude the SafePropertyRead when applying the optional chaining (#43321)

migrations

Commit Description
fix - 2efc18e675 migration failed finding tsconfig file (#43343)

router

Commit Description
feat - 3c6b653089 Option to correctly restore history on failed navigation (#43289)
fix - 95f3aecc29 add more context to Unhandled Navigation Error (#43291)

Special Thanks

Ahmed Ayed, Alan Agius, Andrew Scott, Charles Barnes, Enea Jahollari, George Kalpakas, Ikko Ashimine, Paul Gschwendtner, Pete Bacon Darwin, William Sedlacek, dario-piotrowicz and ivanwonder

13.0.0-next.4 (2021-09-01)

compiler-cli

Commit Description
fix - 4341a5f4cb Emit type annotations for synthesized decorator fields (#43021)

router

Commit Description
feat - faf9f5a3bc new output that would notify when link is activated (#43280)

Special Thanks:

Alan Agius, Andrew Scott, Daniel Trevino, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, anandtiwary, nickreid and segunb

13.0.0-next.3 (2021-08-25)

Breaking Changes

router

  • Previously null and undefined inputs for routerLink were
    equaivalent to empty string and there was no way to disable the link's
    navigation.
    In addition, the href is changed from a property HostBinding() to an
    attribute binding (HostBinding('attr.href')). The effect of this
    change is that DebugElement.properties['href'] will now return the
    href value returned by the native element which will be the full URL
    rather than the internal value of the RouterLink href property.

compiler-cli

Commit Description
feat - bed121c34f inline resources when generating class metadata calls (#43178)

core

Commit Description
feat - e57691c9c5 Add migration to update empty routerLinks in templates (#43176)

language-service

Commit Description
feat - b10d90bef6 Add method for retrieving the component template at the cursor location (#43208)

router

Commit Description
fix - ccb09b4558 null/undefined routerLink should disable navigation (#43087)

service-worker

Commit Description
fix - 6e924313c3 NPE if onActionClick is undefined (#43210)

Special Thanks:

Alex Rickabaugh, Andrew Scott, Daniel Trevino, George Kalpakas, Paul Gschwendtner, dario-piotrowicz and shlasouski

13.0.0-next.2 (2021-08-18)

animations

Commit Description
fix - 3cb1f18f97 add pure annotations to static property initializers (#43064)

core

Commit Description
fix - 27a89a9298 add pure annotations to static property initializers (#43064)

language-service

Commit Description
feat - d5f9890c92 auto-apply optional chaining on nullable symbol (#42995)

platform-browser

Commit Description
perf - 7e71370fe6 avoid intermediate arrays in server transition (#43145)

router

Commit Description
fix - 286b2807de eagerly update internal state on browser-triggered navigations (#43102)

Special Thanks:

Alan Agius, Andrew Scott, Aristeidis Bampakos, Charles Lyding, Dylan Hunn, Edoardo Dusi, Erik Slack, George Kalpakas, Joe Martin (Crowdstaffing), Joey Perrott, Kirk Larkin, Kristiyan Kostadinov, Paul Gschwendtner, Pete Bacon Darwin, TIffany Davis, Theoklitos Bampouris, ali, dario-piotrowicz, ivanwonder and pichuser

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

13.0.0-next.0 (2021-08-04)

compiler

Commit Description
f08516db09 fix(compiler): include leading whitespace in source-spans of i18n messages (#42062)

compiler-cli

Commit Description
ed9cfb674f fix(compiler-cli): use correct module resolution context for absolute imports in .d.ts files (#42879)
5fb23eccea perf(compiler-cli): skip analysis in incremental builds for files without Angular behavior (#42562)

core

Commit Description
8628826535 fix(core): incorrect error reported when trying to re-create view which had an error during creation (#43005)
eefe1682e8 fix(core): correctly handle null or undefined in ErrorHandler#handleError() (#42881)

forms

Commit Description
1d9d02696e feat(forms): add hasValidators, addValidators, and removeValidators methods (for both sync and async) (#42838)
a502279592 feat(forms): allow minLength/maxLength validator to be bound to null (#42565)

language-service

Commit Description
f0c5ba08f6 fix(language-service): global autocomplete doesn't work when the user tries to modify the symbol (#42923)
7c35ca0e00 feat(language-service): support autocomplete string literal union types in templates (#42729)

router

Commit Description
0d81b007e4 fix(router): add missing outlet events to RouterOutletContract (#42431)
dbae00195e feat(router): ability to provide custom route reuse strategy via DI for RouterTestingModule (#42434)

Special Thanks:

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Daniel Trevino, Dmitrij Kuba, Dylan Hunn, George Kalpakas, Joe Martin, Joey Perrott, JoostK, Kristiyan Kostadinov, Nichola Alkhouri, Paul Gschwendtner, Pete Bacon Darwin, Renovate Bot, Steven Masala, Teri Glover, Vladyslav, Yuvaraj, atscott, codebriefcase, dario-piotrowicz, iRealNirmal and ivanwonder