Skip to content

Releases: angular/angular-cli

v12.0.1

19 May 23:20

Choose a tag to compare

Commits

@angular-devkit/build-angular (12.0.1)

Commit Description Notes
add experimental web-assembly [Closes #20762]
fix error with inline styles when running extract-i18n
add `NG_BUILD_MAX_WORKERS` settimgs to control maximum number of workers
non injected styles should not count as initial [Closes #20781]
revert open to 8.0.2 [Closes #20807]
correctly resolve babel runtime helpers [Closes #20800]
compile schema in synchronously [Closes #20847]
execute dart-sass in a worker
reduce JSON stats
use CSS optimization plugin that leverages workers
render Sass using a pool of workers
clean no-longer used assets during builds

@angular/cli (12.0.1)

Commit Description Notes
cannot locate bin for temporary package
clean node modules directory prior to updating
improve `--prod` deprecation warning [Closes #20806]

@ngtools/webpack (12.0.1)

Commit Description Notes
reduce non-watch mode TypeScript diagnostic analysis overhead

@schematics/angular (12.0.1)

Commit Description Notes
remove --prod option from README template
don't add `skipTest` option to module schematic options [Closes #20811]
add migration to remove `skipTests` from `@schematics/angular:module` [Closes #20848]


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Patil, Ryan Lester, Terence D. Honles, Alan Cohen

v12.0.0

12 May 19:06

Choose a tag to compare

Commits

@angular-devkit/architect (0.1200.0)

Commit Description Notes
add implementation for defaultConfiguration

@angular-devkit/build-angular (12.0.0)

Commit Description Notes
add `postcss-preset-env` with stage 3 features
drop support for karma version 5.2
drop support for ng-packagr version 11
enable inlineCritical by default
show warning during build when project requires IE 11 support
expose legacy-migrate message format
integrate JIT mode linker [Closes #20281]
upgrade to Webpack 5 throughout the build system
support processing component inline CSS styles
support specifying stylesheet language for inline component styles
remove left-over `experimentalRollupPass` option
support writing large Webpack stat outputs
ensure output directory is present before writing stats JSON
remove deprecated View Engine support for i18n extraction
remove usage of deprecated View Engine compiler
remove deprecated i18nLocale and i18nFormat options from i18n-extract
update karma builder to use non-deprecated API
disable webpack cache when using `NG_BUILD_CACHE`
remove duplicate application bundle generation complete message
mark programmatic builder execution functions as experimental
avoid double build optimizer processing
replace Webpack 4 `hashForChunk` hook usage
use new Webpack watch API in karma webpack plugin
recover from CSS optimization errors
disable Webpack 5 automatic public path support
always inject live reload client when using live reload
Read more

v11.2.13

12 May 22:17

Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.13)

Commit Description Notes
update cssnano/postcss to fix optimization defects [Closes #20673]
update dependency resolve-url-loader to v4 [Closes #20733]

@schematics/angular (11.2.13)

Commit Description Notes
pin `karma-jasmine-html-reporter` to patches in new projects [Closes #20719]


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau

v12.0.0-rc.3

11 May 05:03

Choose a tag to compare

v12.0.0-rc.3 Pre-release
Pre-release

Commits

@angular/cli (12.0.0-rc.3)

Commit Description Notes
propagate update's force option to package managers
allow unsetting config when value is `undefined`
allow config object to be of JSON.
disallow additional properties in builders sections

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott

v12.0.0-rc.2

06 May 00:13

Choose a tag to compare

v12.0.0-rc.2 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (12.0.0-rc.2)

Commit Description Notes
disable CSS declaration sorting optimizations [Closes #20693]

@angular/cli (12.0.0-rc.2)

Commit Description Notes
don't display options multiple times in schematics help output
change package installation to async
infer schematic defaults correctly when using `--project` [Closes #20666]

@ngtools/webpack (12.0.0-rc.2)

Commit Description Notes
rebuild Angular required files asynchronously
reduce source file and Webpack module iteration

@schematics/angular (12.0.0-rc.2)

Commit Description Notes
add "type" option in enum schematic
only run `emitDecoratorMetadata` removal migration in safe workspaces
replace `clientProject` with `project`


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker

v11.2.12

06 May 00:05

Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.12)

Commit Description Notes
disable CSS declaration sorting optimizations [Closes #20693]


Special Thanks

Keen Yee Liau, Alan Agius, Doug Parker

v12.0.0-rc.1

28 Apr 22:40

Choose a tag to compare

v12.0.0-rc.1 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (12.0.0-rc.1)

Commit Description Notes
remove left-over `forkTypeChecker` option
output webpack-dev-server and webpack-dev-middleware errors
improve incremental time during Karma tests
avoid async downlevel for known ES2015 code

@angular-devkit/core (12.0.0-rc.1)

Commit Description Notes
improve handling of set schema values [Closes #20594]

@angular/cli (12.0.0-rc.1)

Commit Description Notes
add package manager name and version in `ng version` output
Support XDG Base Directory Specfication

@schematics/angular (12.0.0-rc.1)

Commit Description Notes
remove jasmine-spec-reporter and ts-node from default workspace
remove Protractor from home page
remove lint command from package.json [Closes #20618]
avoid unuse imports for canLoad guard generation
fix migration for namedChunks and option

@angular-devkit/schematics-cli (12.0.0-rc.1)

Commit Description Notes
accept windows like paths for schematics


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Cédric Exbrayat, Doug Parker, Joshua Chapman, Billy Lando, Santosh Yadav, mzocateli

v11.2.11

28 Apr 22:37

Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.11)

Commit Description Notes
output webpack-dev-server and webpack-dev-middleware errors
update CSSNano and PostCSS to fix serveral security issues [Closes #20606]

@schematics/angular (11.2.11)

Commit Description Notes
avoid unuse imports for canLoad guard generation

@angular-devkit/schematics-cli (0.1102.11)

Commit Description Notes
accept windows like paths for schematics


Special Thanks

Joey Perrott, Charles Lyding, Alan Agius, Doug Parker, Billy Lando, mzocateli

v12.0.0-rc.0

21 Apr 22:20

Choose a tag to compare

v12.0.0-rc.0 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (12.0.0-rc.0)

Commit Description Notes
avoid double build optimizer processing
replace Webpack 4 `hashForChunk` hook usage
use new Webpack watch API in karma webpack plugin
recover from CSS optimization errors
disable Webpack 5 automatic public path support
always inject live reload client when using live reload
change several builder options defaults
show warning when using stylus
set Tailwind CSS mode when using Tailwind
avoid triggering file change after file build
use Webpack's GC memory caching in watch mode

@angular/cli (12.0.0-rc.0)

Commit Description Notes
ignore `tsickle` during updates
run all migrations when updating from or between prereleases

@ngtools/webpack (12.0.0-rc.0)

Commit Description Notes
only track actual resource file dependencies
cache results of processed inline resources

@schematics/angular (12.0.0-rc.0)

Commit Description Notes
set `inlineStyleLanguage` when application `style` option is used
set `inlineStyleLanguage` for universal if present in build options

Breaking Changes

@schematics/angular: remove `stylus` from `style` options (fd729ac)

`styl` (Stylus) is no longer a supported value as `style` in `application`, `component`, `ng-new` schematics. Stylus is not actively maintained and only 0.3% of the Angular CLI users use it.

(cherry picked from commit 0272fc5)

@angular-devkit/build-angular: change several builder options defaults (656f8d7)

A number of browser and server builder options have had their default values changed. The aim of these changes is to reduce the configuration complexity and support the new "production builds by default" initiative.

Browser builder

Option Previous default value New default value
optimization false true
aot false true
buildOptimizer false true
sourceMap true false
extractLicenses false true
namedChunks true false
vendorChunk true false

Server builder

Option Previous default value New default value
optimization false true
sourceMap true false

(cherry picked from commit 0a74d0d)


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, David Shevitz

v11.2.10

21 Apr 22:21

Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.10)

Commit Description Notes
set Tailwind CSS mode when using Tailwind

@ngtools/webpack (11.2.10)

Commit Description Notes
only check affected files for Angular semantic diagnostics


Special Thanks

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