12.2.0-next.1 (2021-06-30)
compiler
Commit |
Description |
9f5cc7c808 |
feat(compiler): support number separators in templates (#42672) |
compiler-cli
Commit |
Description |
37a740c659 |
fix(compiler-cli): add support for partially evaluating types (#41661) |
platform-browser
Commit |
Description |
234b5edcc7 |
fix(platform-browser): in Meta.addTag() do not add duplicate meta tags (#42703) |
Special Thanks:
Alan Agius, Alex Rickabaugh, Dario Piotrowicz, George Kalpakas, George Looshch, Joey Perrott, Kristiyan Kostadinov, Lars Gyrup Brink Nielsen, Paul Gschwendtner, Pete Bacon Darwin, Zach Arend, codebriefcase, dario-piotrowicz, marvinbeckert, mgechev and pavlenko
12.1.1 (2021-06-30)
compiler-cli
Commit |
Description |
f6b828e292 |
fix(compiler-cli): add support for partially evaluating types (#41661) |
platform-browser
Commit |
Description |
d19ddd1a87 |
fix(platform-browser): in Meta.addTag() do not add duplicate meta tags (#42703) |
Special Thanks:
Alan Agius, Dario Piotrowicz, George Kalpakas, George Looshch, Lars Gyrup Brink Nielsen, Paul Gschwendtner, Pete Bacon Darwin, Zach Arend, codebriefcase, dario-piotrowicz, marvinbeckert, mgechev and pavlenko
12.2.0-next.0 (2021-06-24)
This release contains the same set of changes as 12.1.0.
12.1.0 (2021-06-24)
compiler
Commit |
Description |
9de65dbdce |
fix(compiler): should not break a text token on a non-valid start tag (#42605) |
c873440ad2 |
fix(compiler): do not allow unterminated interpolation to leak into later tokens (#42605) |
cc672f05bf |
feat(compiler): add support for shorthand property declarations in templates (#42421) |
f52df99fe3 |
fix(compiler): generate view restoration for keyed write inside template listener (#42603) |
compiler-cli
Commit |
Description |
874de59d35 |
fix(compiler-cli): change default ngcc hash algorithm to be FIPS compliant (#42582) |
729eea5716 |
fix(compiler-cli): transform type references in generic type parameter default (#42492) |
core
Commit |
Description |
873229f24b |
feat(core): add opt-in test module teardown configuration (#42566) |
router
Commit |
Description |
07c1ddc487 |
fix(router): error if module is destroyed before location is initialized (#42560) |
service-worker
Commit |
Description |
cc30dc0713 |
fix(service-worker): ensure obsolete caches are always cleaned up (#42622) |
01128f5b5d |
fix(service-worker): ensure caches are cleaned up when failing to load state (#42622) |
73b0275dc2 |
fix(service-worker): improve ServiceWorker cache names (#42622) |
7507ed2e54 |
fix(service-worker): use correct names when listing CacheDatabase tables (#42622) |
53fe557da7 |
feat(service-worker): include ServiceWorker version in debug info (#42622) |
d546501ab5 |
feat(service-worker): add openWindow , focusLastFocusedOrOpen and navigateLastFocusedOrOpen (#42520) |
9498da1038 |
fix(service-worker): correctly determine client ID on navigation requests (#42607) |
Special Thanks:
Alex Rickabaugh, Dale Harris, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, Németh Tamás, Paul Gschwendtner, Pete Bacon Darwin, Renovate Bot, Umair Hafeez, codingnuclei and mgechev
12.1.0-next.6 (2021-06-16)
compiler
Commit |
Description |
8c1e0e6ad0 |
fix(compiler): always match close tag to the nearest open element (#42554) |
compiler-cli
Commit |
Description |
22bda2226b |
fix(compiler-cli): prevent prior compilations from being retained in watch builds (#42537) |
core
Commit |
Description |
3961b3c360 |
fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#42529) |
forms
Commit |
Description |
7180ec9e7c |
fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#42553) |
language-service
Commit |
Description |
4001e9d808 |
fix(language-service): 'go to defininition' for objects defined in template (#42559) |
228beeabd1 |
fix(language-service): Use last child end span for parent without close tag (#42554) |
Special Thanks:
Ahmed Ayed, Alan Agius, Alex Rickabaugh, Andrew Scott, Ankit Choudhary, Aristeidis Bampakos, Daniel Trevino, Dario Piotrowicz, Dylan Hunn, George Kalpakas, Igor Minar, JiaLiPassion, JoostK, Kapunahele Wong, Kristiyan Kostadinov, Marius Bethge, Mladen Jakovljević, Paul Gschwendtner, Pete Bacon Darwin, Pham Huu Hien, Renovate Bot, dario-piotrowicz and gobika21f
12.0.5 (2021-06-16)
compiler
Commit |
Description |
89fc131ef8 |
fix(compiler): always match close tag to the nearest open element (#42554) |
compiler-cli
Commit |
Description |
60dbf017fb |
fix(compiler-cli): prevent prior compilations from being retained in watch builds (#42537) |
core
Commit |
Description |
785da0f1bf |
fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#42529) |
forms
Commit |
Description |
6f1b907b79 |
fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#42553) |
language-service
Commit |
Description |
8192f1e1c2 |
fix(language-service): 'go to defininition' for objects defined in template (#42559) |
11e0f53352 |
fix(language-service): Use last child end span for parent without close tag (#42554) |
Special Thanks:
Ahmed Ayed, Alan Agius, Andrew Scott, Ankit Choudhary, Aristeidis Bampakos, Daniel Trevino, Dario Piotrowicz, Dylan Hunn, George Kalpakas, Igor Minar, JiaLiPassion, JoostK, Kapunahele Wong, Kristiyan Kostadinov, Marius Bethge, Pete Bacon Darwin, Pham Huu Hien, dario-piotrowicz and gobika21
12.1.0-next.5 (2021-06-09)
common
Commit |
Description |
85c7f7691e |
fix(common): infer correct type when trackBy is used in ngFor (#41995) |
374fa2c26f |
fix(common): initialize currencyCode in currencyPipe (#40505) |
compiler
Commit |
Description |
afd68e5674 |
feat(compiler): emit diagnostic for shadow dom components with an invalid selector (#42245) |
ba084857ea |
feat(compiler): support safe keyed read expressions (#41911) |
compiler-cli
Commit |
Description |
bd1836b999 |
fix(compiler-cli): exclude type-only imports from cycle analysis (#42453) |
core
Commit |
Description |
25f763cff8 |
feat(core): support TypeScript 4.3 (#42022) |
forms
Commit |
Description |
47270d9e63 |
feat(forms): add ng-submitted class to forms that have been submitted. (#42132) |
751cd83ae3 |
fix(forms): the min and max validators should work correctly with 0 as a value (#42412) |
language-service
Commit |
Description |
a493ea9bcb |
fix(language-service): fix autocomplete info display for some cases (#42472) |
fe22c2b0b6 |
fix(language-service): Correct rename info for pipe name expressions (#41974) |
router
Commit |
Description |
c44ab4f6da |
fix(router): fix serializeQueryParams logic (#42481) |
Special Thanks:
Alex, Alex Inkin, Andrew Kushnir, Andrew Scott, Chris, David Shevitz, Dylan Hunn, George Kalpakas, Gourav102, Igor Minar, Jessica Janiuk, Joey Perrott, JoostK, Kapunahele Wong, Kristiyan Kostadinov, MarsiBarsi, MrJithil, Paul Gschwendtner, Pete Bacon Darwin, Renovate Bot, Sam Severance, Santosh Yadav, Teri Glover, Tiago Temporin, Vahid Mohammadi, anups1, cindygk, iRealNirmal, kuncevic and mgechev
12.0.4 (2021-06-09)
common
Commit |
Description |
200cc31df4 |
fix(common): infer correct type when trackBy is used in ngFor (#41995) |
0dad375de7 |
fix(common): initialize currencyCode in currencyPipe (#40505) |
compiler-cli
Commit |
Description |
b6d6a34eef |
fix(compiler-cli): exclude type-only imports from cycle analysis (#42453) |
forms
Commit |
Description |
50c87e86b6 |
fix(forms): the min and max validators should work correctly with 0 as a value (#42412) |
language-service
Commit |
Description |
34dd3c360b |
fix(language-service): fix autocomplete info display for some cases (#42472) |
router
Commit |
Description |
a77ec5bcab |
fix(router): fix serializeQueryParams logic (#42481) |
Special Thanks:
Alex, Alex Inkin, Andrew Kushnir, Andrew Scott, Chris, David Shevitz, George Kalpakas, Gourav102, Igor Minar, Joey Perrott, JoostK, Kapunahele Wong, Kristiyan Kostadinov, MarsiBarsi, MrJithil, Paul Gschwendtner, Pete Bacon Darwin, Sam Severance, Santosh Yadav, Teri Glover, Tiago Temporin, Vahid Mohammadi, anups1, cindygk, iRealNirmal, kuncevic and mgechev
12.1.0-next.4 (2021-06-02)
compiler-cli
Commit |
Description |
e039075a28 |
fix(compiler-cli): better detect classes that are indirectly exported (#42207) |
Special Thanks:
AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, David Pfeiffer, David Shevitz, Doug Parker, Dylan Hunn, George Kalpakas, Igor Minar, Joey Perrott, JoostK, Kristiyan Kostadinov, Renovate Bot, Sam Severance, Serguei Cambour, Suguru Inatomi, Teri Glover, Wagner Maciel, Zach Arend, mgechev and 不肖・高橋
12.0.3 (2021-06-02)
compiler-cli
Commit |
Description |
8bdcca1e08 |
fix(compiler-cli): better detect classes that are indirectly exported (#42207) |
Special Thanks:
AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, David Pfeiffer, David Shevitz, Doug Parker, Dylan Hunn, George Kalpakas, Igor Minar, Joey Perrott, JoostK, Kristiyan Kostadinov, Sam Severance, Serguei Cambour, Suguru Inatomi, Teri Glover, Wagner Maciel, Zach Arend, mgechev and 不肖・高橋
12.0.2 (2021-05-26)
forms
Commit |
Description |
19d7bf4162 |
fix(forms): Add float number support for min and max validator (#42223) |
migrations
Commit |
Description |
11c7bec065 |
fix(migrations): add migration to replace /deep/ with ::ng-deep (#42214) |
platform-browser
Commit |
Description |
84ab81c286 |
fix(platform-browser): update started state on reset (#41608) |
Special Thanks:
Alan Agius, Andrew Scott, David Shevitz, George Kalpakas, Igor Minar, Joey Perrott, Kapunahele Wong, Madleina Scheidegger, Paul Gschwendtner, Pete Bacon Darwin, Sam Severance, Teri Glover, Zach Arend, chenyunhsin, iRealNirmal, mgechev and twerske
12.1.0-next.3 (2021-05-26)
forms
Commit |
Description |
3d9062dad7 |
fix(forms): Add float number support for min and max validator (#42223) |
migrations
Commit |
Description |
7f6213a2f4 |
fix(migrations): add migration to replace /deep/ with ::ng-deep (#42214) |
platform-browser
Commit |
Description |
3a6af8e629 |
fix(platform-browser): update started state on reset (#41608) |
Special Thanks:
Alan Agius, Andrew Scott, David Shevitz, George Kalpakas, Igor Minar, Joey Perrott, Kapunahele Wong, Madleina Scheidegger, Paul Gschwendtner, Pete Bacon Darwin, Renovate Bot, Sam Severance, Teri Glover, Zach Arend, chenyunhsin, iRealNirmal, mgechev and twerske
12.1.0-next.2 (2021-05-19)
common
Commit |
Description |
4bc3cf216d |
feat(common): add URLSearchParams to request body (#37852) |
language-service
Commit |
Description |
1be5d659a5 |
fix(language-service): fully de-duplicate reference and rename results (#40523) |
a86ca4fe04 |
feat(language-service): Enable renaming of pipes (#40523) |
Special Thanks:
Ajit Singh, Alan Agius, Alan Cohen, Alex Rickabaugh, Amadou Sall, Andrew J Asche, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Ben Lesh, Bendik Skarpnes, Benjamin Kindle, Charles Lyding, Chau Tran, Cosmin Ababei, Daniel Díaz, David Shevitz, Dharmen Shah, Dmitrij Kuba, Dylan Hunn, Eduard Bondarenko, Emily Wenberg, Front-end developer, George Kalpakas, Georgii Dolzhykov, Gopal Jayaraman, Gourav102, Gérôme Grignon, Hugo Mejia, Igor Minar, Jesse Palmer, Jessica Janiuk, JiaLiPassion, Joey Perrott, JoostK, Julien Marcou, Kapunahele Wong, Keen Yee Liau, Kirk Larkin, Kristiyan Kostadinov, Lars Gyrup Brink Nielsen, Martin Sikora, Mathias Schäfer, Michael Hladky, Mikhail, Misko Hevery, MrJithil, Nishu Goel, Oluwole Majiyagbe, Paul Gschwendtner, Paul Muriel Biya-Bi, Pete Bacon Darwin, Pierre Portejoie, Richard Sithole, Sagar Pandita, Sam Severance, Sumit Arora, Talha Azhar, Teri Glover, Wojciech Okoński, Zach Arend, Zack DeRose, aschaap, cexbrayat, iRealNirmal, iron, jeripeierSBB, mgechev, nirmal bhagwani, pavlenko, profanis, rachid Oussanaa, sovtara, unknown, va-stefanek and wagnermaciel
12.0.1 (2021-05-19)
benchpress
Commit |
Description |
28ee9864a4 |
fix(benchpress): update the check for start and end events (#42085) |
compiler
Commit |
Description |
52c07e403e |
fix(compiler): unclear lexer error when using private identifier in expressions (#42027) |
core
Commit |
Description |
3a46ad96ea |
fix(core): global listeners not being bound on non-node host elements (#42014) |
forms
Commit |
Description |
9b90c03a9f |
fix(forms): registerOnValidatorChange should be called for ngModelGroup. (#41971) |
Special Thanks:
Alex Rickabaugh, Daniel Díaz, David Shevitz, Dylan Hunn, Front-end developer, George Kalpakas, Joey Perrott, Kristiyan Kostadinov, Lars Gyrup Brink Nielsen, MrJithil, Paul Gschwendtner, Renovate Bot, Sam Severance, Sumit Arora, iRealNirmal, iron, mgechev, rachid Oussanaa and wagnermaciel
12.0.0 (2021-05-12)
Blog post "Angular v12 is now available".
Bug Fixes
- animations: ensure consistent transition namespace ordering (#19854) (01cc995)
- animations: update supported range of node versions to only include LTS versions (#41822) (e918250)
- animations: cleanup DOM elements when the root view is removed (#41059) (c49b280)
- animations: allow animations on elements in the shadow DOM (#40134) (dad42c8), closes #25672
- animations: cleanup DOM elements when the root view is removed (#41001) (a31da48)
- bazel: update supported range of node versions to only include LTS versions (#41822) (8503246)
- bazel: update build tooling for latest changes in rules_nodejs (#40710) (696f7bc)
- bazel: update integration test to use rules_nodejs@3.1.0 (#40710) (34de89a)
- bazel: update type castings for JSON.parse usage (#40710) (2c90391)
- benchpress: update type castings for JSON.parse usage (#40710) (e721a5d)
- common: add right ContentType for boolean values with HttpClient request body(#38924) (#41885) (922a602)
- common: update supported range of node versions to only include LTS versions (#41822) (f2b6fd8)
- common: viewport scroller not finding elements inside the shadow DOM (#41644) (c0f5ba3), closes #41470
- common: temporarily re-export and deprecate
XhrFactory
(#41393) (7dfa446)
- common: cleanup location change listeners when the root view is removed (#40867) (38524c4), closes #31546
- common: allow number or boolean as http params (#40663) (91cdc11), closes #23856
- common: avoid mutating context object in NgTemplateOutlet (#40360) (d3705b3), closes #24515
- compiler: preserve @page rules in encapsulated styles (#41915) (3e365ba), closes #26269
- compiler: strip scoped selectors from
@font-face
rules (#41815) (2a11cda), closes #41751
- compiler: update supported range of node versions to only include LTS versions (#41822) (bae8126)
- compiler: non-literal inline templates incorrectly processed in partial compilation (#41583) (ab257b3)
- compiler: not generating update instructions for ng-template inside alternate namespaces (#41669) (2bcbbda), closes #41308
- compiler: avoid parsing EmptyExpr with a backwards span (#41581) (e1a2930)
- compiler: handle case-sensitive CSS custom properties (#41380) (e112e32), closes #41364
- compiler: include used components during JIT compilation of partial component declaration (#41353) (ff9470b), closes #41104 #41318
- compiler: support multiple
:host-context()
selectors (#40494) (07b7af3), closes #19199
- compiler: update type castings for JSON.parse usage (#40710) (f728490)
- compiler-cli: use '' for the source map URL of indirect templates (#41973) (7a4d980), closes #40854
- compiler-cli: expose the linker as a Babel plugin (#41918) (8fdac8f)
- compiler-cli: prefer non-aliased exports in reference emitters (#41866) (75bb931), closes #41443 #41277
- compiler-cli: allow linker to process minified booleans (#41747) (1fb6724), closes #41655
- compiler-cli: match string indexed partial declarations (#41747) (f885750), closes #41655
- compiler-cli: update supported range of node versions to only include LTS versions (#41822) (5b463f4)
- compiler-cli: autocomplete literal types in templates. (#41456) (#41645) (8b2b5ef)
- compiler-cli: do not error with prepocessing if component has no inline styles (#41602) (a5fe8b9)
- compiler-cli: ensure the compiler tracks
ts.Program
s correctly (#41291) (deacc74)
- compiler-cli: prevent eliding default imports in incremental recompilations (#41557) (7f16515), closes #41377
- compiler-cli: resolve
rootDirs
to absolute (#41359) (3e0fda9), closes #36290
- compiler-cli: add
useInlining
option to type check config (#41043) (09aefd2), closes #40963
- compiler-cli:
readConfiguration
existing options should override options in tsconfig (#40694) (b7c4d07)
- compiler-cli: extend
angularCompilerOptions
in tsconfig from node (#40694) (5eb1954), closes #36715
- compiler-cli: update ngcc integration tests for latest changes in rules_nodejs (#40710) (d7f5755)
- compiler-cli: update type castings for JSON.parse usage (#40710) (b75d7cb)
- core: do not retain dynamically compiled components and modules (#42003) (1449c5c), closes #19997
- core: invoke profiler around ngOnDestroy lifecycle hooks (#41969) (e9ddc57)
- core: AsyncPipe now compatible with RxJS 7 (#41590) (9759bca)
- core: handle multiple i18n attributes with expression bindings (#41882) (73c6c64), closes #41869
- core: update supported range of node versions to only include LTS versions (#41822) (f9c1f08)
- core: detect synthesized constructors that have been downleveled using TS 4.2 (#41305) (274dc15), closes #41298
- core: Switch
emitDistinctChangesOnlyDefaultValue
to true (#41121) (7096246)
- core: remove duplicated EMPTY_OBJ constant (#41066) (bf158e7)
- core: remove duplicated EMPTY_ARRAY constant (#40991) (e12d9de)
- core: allow EmbeddedViewRef context to be updated (#40360) (a3e1719), closes #24515
- core: make DefaultIterableDiffer keep the order of duplicates (#23941) (a826926), closes #23815
- core: NgZone coaleascing options should trigger onStable correctly (#40540) (22f9e45)
- elements: update supported range of node versions to only include LTS versions (#41822) (4f5d094)
- elements: update type castings for JSON.parse usage (#40710) (efd4149)
- forms: update supported range of node versions to only include LTS versions (#41822) (dc975ba)
- http: complete the request on timeout (#39807) (61a0b6d), closes #26453
- http: emit error on XMLHttpRequest abort event (#40767) (3897265), closes #22324
- language-service: update supported range of node versions to only include LTS versions (#41822) (9b6198c)
- language-service: use script versions for incremental compilations (#41475) (78236bf)
- language-service: Only provide Angular property completions in templates (#41278) (0226a11)
- language-service: Add plugin option to force strictTemplates (#41062) (e9e7c33)
- language-service: use single entry point for Ivy and View Engine (#40967) (e986a97)
- localize: relax error to warning for missing target (#41944) (35ceed2), closes #21690
- localize: update supported range of node versions to only include LTS versions (#41822) (658ed1f)
- localize: update type castings for JSON.parse usage (#40710) (4b469c9)
- ngcc: detect synthesized constructors that have been downleveled using TS 4.2 (#41305) (8d3da56), closes #41298
- platform-browser: prevent memory leak of style nodes if shadow DOM encapsulation is used (#42005) (d555555), closes #36655
- platform-browser: update supported range of node versions to only include LTS versions (#41822) (ea05cfd)
- platform-browser: configure
XhrFactory
to use BrowserXhr
(#41313) (e0028e5), closes #41311
- platform-browser: update type castings for JSON.parse usage (#40710) (7ecfd2d)
- platform-browser-dynamic: update supported range of node versions to only include LTS versions (#41822) (bc45029)
- platform-server: update supported range of node versions to only include LTS versions (#41822) (4b9d4fa)
- router: update supported range of node versions to only include LTS versions (#41822) (0067edd)
- router: Only retrieve stored route when reuse strategy indicates it should reattach (#30263) (a4ff071), closes #23162
- router: recursively merge empty path matches (#41584) (1179dc8), closes #41481
- router: fragment can be null (#37336) (b555160), closes #23894 #34197
- router: update type castings for JSON.parse usage (#40710) (350dada)
- service-worker: update supported range of node versions to only include LTS versions (#41822) (6b823d7)
- service-worker: update type castings for JSON.parse usage (#40710) (4f7ff96)
- upgrade: preserve $interval.flush when ngMocks is being used (#30229) (87dc851)
- upgrade: update supported range of node versions to only include LTS versions (#41822) (10c4523)
Build System
Features
- animations: update supported range of node versions (#41544) (547363a)
- animations: add support for disabling animations through BrowserAnimationsModule.withConfig (#40731) (29d8a0a)
- bazel: update supported range of node versions (#41544) (d583d92)
- common: update supported range of node versions (#41544) (e0250e5)
- common: add
historyGo
method to Location
service (#38890) (e05a6f3)
- common: support ICU standard "stand alone day of week" with
DatePipe
(#40766) (c56ecab), closes #26922
- common: implement
appendAll()
method on HttpParams
(#20930) (575a2d1), closes #20798
- compiler: support nullish coalescing in templates (#41437) (ec27bd4), closes #36528
- compiler: update supported range of node versions (#41544) (75cc813)
- compiler: emit @PURE or @pureOrBreakMyCode annotations in the generated code (#41096) (9c21028)
- compiler-cli: mark ability to use partial compilation mode as stable (#41518) (6ba67c6), closes #41496
- compiler-cli: update supported range of node versions (#41544) (b7bd238)
- compiler-cli: support transforming component style resources (#41307) (1de04b1)
- compiler-cli: support producing Closure-specific PURE annotations (#41021) (fbc9df1)
- core: introduce getDirectiveMetadata global debugging utility (#41525) (a07f303)
- core: update supported range of node versions (#41544) (e66a5fb)
- core: support
forwardRef
in providedIn
of Injectable
declaration (#41426) (f7c294e), closes #41205
- core: add migration for
XhrFactory
import (#41313) (95ff5ec)
- core: drop support for TypeScript 4.0 and 4.1 (#41158) (fa04894)
- core: support TypeScript 4.2 (#41158) (59ef409)
- core: manually annotate de-sugarred core tree-shakable providers with @pureOrBreakMyCode (#41096) (03d47d5)
- core: more precise type for
APP_INITIALIZER
token (#40986) (ca721c2), closes #40729
- core: drop support for zone.js 0.10.x (#40823) (aaf9b31), closes angular/angular-cli#20034
- core: support APP_INITIALIZER work with observable (#33222) (ca17ac5), closes #15088
- elements: update supported range of node versions (#41544) (12fc08b)
- forms: update supported range of node versions (#41544) (a0006a6)
- forms: add
emitEvent
option for AbstractControl-based class methods (#31031) (4ec045e), closes #29662
- forms: introduce min and max validators (#39063) (8fb83ea), closes #16352
- http: introduce HttpContext request context (#25751) (1644d64)
- http: expose a list of human-readable http status codes (#23548) (6fe3a1d), closes #23543
- language-service: implement signature help (#41581) (c7f9516)
- language-service: update supported range of node versions (#41544) (86621be)
- language-service: add perf tracing to LanguageService (#41319) (90f85da)
- language-service: add command for getting components for a template file (#40655) (5cde4ad)
- language-service: Add diagnostics to suggest turning on strict mode (#40423) (ecae75f)
- language-service: Implement
getRenameInfo
(#40439) (4e8198d)
- language-service: initial implementation for
findRenameLocations
(#40140) (9a5ac47)
- language-service: view template typecheck block (#39974) (d482f5c)
- localize: update supported range of node versions (#41544) (590d4dd)
- localize: add scripts to migrate away from legacy message IDs (#41026) (1735430)
- ngcc: support
__read
helper as used by TypeScript 4.2 (#41201) (66e9970)
- ngcc: support
__spreadArray
helper as used by TypeScript 4.2 (#41201) (7b1214e) #40394
- platform-browser: update supported range of node versions (#41544) (ef0d1c3)
- platform-browser-dynamic: update supported range of node versions (#41544) (b714f7b)
- platform-server: update supported range of node versions (#41544) (c901b4d)
- platform-server: allow shimming the global env sooner (#40559) (43ecf8a), closes #24551 #39950 #39950
- router: update supported range of node versions (#41544) (c30b171)
- router: add migration for ActivatedRouteSnapshot.fragment (#41092) (190fa07), closes #37336
- router: Add more fine-tuned control in
routerLinkActiveOptions
(#40303) (6c05c80), closes #13205
- router: Allow for custom router outlet implementations (#40827) (a82fddf)
- service-worker: update supported range of node versions (#41544) (fc597f1)
- upgrade: update supported range of node versions (#41544) (beafa22)
Performance Improvements
- common: remove unused methods from DomAdapter (#41102) (3c66b10)
- compiler: reduce amount of generated code for safe accesses and nullish coalescing (#41563) (9a3b82f), closes #41437 #41491
- compiler-cli: allow incremental compilation in the presence of redirected source files (#41448) (ffea31f)
- compiler-cli: cache results of
absoluteFromSourceFile
(#41475) (fab1a64)
- core: minor improvements to listener instructions (#41807) (9346d61)
- core: avoid storing LView in ngContext (#41358) (990067a), closes #41047
- core: optimize getDirectives (#41525) (f7e391a)
BREAKING CHANGES
- Minified UMD bundles are no longer included in the distributed NPM packages.
- animations: DOM elements are now correctly removed when the root view is removed.
If you are using SSR and use the app's HTML for rendering, you will need
to ensure that you save the HTML to a variable before destorying the
app.
It is also possible that tests could be accidentally relying on the old behavior by
trying to find an element that was not removed in a previous test. If
this is the case, the failing tests should be updated to ensure they
have proper setup code which initializes elements they rely on.
- common: Methods of the
PlatformLocation
class, namely onPopState
and onHashChange
,
used to return void
. Now those methods return functions that can be called
to remove event handlers.
- common: The methods of the
HttpParams
class now accept string | number | boolean
instead of string
for the value of a parameter.
If you extended this class in your application,
you'll have to update the signatures of your methods to reflect these changes.
- compiler-cli: Linked libraries no longer generate legacy i18n message ids. Any downstream
application that provides translations for these messages, will need to
migrate their message ids using the
localize-migrate
command line tool.
- core: Angular no longer maintains support for node v10
- core: Previously the
ng.getDirectives
function threw an error in case a
given DOM node had no Angular context associated with it (for example
if a function was called for a DOM element outside of an Angular app).
This behavior was inconsistent with other debugging utilities under ng
namespace, which handled this situation without raising an exception.
Now calling the ng.getDirectives
function for such DOM nodes would
result in an empty array returned from that function.
- core: Switching default of
emitDistinctChangesOnlyDefaultValue
which changes the default behavior and may cause some applications which
rely on the incorrect behavior to fail.
emitDistinctChangesOnly
flag has also been deprecated and will be
removed in a future major release.
The previous implementation would fire changes QueryList.changes.subscribe
whenever the QueryList
was recomputed. This resulted in an artificially
high number of change notifications, as it is possible that recomputing
QueryList
results in the same list. When the QueryList
gets recomputed
is an implementation detail, and it should not be the thing that determines
how often change event should fire.
Unfortunately, fixing the behavior outright caused too many existing
applications to fail. For this reason, Angular considers this fix a
breaking fix and has introduced a flag in @ContentChildren
and
@ViewChildren
, that controls the behavior.
export class QueryCompWithStrictChangeEmitParent {
@ContentChildren('foo', {
// This option is the new default with this change.
emitDistinctChangesOnly: true,
})
foos!: QueryList<any>;
}
For backward compatibility before v12
emitDistinctChangesOnlyDefaultValue
was set to false
. This change
changes the default to true
.
- core: The type of the
APP_INITIALIZER
token has been changed to more accurately
reflect the types of return values that are handled by Angular. Previously,
each initializer callback was typed to return any
, this is now
Promise<unknown> | Observable<unknown> | void
. In the unlikely event that
your application uses the Injector.get
or TestBed.inject
API to inject
the APP_INITIALIZER
token, you may need to update the code to account for
the stricter type.
Additionally, TypeScript may report the TS2742 error if the APP_INITIALIZER
token is used in an expression of which its inferred type has to be emitted
into a .d.ts file. To workaround this, an explicit type annotation is needed,
which would typically be Provider
or Provider[]
.
If your app has custom classes that extend FormArray
or FormGroup
classes and override the
above-mentioned methods, you may need to update your implementation to take the new options into
account and make sure that overrides are compatible from a types perspective.
- forms: Previously
min
and max
attributes defined on the <input type="number">
were ignored by Forms module. Now presence of these attributes would
trigger min/max validation logic (in case formControl
, formControlName
or ngModel
directives are also present on a given input) and
corresponding form control status would reflect that.
- platform-browser:
XhrFactory
has been moved from @angular/common/http
to @angular/common
.
Before
import {XhrFactory} from '@angular/common/http';
After
import {XhrFactory} from '@angular/common';
- router: Strict null checks will report on fragment potentially being null.
Migration path: add null check.
- router: The type of the
RouterLinkActive.routerLinkActiveOptions
input was
expanded to allow more fine-tuned control. Code that previously read
this property may need to be updated to account for the new type.
11.2.14 (2021-05-12)
core
Commit |
Description |
5bb7c0ef3a |
fix(core): do not retain dynamically compiled components and modules (#42003) |
40cc29aa6e |
fix(core): invoke profiler around ngOnDestroy lifecycle hooks (#41969) |
platform-browser
Commit |
Description |
f66c9ae749 |
fix(platform-browser): prevent memory leak of style nodes if shadow DOM encapsulation is used (#42005) |
Special Thanks:
Alex Rickabaugh, Andrew J Asche, Georgii Dolzhykov, Joey Perrott, Joost Koehoorn, Julien Marcou, Kapunahele Wong, Pete Bacon Darwin, Richard Sithole, Teri Glover, iRealNirmal, Minko Gechev, profanis and va-stefanek
12.1.0-next.1 (2021-05-05)
Bug Fixes
Features
Performance Improvements
- core: minor improvements to listener instructions (#41807) (6581a1b)
BREAKING CHANGES
- Minified UMD bundles are no longer included in the distributed NPM packages.
- core: Angular no longer maintains support for node v10
- core: Previously the
ng.getDirectives
function threw an error in case a
given DOM node had no Angular context associated with it (for example
if a function was called for a DOM element outside of an Angular app).
This behavior was inconsistent with other debugging utilities under ng
namespace, which handled this situation without raising an exception.
Now calling the ng.getDirectives
function for such DOM nodes would
result in an empty array returned from that function.
- compiler-cli: Linked libraries no longer generate legacy i18n message ids. Any downstream
application that provides translations for these messages, will need to
migrate their message ids using the
localize-migrate
command line tool.
11.2.13 (2021-05-05)
Bug Fixes
- animations: ensure consistent transition namespace ordering (#19854) (a58562a)
- common: add right ContentType for boolean values with HttpClient request body(#38924) (#41885) (ae0fa08)
- core: AsyncPipe now compatible with RxJS 7 (#41590) (7a86ebf)
- core: handle multiple i18n attributes with expression bindings (#41912) (345f5c4), closes #41869
- localize: relax error to warning for missing target (#41944) (3150f9f), closes #21690
11.2.12 (2021-04-28)
Bug Fixes
- compiler: strip scoped selectors from
[@font-face](https://github.com/font-face)
rules (#41815) (de39b49), closes #41751
- upgrade: preserve $interval.flush when ngMocks is being used (#30229) (dd46b87)
11.2.11 (2021-04-21)
Bug Fixes
- common: viewport scroller not finding elements inside the shadow DOM (#41644) (3aa9235), closes #41470
- compiler-cli: autocomplete literal types in templates (296f887)
- router: Only retrieve stored route when reuse strategy indicates it should reattach (#30263) (f4376fc), closes #23162
- router: recursively merge empty path matches (#41584) (8d62813), closes #41481
11.2.10 (2021-04-14)
Bug Fixes
Performance Improvements
- compiler-cli: allow incremental compilation in the presence of redirected source files (#41587) (616145e)
11.2.9 (2021-04-07)
Bug Fixes
Features
- bazel: allow setting
compilationMode
in ng_module
rule (#41418) (e6da38a)
Performance Improvements
- core: add private hooks around user code executed by the runtime (#41421) (94af9d9)
- language-service: add perf tracing to LanguageService (#41401) (7b0a800)
11.2.8 (2021-04-01)
Bug Fixes
11.2.7 (2021-03-24)
Bug Fixes
11.2.6 (2021-03-17)
Bug Fixes
Performance Improvements
11.2.5 (2021-03-10)
Bug Fixes
- bazel: fix incorrect rollup plugin method signature (#41101) (925746b)
- language-service: Only provide dom completions for inline templates (#41078) (a05eb13)
Performance Improvements
- compiler-cli: avoid module resolution in cycle analysis (#40948) (532ae73)
- compiler-cli: detect semantic changes and their effect on an incremental rebuild (#40947) (e35ecea), closes #34867 #40635 #40728
- compiler-cli: ensure module resolution cache is reused for type-check program (#39693) (16f90ca)
- compiler-cli: use bound symbol in import graph in favor of module resolution (#40948) (2035b15)
11.2.4 (2021-03-03)
Bug Fixes
11.2.3 (2021-02-24)
Performance Improvements
- language-service: Skip Angular analysis when quick info requested outside a template (#40956) (0dd1fac)
11.2.2 (2021-02-22)
Bug Fixes
Performance Improvements
- core: use
ngDevMode
to tree-shake warning (#40876) (c8a2e3a)
- language-service: short-circuit LS operations when we know there is no Angular information to provide (#40946) (73a3ff1)
11.2.1 (2021-02-17)
Bug Fixes
11.2.0 (2021-02-10)
Bug Fixes
11.2.0-rc.0 (2021-02-03)
This release contains the same set the of changes as 11.2.0-next.1.
11.2.0-next.1 (2021-02-03)
Bug Fixes
Performance Improvements
- language-service: update NgCompiler via resource-only path when able (#40585) (07a3d7a)
11.1.2 (2021-02-03)
Bug Fixes
Performance Improvements
- language-service: update NgCompiler via resource-only path when able (#40680) (0047eb3)
11.1.1 (2021-01-27)
Bug Fixes
- compiler-cli: handle pseudo cycles in inline source-maps (#40435) (566206b), closes #40408
- compiler-cli: use
Map
rather than object
for map of partial linkers (#40563) (33e0f2b)
- core: fix possible XSS attack in development through SSR (#40525) (97ec6e4)
- core: improve injector debug information in
ngDevMode
(#40476) (4bb38c9)
- forms: allow
patchValue()
method of FormGroup
and FormArray
classes to skip null
values (#40534) (2fab148), closes #36672 #21021
- forms: properly cleanup in cases when FormControlName has no CVA (#40526) (72fc6aa), closes #39235 #40521
- language-service: implement realpath to resolve symlinks (#40593) (77efc27)
- language-service: recognize incomplete pipe bindings with whitespace (#40346) (d88f18e)
- localize: include meaning in generated ARB files (#40546) (5661298), closes #40506
- router: always stringify matrix parameters (#25095) (a8a27ef), closes #23165
- router: Fix occasional error when creating url tree in IE 11 and Edge (#40488) (69fd942)
- service-worker: handle error with console.error (#40236) (37710b9)
Features
- language-service: Add diagnostics to suggest turning on strict mode (#40568) (defa627)
Performance Improvements
- compiler-cli: introduce fast path for resource-only updates (#40561) (156103c)
- core: simplify bloom bucket computation (#40489) (106734a)
11.1.0 (2021-01-20)
Bug Fixes
- animations: getAnimationStyle causes exceptions in older browsers (#29709) (66d863f)
- animations: replace copy of query selector node-list from "spread" to "for" (#39646) (bfa197f), closes #38551
- common: add
HttpParamsOptions
to the public api (#35829) (b33b89d), closes #20276
- common: Prefer to use pageXOffset / pageYOffset instance of scrollX / scrollY (#28262) (b1d300d)
- compiler: correct the
KeySpan
for animation events and properties (#40347) (524415e)
- compiler: incorrectly interpreting some HostBinding names (#40233) (1045465), closes #40220 #40230 #18698
- compiler: recover event parse when animation event name is empty (#39925) (15b15be)
- compiler: avoid duplicate i18n blocks for i18n attrs on elements with structural directives (#40077) (caa4666), closes #39942
- compiler: handle strings inside bindings that contain binding characters (#39826) (dc6d40e), closes #39601
- compiler: disallow i18n of security-sensitive attributes (#39554) (c8a99ef)
- compiler: ensure that placeholders have the correct sourceSpan (#39717) (0462a61), closes #39671
- compiler: only promote Trusted Types to constants when necessary (#39554) (4916870)
- compiler: report better error on interpolation in an expression (#30300) (94e790d)
- compiler-cli: do not duplicate repeated source-files in rendered source-maps (#40237) (3158858)
- compiler-cli: remove classes in .d.ts files from provider checks (#40118) (973bb40)
- animations: implement getPosition in browser animation builder (#39983) (ca08625)
- compiler-cli: correct incremental behavior even with broken imports (#39923) (c7c5b2f)
- compiler-cli: remove the concept of an errored trait (#39923) (6d42954)
- compiler-cli: track poisoned scopes with a flag (#39923) (0823622)
- compiler-cli: report error when a reference target is missing instead of crashing (#39805) (453b32f), closes #38618 #39744
- core: fix possible XSS attack in development through SSR. (#40136) (47d9b6d)
- core: set
ngDevMode
to false
when calling enableProdMode()
(#40124) (70b4816)
- core: Allow passing AbstractType to the inject function (#37958) (a1b6ad0)
- core: Ensure OnPush ancestors are marked dirty when events occur (#39833) (68d4a74), closes #39832
- core: meta addTag() adds incorrect attribute for httpEquiv (#32531) (ff0a90e)
- core: migration error if program contains files outside of the project (#39790) (1a26f6d), closes #39778
- core: not invoking object's toString when rendering to the DOM (#39843) (11cd37f), closes #38839
- core: remove duplicated noop function (#39761) (066126a)
- core: support
Attribute
DI decorator in deps
section of a token (#37085) (f5cbf0b), closes #36479
- core: remove application from the testability registry when the root view is removed (#39876) (df27027), closes #22106
- core: Support extending differs from root
NgModule
(#39981) (5fc4508), closes #25015 #11309 #18554
- core: unsubscribe from the
onError
when the root view is removed (#39940) (5a3a154)
- core:
QueryList
should not fire changes if the underlying list did not change. (#40091) (76f3633)
- core: fix fakeAsync() error messages (#40442) (ad2b50b)
- forms: error if control is removed as a result of another one being reset (#40462) (2c5ad5c), closes #33401
- forms: clean up connection between FormControl/FormGroup and corresponding directive instances (#39235) (a384961), closes #20007 #37431 #39590
- language-service: fix go to definition for template variables and references (#40455) (#40491) (3e134e4)
- language-service: Paths on Windows should be normalized (#40492) (b8e47e2), closes /github.com/angular/vscode-ng-language-service/blob/9fca9c66510974c26d5c21b31adb9fa39ac0a38a/server/src/session.ts#L594
- language-service: report non-template diagnostics (#40331) (4db89f4)
- language-service: diagnostic and definition should work for absolute url (#40406) (625d2c2)
- language-service: reinstate overridden compiler option after change (#40364) (811cacc)
- language-service: Support 'find references' for two-way bindings (#40185) (ebb7ac5)
- language-service: Support 'go to definition' for two-way bindings (#40185) (a9d8c22)
- language-service: Support completions of two-way bindings (#40185) (7d74853)
- language-service: Do not include $event parameter in reference results (#40158) (d466db8), closes #40157
- language-service: include compilerOptions.rootDir in rootDirs (#40243) (a62416c), closes angular/vscode-ng-language-service#1039
- language-service: LSParseConfigHost.resolve should not concat abs paths (#40242) (0264f76)
- language-service: return all typecheck files via getExternalFiles (#40162) (183fb7e)
- language-service: shorthand syntax with variables (#40239) (12cb39c)
- language-service: force compileNonExportedClasses: false in LS (#40092) (028e4f7)
- language-service: Prevent matching nodes after finding a keySpan (#40047) (1bf1b68)
- language-service: do not return external template that does not exist (#39898) (2b84882)
- language-service: do not treat file URIs as general URLs (#39917) (3b70098)
- localize: ensure extracted messages are serialized in a consistent order (#40192) (212245f), closes #39262
- ngcc: copy (and update) source-maps for unmodified source files (#40429) (e2e3862), closes #40358
- service-worker: handle error with ErrorHandler (#39990) (74e42cf), closes #39913
- router: correctly handle string command in outlets (#39728) (c33a823), closes #18928
- router: lazy loaded modules without RouterModule.forChild() won't cause an infinite loop (#36605) (6675b6f), closes #29164
- router: remove duplicated getOutlet function (#39764) (5fa7673)
- service-worker: correctly handle failed cache-busted request (#39786) (6046419), closes #39775 #39775
- upgrade: avoid memory leak when removing downgraded components (#39965) (6dc43a4), closes #26209 #39911 #39921
- upgrade: fix HMR for hybrid applications (#40045) (b4b21bd), closes #39935
Performance Improvements
- animations: use
ngDevMode
to tree-shake warning (#39964) (9ebe423)
- common: use
ngDevMode
to tree-shake warnings (#39964) (f022efa)
- core: use
ngDevMode
to tree-shake checkNoChanges
(#39964) (e1fe9ec)
- core: use
ngDevMode
to tree-shake warnings (#39959) (8b0cccc)
- core: make DI decorators tree-shakable when used for
useFactory
deps config (#40145) (0664d75), closes #40143
- forms: use
ngDevMode
to tree-shake _ngModelWarning
(#39964) (7954c8d)
- ngcc: do not copy files that have been processed (#40429) (798aae4)
Features
- common: allow any Subscribable in async pipe (#39627) (c7f4abf)
- compiler: recover expression parsing in more malformed pipe cases (#39437) (e336572)
- compiler: support recovery of malformed property writes (#39103) (e44e10b)
- compiler: add schema for Trusted Types sinks (#39554) (358c50e)
- compiler: support error reporting in I18nMetaVisitor (#39554) (bb70a9b)
- compiler: support tagged template literals in code generator (#39122) (ef89274)
- compiler: allow trailing comma in array literal (#22277) (8d613c1), closes #20773
- compiler-cli: implement partial directive declaration linking (#39518) (87e9cd6)
- compiler-cli: partial compilation of directives (#39518) (8c0a92b)
- compiler-cli: add support for using TypeScript 4.1 (#39571) (a7e7c21)
- compiler-cli: support for partial compilation of components (#39707) (e75244e)
- compiler-cli: expose function to allow short-circuiting of linking (#40137) (7dcf286)
- compiler-cli: JIT compilation of component declarations (#40127) (d4327d5)
- compiler-cli: JIT compilation of directive declarations (#40101) (9186f1f)
- core: add shouldCoalesceRunChangeDetection option to coalesce change detections in the same event loop. (#39422) (5e92d64), closes #39348 #39348
- core: adds get method to QueryList (#36907) (a965589), closes #29467
- core: Add schematic to fix invalid
Route
configs (#40067) (805b4f9)
- language-service: log Angular compiler options (#40364) (6a9e328)
- language-service: autocomplete pipe binding expressions (#40032) (cbb6eae)
- language-service: autocompletion of element tags (#40032) (e42250f)
- language-service: autocompletion within expression contexts (#39727) (93a8326)
- language-service: complete attributes on elements (#40032) (66378ed)
- language-service: completions for structural directives (#40032) (2a74431)
- language-service: enable get references for directive and component from template (#40054) (973f797)
- language-service: Add "find references" capability to Ivy integrated LS (#39768) (06a782a)
- language-service: implement autocompletion for global properties (Ivy) (#39250) (28a0bcb)
- language-service: Implement go to definition for style and template urls (#39202) (563fb6c)
- localize: support Application Resource Bundle (ARB) translation file format (#36795) (5684ac5)
- platform-browser: add doubletap HammerJS support (#26362) (b5c0f9d), closes #23954
- router: add
relativeTo
as an input to routerLink
(#39720) (112324a), closes #13523
11.0.9 (2021-01-13)
Bug Fixes
- compiler: incorrectly inferring content type of SVG-specific title tag (#40259) (642c45b), closes #31503
- compiler-cli: prevent stack overflow in decorator transform for large number of files (#40374) (ff36485), closes #40276
- ngcc: compute the correct package paths for target entry-points (#40376) (584b78a), closes #40352 #40357
- router: better ngZone checking for warning (#25839) (adf42da), closes #25837
- service-worker: allow checking for updates when constantly polling the server (#40234) (a7befd5), closes #40207
- service-worker: ensure SW stays alive while notifying clients about unrecoverable state (#40234) (c01b5ea)
11.0.8 (2021-01-11)
Bug Fixes
- core: memory leak if view container host view is destroyed while view ref is not (#40219) (f691e85), closes #38648
- forms: handle standalone
<form>
tag correctly in NgControlStatusGroup
directive (#40344) (b3f322f), closes #38391
- router: Remove usage of
Object.values
to avoid the need for a polyfill (#40370) (c44dd84)
11.0.7 (2021-01-07)
Bug Fixes
11.0.6 (2021-01-06)
Bug Fixes
11.0.5 (2020-12-16)
Bug Fixes
- compiler: handle strings inside bindings that contain binding characters (#39826) (f5aab2b), closes #39601
- core: fix possible XSS attack in development through SSR. (#40136) (0aa220b)
- core: set
ngDevMode
to false
when calling enableProdMode()
(#40124) (922f492)
- upgrade: fix HMR for hybrid applications (#40045) (c4c7509), closes #39935
11.0.4 (2020-12-09)
Bug Fixes
- animations: implement getPosition in browser animation builder (#39983) (5a765f0)
- compiler-cli: correct incremental behavior even with broken imports (#39967) (adeeb84)
- compiler-cli: remove the concept of an errored trait (#39967) (0aa35ec)
- compiler-cli: track poisoned scopes with a flag (#39967) (178cc51)
- core: remove application from the testability registry when the root view is removed (#39876) (3680ad1), closes #22106
- core: unsubscribe from the
onError
when the root view is removed (#39940) (35309bb)
- language-service: do not return external template that does not exist (#39898) (6b6fcd7)
- language-service: do not treat file URIs as general URLs (#39917) (829988b)
- service-worker: handle error with ErrorHandler (#39990) (588dbd3), closes #39913
- upgrade: avoid memory leak when removing downgraded components (#39965) (97310d3), closes #26209 #39911 #39921
Performance Improvements
- animations: use
ngDevMode
to tree-shake warning (#39964) (72aad32)
- common: use
ngDevMode
to tree-shake warnings (#39964) (bf3de9b)
- core: use
ngDevMode
to tree-shake checkNoChanges
(#39964) (2fbb684)
- core: use
ngDevMode
to tree-shake warnings (#39959) (1e3534f)
- forms: use
ngDevMode
to tree-shake _ngModelWarning
(#39964) (735556d)
11.0.3 (2020-12-02)
Bug Fixes
- animations: getAnimationStyle causes exceptions in older browsers (#29709) (cb1d77a)
- animations: replace copy of query selector node-list from "spread" to "for" (#39646) (e95cd2a), closes #38551
- common: Prefer to use pageXOffset / pageYOffset instance of scrollX / scrollY (#28262) (5692607)
- compiler: ensure that placeholders have the correct sourceSpan (#39717) (8ec7156), closes #39671
- compiler: report better error on interpolation in an expression (#30300) (6dc74fd)
- compiler-cli: report error when a reference target is missing instead of crashing (#39805) (8634611), closes #38618 #39744
- core: Ensure OnPush ancestors are marked dirty when events occur (#39833) (01c1bfd), closes #39832
- core: meta addTag() adds incorrect attribute for httpEquiv (#32531) (3114b0a)
- core: migration error if program contains files outside of the project (#39790) (7dcc212), closes #39778
- core: not invoking object's toString when rendering to the DOM (#39843) (75e22ab), closes #38839
- core: remove duplicated noop function (#39761) (26a1337)
- core: support
Attribute
DI decorator in deps
section of a token (#37085) (aaa3111), closes #36479
- router: correctly handle string command in outlets (#39728) (50c19a2), closes #18928
- router: remove duplicated getOutlet function (#39764) (df231ad)
- service-worker: correctly handle failed cache-busted request (#39786) (7bf73d7), closes #39775 #39775
DEPRECATIONS
- forms: Mark the {[key: string]: any} type for the options property of the FormBuilder.group method as deprecated. Using AbstractControlOptions gives the same functionality and is type-safe.
11.0.2 (2020-11-19)
Bug Fixes
11.0.1 (2020-11-18)
Bug Fixes
- compiler-cli: incorrectly type checking calls to implicit template variables (#39686) (e05cfdd), closes #39634 * compiler-cli: setComponentScope should only list used components/pipes (#39662) (8d317df) * core: handle !important in style property value (#39603) (978f081), closes #35323 * core: not inserting ViewContainerRef nodes when inside root of a component (#39599) (20db90a), closes #39556 * core: remove deprecated wtfZoneSpec from NgZone (#37864) (e02bea8), closes #33949
- forms: more precise control cleanup (#39623) (050cea9)
- http: queue jsonp