Angular CLI: v12.0.0-next.7 Release

Release date:
April 2, 2021
Previous version:
v12.0.0-next.6 (released March 24, 2021)
Magnitude:
527 Diff Delta
Contributors:
6 total committers
Data confidence:
Commits:

Top Contributors in v12.0.0-next.7

clydin
alan-agius4
gkalpak
josephperrott
renovate-bot
kyliau

Directory Browser for v12.0.0-next.7

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.7)</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/51cb3181ea947b851bab42e816a87bb181dad15e"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/51cb318-fix-green.svg" /> </a> </td>

<td>validate scripts and styles bundleName</td>

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

</td> </tr>

<tr>

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

<td>remove deprecated View Engine support for i18n extraction</td>

<td> </td> </tr>

<tr>

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

<td>remove usage of deprecated View Engine compiler</td>

<td> </td> </tr>

<tr></tr>

<tr><td colspan=3><h3>@angular/cli (12.0.0-next.7)</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/e84fa72751b377ec4cf2419357190a79b0513377"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/e84fa72-fix-green.svg" /> </a> </td>

<td>ensure update migrations are fully executed</td>

<td> </td> </tr>

<tr>

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

<td>exclude deprecated packages with removal migrations from update</td>

<td> </td> </tr>

<tr><td colspan=3><h3>@ngtools/webpack (12.0.0-next.7)</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/430ee441bd2e5729a8a24f72a1df8fd782c9f9f6"><img align="top" title="Bug Fix" src="https://img.shields.io/badge/430ee44-fix-green.svg" /> </a> </td>

<td>use correct Webpack asset stage in resource loader</td>

<td> </td> </tr>

<tr>

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

<td>only check affected files for Angular semantic diagnostics</td>

<td> </td> </tr>

<tr><td colspan=3><h3>@schematics/angular (12.0.0-next.7)</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/8582ddc35e153b8bc409d0505f29bc43e6cef455"><img align="top" title="Feature" src="https://img.shields.io/badge/8582ddc-feat-blue.svg" /> </a> </td>

<td>remove entryComponent from component schematic</td>

<td> </td> </tr>

<tr>

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

<td>correctly handle adding multi-line strings to @NgModule metadata</td>

<td> </td> </tr>

<tr>

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

<td>explicitly specify ServiceWorker registration strategy</td>

<td> </td> </tr>

</tbody> </table>


Breaking Changes

<h3> @angular-devkit/build-angular: remove usage of deprecated View Engine compiler (<a href="https://github.com/angular/angular-cli/commit/677913fc389f0ffa20e3e1928d7244427c07ef35">677913f</a>) </h3> Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, Ivy-based compilation will always be used when building an application. The default behavior for applications is to use the Ivy compiler when building and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and an Ivy-based build will be attempted. If the build fails, the application may need to be updated to become Ivy compatible.

<h3> @schematics/angular: remove entryComponent from component schematic (<a href="https://github.com/angular/angular-cli/commit/8582ddc35e153b8bc409d0505f29bc43e6cef455">8582ddc</a>) </h3> entryComponent option has been removed from the component schematic as this was intended to be used with the the now no longer supported ViewEngine rendering engine.

<h3> @angular-devkit/build-angular: remove view engine app-shell generation (<a href="https://github.com/angular/angular-cli/commit/1c2aeeb46a23fd511c89f9c8800ac2a5ab0c2734">1c2aeeb</a>) </h3> App-shell builder now only supports generation using Ivy

<h3> @angular-devkit/build-angular: remove deprecated View Engine support for i18n extraction (<a href="https://github.com/angular/angular-cli/commit/012700ace56d6d0e35d6798c5a19534ffa5a5a0e">012700a</a>) </h3> Removal of View Engine support from i18n extraction With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the ng extract-i18n command will now always use the Ivy compiler. The --ivy option has also been removed as Ivy-based extraction is always enabled. The default behavior for applications is to use the Ivy compiler for building/extraction and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and Ivy-based extraction will be attempted. If the extraction fails, the application may need to be updated to become Ivy compatible.


Special Thanks

Charles Lyding, Alan Agius, Renovate Bot, George Kalpakas, Joey Perrott, Keen Yee Liau