Angular CLI: v12.0.0-next.5 Release

Release date:
March 18, 2021
Previous version:
v12.0.0-next.4 (released March 10, 2021)
Magnitude:
590 Diff Delta
Contributors:
8 total committers
Data confidence:
Commits:

51 Features Released with v12.0.0-next.5

Top Contributors in v12.0.0-next.5

alan-agius4
clydin
crisbeto
cexbrayat
dgp1130
mouadennaciri
OmarioHasan
renovate-bot

Directory Browser for v12.0.0-next.5

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Commits

<table> <tbody>

<tr><td colspan=3><h3>@angular-devkit/build-angular (0.1200.0-next.5)</h3></td></tr> <tr> <td><b>Commit</b> <td><b>Description</b> <td><b>Notes</b> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/1525e7ab2c3c6cd95ee91cf01243af78174246ca"><img align="top" title="Feature" src="https://img.shields.io/badge/1525e7a-feat-blue.svg" /> </a> </td>

<td>expose legacy-migrate message format</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/2616ef0d3fdf6821a60f5ae9dcb54d65be0506e1"><img align="top" title="Feature" src="https://img.shields.io/badge/2616ef0-feat-blue.svg" /> </a> </td>

<td>integrate JIT mode linker</td>

<td> <a href="https://github.com/angular/angular-cli/issues/20281"> [Closes #20281]<br /> </a>

</td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/075c988dd14711755516261e3e6150c316d866cb"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/075c988-fix-green.svg" /> </a> </td>

<td>display correct filename for bundles that are ES2016+</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/9714aa92bfb7babb1a6720515b543614acd47cac"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/9714aa9-fix-green.svg" /> </a> </td>

<td>don't load an input sourcemap from file when using Babel</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/d5645675fd555e7f1afd523d4f2d42095034fc46"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/d564567-fix-green.svg" /> </a> </td>

<td>support writing large Webpack stat outputs</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/63a2dbb8b42c6c62e37b27c42238860f7e57b87f"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/63a2dbb-perf-orange.svg" /> </a> </td>

<td>skip FESM2015 from async transformation</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/3affd28f5ebdaa9fb8f3239292e3d0060f655d07"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/3affd28-perf-orange.svg" /> </a> </td>

<td>remove Webpack Stats.toJson usage in analytics plugin</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/699b641b85632f9581f3638ccd8aa359dd8aa57f"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/699b641-perf-orange.svg" /> </a> </td>

<td>remove Webpack Stats.toJson usage in karma plugin</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/2d6e82fa106e9dfd1bb4909d56e5730195c6b2e6"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/2d6e82f-perf-orange.svg" /> </a> </td>

<td>enforce Babel not to load sourcemaps from file</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/00ff390feaeb457812d67c367f65ba799d3ac66a"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/00ff390-perf-orange.svg" /> </a> </td>

<td>disable showCircularDependencies by default</td>

<td> </td> </tr>

<tr><td colspan=3><h3>@angular-devkit/build-webpack (0.1200.0-next.5)</h3></td></tr> <tr> <td><b>Commit</b> <td><b>Description</b> <td><b>Notes</b> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/ff32ada86b486d96922c693f703e25e01848d020"><img align="top" title="Feature" src="https://img.shields.io/badge/ff32ada-feat-blue.svg" /> </a> </td>

<td>provide output path in builder results</td>

<td> </td> </tr>

<tr></tr>

<tr><td colspan=3><h3>@angular/cli (12.0.0-next.5)</h3></td></tr> <tr> <td><b>Commit</b> <td><b>Description</b> <td><b>Notes</b> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/985dc1a4c71693ad78c35f5d6e95397f9753239e"><img align="top" title="Feature" src="https://img.shields.io/badge/985dc1a-feat-blue.svg" /> </a> </td>

<td>confirm ng add action before installation</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/79856644b4d476d50013eafee949d1a508b86104"><img align="top" title="Feature" src="https://img.shields.io/badge/7985664-feat-blue.svg" /> </a> </td>

<td>support TypeScript 4.2</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/d254d058f9be6b6a696bd39a37c2457776b46806"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/d254d05-fix-green.svg" /> </a> </td>

<td>remove project from required properties in ng-packagr schema</td>

<td> </td> </tr>

<tr></tr>

<tr><td colspan=3><h3>@ngtools/webpack (12.0.0-next.5)</h3></td></tr> <tr> <td><b>Commit</b> <td><b>Description</b> <td><b>Notes</b> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/3504c43e48d8e265ca0943005f3cea2d25290cbd"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/3504c43-fix-green.svg" /> </a> </td>

<td>remove Webpack 5 deprecation warning in resource loader</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/95aa2b8f925ee295b8edf659b5d8e706d122ffec"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/95aa2b8-perf-orange.svg" /> </a> </td>

<td>avoid adding transitive dependencies to Webpack's dependency graph</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/dfefd6ba4fcda6baa3dc172978ca84acaa48ec54"><img align="top" title="Performance Improvement" src="https://img.shields.io/badge/dfefd6b-perf-orange.svg" /> </a> </td>

<td>use precalculated dependencies in unused file check</td>

<td> </td> </tr>

<tr></tr>

<tr><td colspan=3><h3>@schematics/angular (12.0.0-next.5)</h3></td></tr> <tr> <td><b>Commit</b> <td><b>Description</b> <td><b>Notes</b> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/81129e12d0ae4cbaeb5ab537facb7990be9b8b45"><img align="top" title="Feature" src="https://img.shields.io/badge/81129e1-feat-blue.svg" /> </a> </td>

<td>update several TypeScript compilation target (Syntax)</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/226a8d274d27d191651926bc7970af11cfee2597"><img align="top" title="Feature" src="https://img.shields.io/badge/226a8d2-feat-blue.svg" /> </a> </td>

<td>remove tslint and codelyzer from new projects</td>

<td> <a href="https://github.com/angular/angular-cli/issues/20105"> [Closes #20105]<br /> </a>

<a href="https://github.com/angular/angular-cli/issues/18465"> [Closes #18465]<br /> </a>

</td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/663c4bc9c10aa3df3defa188a1ba8f90c63b2722"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/663c4bc-fix-green.svg" /> </a> </td>

<td>remove references to the prod flag</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/9ea34ba202b2cccfdda820b4975de54cd56acf43"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/9ea34ba-fix-green.svg" /> </a> </td>

<td>fix youtube icon margin</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/3bf831fac6166f6943a78b34bfd5f3c167f8911d"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/3bf831f-fix-green.svg" /> </a> </td>

<td>only show legacy browsers deprecation warning when option is used</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/ee4918db40b0b30d58e1119a0291954234d4f797"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/ee4918d-fix-green.svg" /> </a> </td>

<td>remove Native value from viewEncapsulation option</td>

<td> </td> </tr>

<tr>

<td> <a href="https://github.com/angular/angular-cli/commit/870173633a54f7dbd06a420adb3dc3593d6010c4"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/8701736-fix-green.svg" /> </a> </td>

<td>use title for svg on home page</td>

<td> </td> </tr>

<tr></tr>

</tbody> </table>


Breaking Changes

<h3> @angular/cli: confirm ng add action before installation (<a href="https://github.com/angular/angular-cli/commit/985dc1a4c71693ad78c35f5d6e95397f9753239e">985dc1a</a>) </h3> The ng add command will now ask the user to confirm the package and version prior to installing and executing an uninstalled package. This new behavior allows a user to abort the action if the version selected is not appropriate or if a typo occurred on the command line and an incorrect package would be installed. A --skip-confirmation option has been added to skip the prompt and directly install and execute the package. This option is useful in CI and non-TTY scenarios such as automated scripts.


Special Thanks

Alan Agius, Charles Lyding, Renovate Bot, Doug Parker, CΓ©dric Exbrayat, Kristiyan Kostadinov, Mouad Ennaciri, Omar Hasan