angular v12.0.0-next.9 Release Notes

Release Date: 2021-04-14 // 29 days ago
  • ๐Ÿ› Bug Fixes

    • compiler: avoid parsing EmptyExpr with a backwards span (#41581) (e1a2930)
    • compiler-cli: ensure the compiler tracks ts.Programs 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

    • ๐Ÿ“ฆ ng_package no longer generate minified UMDs (#41425) (5a8bc1b)

    โ™ป๏ธ Code Refactoring

    ๐Ÿ”‹ Features

    ๐ŸŽ 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 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.