Tim-sandbox / barista

Apache License 2.0
0 stars 0 forks source link

Update dependency @angular/compiler-cli to v12 - autoclosed #127

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

Package Type Update Change
@angular/compiler-cli devDependencies major ~11.2.14 -> ~12.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 7.5 CVE-2020-28469 #53

Release Notes

angular/angular ### [`v12.0.0`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1200-2021-05-12) [Compare Source](https://togithub.com/angular/angular/compare/11.2.14...12.0.0) [Blog post "Angular v12 is now available"](https://blog.angular.io/angular-v12-is-now-available-32ed51fbfd49). ##### Bug Fixes - **animations:** ensure consistent transition namespace ordering ([#​19854](https://togithub.com/angular/angular/issues/19854)) ([01cc995](https://togithub.com/angular/angular/commit/01cc99589bc449eaf3b1de2c94636de878843fba)) - **animations:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([e918250](https://togithub.com/angular/angular/commit/e918250a0624cff9bbbbdb016a069303a99fb8cc)) - **animations:** cleanup DOM elements when the root view is removed ([#​41059](https://togithub.com/angular/angular/issues/41059)) ([c49b280](https://togithub.com/angular/angular/commit/c49b28013a6c017c9afc73bbc00bb4fdcf15c70e)) - **animations:** allow animations on elements in the shadow DOM ([#​40134](https://togithub.com/angular/angular/issues/40134)) ([dad42c8](https://togithub.com/angular/angular/commit/dad42c8cd669357f9c862023abc5f4695863040d)), closes [#​25672](https://togithub.com/angular/angular/issues/25672) - **animations:** cleanup DOM elements when the root view is removed ([#​41001](https://togithub.com/angular/angular/issues/41001)) ([a31da48](https://togithub.com/angular/angular/commit/a31da4850788800ba9735d617e7e3bb621a79c93)) - **bazel:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([8503246](https://togithub.com/angular/angular/commit/85032460f133162cc712ab3b9f04d42ff3b6d6d9)) - **bazel:** update build tooling for latest changes in rules_nodejs ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([696f7bc](https://togithub.com/angular/angular/commit/696f7bc)) - **bazel:** update integration test to use rules_nodejs@3.1.0 ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([34de89a](https://togithub.com/angular/angular/commit/34de89a)) - **bazel:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([2c90391](https://togithub.com/angular/angular/commit/2c90391)) - **benchpress:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([e721a5d](https://togithub.com/angular/angular/commit/e721a5d)) - **common:** add right ContentType for boolean values with HttpClient request body([#​38924](https://togithub.com/angular/angular/issues/38924)) ([#​41885](https://togithub.com/angular/angular/issues/41885)) ([922a602](https://togithub.com/angular/angular/commit/922a60283183c47a268fd084302b2bc87267a73e)) - **common:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([f2b6fd8](https://togithub.com/angular/angular/commit/f2b6fd87056cf3159e8ecc275ce654e47fdfa6f0)) - **common:** viewport scroller not finding elements inside the shadow DOM ([#​41644](https://togithub.com/angular/angular/issues/41644)) ([c0f5ba3](https://togithub.com/angular/angular/commit/c0f5ba3d36b2509a71d09c436d247211a58ee80d)), closes [#​41470](https://togithub.com/angular/angular/issues/41470) - **common:** temporarily re-export and deprecate `XhrFactory` ([#​41393](https://togithub.com/angular/angular/issues/41393)) ([7dfa446](https://togithub.com/angular/angular/commit/7dfa446c4ace99f4b64069cf672dcaa3665a1f5b)) - **common:** cleanup location change listeners when the root view is removed ([#​40867](https://togithub.com/angular/angular/issues/40867)) ([38524c4](https://togithub.com/angular/angular/commit/38524c4d29290d3339ad2d7335a0ea84f5701d26)), closes [#​31546](https://togithub.com/angular/angular/issues/31546) - **common:** allow number or boolean as http params ([#​40663](https://togithub.com/angular/angular/issues/40663)) ([91cdc11](https://togithub.com/angular/angular/commit/91cdc11aa0347d1b71f2f732e00af9c3ff8078fc)), closes [#​23856](https://togithub.com/angular/angular/issues/23856) - **common:** avoid mutating context object in NgTemplateOutlet ([#​40360](https://togithub.com/angular/angular/issues/40360)) ([d3705b3](https://togithub.com/angular/angular/commit/d3705b3284113f752ee05e9f0d2f6e75c723ea5b)), closes [#​24515](https://togithub.com/angular/angular/issues/24515) - **compiler:** preserve [@​page](https://togithub.com/page) rules in encapsulated styles ([#​41915](https://togithub.com/angular/angular/issues/41915)) ([3e365ba](https://togithub.com/angular/angular/commit/3e365ba81e313ee31af7a8e9042e33fc046067e0)), closes [#​26269](https://togithub.com/angular/angular/issues/26269) - **compiler:** strip scoped selectors from `@font-face` rules ([#​41815](https://togithub.com/angular/angular/issues/41815)) ([2a11cda](https://togithub.com/angular/angular/commit/2a11cdab51a2d8d7f644ceca744568a1617f5242)), closes [#​41751](https://togithub.com/angular/angular/issues/41751) - **compiler:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([bae8126](https://togithub.com/angular/angular/commit/bae81269c7461063821be7beb66b516e5a8995ce)) - **compiler:** non-literal inline templates incorrectly processed in partial compilation ([#​41583](https://togithub.com/angular/angular/issues/41583)) ([ab257b3](https://togithub.com/angular/angular/commit/ab257b370127dce70bd3ee7ad6d64d3a9ad5ae95)) - **compiler:** not generating update instructions for ng-template inside alternate namespaces ([#​41669](https://togithub.com/angular/angular/issues/41669)) ([2bcbbda](https://togithub.com/angular/angular/commit/2bcbbda78913be014534fde72318ab09795350f9)), closes [#​41308](https://togithub.com/angular/angular/issues/41308) - **compiler:** avoid parsing EmptyExpr with a backwards span ([#​41581](https://togithub.com/angular/angular/issues/41581)) ([e1a2930](https://togithub.com/angular/angular/commit/e1a29308933e99ee3e0d92aae42b33834f20f50a)) - **compiler:** handle case-sensitive CSS custom properties ([#​41380](https://togithub.com/angular/angular/issues/41380)) ([e112e32](https://togithub.com/angular/angular/commit/e112e320bf6c2b60e8ecea46f80bcaec593c65b7)), closes [#​41364](https://togithub.com/angular/angular/issues/41364) - **compiler:** include used components during JIT compilation of partial component declaration ([#​41353](https://togithub.com/angular/angular/issues/41353)) ([ff9470b](https://togithub.com/angular/angular/commit/ff9470b0a0196a3638f19028bba15e002cb0ff27)), closes [#​41104](https://togithub.com/angular/angular/issues/41104) [#​41318](https://togithub.com/angular/angular/issues/41318) - **compiler:** support multiple `:host-context()` selectors ([#​40494](https://togithub.com/angular/angular/issues/40494)) ([07b7af3](https://togithub.com/angular/angular/commit/07b7af3)), closes [#​19199](https://togithub.com/angular/angular/issues/19199) - **compiler:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([f728490](https://togithub.com/angular/angular/commit/f728490)) - **compiler-cli:** use '' for the source map URL of indirect templates ([#​41973](https://togithub.com/angular/angular/issues/41973)) ([7a4d980](https://togithub.com/angular/angular/commit/7a4d9805ea73d1b6a7659987da77d266d5e01b88)), closes [#​40854](https://togithub.com/angular/angular/issues/40854) - **compiler-cli:** expose the linker as a Babel plugin ([#​41918](https://togithub.com/angular/angular/issues/41918)) ([8fdac8f](https://togithub.com/angular/angular/commit/8fdac8f4361fd4ac0f20c21c98289c19e8864347)) - **compiler-cli:** prefer non-aliased exports in reference emitters ([#​41866](https://togithub.com/angular/angular/issues/41866)) ([75bb931](https://togithub.com/angular/angular/commit/75bb931889b946c243161a6ce0503bc7d08a6565)), closes [#​41443](https://togithub.com/angular/angular/issues/41443) [#​41277](https://togithub.com/angular/angular/issues/41277) - **compiler-cli:** allow linker to process minified booleans ([#​41747](https://togithub.com/angular/angular/issues/41747)) ([1fb6724](https://togithub.com/angular/angular/commit/1fb6724b1f66c4681ddb201bc9b5441d20f5b920)), closes [#​41655](https://togithub.com/angular/angular/issues/41655) - **compiler-cli:** match string indexed partial declarations ([#​41747](https://togithub.com/angular/angular/issues/41747)) ([f885750](https://togithub.com/angular/angular/commit/f8857507642f5d12eebf4ef1ca68b63cc51f4f81)), closes [#​41655](https://togithub.com/angular/angular/issues/41655) - **compiler-cli:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([5b463f4](https://togithub.com/angular/angular/commit/5b463f4541946c795835c9d9cfd7a21e7b0caffc)) - **compiler-cli:** autocomplete literal types in templates. ([#​41456](https://togithub.com/angular/angular/issues/41456)) ([#​41645](https://togithub.com/angular/angular/issues/41645)) ([8b2b5ef](https://togithub.com/angular/angular/commit/8b2b5ef903a21b599dfc4bfe8b0c64f7c136c3a9)) - **compiler-cli:** do not error with prepocessing if component has no inline styles ([#​41602](https://togithub.com/angular/angular/issues/41602)) ([a5fe8b9](https://togithub.com/angular/angular/commit/a5fe8b95893798467c4eea2b3d38d49f6d0ce1b3)) - **compiler-cli:** ensure the compiler tracks `ts.Program`s correctly ([#​41291](https://togithub.com/angular/angular/issues/41291)) ([deacc74](https://togithub.com/angular/angular/commit/deacc741e0ee41666292d2e2c07812a78daf5d6f)) - **compiler-cli:** prevent eliding default imports in incremental recompilations ([#​41557](https://togithub.com/angular/angular/issues/41557)) ([7f16515](https://togithub.com/angular/angular/commit/7f1651574ee95eaaa5f636fc37be7b07d1a808e5)), closes [#​41377](https://togithub.com/angular/angular/issues/41377) - **compiler-cli:** resolve `rootDirs` to absolute ([#​41359](https://togithub.com/angular/angular/issues/41359)) ([3e0fda9](https://togithub.com/angular/angular/commit/3e0fda96b827e577cc300f46e8497cb6c810ad61)), closes [#​36290](https://togithub.com/angular/angular/issues/36290) - **compiler-cli:** add `useInlining` option to type check config ([#​41043](https://togithub.com/angular/angular/issues/41043)) ([09aefd2](https://togithub.com/angular/angular/commit/09aefd29045db77689f4dc16a6abae09a79cfb81)), closes [#​40963](https://togithub.com/angular/angular/issues/40963) - **compiler-cli:** `readConfiguration` existing options should override options in tsconfig ([#​40694](https://togithub.com/angular/angular/issues/40694)) ([b7c4d07](https://togithub.com/angular/angular/commit/b7c4d07e81277f7aed566e443d1d4e1395c5a2f4)) - **compiler-cli:** extend `angularCompilerOptions` in tsconfig from node ([#​40694](https://togithub.com/angular/angular/issues/40694)) ([5eb1954](https://togithub.com/angular/angular/commit/5eb195416bf73f2fa59de52531724d8d19392975)), closes [#​36715](https://togithub.com/angular/angular/issues/36715) - **compiler-cli:** update ngcc integration tests for latest changes in rules_nodejs ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([d7f5755](https://togithub.com/angular/angular/commit/d7f5755)) - **compiler-cli:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([b75d7cb](https://togithub.com/angular/angular/commit/b75d7cb)) - **core:** do not retain dynamically compiled components and modules ([#​42003](https://togithub.com/angular/angular/issues/42003)) ([1449c5c](https://togithub.com/angular/angular/commit/1449c5c8ff3bf706c501130fe261627effe5d212)), closes [#​19997](https://togithub.com/angular/angular/issues/19997) - **core:** invoke profiler around ngOnDestroy lifecycle hooks ([#​41969](https://togithub.com/angular/angular/issues/41969)) ([e9ddc57](https://togithub.com/angular/angular/commit/e9ddc57f948f0cb18e3e334aeb3084d1b49689b1)) - **core:** AsyncPipe now compatible with RxJS 7 ([#​41590](https://togithub.com/angular/angular/issues/41590)) ([9759bca](https://togithub.com/angular/angular/commit/9759bca339b44ed78ec6aafab0336d531d285f90)) - **core:** handle multiple i18n attributes with expression bindings ([#​41882](https://togithub.com/angular/angular/issues/41882)) ([73c6c64](https://togithub.com/angular/angular/commit/73c6c64f82d45c34203d4d18d759ad0c33a6b221)), closes [#​41869](https://togithub.com/angular/angular/issues/41869) - **core:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([f9c1f08](https://togithub.com/angular/angular/commit/f9c1f089573e0158eb5e4443658cfd25aeeeb091)) - **core:** detect synthesized constructors that have been downleveled using TS 4.2 ([#​41305](https://togithub.com/angular/angular/issues/41305)) ([274dc15](https://togithub.com/angular/angular/commit/274dc15452739e4fab2f647804a64d5b797cfed5)), closes [#​41298](https://togithub.com/angular/angular/issues/41298) - **core:** Switch `emitDistinctChangesOnlyDefaultValue` to true ([#​41121](https://togithub.com/angular/angular/issues/41121)) ([7096246](https://togithub.com/angular/angular/commit/70962465b5795f0a192f745016b1c461e7c8790b)) - **core:** remove duplicated EMPTY_OBJ constant ([#​41066](https://togithub.com/angular/angular/issues/41066)) ([bf158e7](https://togithub.com/angular/angular/commit/bf158e7ff0715aabeae3c2c1ac923bf8cc7e4cfd)) - **core:** remove duplicated EMPTY_ARRAY constant ([#​40991](https://togithub.com/angular/angular/issues/40991)) ([e12d9de](https://togithub.com/angular/angular/commit/e12d9dec64bc3d02e58f8f85a65a939394fb9531)) - **core:** allow EmbeddedViewRef context to be updated ([#​40360](https://togithub.com/angular/angular/issues/40360)) ([a3e1719](https://togithub.com/angular/angular/commit/a3e17190e7e7e0329ed3643299c24d5fd510b7d6)), closes [#​24515](https://togithub.com/angular/angular/issues/24515) - **core:** make DefaultIterableDiffer keep the order of duplicates ([#​23941](https://togithub.com/angular/angular/issues/23941)) ([a826926](https://togithub.com/angular/angular/commit/a826926)), closes [#​23815](https://togithub.com/angular/angular/issues/23815) - **core:** NgZone coaleascing options should trigger onStable correctly ([#​40540](https://togithub.com/angular/angular/issues/40540)) ([22f9e45](https://togithub.com/angular/angular/commit/22f9e45)) - **elements:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([4f5d094](https://togithub.com/angular/angular/commit/4f5d094f3a385cdc6d93c7676457484e3d8b6b09)) - **elements:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([efd4149](https://togithub.com/angular/angular/commit/efd4149)) - **forms:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([dc975ba](https://togithub.com/angular/angular/commit/dc975bac93a8087d1f31a31db60ef313147e589f)) - **http:** complete the request on timeout ([#​39807](https://togithub.com/angular/angular/issues/39807)) ([61a0b6d](https://togithub.com/angular/angular/commit/61a0b6d)), closes [#​26453](https://togithub.com/angular/angular/issues/26453) - **http:** emit error on XMLHttpRequest abort event ([#​40767](https://togithub.com/angular/angular/issues/40767)) ([3897265](https://togithub.com/angular/angular/commit/3897265)), closes [#​22324](https://togithub.com/angular/angular/issues/22324) - **language-service:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([9b6198c](https://togithub.com/angular/angular/commit/9b6198c16f122dd934ac6a66d2ada21df26839b5)) - **language-service:** use script versions for incremental compilations ([#​41475](https://togithub.com/angular/angular/issues/41475)) ([78236bf](https://togithub.com/angular/angular/commit/78236bfdcaeb66c5846eb0435d727942bb88f7c5)) - **language-service:** Only provide Angular property completions in templates ([#​41278](https://togithub.com/angular/angular/issues/41278)) ([0226a11](https://togithub.com/angular/angular/commit/0226a11c185da2d1e6f7833972d3f12205a6ae59)) - **language-service:** Add plugin option to force strictTemplates ([#​41062](https://togithub.com/angular/angular/issues/41062)) ([e9e7c33](https://togithub.com/angular/angular/commit/e9e7c33f3c170648ec8c86d859980c7fe78fba39)) - **language-service:** use single entry point for Ivy and View Engine ([#​40967](https://togithub.com/angular/angular/issues/40967)) ([e986a97](https://togithub.com/angular/angular/commit/e986a9787b7787c3cffef69d06a2e7e1228e3f40)) - **localize:** relax error to warning for missing target ([#​41944](https://togithub.com/angular/angular/issues/41944)) ([35ceed2](https://togithub.com/angular/angular/commit/35ceed2061a890a70576dc7afa0b779f3779ae7b)), closes [#​21690](https://togithub.com/angular/angular/issues/21690) - **localize:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([658ed1f](https://togithub.com/angular/angular/commit/658ed1f904ef0013c3b08e2b2182cf246ef55b2b)) - **localize:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([4b469c9](https://togithub.com/angular/angular/commit/4b469c9)) - **ngcc:** detect synthesized constructors that have been downleveled using TS 4.2 ([#​41305](https://togithub.com/angular/angular/issues/41305)) ([8d3da56](https://togithub.com/angular/angular/commit/8d3da56eda12070df1fb473c8609f3a94d77bfd6)), closes [#​41298](https://togithub.com/angular/angular/issues/41298) - **platform-browser:** prevent memory leak of style nodes if shadow DOM encapsulation is used ([#​42005](https://togithub.com/angular/angular/issues/42005)) ([d555555](https://togithub.com/angular/angular/commit/d5555558d00774520dbda40d48721bda2cb9dd1a)), closes [#​36655](https://togithub.com/angular/angular/issues/36655) - **platform-browser:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([ea05cfd](https://togithub.com/angular/angular/commit/ea05cfd0c5a99840f4522b604c33a5b2f7f25f7d)) - **platform-browser:** configure `XhrFactory` to use `BrowserXhr` ([#​41313](https://togithub.com/angular/angular/issues/41313)) ([e0028e5](https://togithub.com/angular/angular/commit/e0028e57410281e190caa74e0986320f6591d27b)), closes [#​41311](https://togithub.com/angular/angular/issues/41311) - **platform-browser:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([7ecfd2d](https://togithub.com/angular/angular/commit/7ecfd2d)) - **platform-browser-dynamic:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([bc45029](https://togithub.com/angular/angular/commit/bc45029a5437bcea45fa00549241685a1a3f32d0)) - **platform-server:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([4b9d4fa](https://togithub.com/angular/angular/commit/4b9d4fa3e729a3af13fb5b50de3e5c73c1d6923f)) - **router:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([0067edd](https://togithub.com/angular/angular/commit/0067edd1469a428c11bbe6358fd5650e79abf774)) - **router:** Only retrieve stored route when reuse strategy indicates it should reattach ([#​30263](https://togithub.com/angular/angular/issues/30263)) ([a4ff071](https://togithub.com/angular/angular/commit/a4ff071e3f08e3de6d4d3f97c747c2f42b827c49)), closes [#​23162](https://togithub.com/angular/angular/issues/23162) - **router:** recursively merge empty path matches ([#​41584](https://togithub.com/angular/angular/issues/41584)) ([1179dc8](https://togithub.com/angular/angular/commit/1179dc8cb32c9fc451d2af9215c4740af9d2e291)), closes [#​41481](https://togithub.com/angular/angular/issues/41481) - **router:** fragment can be null ([#​37336](https://togithub.com/angular/angular/issues/37336)) ([b555160](https://togithub.com/angular/angular/commit/b5551609fe02787641bdfdb0a6edfded413a3b52)), closes [#​23894](https://togithub.com/angular/angular/issues/23894) [#​34197](https://togithub.com/angular/angular/issues/34197) - **router:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([350dada](https://togithub.com/angular/angular/commit/350dada)) - **service-worker:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([6b823d7](https://togithub.com/angular/angular/commit/6b823d7071d59234ab52bdf7eaa248df6b7d9faa)) - **service-worker:** update type castings for JSON.parse usage ([#​40710](https://togithub.com/angular/angular/issues/40710)) ([4f7ff96](https://togithub.com/angular/angular/commit/4f7ff96)) - **upgrade:** preserve $interval.flush when ngMocks is being used ([#​30229](https://togithub.com/angular/angular/issues/30229)) ([87dc851](https://togithub.com/angular/angular/commit/87dc8511ccb9c75d78866ebd2c250ea96fc91bd0)) - **upgrade:** update supported range of node versions to only include LTS versions ([#​41822](https://togithub.com/angular/angular/issues/41822)) ([10c4523](https://togithub.com/angular/angular/commit/10c45239a68e82ea52c1601fae09953aa7843351)) ##### Build System - `ng_package` no longer generate minified UMDs ([#​41425](https://togithub.com/angular/angular/issues/41425)) ([5a8bc1b](https://togithub.com/angular/angular/commit/5a8bc1bfe1c809705dfaa7e4723dd055308cd468)) ##### Features - **animations:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([547363a](https://togithub.com/angular/angular/commit/547363a851567f66e9aee6c80f9e98c739889969)) - **animations:** add support for disabling animations through BrowserAnimationsModule.withConfig ([#​40731](https://togithub.com/angular/angular/issues/40731)) ([29d8a0a](https://togithub.com/angular/angular/commit/29d8a0ab09a13600405343037079d151c3a04095)) - **bazel:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([d583d92](https://togithub.com/angular/angular/commit/d583d926db537cc74f9235cad51189dbe83fbb44)) - **common:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([e0250e5](https://togithub.com/angular/angular/commit/e0250e567ae47ed7b77e9d88a3289727c056a6f1)) - **common:** add `historyGo` method to `Location` service ([#​38890](https://togithub.com/angular/angular/issues/38890)) ([e05a6f3](https://togithub.com/angular/angular/commit/e05a6f3bb3048e9a94a4b154526221dea290312d)) - **common:** support ICU standard "stand alone day of week" with `DatePipe` ([#​40766](https://togithub.com/angular/angular/issues/40766)) ([c56ecab](https://togithub.com/angular/angular/commit/c56ecab515c28d2ad45c630080bfbf549675528a)), closes [#​26922](https://togithub.com/angular/angular/issues/26922) - **common:** implement `appendAll()` method on `HttpParams` ([#​20930](https://togithub.com/angular/angular/issues/20930)) ([575a2d1](https://togithub.com/angular/angular/commit/575a2d1)), closes [#​20798](https://togithub.com/angular/angular/issues/20798) - **compiler:** support nullish coalescing in templates ([#​41437](https://togithub.com/angular/angular/issues/41437)) ([ec27bd4](https://togithub.com/angular/angular/commit/ec27bd4ed1cc086d76d8142fadf87354b38aa61a)), closes [#​36528](https://togithub.com/angular/angular/issues/36528) - **compiler:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([75cc813](https://togithub.com/angular/angular/commit/75cc8133ad8efd6453694f222e2cc6789c4de7b2)) - **compiler:** emit @​**PURE** or [@​pure](https://togithub.com/pure)OrBreakMyCode annotations in the generated code ([#​41096](https://togithub.com/angular/angular/issues/41096)) ([9c21028](https://togithub.com/angular/angular/commit/9c210281d4073289ff4633a866e395ca34e97ef9)) - **compiler-cli:** mark ability to use partial compilation mode as stable ([#​41518](https://togithub.com/angular/angular/issues/41518)) ([6ba67c6](https://togithub.com/angular/angular/commit/6ba67c6fff52d5da443f36fa1bfe1cc1f0919c51)), closes [#​41496](https://togithub.com/angular/angular/issues/41496) - **compiler-cli:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([b7bd238](https://togithub.com/angular/angular/commit/b7bd23817ed81c7359c0559e825ca385975fcafd)) - **compiler-cli:** support transforming component style resources ([#​41307](https://togithub.com/angular/angular/issues/41307)) ([1de04b1](https://togithub.com/angular/angular/commit/1de04b124e1e92ea21a070c9d928664f193d220c)) - **compiler-cli:** support producing Closure-specific PURE annotations ([#​41021](https://togithub.com/angular/angular/issues/41021)) ([fbc9df1](https://togithub.com/angular/angular/commit/fbc9df181ea50527cb755382b54b8b45d0f9ef39)) - **core:** introduce getDirectiveMetadata global debugging utility ([#​41525](https://togithub.com/angular/angular/issues/41525)) ([a07f303](https://togithub.com/angular/angular/commit/a07f30370848ecd051649a4862de39cf5bc2b541)) - **core:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([e66a5fb](https://togithub.com/angular/angular/commit/e66a5fbca687464421bf5e892ba16aa31448c2b9)) - **core:** support `forwardRef` in `providedIn` of `Injectable` declaration ([#​41426](https://togithub.com/angular/angular/issues/41426)) ([f7c294e](https://togithub.com/angular/angular/commit/f7c294ee0f4131dae83d4b6a7fa4e497df84aa57)), closes [#​41205](https://togithub.com/angular/angular/issues/41205) - **core:** add migration for `XhrFactory` import ([#​41313](https://togithub.com/angular/angular/issues/41313)) ([95ff5ec](https://togithub.com/angular/angular/commit/95ff5ecb239d55a239113b0a2e1f7620f6e34676)) - **core:** drop support for TypeScript 4.0 and 4.1 ([#​41158](https://togithub.com/angular/angular/issues/41158)) ([fa04894](https://togithub.com/angular/angular/commit/fa048948be75c30dafebda69efbeb81776460500)) - **core:** support TypeScript 4.2 ([#​41158](https://togithub.com/angular/angular/issues/41158)) ([59ef409](https://togithub.com/angular/angular/commit/59ef40988e94f3173134368bc7d4e2726cdd8455)) - **core:** manually annotate de-sugarred core tree-shakable providers with [@​pure](https://togithub.com/pure)OrBreakMyCode ([#​41096](https://togithub.com/angular/angular/issues/41096)) ([03d47d5](https://togithub.com/angular/angular/commit/03d47d570167a5a70b17552ca2c8d531683d900f)) - **core:** more precise type for `APP_INITIALIZER` token ([#​40986](https://togithub.com/angular/angular/issues/40986)) ([ca721c2](https://togithub.com/angular/angular/commit/ca721c2972f44d903a0e12fae3397ab62769e649)), closes [#​40729](https://togithub.com/angular/angular/issues/40729) - **core:** drop support for zone.js 0.10.x ([#​40823](https://togithub.com/angular/angular/issues/40823)) ([aaf9b31](https://togithub.com/angular/angular/commit/aaf9b31fb472826c279a720cc875007987f9aa6f)), closes [angular/angular-cli#​20034](https://togithub.com/angular/angular-cli/issues/20034) - **core:** support APP_INITIALIZER work with observable ([#​33222](https://togithub.com/angular/angular/issues/33222)) ([ca17ac5](https://togithub.com/angular/angular/commit/ca17ac523cc2ed8046931c86a2c12d97fb6796ca)), closes [#​15088](https://togithub.com/angular/angular/issues/15088) - **elements:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([12fc08b](https://togithub.com/angular/angular/commit/12fc08bf9c07f14fce1790e751bd3f6779ed55dd)) - **forms:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([a0006a6](https://togithub.com/angular/angular/commit/a0006a6bfb78e09d355baca63065958458b5d8cd)) - **forms:** add `emitEvent` option for AbstractControl-based class methods ([#​31031](https://togithub.com/angular/angular/issues/31031)) ([4ec045e](https://togithub.com/angular/angular/commit/4ec045e12b7614b901d4ef643988b86f09dfeee5)), closes [#​29662](https://togithub.com/angular/angular/issues/29662) - **forms:** introduce min and max validators ([#​39063](https://togithub.com/angular/angular/issues/39063)) ([8fb83ea](https://togithub.com/angular/angular/commit/8fb83ea)), closes [#​16352](https://togithub.com/angular/angular/issues/16352) - **http:** introduce HttpContext request context ([#​25751](https://togithub.com/angular/angular/issues/25751)) ([1644d64](https://togithub.com/angular/angular/commit/1644d64398491d4a324a5eee492d1fd37df52a01)) - **http:** expose a list of human-readable http status codes ([#​23548](https://togithub.com/angular/angular/issues/23548)) ([6fe3a1d](https://togithub.com/angular/angular/commit/6fe3a1d)), closes [#​23543](https://togithub.com/angular/angular/issues/23543) - **language-service:** implement signature help ([#​41581](https://togithub.com/angular/angular/issues/41581)) ([c7f9516](https://togithub.com/angular/angular/commit/c7f9516ab920baee755d61ce0deea502e88a58ba)) - **language-service:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([86621be](https://togithub.com/angular/angular/commit/86621bec580f3234c39169606ef9853e7bca1f4b)) - **language-service:** add perf tracing to LanguageService ([#​41319](https://togithub.com/angular/angular/issues/41319)) ([90f85da](https://togithub.com/angular/angular/commit/90f85da2de72f320653e6292968f70c87876bada)) - **language-service:** add command for getting components for a template file ([#​40655](https://togithub.com/angular/angular/issues/40655)) ([5cde4ad](https://togithub.com/angular/angular/commit/5cde4ad)) - **language-service:** Add diagnostics to suggest turning on strict mode ([#​40423](https://togithub.com/angular/angular/issues/40423)) ([ecae75f](https://togithub.com/angular/angular/commit/ecae75f)) - **language-service:** Implement `getRenameInfo` ([#​40439](https://togithub.com/angular/angular/issues/40439)) ([4e8198d](https://togithub.com/angular/angular/commit/4e8198d)) - **language-service:** initial implementation for `findRenameLocations` ([#​40140](https://togithub.com/angular/angular/issues/40140)) ([9a5ac47](https://togithub.com/angular/angular/commit/9a5ac47)) - **language-service:** view template typecheck block ([#​39974](https://togithub.com/angular/angular/issues/39974)) ([d482f5c](https://togithub.com/angular/angular/commit/d482f5c)) - **localize:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([590d4dd](https://togithub.com/angular/angular/commit/590d4dd5789788a8bd073d495df13e27725c4488)) - **localize:** add scripts to migrate away from legacy message IDs ([#​41026](https://togithub.com/angular/angular/issues/41026)) ([1735430](https://togithub.com/angular/angular/commit/17354304768f3c2b272c4c5d5636b5709287276f)) - **ngcc:** support `__read` helper as used by TypeScript 4.2 ([#​41201](https://togithub.com/angular/angular/issues/41201)) ([66e9970](https://togithub.com/angular/angular/commit/66e997069102a12c607d830c7edf91cb202e5902)) - **ngcc:** support `__spreadArray` helper as used by TypeScript 4.2 ([#​41201](https://togithub.com/angular/angular/issues/41201)) ([7b1214e](https://togithub.com/angular/angular/commit/7b1214eca2dd2f09e723a46bed857fcb7d40bc0b)) [#​40394](https://togithub.com/angular/angular/issues/40394) - **platform-browser:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([ef0d1c3](https://togithub.com/angular/angular/commit/ef0d1c354534f027837f95860955abd81f6c2bd7)) - **platform-browser-dynamic:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([b714f7b](https://togithub.com/angular/angular/commit/b714f7b93137ab9a064d5d93e4986025c08447db)) - **platform-server:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([c901b4d](https://togithub.com/angular/angular/commit/c901b4d11f9892b98d5df82d6f9cc0da54ae847f)) - **platform-server:** allow shimming the global env sooner ([#​40559](https://togithub.com/angular/angular/issues/40559)) ([43ecf8a](https://togithub.com/angular/angular/commit/43ecf8a77bc7e92d3c635b450de904732e938e64)), closes [#​24551](https://togithub.com/angular/angular/issues/24551) [#​39950](https://togithub.com/angular/angular/issues/39950) [#​39950](https://togithub.com/angular/angular/issues/39950) - **router:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([c30b171](https://togithub.com/angular/angular/commit/c30b171d20474d29323beb7cc99dc69c22d0f7fd)) - **router:** add migration for ActivatedRouteSnapshot.fragment ([#​41092](https://togithub.com/angular/angular/issues/41092)) ([190fa07](https://togithub.com/angular/angular/commit/190fa07b9a416defb581d2bf76d1deef7baefce6)), closes [#​37336](https://togithub.com/angular/angular/issues/37336) - **router:** Add more fine-tuned control in `routerLinkActiveOptions` ([#​40303](https://togithub.com/angular/angular/issues/40303)) ([6c05c80](https://togithub.com/angular/angular/commit/6c05c80f19bc84189cc1d2f2e029f6f13d60dc18)), closes [#​13205](https://togithub.com/angular/angular/issues/13205) - **router:** Allow for custom router outlet implementations ([#​40827](https://togithub.com/angular/angular/issues/40827)) ([a82fddf](https://togithub.com/angular/angular/commit/a82fddf1ce6166e0f697e429370eade114094670)) - **service-worker:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([fc597f1](https://togithub.com/angular/angular/commit/fc597f1db5d1774278803c24ecdd2bca387bf69b)) - **upgrade:** update supported range of node versions ([#​41544](https://togithub.com/angular/angular/issues/41544)) ([beafa22](https://togithub.com/angular/angular/commit/beafa22de9aceadf0e6ba63d0124a2dab66ae6dd)) ##### Performance Improvements - **common:** remove unused methods from DomAdapter ([#​41102](https://togithub.com/angular/angular/issues/41102)) ([3c66b10](https://togithub.com/angular/angular/commit/3c66b100dd6f05f53740f596c5eadb999c27c9c4)) - **compiler:** reduce amount of generated code for safe accesses and nullish coalescing ([#​41563](https://togithub.com/angular/angular/issues/41563)) ([9a3b82f](https://togithub.com/angular/angular/commit/9a3b82f19d26819c95c340d702c1c32787f2931e)), closes [#​41437](https://togithub.com/angular/angular/issues/41437) [#​41491](https://togithub.com/angular/angular/issues/41491) - **compiler-cli:** allow incremental compilation in the presence of redirected source files ([#​41448](https://togithub.com/angular/angular/issues/41448)) ([ffea31f](https://togithub.com/angular/angular/commit/ffea31f433c1f71b78a2245d52d2969503db1784)) - **compiler-cli:** cache results of `absoluteFromSourceFile` ([#​41475](https://togithub.com/angular/angular/issues/41475)) ([fab1a64](https://togithub.com/angular/angular/commit/fab1a6468e53ab6c59e2c3aebb3ed1ecd1a6e5e8)) - **core:** minor improvements to listener instructions ([#​41807](https://togithub.com/angular/angular/issues/41807)) ([9346d61](https://togithub.com/angular/angular/commit/9346d61d92c722175ca7673efe475e838546fef7)) - **core:** avoid storing LView in **ngContext** ([#​41358](https://togithub.com/angular/angular/issues/41358)) ([990067a](https://togithub.com/angular/angular/commit/990067a0c6df8e97c5bbffec00a76f13c4d4c903)), closes [#​41047](https://togithub.com/angular/angular/issues/41047) - **core:** optimize getDirectives ([#​41525](https://togithub.com/angular/angular/issues/41525)) ([f7e391a](https://togithub.com/angular/angular/commit/f7e391a912153d1ce43f9d0cf06d23121d1d49cd)) ##### 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; } 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 | Observable | 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[]`. - **core:** Minimum supported `zone.js` version is `0.11.4` - **forms:** The `emitEvent` option was added to the following `FormArray` and `FormGroup` methods: - FormGroup.addControl - FormGroup.removeControl - FormGroup.setControl - FormArray.push - FormArray.insert - FormArray.removeAt - FormArray.setControl - FormArray.clear 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 `` 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** ```ts import {XhrFactory} from '@​angular/common/http'; ``` **After** ```ts 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.