NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2210 most downloaded on npm
Angular Schematics - Library
Last release 7 days ago
23 Sep 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
1055 releases · first in 2017
- Deprecated support for tilde import has been removed. Please update the imports by removing the ~.
16.10.x, 16.11.x and 16.12.x. Current minimum versions of Node.js are 14.20.0, 16.13.0 and 18.10.0.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.
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.
~.Before
@import '~font-awesome/scss/font-awesome';
After
@import 'font-awesome/scss/font-awesome';
NG_BUILD_LEGACY_SASS=1.Internally the Angular CLI now always set the TypeScript target to ES2022 and useDefineForClassFields to false unless the target is set to ES2022 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.
root is now an error.| Commit | Type | Description |
|---|---|---|
| 766d4a089 | feat | add migration to remove require calls from karma builder main file |
| d8bff4f1e | feat | Added --project-root option to the library schematics |
| 597bfea1b | feat | drop polyfills.ts file from new templates |
| 1c21e470c | feat | enable error on unknown properties and elements in tests |
| f2a0682dc | feat | generate new projects using TypeScript 4.8.2 |
| b06421d15 | feat | mark projectRoot as non hidden option in application schematic |
| b6897dbb0 | feat | remove karma.conf.js from newly generated projects |
| 301b5669a | feat | remove ngOnInit from component template |
| 9beb878e2 | feat | remove Browserslist configuration files from projects |
| 283b564d1 | feat | remove environment files in new applications |
| 56a1e8f9f | feat | remove test.ts file from new projects |
| 4e69e8050 | fix | add @angular/localize as type when localize package is installed |
| 57d93fb7d | fix | mark project as required option |
| 84e3f7727 | fix | remove empty lines |
| 316a50d75 | fix | remove TypeScript target from universal schematic |
| 69b221498 | refactor | remove deprecated appDir option |
| Commit | Type | Description |
|---|---|---|
| 4827d1b23 | feat | add support for Node.js version 18 |
| 4b623461a | feat | drop support for Node.js versions older than 14.20 |
| 3dea1fa71 | fix | add unique user id as user parameter in GA |
| af07aa340 | fix | add workspace information as part of analytics collection |
| 83524f625 | fix | allow ng add to find prerelease versions when CLI is prerelease |
| 22955f245 | fix | do not collect analytics when running in non TTY mode |
| 35e5f4278 | fix | exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
| 1a584364e | fix | exclude @angular/material@7.x from ng add package discovery |
| ff0382718 | fix | respect registry in RC when running update through yarn |
| 774d349b7 | refactor | remove deprecated path handler |
| Commit | Type | Description |
|---|---|---|
| 639a3071c | refactor | migrate analytics collector to use GA4 |
| c969152de | refactor | remove analytics API from core and architect |
| Commit | Type | Description |
|---|---|---|
| 4ead45cab | feat | add ng-server-context when using app-shell builder |
| 1c527a9da | feat | add esbuild-based builder initial support for fileReplacements |
| 67324b3e5 | feat | add initial incremental code rebuilding to esbuild builder |
| 3d94ca21b | feat | add initial watch support to esbuild-based builder |
| c592ec584 | feat | amend polyfills option in all builders to support an array of module specifiers |
| a95d130ef | feat | auto include @angular/localize/init when found in types |
| 979bce45e | feat | auto include @angular/platform-server/init during server builds |
| fd4175357 | feat | drop support for TypeScript 4.6 and 4.7 |
| 15d3fc6dc | feat | export @angular/platform-server symbols in server bundle |
| 05a98c029 | feat | karma builder main option is now optional |
| 2b6029245 | feat | providing a karma config is now optional |
| 9c13fce16 | feat | remove bundleDependencies from server builder |
| 308e3a017 | feat | switch to use Sass modern API |
| 1e5d4a750 | feat | use Browserslist to determine ECMA output |
| 3ff391738 | fix | account for package.json exports fields with CSS import statements |
| 001445982 | fix | account for package.json exports with Sass in esbuild builder |
| 6280741ce | fix | add @angular/platform-server as an optional peer dependency |
| f9a2c3a12 | fix | allow both script and module sourceTypes to be localized |
| 4cb27b803 | fix | avoid attempted resolve of external CSS URLs with esbuild builder |
| 192e0e6d7 | fix | correct escaping of target warning text in esbuild builder |
| 4fcb0a82b | fix | correctly resolve Sass partial files in node packages |
| fb5a66ae6 | fix | fix crash when Sass error occurs |
| b6df9c136 | fix | handle conditional exports in scripts and styles option |
| 0ee7625d6 | fix | ignore cache path when watching with esbuild builder |
| e34bfe5eb | fix | ignore specs in node_modules when finding specs |
| f143171fd | fix | only add @angular/platform-server/init when package is installed. |
| 3a1970b76 | fix | only import karma when running karma builder |
| 8b84c18ed | fix | provide workaround for V8 object spread performance defect |
| 7dd122ad5 | fix | rebase Sass url() values when using esbuild-based builder |
| 2105964af | fix | resolve transitive dependencies in Sass when using Yarn PNP |
| 54e1c01d8 | fix | show file replacement in TS missing file error in esbuild builder |
| 6c3f281d9 | fix | show warning when using TypeScript target older then ES2022 in esbuild builder |
| 8f8e02c32 | fix | support Yarn PNP resolution in modern SASS API |
| fc82e3bec | fix | update browerslist package |
| 0d62157a3 | fix | update sourcemaps when rebasing Sass url() functions in esbuild builder |
| 1518133db | fix | use relative sourcemap source paths for Sass in esbuild builder |
| fb4ead2ce | fix | wait during file watching to improve multi-save rebuilds for esbuild builder |
| b059fc735 | fix | warn when components styles sourcemaps are not generated when styles optimization is enabled |
| 9d0872fb5 | perf | add initial global styles incremental rebuilds with esbuild builder |
| 0fe6b3b75 | perf | add vendor chunking to server builder |
| 8c915d414 | perf | avoid extra babel file reads in esbuild builder rebuilds |
| 919fe2148 | perf | avoid extra TypeScript emits with esbuild rebuilds |
| 92145c4a7 | perf | avoid template diagnostics for declaration files in esbuild builder |
| 52db3c000 | perf | minimize Angular diagnostics incremental analysis in esbuild-based builder |
| feb06753d | perf | use esbuild-based builder to directly downlevel for await...of |
| 9d83fb91b | perf | use Sass worker pool for Sass support in esbuild builder |
| 45a94228f | perf | use Uint8Arrays for incremental caching with esbuild-based builder |
| f393b0928 | refactor | disable requireContext parsing |
| 12931ba8c | refactor | remove deprecated ES5 support |
| 7f1017e60 | refactor | remove old bundleDependencies enum logic |
| 2ba44a433 | refactor | remove support for Stylus |
| Commit | Type | Description |
|---|---|---|
| ea4c0aa2e | fix | throw error when project has missing root property |
| de467f46d | fix | update logger forEach promiseCtor type |
| Commit | Type | Description |
|---|---|---|
| 9b07b469b | refactor | remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer |
| Commit | Type | Description |
|---|---|---|
| 43bd0abc1 | feat | drop support for TypeScript 4.6 and 4.7 |
| 1c1f985b9 | fix | support inline style sourcemaps when using css-loader for component styles |
Alan Agius, Brent Schmidt, Charles Lyding, Cédric Exbrayat, Dariusz Ostolski, Doug Parker, Günhan Gülsoy, Jason Bedard, Lukas Spirig, Ruslan Lekhman, angular-robot[bot] and minijus
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.10"></a>
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 1ca44dcd9 | fix | update dependency postcss to v8.4.31 |
<!-- CHANGELOG SPLIT MARKER -->
<a name="16.2.5"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| bd396b656 | fix | update direct semver dependencies to 7.5.3 |
<!-- CHANGELOG SPLIT MARKER -->
<a name="16.1.1"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| ddd33bf38 | fix | update webpack dependency to 5.76.1 |
Alan Agius and Joey Perrott
<!-- CHANGELOG SPLIT MARKER -->
<a name="13.3.11"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 9ce386caf | fix | exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
| 6446091a3 | fix | exclude @angular/material@7.x from ng add package discovery |
| 7541e04f3 | fix | respect registry in RC when running update through yarn |
| Commit | Type | Description |
|---|---|---|
| 21cea0b42 | fix | update loader-utils to 3.2.1 |
Alan Agius and Charles Lyding
<!-- CHANGELOG SPLIT MARKER -->
<a name="13.3.10"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| e3e787767 | fix | default to failure if no builder result is provided |
| Commit | Type | Description |
|---|---|---|
| 12b2dc5a2 | fix | isolate zone.js usage when rendering server bundles |
Alan Agius and Charles Lyding
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.8"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 4b0ee8ad1 | fix | guard schematics should include all guards (CanMatch) |
Andrew Scott
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.7"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 91b5bcbb3 | fix | disable version check during auto completion |
| 02a3d7b71 | fix | skip node.js compatibility checks when running completion |
| Commit | Type | Description |
|---|---|---|
| bebed9df8 | fix | issue dev-server support warning when using esbuild builder |
Alan Agius and Charles Lyding
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.6"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 1c9cf594f | fix | handle missing which binary in path |
| 28b2cd18e | fix | skip downloading temp CLI when running ng update without package names |
| Commit | Type | Description |
|---|---|---|
| ad6928184 | fix | project extension warning message should identify concerned project |
AgentEnder and Alan Agius
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.5"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 17eb20c77 | fix | throw more relevant error when Rule returns invalid null value |
Alan Agius and Charles Lyding
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.4"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 05b18f4e4 | fix | add builders and schematic names as page titles in collected analytics |
Alan Agius, Jason Bedard and Paul Gschwendtner
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.3"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| e7e0cb78f | fix | correctly display error messages that contain "at" text. |
| 4756d7e06 | fix | watch symbolic links |
| Commit | Type | Description |
|---|---|---|
| 1e3ecbdb1 | perf | avoid bootstrap conversion AST traversal where possible |
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.2"></a>
| 5405a9b3b | fix | favor non deprecated packages during update |
| Commit | Type | Description |
|---|---|---|
| 5405a9b3b | fix | favor non deprecated packages during update |
| Commit | Type | Description |
|---|---|---|
| 6bfd6a7fb | fix | update minimum Angular version to 14.2 |
| Commit | Type | Description |
|---|---|---|
| 2b00bca61 | fix | allow esbuild-based builder to use SVG Angular templates |
| 45c95e1bf | fix | change service worker errors to compilation errors |
| ecc014d66 | fix | handle service-worker serving with localize in dev-server |
| 39ea128c1 | fix | handling of @media queries inside css layers |
| 17b7e1bdf | fix | issue warning when using deprecated tilde imports |
| 3afd784f1 | fix | watch index file when running build in watch mode |
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.1"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| e4ca46866 | fix | update ng-packagr version to ^14.2.0 |
Alan Agius
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.2.0"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 596037010 | fix | add missing space after period in warning text |
| Commit | Type | Description |
|---|---|---|
| 44c25511e | feat | add ability to serve service worker when using dev-server |
| 3fb569b5c | feat | switch to Sass modern API in esbuild builder |
| 5bd03353a | fix | correct esbuild builder global stylesheet sourcemap URL |
| c4402b1bd | fix | correctly handle parenthesis in url |
| 50c783307 | fix | use valid CSS comment for sourcemaps with Sass in esbuild builder |
| 4c251853f | perf | avoid extra string creation with no sourcemaps for esbuild sass |
| d97640534 | perf | with esbuild builder only load Sass compiler when needed |
Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Kristiyan Kostadinov and angular-robot[bot]
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.1.3"></a>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 365035cb3 | fix | update workspace extension warning to use correct phrasing |
AgentEnder, Alan Agius, Charles Lyding and Jason Bedard
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.1.2"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 3e19c842c | fix | avoid collect stats from chunks with no files |
| d0a0c597c | fix | correctly handle data URIs with escaped quotes in stylesheets |
| 67b3a086f | fix | process stylesheet resources from url tokens with esbuild browser builder |
| e6c45c316 | perf | reduce babel transformation in esbuild builder |
| 38b71bcc0 | perf | use esbuild in esbuild builder to downlevel native async/await |
| Commit | Type | Description |
|---|---|---|
| dd47a5e8c | fix | elide type only named imports when using emitDecoratorMetadata |
Alan Agius, Charles Lyding and Jason Bedard
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.1.1"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 4ee825bac | fix | catch clause variable is not an Error instance |
| Commit | Type | Description |
|---|---|---|
| 83dcfb32f | fix | prevent numbers from class names |
| Commit | Type | Description |
|---|---|---|
| ef6da4aad | fix | allow the esbuild-based builder to fully resolve global stylesheet packages |
| eed54b359 | fix | catch clause variable is not an Error instance |
| c98471094 | fix | correctly respond to preflight requests |
| 94b444e4c | fix | correctly set ngDevMode in esbuilder |
| Commit | Type | Description |
|---|---|---|
| 44c18082a | fix | classify string util should concat string without using a . |
| Commit | Type | Description |
|---|---|---|
| cb0d3fb33 | fix | use appropriate package manager to install dependencies |
Alan Agius, Charles Lyding, Jason Bedard and Paul Gschwendtner
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.1.0"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 3884b8652 | fix | add esbuild browser builder to workspace schema |
| Commit | Type | Description |
|---|---|---|
| 707911d42 | feat | support controlling addDependency utility rule install behavior |
| a8fe4fcc3 | fix | Allow skipping existing dependencies in E2E schematic |
| b8bf3b480 | fix | only issue a warning for addDependency existing specifier |
| Commit | Type | Description |
|---|---|---|
| a7709b718 | feat | add externalDependencies to the esbuild browser builder |
| 248860ad6 | feat | add Sass file support to experimental esbuild-based builder |
| b06ae5514 | feat | add service worker support to experimental esbuild builder |
| b5f6d862b | feat | Identify third-party sources in sourcemaps |
| b3a14d056 | fix | allow third-party sourcemaps to be ignored in esbuild builder |
| 53dd929e5 | fix | ensure esbuild builder sourcemap sources are relative to workspace |
| Commit | Type | Description |
|---|---|---|
| 526cdb263 | feat | allow chain rule to accept iterables of rules |
| Commit | Type | Description |
|---|---|---|
| cfe93fbc8 | feat | add support for yarn create and npm init |
Alan Agius, Charles Lyding, Derek Cormier, Doug Parker, Jason Bedard, Joey Perrott, Paul Gschwendtner, Victor Porof and renovate[bot]
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.7"></a>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| f653bf4fb | fix | incorrect logo for Angular Material |
| Commit | Type | Description |
|---|---|---|
| 5810c2cc2 | fix | fallback to use projectRoot when sourceRoot is missing during coverage |
| Commit | Type | Description |
|---|---|---|
| 2ba4678b6 | fix | add i18n as valid project extension |
| c2201c835 | fix | log name of invalid extension too |
Alan Agius, Fortunato Ventre, Katerina Skroumpelou and Kristiyan Kostadinov
<!-- CHANGELOG SPLIT MARKER -->
<a name="13.3.9"></a>
| 10f24498e | fix | remove deprecation warning of no prefixed schema options |
| Commit | Type | Description |
|---|---|---|
| 178550529 | fix | handle cases when completion is enabled and running in an older CLI workspace |
| 10f24498e | fix | remove deprecation warning of no prefixed schema options |
| Commit | Type | Description |
|---|---|---|
| dfa6d73c5 | fix | remove browserslist configuration |
| Commit | Type | Description |
|---|---|---|
| 4d848c4e6 | fix | generate different content hashes for scripts which are changed during the optimization phase |
| Commit | Type | Description |
|---|---|---|
| 2500f34a4 | fix | provide actionable warning when a workspace project has missing root property |
Alan Agius and martinfrancois
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.5"></a>
| e5e07fff1 | fix | show deprecated workspace config options in IDE |
| Commit | Type | Description |
|---|---|---|
| 98a6aad60 | fix | during an update only use package manager force option with npm 7+ |
| 094aa16aa | fix | improve error message for project-specific ng commands when run outside of a project |
| e5e07fff1 | fix | show deprecated workspace config options in IDE |
| Commit | Type | Description |
|---|---|---|
| f9f970cab | fix | prevent importing RouterModule parallel to RoutingModule |
| Commit | Type | Description |
|---|---|---|
| aa8ed532f | fix | disable glob mounting for patterns that start with a forward slash |
| c76edb8a7 | fix | don't override base-href in HTML when it's not set in builder |
| f64903528 | fix | improve detection of CommonJS dependencies |
| 74dbd5fc2 | fix | support hidden component stylesheet sourcemaps with esbuild builder |
| Commit | Type | Description |
|---|---|---|
| 7aed97561 | fix | do not run ngcc when node_modules does not exist |
Alan Agius, Charles Lyding, JoostK and Paul Gschwendtner
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.4"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| fc72c625b | fix | correctly handle --collection option in ng new |
| f5badf221 | fix | improve global schema validation |
| ed302ea4c | fix | remove color from help epilogue |
| Commit | Type | Description |
|---|---|---|
| c58c66c0d | fix | use sourceRoot instead of src in universal schematic |
| Commit | Type | Description |
|---|---|---|
| 88acec1fd | fix | complete builders on the next event loop iteration |
| Commit | Type | Description |
|---|---|---|
| 694b73dfa | fix | exit dev-server when CTRL+C is pressed |
| 6d4782199 | fix | exit localized builds when CTRL+C is pressed |
| 282baffed | fix | hide stacktraces from webpack errors |
| c4b0abf5b | fix | set base-href in service worker manifest when using i18n and app-shell |
| Commit | Type | Description |
|---|---|---|
| 33f1cc192 | fix | restore process title after NGCC is executed |
| 6796998bf | fix | show a compilation error on invalid TypeScript version |
Alan Agius, Charles Lyding and Tim Bowersox
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.3"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| b3db91baf | fix | disable version check when running ng completion commands |
| cdab9fa74 | fix | provide an actionable error when using --configuration with ng run |
| 5521648e3 | fix | temporarily handle boolean options in schema prefixed with no |
| Commit | Type | Description |
|---|---|---|
| 5e960ce24 | fix | fix incorrect glob cwd in karma when using --include option |
| 1b5e92075 | fix | handle codeCoverageExclude correctly in Windows |
| ff6d81a45 | fix | ignore supported browsers during i18n extraction |
| Commit | Type | Description |
|---|---|---|
| 170c16f2e | fix | workspace writer skip creating empty projects property |
Alan Agius, Charles Lyding and Paul Gschwendtner
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.2"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| 23095e9c3 | fix | show more actionable error when command is ran in wrong scope |
| Commit | Type | Description |
|---|---|---|
| 5a486cb64 | fix | remove vscode testing configurations for minimal workspaces |
| Commit | Type | Description |
|---|---|---|
| 9d88c96d8 | fix | replace fallback locale for en-US |
Alan Agius and Julien Marcou
<!-- CHANGELOG SPLIT MARKER -->
<a name="13.3.8"></a>
| Commit | Type | Description |
| Commit | Type | Description |
|---|---|---|
| e4fb96657 | fix | add text to help output to indicate that additional commands are available when ran in different context |
| 7952e5790 | fix | avoid creating unnecessary global configuration |
| 66a1d6b9d | fix | correct scope cache command |
| e2d964289 | fix | correctly print package manager name when an install is needed |
| 75fd3330d | fix | during an update only use package manager force option with npm 7+ |
| e223890c1 | fix | ensure full process exit with older local CLI versions |
| 0cca3638a | fix | handle project being passed as a flag |
| b1451cb5e | fix | improve resilience of logging during process exit |
| 17fec1357 | fix | provide actionable error when project cannot be determined |
| Commit | Type | Description |
|---|---|---|
| 73dcf39c6 | fix | remove strict setting under application project |
| Commit | Type | Description |
|---|---|---|
| c788d5b56 | fix | log modified and removed files when using the verbose option |
| 6e8fe0ed5 | fix | replace dev-server socket path from /ws to /ng-cli-ws |
| 651adadf4 | fix | update Angular peer dependencies to 14.0 stable |
| Commit | Type | Description |
|---|---|---|
| cfd264d06 | fix | add peer dependency on Angular CLI |
Alan Agius, Charles Lyding and Doug Parker
<!-- CHANGELOG SPLIT MARKER -->
<a name="14.0.0"></a>
Deprecated option --prod has been removed from all builders. --configuration production/-c production should be used instead if the default configurat…
Several changes to the ng analytics command syntax.
ng analytics project <setting> has been replaced with ng analytics <setting>ng analytics <setting> has been replaced with ng analytics <setting> --globalSupport for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
--all option from ng update has been removed without replacement. To update packages which don’t provide ng update capabilities in your workspace package.json use npm update, yarn upgrade-interactive or yarn upgrade instead.
Deprecated option --prod has been removed from all builders. --configuration production/-c production should be used instead if the default configuration of the builder is not configured to production.
--configuration cannot be used with ng run. Provide the configuration as part of the target. Ex: ng run project:builder:configuration.
Deprecated ng x18n and ng i18n-extract commands have been removed in favor of ng extract-i18n.
Several changes in the Angular CLI commands and arguments handling.
ng help has been removed in favour of the —-help option.ng —-version has been removed in favour of ng version and ng v.—-sourceMap instead of —-source-map will result in an error.ng update, —-migrate-only option no longer accepts a string of migration name, instead use —-migrate-only -—name <migration-name>.—-help json help has been removed.browser and karma builders script and styles options input files extensions are now validated.
Valid extensions for scripts are:
.js.cjs.mjs.jsx.cjsx.mjsxValid extensions for styles are:
.css.less.sass.scss.stylWe now issue a build time error since importing a CSS file as an ECMA module is non standard Webpack specific feature, which is not supported by the Angular CLI.
This feature was never truly supported by the Angular CLI, but has as such for visibility.
Reflect metadata polyfill is no longer automatically provided in JIT mode
Reflect metadata support is not required by Angular in JIT applications compiled by the CLI.
Applications built in AOT mode did not and will continue to not provide the polyfill.
For the majority of applications, the reflect metadata polyfill removal should have no effect.
However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating.
To replicate the previous behavior, the core-js package should be manually installed and the import 'core-js/proposals/reflect-metadata'; statement should be added to the application's polyfills.ts file.
NG_BUILD_CACHE environment variable has been removed. cli.cache in the workspace configuration should be used instead.
The deprecated showCircularDependencies browser and server builder option has been removed. The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tools.
parseJson and ParseJsonOptions APIs have been removed in favor of 3rd party JSON parsers such as jsonc-parser.fs namespacecleanmapObjectNodePackageInstallTask will not execute package scripts by default
The NodePackageInstallTask will now use the package manager's --ignore-scripts option by default.
The --ignore-scripts option will prevent package scripts from executing automatically during an install.
If a schematic installs packages that need their install/postinstall scripts to be executed, the
NodePackageInstallTask now contains an allowScripts boolean option which can be enabled to provide the
previous behavior for that individual task. As with previous behavior, the allowScripts option will
prevent the individual task's usage of the --ignore-scripts option but will not override the package
manager's existing configuration.analytics property has been removed from TypedSchematicContext interfaceivy namespace has been removed from the public API.
ivy.AngularWebpackPlugin -> AngularWebpackPluginivy.AngularPluginOptions -> AngularPluginOptionsThe defaultCollection workspace option has been deprecated in favor of schematicCollections.
Before
"defaultCollection": "@angular/material"
After
"schematicCollections": ["@angular/material"]
The defaultProject workspace option has been deprecated. The project to use will be determined from the current working directory.
ContentHasMutatedException, InvalidUpdateRecordException, UnimplementedException and MergeConflictException symbol from @angular-devkit/core have been deprecated in favor of the symbol from @angular-devkit/schematics.UnsupportedPlatformException - A custom error exception should be created instead.| Commit | Type | Description |
|---|---|---|
| afafa5788 | feat | add --global option to ng analytics command |
| bb550436a | feat | add ng analytics info command |
| e5bf35ea3 | feat | add ng cache command |
| 7ab22ed40 | feat | add disable/enable aliases for off/on ng analytics command |
| 4212fb8de | feat | add prompt to set up CLI autocompletion |
| 0316dea67 | feat | add prompts on missing builder targets |
| 607a723f7 | feat | add support for auto completion |
| 366cabc66 | feat | add support for multiple schematics collections |
| 036327e9c | feat | deprecated defaultProject option |
| fb0622893 | feat | don't prompt to set up autocompletion for ng update and ng completion commands |
| 4ebfe0341 | feat | drop support for Node.js 12 |
| 022d8c7bb | feat | make ng completion set up CLI autocompletion by modifying .bashrc files |
| 2e15df941 | feat | remember after prompting users to set up autocompletion and don't prompt again |
| 7fa3e6587 | feat | support TypeScript 4.6.2 |
| 9e69331fa | feat | use PNPM as package manager when pnpm-lock.yaml exists |
| 6f6b453fb | fix | ng doc doesn't open browser in Windows |
| 8e66c9188 | fix | ng g show description from collection.json if not present in schema.json |
| 9edeb8614 | fix | add long description to ng update |
| 160cb0718 | fix | correctly handle --search option in ng doc |
| d46cf6744 | fix | display option descriptions during auto completion |
| 09f8659ce | fix | display package manager during ng update |
| a49cdfbfe | fix | don't prompt for analytics when running ng analytics |
| 4b22593c4 | fix | ensure all available package migrations are executed |
| 054ae02c2 | fix | favor project in cwd when running architect commands |
| ff4eba3d4 | fix | handle duplicate arguments |
| 5a8bdeb43 | fix | hide private schematics from ng g help output |
| 644f86d55 | fix | improve error message for Windows autocompletion use cases |
| 3012036e8 | fix | populate path with working directory in nested schematics |
| 8a396de6a | fix | print entire config when no positional args are provided to ng config |
| bdf2b9bfa | fix | print schematic errors correctly |
| efc3c3225 | fix | remove analytics prompt postinstall script |
| bf15b202b | fix | remove cache path from global valid paths |
| 142da460b | fix | remove incorrect warning during ng update |
| 96a0d92da | fix | remove JSON serialized description from help output |
| 78460e995 | fix | remove type casting and add optional chaining for current in optionTransforms |
| e5bdadac4 | fix | skip prompt or warn when setting up autocompletion without a global CLI install |
| ca401255f | fix | sort commands in help output |
| b97772dfc | fix | support silent package installs with Yarn 2+ |
| 87cd5cd43 | fix | workaround npm 7+ peer dependency resolve errors during updates |
| d94a67353 | refactor | remove deprecated --all option from ng update |
| 2fc7c73d7 | refactor | remove deprecated --prod flag |
| b69ca3a7d | refactor | remove deprecated command aliases for extract-i18n. |
| 2e0493130 | refactor | replace command line arguments parser |
| Commit | Type | Description |
|---|---|---|
| 7b78b7840 | feat | add --standalone to ng generate |
| e49220fba | feat | add migratiom to remove defaultProject in workspace config |
| 3fa38b08b | feat | introduce addDependency rule to utilities |
| b07ccfbb1 | feat | introduce a utility subpath export for Angular rules and utilities |
| 7e7de6858 | feat | update Angular dependencies to use ^ as version prefix |
| 69ecddaa7 | feat | update new and existing projects compilation target to ES2020 |
| 7e8e42063 | fix | add migration to remove package.json in libraries secondary entrypoints |
| b928d973e | fix | alphabetically order imports during component generation |
| 09a71bab6 | fix | Consolidated setup with a single beforeEach() |
| 1921b07ee | fix | don't add path mapping to old entrypoint definition file |
| c927c038b | fix | remove @types/node from new projects |
| 27cb29438 | fix | remove extra space in standalone imports |
| Commit | Type | Description |
|---|---|---|
| c7556b62b | refactor | replace parser with yargs-parser |
| Commit | Type | Description |
|---|---|---|
| 5330d52ae | refactor | replace parser with yargs-parser |
| Commit | Type | Description |
|---|---|---|
| 00186fb93 | feat | add initial experimental esbuild-based application browser builder |
| d23a168b8 | feat | validate file extensions for scripts and styles options |
| 2adf252dc | fix | add es2015 exports package condition to browser-esbuild |
| 72e820e7b | fix | better handle Windows paths in esbuild experimental builder |
| 587082fb0 | fix | close compiler on Karma exit |
| c52d10d1f | fix | close dev-server on error |
| 48630ccfd | fix | detect tailwind.config.cjs as valid tailwindcss configuration |
| 4d5f6c659 | fix | downlevel libraries based on the browserslist configurations |
| 1a160dac0 | fix | ensure karma sourcemap support on Windows |
| 07e776ea3 | fix | fail build when importing CSS files as an ECMA modules |
| ac1383f9e | fix | properly handle locally-built APF v14 libraries |
| 966d25b55 | fix | remove unneeded JIT reflect metadata polyfill |
| b8564a638 | refactor | remove deprecated NG_BUILD_CACHE environment variable |
| 0a1cd584d | refactor | remove deprecated showCircularDependencies browser and server builder option |
| Commit | Type | Description |
|---|---|---|
| c5b3e9299 | refactor | deprecate unused exception classes |
| 67144b9e5 | refactor | remove deprecated parseJson and ParseJsonOptions APIs |
| a0c02af7e | refactor | remove deprecated fs, object and array APIs |
| Commit | Type | Description |
|---|---|---|
| c9c781c7d | feat | add parameter to listSchematicNames to allow returning hidden schematics. |
| 0e6425fd8 | feat | disable package script execution by default in NodePackageInstallTask |
| 25498ad5b | feat | re-export core string helpers from schematics package |
| 464cf330a | feat | support null for options parameter from OptionTransform type |
| 33f9f3de8 | feat | support reading JSON content directly from a Tree |
| 01297f450 | feat | support reading text content directly from a Tree |
| 48f9b79bc | fix | support ignore scripts package installs with Yarn 2+ |
| 3471cd6d8 | fix | support quiet package installs with Yarn 2+ |
| 44c1e6d0d | refactor | remove deprecated analytics property |
| Commit | Type | Description |
|---|---|---|
| 243cb4062 | fix | remove @schematics/angular utility deep import usage |
| Commit | Type | Description |
|---|---|---|
| 0c344259d | fix | update peer dependency to reflect TS 4.6 support |
| 044101554 | perf | use Webpack's built-in xxhash64 support |
| 9277eed1d | refactor | remove deprecated ivy namespace |
Adrien Crivelli, Alan Agius, Charles Lyding, Cédric Exbrayat, Daniil Dubrava, Doug Parker, Elton Coelho, George Kalpakas, Jason Bedard, Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Tobias Speicher and alkavats1
<!-- CHANGELOG SPLIT MARKER -->
<a name="13.3.7"></a>
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →