angular v12.0.0-next.6 Release Notes
Release Date: 2021-03-24 // about 3 years ago-
๐ Bug Fixes
- animations: cleanup DOM elements when the root view is removed (#41059) (c49b280)
- compiler-cli: add
useInlining
option to type check config (#41043) (09aefd2), closes #40963 - core: detect synthesized constructors that have been downleveled using TS 4.2 (#41305) (274dc15), closes #41298
- ngcc: detect synthesized constructors that have been downleveled using TS 4.2 (#41305) (8d3da56), closes #41298
- router: fragment can be null (#37336) (b555160), closes #23894 #34197
๐ Features
๐ฅ 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.