fix(deps): update angular-cli monorepo to v15 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @angular-devkit/core | 13.0.0 -> 15.0.0 |
||||
| @angular-devkit/schematics | ^13.0.0 -> ^15.0.0 |
Release Notes
angular/angular-cli
v15.0.0
Breaking Changes
@angular/cli
- The Angular CLI no longer supports
16.10.x,16.11.xand16.12.x. Current minimum versions of Node.js are14.20.0,16.13.0and18.10.0. - 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
appDiroption from Universal and App-Shell schematic. This option can safely be removed if present since it no longer has effect.
-
analyticsSharingoption 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/coreand@angular-devkit/architect.
@angular-devkit/build-angular
-
TypeScript versions older than 4.8.2 are no longer supported.
-
The server builder
bundleDependenciesoption has been removed. This option was used pre Ivy. Currently, using this option is unlikely to produce working server bundles.The
externalDependenciesoption 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
targettoES2022anduseDefineForClassFieldstofalseunless the target is set toES2022or later in the TypeScript configuration. To control ECMA version and features use the Browerslist configuration. -
require.contextare 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
bundleDependenciesoption 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
rootis now an error.
@ngtools/webpack
- TypeScript versions older than 4.8.2 are no longer supported.
@schematics/angular
| 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 |
@angular/cli
| 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/[email protected] 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 |
@angular-devkit/build-angular
| 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 |
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| ea4c0aa2e | fix | throw error when project has missing root property |
| de467f46d | fix | update logger forEach promiseCtor type |
@angular-devkit/schematics
| Commit | Type | Description |
|---|---|---|
| 9b07b469b | refactor | remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer |
@ngtools/webpack
| 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 |
Special Thanks
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
v14.2.10
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 9ce386caf | fix | exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
| 6446091a3 | fix | exclude @angular/[email protected] from ng add package discovery |
| 7541e04f3 | fix | respect registry in RC when running update through yarn |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 21cea0b42 | fix | update loader-utils to 3.2.1 |
Special Thanks
Alan Agius and Charles Lyding
v14.2.9
@angular-devkit/architect
| Commit | Type | Description |
|---|---|---|
| e3e787767 | fix | default to failure if no builder result is provided |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 12b2dc5a2 | fix | isolate zone.js usage when rendering server bundles |
Special Thanks
Alan Agius and Charles Lyding
v14.2.8
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 4b0ee8ad1 | fix | guard schematics should include all guards (CanMatch) |
Special Thanks
Andrew Scott
v14.2.7
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 91b5bcbb3 | fix | disable version check during auto completion |
| 02a3d7b71 | fix | skip node.js compatibility checks when running completion |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| bebed9df8 | fix | issue dev-server support warning when using esbuild builder |
Special Thanks
Alan Agius and Charles Lyding
v14.2.6
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 1c9cf594f | fix | handle missing which binary in path |
| 28b2cd18e | fix | skip downloading temp CLI when running ng update without package names |
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| ad6928184 | fix | project extension warning message should identify concerned project |
Special Thanks
AgentEnder and Alan Agius
v14.2.5
@angular-devkit/schematics
| Commit | Type | Description |
|---|---|---|
| 17eb20c77 | fix | throw more relevant error when Rule returns invalid null value |
Special Thanks
Alan Agius and Charles Lyding
v14.2.4
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 05b18f4e4 | fix | add builders and schematic names as page titles in collected analytics |
Special Thanks
Alan Agius, Jason Bedard and Paul Gschwendtner
v14.2.3
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| e7e0cb78f | fix | correctly display error messages that contain "at" text. |
| 4756d7e06 | fix | watch symbolic links |
@ngtools/webpack
| Commit | Type | Description |
|---|---|---|
| 1e3ecbdb1 | perf | avoid bootstrap conversion AST traversal where possible |
Special Thanks
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
v14.2.2
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 5405a9b3b | fix | favor non deprecated packages during update |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 6bfd6a7fb | fix | update minimum Angular version to 14.2 |
@angular-devkit/build-angular
| 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 |
Special Thanks
Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott
v14.2.1
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 9ce386caf | fix | exclude @angular/localize@<10.0.0 from ng add pa… (#24152) |
| 6446091a3 | fix | exclude @angular/[email protected] from ng add package discovery |
| 7541e04f3 | fix | respect registry in RC when running update through yarn |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 21cea0b42 | fix | update loader-utils to 3.2.1 |
Special Thanks
Alan Agius and Charles Lyding
v14.2.0
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 596037010 | fix | add missing space after period in warning text |
@angular-devkit/build-angular
| 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 |
Special Thanks
Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Kristiyan Kostadinov and angular-robot[bot]
v14.1.3
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| 365035cb3 | fix | update workspace extension warning to use correct phrasing |
Special Thanks
AgentEnder, Alan Agius, Charles Lyding and Jason Bedard
v14.1.2
@angular-devkit/build-angular
| 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 |
@ngtools/webpack
| Commit | Type | Description |
|---|---|---|
| dd47a5e8c | fix | elide type only named imports when using emitDecoratorMetadata |
Special Thanks
Alan Agius, Charles Lyding and Jason Bedard
v14.1.1
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 4ee825bac | fix | catch clause variable is not an Error instance |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 83dcfb32f | fix | prevent numbers from class names |
@angular-devkit/build-angular
| 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 |
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| 44c18082a | fix | classify string util should concat string without using a . |
@angular/create
| Commit | Type | Description |
|---|---|---|
| cb0d3fb33 | fix | use appropriate package manager to install dependencies |
Special Thanks
Alan Agius, Charles Lyding, Jason Bedard and Paul Gschwendtner
v14.1.0
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 3884b8652 | fix | add esbuild browser builder to workspace schema |
@schematics/angular
| 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 |
@angular-devkit/build-angular
| 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 |
@angular-devkit/schematics
| Commit | Type | Description |
|---|---|---|
| 526cdb263 | feat | allow chain rule to accept iterables of rules |
@angular/create
| Commit | Type | Description |
|---|---|---|
| cfe93fbc8 | feat | add support for yarn create and npm init |
Special Thanks
Alan Agius, Charles Lyding, Derek Cormier, Doug Parker, Jason Bedard, Joey Perrott, Paul Gschwendtner, Victor Porof and renovate[bot]
v14.0.7
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| f653bf4fb | fix | incorrect logo for Angular Material |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 5810c2cc2 | fix | fallback to use projectRoot when sourceRoot is missing during coverage |
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| 2ba4678b6 | fix | add i18n as valid project extension |
| c2201c835 | fix | log name of invalid extension too |
Special Thanks
Alan Agius, Fortunato Ventre, Katerina Skroumpelou and Kristiyan Kostadinov
v14.0.6
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 178550529 | fix | handle |
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication