From 9da7ea983689e29d0dc9454c73cb978e1ea57c5a Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 24 Mar 2021 09:27:09 -0700 Subject: [PATCH] release: cut the v12.0.0-next.6 release (#41337) --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c66ec6e11..d08d898225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +# 12.0.0-next.6 (2021-03-24) + + +### Bug Fixes + +* **animations:** cleanup DOM elements when the root view is removed ([#41059](https://github.com/angular/angular/issues/41059)) ([c49b280](https://github.com/angular/angular/commit/c49b28013a6c017c9afc73bbc00bb4fdcf15c70e)) +* **compiler-cli:** add `useInlining` option to type check config ([#41043](https://github.com/angular/angular/issues/41043)) ([09aefd2](https://github.com/angular/angular/commit/09aefd29045db77689f4dc16a6abae09a79cfb81)), closes [#40963](https://github.com/angular/angular/issues/40963) +* **core:** detect synthesized constructors that have been downleveled using TS 4.2 ([#41305](https://github.com/angular/angular/issues/41305)) ([274dc15](https://github.com/angular/angular/commit/274dc15452739e4fab2f647804a64d5b797cfed5)), closes [#41298](https://github.com/angular/angular/issues/41298) +* **ngcc:** detect synthesized constructors that have been downleveled using TS 4.2 ([#41305](https://github.com/angular/angular/issues/41305)) ([8d3da56](https://github.com/angular/angular/commit/8d3da56eda12070df1fb473c8609f3a94d77bfd6)), closes [#41298](https://github.com/angular/angular/issues/41298) +* **router:** fragment can be null ([#37336](https://github.com/angular/angular/issues/37336)) ([b555160](https://github.com/angular/angular/commit/b5551609fe02787641bdfdb0a6edfded413a3b52)), closes [#23894](https://github.com/angular/angular/issues/23894) [#34197](https://github.com/angular/angular/issues/34197) + + +### Features + +* **router:** add migration for ActivatedRouteSnapshot.fragment ([#41092](https://github.com/angular/angular/issues/41092)) ([190fa07](https://github.com/angular/angular/commit/190fa07b9a416defb581d2bf76d1deef7baefce6)), closes [#37336](https://github.com/angular/angular/issues/37336) + + +### BREAKING CHANGES + +* **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. +* **router:** Strict null checks will report on fragment potentially being null. +Migration path: add null check. + + + ## 11.2.7 (2021-03-24) diff --git a/package.json b/package.json index f247c1de53..da4544559e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-srcs", - "version": "12.0.0-next.5", + "version": "12.0.0-next.6", "private": true, "description": "Angular - a web framework for modern web apps", "homepage": "https://github.com/angular/angular",