angular v12.0.0-next.9 Release Notes
Release Date: 2021-04-14 // almost 3 years ago-
๐ Bug Fixes
- compiler: avoid parsing EmptyExpr with a backwards span (#41581) (e1a2930)
- 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 - language-service: use script versions for incremental compilations (#41475) (78236bf)
๐ท Build System
๐จ Code Refactoring
๐ Features
- animations: update supported range of node versions (#41544) (547363a)
- bazel: update supported range of node versions (#41544) (d583d92)
- common: update supported range of node versions (#41544) (e0250e5)
- compiler: support nullish coalescing in templates (#41437) (ec27bd4), closes #36528
- compiler: update supported range of node versions (#41544) (75cc813)
- 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)
- core: introduce getDirectiveMetadata global debugging utility (#41525) (a07f303)
- core: update supported range of node versions (#41544) (e66a5fb)
- elements: update supported range of node versions (#41544) (12fc08b)
- forms: update supported range of node versions (#41544) (a0006a6)
- language-service: implement signature help (#41581) (c7f9516)
- language-service: update supported range of node versions (#41544) (86621be)
- localize: update supported range of node versions (#41544) (590d4dd)
- ๐ป 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](https://github.com/angular/angular/commit/c901b4d11f9892b98d5df82d6f9c(https://github.com/angular/angular/commit/86621bec580f3234c39169606ef9841544](https://github.com/angular/angular/issues/41544)) (c30b171)
- ๐ท service-worker: update supported range of node versions (#41544) (fc597f1)
- โฌ๏ธ upgrade: update supported range of node versions (#41544) (beafa22)
๐ Performance Improvements
- compiler-cli: allow incremental compilation in the presence of redirected source files (#41448) (ffea31f)
- compiler-cli: cache results of
absoluteFromSourceFile
(#41475) (fab1a64) - core: optimize getDirectives (#41525) (f7e391a)
๐ฅ 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 underng
๐ป namespace, which handled this situation without raising an exception. Now calling theng.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.