Releases: angular/angular-cli
v15.0.3
15.0.3 (2022-12-07)
@angular-devkit/build-angular
Special Thanks
Charles Lyding, Dominic Elm and Paul Gschwendtner
v15.1.0-next.1
15.1.0-next.1 (2022-11-30)
@schematics/angular
@angular-devkit/build-angular
Commit | Description |
---|---|
correctly set Sass quietDeps and verbose options |
@ngtools/webpack
Commit | Description |
---|---|
elide unused type references |
Special Thanks
Alan Agius, Andrew Scott, Cédric Exbrayat, Jason Bedard and Juuso Valkeejärvi
v15.0.2
v15.1.0-next.0
15.1.0-next.0 (2022-11-23)
@schematics/angular
Commit | Description |
---|---|
Add schematics for generating functional router guards and resolvers | |
add sideEffects:false to library package.json |
@angular-devkit/build-angular
Commit | Description |
---|---|
add assets option to server builder |
|
use worker pool for JavaScript transforms in esbuild builder |
Special Thanks
Alan Agius, Andrew Scott, Charles Lyding, Doug Parker, Felix Hamann and Joey Perrott
v15.0.1
15.0.1 (2022-11-23)
@schematics/angular
Commit | Description |
---|---|
show warning when a TS Config is not found during migrations |
@angular/cli
Commit | Description |
---|---|
use global version of the CLI when running ng new |
@angular-devkit/build-angular
Commit | Description |
---|---|
hide loader paths in webpack warnings | |
improve package deep import Sass index resolution in esbuild plugin | |
use url function lexer to rebase Sass URLs |
Special Thanks
Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr Wysocki
v14.2.10
14.2.10 (2022-11-17)
@angular/cli
Commit | Description |
---|---|
exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
|
exclude @angular/[email protected] from ng add package discovery |
|
respect registry in RC when running update through yarn |
@angular-devkit/build-angular
Commit | Description |
---|---|
update loader-utils to 3.2.1 |
Special Thanks
Alan Agius and Charles Lyding
v13.3.10
v15.0.0
15.0.0 (2022-11-16)
Breaking Changes
@angular/cli
- The Angular CLI no longer supports
16.10.x
,16.11.x
and16.12.x
. Current supported versions of Node.js are14.20.x
,16.13.x
and18.10.x
. - Node.js versions older than 14.20 are no longer supported.
- The 'path' option in schematics schema no longer has a special meaning. Use 'workingDirectory' smart default provider should be used instead.
@schematics/angular
- Removed unused
appDir
option from Universal and App-Shell schematic. This option can safely be removed if present since it no longer has effect.
-
analyticsSharing
option in the global angular configuration has been
removed without replacement. This option was used to configure the Angular CLI to access to your own users' CLI usage data.If this option is used, it can be removed using
ng config --global cli.analyticsSharing undefined
. -
analytics APIs have been removed without replacement from
@angular-devkit/core
and@angular-devkit/architect
.
@angular-devkit/build-angular
-
TypeScript versions older than 4.8.2 are no longer supported.
-
The server builder
bundleDependencies
option has been removed. This option was used pre Ivy. Currently, using this option is unlikely to produce working server bundles.The
externalDependencies
option can be used instead to exclude specific node_module packages from the final bundle. -
- Deprecated support for tilde import has been removed. Please update the imports by removing the
~
.
Before
@import "~font-awesome/scss/font-awesome";
After
@import "font-awesome/scss/font-awesome";
- By default the CLI will use Sass modern API, While not recommended, users can still opt to use legacy API by setting
NG_BUILD_LEGACY_SASS=1
.
- Deprecated support for tilde import has been removed. Please update the imports by removing the
-
Internally the Angular CLI now always set the TypeScript
target
toES2022
anduseDefineForClassFields
tofalse
unless the target is set toES2022
or later in the TypeScript configuration. To control ECMA version and features use the Browerslist configuration. -
require.context
are no longer parsed. Webpack specific features are not supported nor guaranteed to work in the future. -
Producing ES5 output is no longer possible. This was needed for Internet Explorer which is no longer supported. All browsers that Angular supports work with ES2015+
-
server builder
bundleDependencies
option now only accept a boolean value. -
Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and its usage in the Angular CLI is minimal. It's recommended to migrate to another CSS preprocessor that the Angular CLI supports.
@angular-devkit/core
- Workspace projects with missing
root
is now an error.
@ngtools/webpack
- TypeScript versions older than 4.8.2 are no longer supported.
@schematics/angular
@angular/cli
Commit | Description |
---|---|
add support for Node.js version 18 | |
drop support for Node.js versions older than 14.20 | |
add unique user id as user parameter in GA | |
add workspace information as part of analytics collection | |
allow ng add to find prerelease versions when CLI is prerelease |
|
do not collect analytics when running in non TTY mode | |
exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
|
exclude @angular/[email protected] from ng add package discovery |
|
respect registry in RC when running update through yarn | |
remove deprecated path handler |
Commit | Description |
---|---|
migrate analytics collector to use GA4 | |
remove analytics API from core and architect |
@angular-devkit/build-angular
Commit | Description |
---|---|
add ng-server-context when using app-shell builder |
|
add esbuild-based builder initial support for fileReplacements | |
add initial incremental code rebuilding to esbuild builder | |
[ |
v15.0.0-rc.5
v15.0.0-rc.4
15.0.0-rc.4 (2022-11-14)
@angular/cli
Commit | Description |
---|---|
respect registry in RC when running update through yarn |
@angular-devkit/build-angular
Commit | Description |
---|---|
show file replacement in TS missing file error in esbuild builder | |
update browerslist package | |
add initial global styles incremental rebuilds with esbuild builder |
Special Thanks
Alan Agius and Charles Lyding