v16.0.0
16.0.0 (2023-05-03)
@angular/cli
@schematics/angular
Commit | Description |
---|---|
update to TypeScript 5 and drop support for TypeScript 4.8 |
@angular-devkit/architect
Commit | Description |
---|---|
allow registered builder teardowns to execute |
@angular-devkit/build-angular
Commit | Description |
---|---|
add CSP support for inline styles | |
display build output table with esbuild | |
implement progress option for esbuild builder | |
initial autoprefixer support for CSS in esbuild builder | |
initial development server for esbuild-based builder | |
initial tailwindcss support for CSS in esbuild builder | |
support module resolution with less stylesheets in esbuild builder | |
support scripts option with esbuild builder | |
support SSL options with esbuild development server | |
support standalone app-shell generation | |
add sourcemap x_google_ignoreList support for esbuild builder |
|
allow multiple polyfills with esbuild-based builder | |
always enable looseEnums build optimizer rule |
|
avoid double sourcemap comments with esbuild dev-server | |
correctly filter lazy global styles in esbuild builder | |
correctly show initial files in stat table with esbuild builder | |
display warning when preserveWhitespaces is set in the tsconfig provided to the server builder |
|
ensure all build resources are served in esbuild dev server | |
ensure directories are properly ignored in esbuild builder | |
ensure empty component styles compile with esbuild | |
exclude @angular/platform-server/init from unsafe optimizations |
|
fully remove third-party sourcemaps when disabled in esbuild builder | |
JIT support for standalone applications | |
keep esbuild server active until builder fully stops | |
normalize long-form asset option output to relative path | |
pass listening port in result for esbuild dev server | |
provide option to run build-optimizer on server bundles | |
remove unintended files in esbuild output stats table | |
set public class fields as properties (#24849) | |
show lazy files in stat table correctly with esbuild | |
support CSP on critical CSS link tags. | |
update esbuild builder complete log | |
update list of known tailwind configuration files | |
update peer dependencies to support version 16 | |
use preserveSymlinks option for tsconfigs in esbuild builder | |
asynchronously delete output path in esbuild builder | |
avoid unnessary iterations | |
cache Sass in memory with esbuild watch mode | |
do not inline sourcemap when using vite dev-server | |
enhance Sass package resolution in esbuild builder | |
fully lazy load sass in esbuild builder | |
only import esbuild watcher when in watch mode | |
skip Angular linker in JIT mode with esbuild | |
remove deprecated outputPaths and outputPath Builder output |
@angular-devkit/core
Commit | Description |
---|---|
update SchemaRegistry compile to return Promise |
|
remove deprecated exceptions |
@angular-devkit/schematics
Commit | Description |
---|---|
remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer |
@ngtools/webpack
Commit | Description |
---|---|
remove NGCC integration |
Breaking Changes
@schematics/angular
ng g resolver
andng g guard
now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by usingng g resolver --no-functional
orng g guard --no-functional
.- The CLI no longer allows to generate
CanLoad
guards. UseCanMatch
instead.
@angular/cli
-
The deprecated
defaultCollection
workspace option has been removed. UseschematicCollections
instead.Before
"defaultCollection": "@angular/material"
After
"schematicCollections": ["@angular/material"]
-
The deprecated
defaultProject
workspace option has been removed. The project to use will be determined from the current working directory. -
Node.js v14 support has been removed
Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16.
Angular v16 will continue to officially support Node.js versions v16 and v18.
-
- TypeScript 4.8 is no longer supported.
@angular-devkit/build-angular
-
Deprecated
outputPath
andoutputPaths
from the server and browser builder have been removed from the builder output. Useoutputs
instead.Note: this change does not effect application developers.
@angular-devkit/core
- Several changes to the
SchemaRegistry
.compile
method now returns aPromise
.- Deprecated
flatten
has been removed without replacement.
-
ContentHasMutatedException
,InvalidUpdateRecordException
,UnimplementedException
andMergeConflictException
API from@angular-devkit/core
have been removed in favor of the API from@angular-devkit/schematics
.UnsupportedPlatformException
- A custom error exception should be created instead.
@angular-devkit/schematics
- The depracated
UpdateBuffer
has been removed andUpdateBuffer2
is renamed toUpdateBuffer
. With this change the related and
deprecated symbolsContentCannotBeRemovedException
andChunk
have also been removed.
@ngtools/webpack
- NGCC integration has been removed and as a result Angular View Engine libraries will no longer work.