Skip to content

Releases: angular/angular-cli

v12.0.0-next.8

07 Apr 23:11
Compare
Choose a tag to compare
v12.0.0-next.8 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (0.1200.0-next.8)

Commit Description Notes
remove deprecated i18nLocale and i18nFormat options from i18n-extract

@ngtools/webpack (12.0.0-next.8)

Commit Description Notes
remove Webpack plugin for deprecated ViewEngine compiler

@schematics/angular (12.0.0-next.8)

Commit Description Notes
run update-i18n migration for server builder

Breaking Changes

@ngtools/webpack: remove Webpack plugin for deprecated ViewEngine compiler (160102a)

Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the View Engine Webpack plugin has been removed. The Ivy-based Webpack plugin is the default used within the Angular CLI. If using a custom standalone Webpack configuration, the removed `AngularCompilerPlugin` should be replaced with the Ivy-based `AngularWebpackPlugin`.

@angular-devkit/build-angular: remove deprecated i18n options from server and browser builder (5cf9a08)

Removal of deprecated browser and server command options. - `i18nFile`, use `locales` object in the project metadata instead. - `i18nFormat`, No longer needed as the format will be determined automatically. - `i18nLocale`, use `localize` option instead.

@angular-devkit/build-angular: remove deprecated i18nLocale and i18nFormat options from i18n-extract (eca5a01)

Removal of deprecated `extract-i18n` command options The deprecated `i18nLocale` option has been removed and the `i18n.sourceLocale` within a project's configuration should be used instead. The deprecated `i18nFormat` option has been removed and the `format` option should be used instead.

Special Thanks

Charles Lyding, Renovate Bot, Alan Agius, Doug Parker, Joey Perrott

v11.2.8

07 Apr 23:12
Compare
Choose a tag to compare

Commits



Special Thanks

Doug Parker, Renovate Bot, Alan Agius, Joey Perrott

v12.0.0-next.7

02 Apr 18:03
Compare
Choose a tag to compare
v12.0.0-next.7 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (0.1200.0-next.7)

