Skip to content

Releases: angular/angular-cli

v11.2.13

12 May 22:17
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v12.0.0-next.9

14 Apr 23:56
Compare
Choose a tag to compare
v12.0.0-next.9 Pre-release
Pre-release

Commits

@angular-devkit/build-angular (12.0.0-next.9)

Commit Description Notes
upgrade to Webpack 5 throughout the build system
support processing component inline CSS styles
support specifying stylesheet language for inline component styles
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

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

Commit Description Notes
support Webpack 5

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

Commit Description Notes
update schema validator

@angular/cli (12.0.0-next.9)

Commit Description Notes
add message update updating from non LTS versions of the CLI

@ngtools/webpack (12.0.0-next.9)

Commit Description Notes
support multiple plugin instances per compilation
support generating data URIs for inline component styles in JIT
support processing inline component styles in AOT

@schematics/angular (12.0.0-next.9)

Commit Description Notes
configure new libraries to be published in Ivy partial mode
update `jasmine-spec-reporter` to version 7
migrate web workers to support Webpack 5
update web-worker to support Webpack 5

Breaking Changes

@angular-devkit/core: update schema validator (0875313)

support for JSON Schema draft-04 and draft-06 is removed. If you have schemas using the `id` keyword replace them with `$id`. For an interim period we will auto rename any top level `id` keyword to `$id`.

NB: This change only effects schematics and builders authors.

@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)

Webpack 5 generates similar but differently named files for lazy loaded JavaScript files in development configurations (when the `namedChunks` option is enabled). For the majority of users this change should have no effect on the application and/or build process. Production builds should also not be affected as the `namedChunks` option is disabled by default in production configurations. However, if a project's post-build process makes assumptions as to the file names then adjustments may need to be made to account for the new naming paradigm. Such post-build processes could include custom file transformations after the build, integration into service-side frameworks, or deployment procedures. Example development file name change: `lazy-lazy-module.js` --> `src_app_lazy_lazy_module_ts.js`

@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)

Webpack 5 now includes web worker support. However, the structure of the URL within the `Worker` constructor must be in a specific format that differs from the current requirement. Web worker usage should be updated as shown below (where `./app.worker` should be replaced with the actual worker name):

Before:

new Worker('./app.worker', ...)

After:

new Worker(new URL('./app.worker', import.meta.url), ...)

Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Doug Parker, Douglas Parker

v11.2.9

14 Apr 22:16
Compare
Choose a tag to compare

No user-facing changes