Commit Description Notes
validate scripts and styles bundleName [Closes #20360]
remove deprecated View Engine support for i18n extraction
remove usage of deprecated View Engine compiler

@angular/cli (12.0.0-next.7)

Commit Description Notes
ensure update migrations are fully executed
exclude deprecated packages with removal migrations from update

@ngtools/webpack (12.0.0-next.7)

Commit Description Notes
use correct Webpack asset stage in resource loader
only check affected files for Angular semantic diagnostics

@schematics/angular (12.0.0-next.7)

Commit Description Notes
remove `entryComponent` from `component` schematic
correctly handle adding multi-line strings to `@NgModule` metadata
explicitly specify ServiceWorker registration strategy

Breaking Changes

@angular-devkit/build-angular: remove usage of deprecated View Engine compiler (677913f)

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.

@schematics/angular: remove `entryComponent` from `component` schematic (8582ddc)

`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.

@angular-devkit/build-angular: remove view engine app-shell generation (1c2aeeb)

App-shell builder now only supports generation using Ivy

@angular-devkit/build-angular: remove deprecated View Engine support for i18n extraction (012700a)

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

v11.2.7

02 Apr 18:17
Compare
Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.8)

Commit Description Notes
validate scripts and styles bundleName [Closes #20360]

@schematics/angular (11.2.8)

Commit Description Notes
correctly handle adding multi-line strings to `@NgModule` metadata
explicitly specify ServiceWorker registration strategy


Special Thanks

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

v12.0.0-next.6

24 Mar 18:14
Compare
Choose a tag to compare
v12.0.0-next.6 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (0.1200.0-next.6)

Commit Description Notes
ensure output directory is present before writing stats JSON

@schematics/angular (12.0.0-next.6)

Commit Description Notes
add production by default optional migration
update new workspaces to use Karma 6.3
remove leftover workspace tslint config


Special Thanks

Renovate Bot, Alan Agius, Charles Lyding, Keen Yee Liau

v11.2.6

24 Mar 18:29
Compare
Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.6)

Commit Description Notes
ensure output directory is present before writing stats JSON

@ngtools/webpack (11.2.6)

Commit Description Notes
reduce resource processing during JIT initial lazy route analysis

@schematics/angular (11.2.6)

Commit Description Notes
use title for svg on home page


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Cédric Exbrayat

v12.0.0-next.5

18 Mar 20:53
Compare
Choose a tag to compare
v12.0.0-next.5 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (0.1200.0-next.5)

Commit Description Notes
expose legacy-migrate message format
integrate JIT mode linker [Closes #20281]
display correct filename for bundles that are ES2016+
don't load an input sourcemap from file when using Babel
support writing large Webpack stat outputs
skip FESM2015 from `async` transformation
remove Webpack Stats.toJson usage in analytics plugin
remove Webpack Stats.toJson usage in karma plugin
enforce Babel not to load sourcemaps from file
disable `showCircularDependencies` by default

@angular-devkit/build-webpack (0.1200.0-next.5)

Commit Description Notes
provide output path in builder results

@angular/cli (12.0.0-next.5)

Commit Description Notes
confirm ng add action before installation
support TypeScript 4.2
remove `project` from required properties in ng-packagr schema

@ngtools/webpack (12.0.0-next.5)

Commit Description Notes
remove Webpack 5 deprecation warning in resource loader
avoid adding transitive dependencies to Webpack's dependency graph
use precalculated dependencies in unused file check

@schematics/angular (12.0.0-next.5)

Commit Description Notes
update several TypeScript compilation target (Syntax)
remove tslint and codelyzer from new projects [Closes #20105]
[Closes #18465]
remove references to the prod flag
fix youtube icon margin
only show legacy browsers deprecation warning when option is used
remove Native value from viewEncapsulation option
use title for svg on home page

Breaking Changes

@angular/cli: confirm ng add action before installation (985dc1a)

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 ...
Read more

v11.2.5

17 Mar 21:21
Compare
Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.5)

Commit Description Notes
support writing large Webpack stat outputs
don't load an input sourcemap from file when using Babel
display correct filename for bundles that are ES2016+
enforce Babel not to load sourcemaps from file
remove Webpack Stats.toJson usage in karma plugin
remove Webpack Stats.toJson usage in analytics plugin
skip FESM2015 from `async` transformation

@angular/cli (11.2.5)

Commit Description Notes
remove `project` from required properties in ng-packagr schema

@ngtools/webpack (11.2.5)

Commit Description Notes
remove saving Angular compiler in JIT watch mode
use precalculated dependencies in unused file check
avoid adding transitive dependencies to Webpack's dependency graph
avoid full compiler lazy route analysis on JIT rebuilds

@schematics/angular (11.2.5)

Commit Description Notes
remove Native value from viewEncapsulation option
fix youtube icon margin


Special Thanks

Charles Lyding, Alan Agius, Doug Parker, Mouad Ennaciri, Omar Hasan

v12.0.0-next.4

10 Mar 21:15
Compare
Choose a tag to compare
v12.0.0-next.4 Pre-release
Pre-release

Commits

@angular-devkit/architect (0.1200.0-next.4)

Commit Description Notes
add implementation for defaultConfiguration

@angular-devkit/build-angular (0.1200.0-next.4)

Commit Description Notes
show warning during build when project requires IE 11 support
only remove nomodule and defer attributes empty values [Closes #20207]

@angular-devkit/core (12.0.0-next.4)

Commit Description Notes
add handling for `defaultConfiguration` target definition property

@angular/cli (12.0.0-next.4)

Commit Description Notes
deprecate `--prod` command line argument
add `defaultConfiguration` property to architect schema
avoid exceptions for expected errors in architect commands
add ng-packagr builder schema in IDE schema

@ngtools/webpack (12.0.0-next.4)

Commit Description Notes
drop support for string based lazy loading

@schematics/angular (12.0.0-next.4)

Commit Description Notes
add migration to update lazy loading string syntax to use dynamic imports
add migration to remove `lazyModules` configuration option
deprecate `legacyBrowsers` application and ng-new option
production builds by default
add `additionalProperties` to all schemas

Breaking Changes

@angular-devkit/build-angular: remove deprecated `lazyModules` option (8d66912)

Server and Browser builder `lazyModules` option has been removed without replacement.

@ngtools/webpack: drop support for string based lazy loading (0dc7327)

With this change we drop support for string based lazy loading `./lazy.module#LazyModule` use dynamic imports instead.

The following options which were used to support the above syntax were removed without replacement.

  • discoverLazyRoutes
  • additionalLazyModules
  • additionalLazyModuleResources
  • contextElementDependencyConstructor

Special Thanks

Alan Agius, Charles Lyding, Renovate Bot, Joey Perrott

v11.2.4

10 Mar 20:34
Compare
Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.4)

Commit Description Notes
only remove nomodule and defer attributes empty values [Closes #20207]

@angular/cli (11.2.4)

Commit Description Notes
add ng-packagr builder schema in IDE schema


Special Thanks

Alan Agius, Joey Perrott