Skip to content

Update angular-cli monorepo to v22 - #22

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular-cli-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular-cli-monorepo

Conversation

@renovate

@renovate renovate Bot commented Sep 30, 2024 •

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@angular-devkit/build-angular ~12.1.1 → ~22.2.0 age confidence
@angular/cli ~12.1.1 → ~22.2.0 age confidence

Release Notes

angular/angular-cli (@​angular-devkit/build-angular)

v22.2.0

Compare Source

Deprecations

@​angular/build
  • The splitting option in the unit-test builder is deprecated as it is no longer needed with Vitest 5.

    Disabling code splitting is no longer necessary with Vitest 5, as the issue where shared-module exports were uninitialized in class-field initializers under JSDOM has been resolved.

@​angular/cli
Commit Type Description
41555dfb3 feat add --root command line option to mcp command
6e7f809a7 perf skip eager yargs help message formatting during command execution
@​angular/build
Commit Type Description
ad8271320 feat migrate Angular Linker to oxc-parser and magic-string
175273931 feat Support splitting browser and server stats jsonfiles for easier consumption
fe2f180fd fix add automatic corruption recovery in SQLite cache store
675f1f527 fix avoid pure comment pattern in oxc transform
d396324b4 fix default preloadInitial to false when serviceWorker is enabled
7e5510e46 fix disable linker internal source mapping in OXC linker
8504cfffc fix disable root config extension for inline test project
ee3041325 fix ensure chokidar watcher is ready before returning
54d712f57 fix ensure parent directory exists in SQLite cache store
80acd6236 fix execute setup file hooks for each spec file when coverage is enabled
978351af7 fix include inline component stylesheets in referenced watch files
f47f77f5f fix only compile included test files in unit-test builder
72dc9677c fix pass load cache to compiler plugin and escape extension regex in polyfills
701bde481 fix preserve duplicate bundle filenames across output file types
e4111ae81 fix prevent memory leaks in parallel compilation and caches
31c045639 fix prevent stale bundler caching and correctly resolve load cache
bad31421c fix prevent syntax corruption in linker and oxc transform
0d9851600 fix recursively ignore output and cache paths in watch mode
040bc21ec fix scope Sass package resolution caching for stylesheets in node_modules
1fc273279 fix support parenthesized expressions in oxc linker
b423bc39c fix use chokidar watcher when followSymlinks is enabled
87551ad5c perf avoid encoding intermediate source maps before remapping
6ee559ca9 perf bypass worker dispatch for files without transform candidates
0589edd9c perf consolidate component stylesheet bundling with shared load result cache
482f6d8aa perf decouple diagnostic type checking from build start
a877aa7eb perf implement SharedArrayBuffer translation dictionaries for zero-copy worker access
f1cc95943 perf implement sliding-window batching and worker translation eviction
d97c8857c perf key Sass package resolutions without containing URL qualification
5cd20e141 perf only reset Sass worker pool caches when stylesheet files change
1c00edce0 perf optimize sourcemap stripping and loading with buffer fast path
0ba4d8e29 perf reduce watcher debounce latency for faster incremental rebuilds
a6ef9cfbe perf replace watchpack with @​parcel/watcher and chokidar
4d11a1334 perf selectively compress large entries in SQLite cache store
0a137f98d perf share sass directory and resolution caches across stylesheets
f4dad31cc perf unify Oxc linking and optimization AST traversal passes
2b85529e8 perf use iterative post-order AST traversal for OXC transforms
ecbcd87b8 perf use native sass-embedded compiler daemon
ce83ac0e8 perf use size-weighted task heuristics in i18n inliner
d11a663e7 perf verify cache metadata before reading file and eliminate sqlite read-locks
66bd6bd1e refactor deprecate splitting option in unit-test builder
@​angular/ssr
Commit Type Description
23e3d44a7 perf pre-compile critical CSS plans at build time

v22.1.9

Compare Source

@​schematics/angular
Commit Type Description
b94dabdb7 fix update @​types/node to a version vitest 5 accepts
@​angular-devkit/core
Commit Type Description
5aaad0a13 fix name the unknown option in a schema validation error
@​angular/build
Commit Type Description
bfec8bac4 fix support standard JavaScript MIME types and case insensitivity in auto-CSP

v22.1.8

Compare Source

@​angular/build
Commit Type Description
a6e30fa378 fix disable strictPort when port 0 is used in dev-server
35a5d4aa49 perf avoid full JSON parsing when updating sourcemap ignore list
48cc43cbf2 perf read rendered module length once per module in chunk optimizer (#​34045)

v22.1.7

Compare Source

v22.1.6

Compare Source

@​angular/build
Commit Type Description
3f132eaa97 fix ignore side-effect annotations in unit test builds
5b1028936f perf batch prerender routes and share in-memory server bundles
@​angular/ssr
Commit Type Description
76818cb811 fix abort web request signal when node request is aborted

v22.1.5

Compare Source

@​angular/cli
Commit Type Description
e672271f8 fix enforce MCP roots in get_best_practices tool
a14916cc4 fix handle errors from isAllowedWorkspacePath in best-practices tool
d6e1cddff fix throw on out-of-roots workspace in best-practices tool
@​schematics/angular
Commit Type Description
ba2b0e4c2 fix transform fail() to expect.fail() in refactor-jasmine-vitest
@​angular/build
Commit Type Description
cba72902d fix correct misleading error message for top-level await
b4679998c fix disable code splitting for unit test builds
ff1d3565e fix preserve integrity and crossorigin in autoCsp loader
1fc1fb05c perf traverse AST with iterative post-order walker in i18n inliner

v22.1.4

Compare Source

v22.1.3

Compare Source

@​angular/cli
Commit Type Description
f837b788c6 fix always install package during ng add to inspect manifest on disk for schematics (#​33718)
72ae93638d fix correctly report available package updates during bare ng update
a949e06568 fix discover migrations from installed packages when omitted by registry metadata (#​33718)
1d9122fd50 fix normalize Windows drive-letter casing for process.cwd
@​angular/build
Commit Type Description
a4860d505a fix prevent build process hang on unhandled error (#​33715)
7686d66cab fix retain watch files on error in load result cache
25b7cf7504 fix support case-insensitive and alternative license file names
4fd81402ce perf release build resources early in non-watch mode (#​33715)
@​angular/ssr
Commit Type Description
6af906cb94 fix settle writeResponseToNodeResponse when client disconnects
917d3b2254 perf avoid buffering request body when sanitizing headers

v22.1.2

Compare Source

@​angular/cli
Commit Type Description
57db27ea91 fix add packages with built-in schematics to devDependencies only
@​angular/build
Commit Type Description
baed978885 fix prevent IIFE wrapper interleaving for adjacent classes in minified files

v22.1.1

Compare Source

@​angular/cli
Commit Type Description
ab971a8543 fix support npm 12 metadata array and error formats
@​angular/build
Commit Type Description
db24220fb8 fix rewrite paths from sandboxed execroots when running under Bazel

v22.1.0

Compare Source

Deprecations

@​angular-devkit/core
  • stringToFileBuffer and fileBufferToString are deprecated. Use standard Web APIs (TextEncoder and TextDecoder) instead.

    Internal usages within the repository have been removed and replaced with standard Web APIs. The public API golden file for @angular-devkit/core has been updated to reflect the deprecations.

@​schematics/angular
Commit Type Description
89d7f59cd feat update ai-config to include Angular MCP server config
b345bb54d fix remove unused spec tsconfig outDir
@​angular/cli
Commit Type Description
f59bcf529 fix abort and guide manual mitigation when updating catalog packages
48f90f5d5 fix prevent Yarn registry environment variable override
c963ecbec fix remove algoliasearch dependency and support latest docs versions
6859d25c3 fix resolve correct registry name when using npm alias syntax during update
3a2589dac fix respect client-side release age settings during update resolution
5c3101bff fix revert package.json changes if installation tasks fail during update
7932caaf9 fix robustly parse npm manifest from array
@​angular-devkit/core
Commit Type Description
fd336d365 refactor deprecate stringToFileBuffer and fileBufferToString
@​angular/build
Commit Type Description
34d558c3c feat add built-in SQLite cache store fallback
0c18dc0f6 feat emit debug ids for stable subresource integrity hashes
51f69276f feat enable chunk optimization for server builds
10dc30f9c feat migrate advanced optimization Babel plugins to oxc-parser + magic-string
917393a4c feat migrate i18n inliner to oxc-parser + magic-string
52ae7f862 feat share persistent build cache across git worktrees
95510511d fix add bounded timeout to vitest executor disposal
62b11e316 fix anchor debug ID comment matching and make injection idempotent
6d9b360e5 fix prevent esbuild service hang on internal component stylesheet builds
291caab61 fix prevent stripping nested sourceMappingURL comments
0e3ca3dfb fix support hyphens and underscores when stripping chunk hash in chunk optimizer
585d08af8 perf default chunk optimization to use Rolldown
09d0a11a8 perf enable fast-path AST printing with sourcemaps in AotCompilation
@​angular/ssr
Commit Type Description
7ef9ed24d feat support the standard Forwarded header

v22.0.9

Compare Source

@​angular/cli
Commit Type Description
9ee8f9b669 fix declare devserver_start and devserver_stop as isReadOnly:false
@​angular/build
Commit Type Description
d0c776d461 fix safeguard Karma builder stream controller against closed state

v22.0.8

Compare Source

@​angular/cli
Commit Type Description
41c356256 fix batch Prettier invocations during migration formatting
bc87c85c3 fix update MCP devserver tool names to conform to spec regex
@​angular/build
Commit Type Description
5724bf632 fix canonicalize drive letter casing for workspace root on Windows
b8bdbaa1e fix ensure import map integrity keys are valid URL-like specifiers
212a7bb21 fix favor istanbul coverage provider when browser testing is enabled
bc760b005 fix preserve custom config options in runnerConfig for vitest
19cda7415 fix remap metafile paths when workspace root is a symlink or junction
fdcc98c79 perf skip semantic affected-file walk when type checking is disabled

v22.0.7

Compare Source

@​angular/cli
Commit Type Description
e85c10ccb fix copy packageManager field and yarn config for temp installs
b87cafec0 fix support resolving subproject dependencies in pnpm workspaces

v22.0.6

Compare Source

v22.0.5

Compare Source

@​angular/cli
Commit Type Description
f099e641c fix gracefully handle package manager errors in command handler
cf033ec48 fix respect release age policy in update bootstrapping logic
@​schematics/angular
Commit Type Description
862a38069 fix remove unused app tsconfig outDir
@​angular-devkit/build-angular
Commit Type Description
f75085f4b fix prevent OS command injection in ssr-dev-server builder
@​angular/build
Commit Type Description
dfee1e7b1 fix auto-inject localize/init in library unit tests
aba718403 fix inherit preserveSymlinks option from build target in unit-test builder
7c0d9f03c fix load zone.js dynamically for library unit tests
4288e4452 fix scope createRequire module resolution using paths to prevent parent paths
@​angular/ssr
Commit Type Description
5f774f891 fix preserve response headers during redirect

v22.0.4: 22.0.4

Compare Source

@​angular/build
Commit Description
fix - 46185ceac aggregate parallel worker performance timings on the main thread
perf - 5d7e29c41 dispose builder result context early in non-watch mode

v22.0.3

Compare Source

v22.0.2

Compare Source

@​angular/cli
Commit Type Description
136fc2714 fix support registry metadata fetching under bun package manager
2653dd5c7 perf implement semaphore backpressure throttling in PackageManager
@​angular/build
Commit Type Description
0b4a48add perf implement semaphore backpressure throttling in JavaScriptTransformer
@​angular/ssr
Commit Type Description
d996a27e9 fix avoid caching non-SSG page lookups
285a34e42 fix correct grammar in console warning for redirected location headers
c8088a536 fix prioritize options over environment variables in AngularNodeAppEngine

v22.0.1

Compare Source

@​angular/cli
Commit Type Description
b54e9a549 fix do not sort migrations of the same version alphabetically
d33311612 fix fallback to local package.json for schematic detection on first run
918102a93 fix isolate temporary package installation from parent pnpm workspace
b048b5f4a fix remove forceAuth and unscoped credential parsing
277934035 fix validate registry option is a valid URL in ng add
4510dae02 perf optimize update schematic registry query counts by fetching package metadata lazily
@​schematics/angular
Commit Type Description
c80012294 fix fix browserMode option mapping in refactor-jasmine-vitest
a9b6bd904 fix safely comment out multiline statements in refactor-jasmine-vitest
12199df00 fix use null objects and callbacks in karma-to-vitest migration
@​angular/build
Commit Type Description
89d1be979 fix allow disabling Vitest isolation from builder
d45b84be9 fix exclude JSON imports from Vite dependency optimization
e3cab4ddd fix prevent concurrent stylesheet bundling esbuild context leaks
bd413b0eb fix restrict application builder output paths to output directory

v22.0.0

Compare Source

Breaking Changes

  • Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
  • The @angular-devkit/architect-cli package is no longer available. The architect CLI tool has been moved to the @angular-devkit/architect package.
  • The experimental @angular-devkit/build-angular:jest and @angular-devkit/build-angular:web-test-runner builders have been removed.
@​angular/build
  • The @angular/build:dev-server (ng serve) now assigns the highest priority to the PORT environment variable. This value will override any port configurations specified in angular.json or via the --port command-line flag. This includes the default port 4200.
  • istanbul-lib-instrument is now an optional peer dependency.
    Projects using karma with code coverage enabled will need to ensure that istanbul-lib-instrument is installed. Note: ng update will automatically add this dependency during the update process.
@​angular/ssr
  • The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.

Deprecations

@​angular-devkit/build-angular
  • Webpack builders in build-angular are deprecated. Use @​angular/build builders instead.
@​angular-devkit/build-webpack
  • Webpack builders in build-webpack are deprecated. Use @​angular/build builders instead.
@​angular/ssr
  • CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.
@​ngtools/webpack
@​angular/cli
Commit Type Description
58c0978f6 feat add support for Node.js 26.0.0
a5c7c0b5f fix reflect new minimum supported Node version in ng.js
a5e1e48db fix update odd-numbered Node.js version warning condition for future releases
93c3eb8fb fix update zoneless migration tool to handle ChangeDetectionStrategy.Eager
a39a33128 perf cache root manifest and resolve restricted package exports in ng add
@​schematics/angular

| Commit | Type | Description |
| -----------------------------------------------------------------------

❗ Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Sep 30, 2024 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @imageengine/angular-workspace@0.0.3
npm ERR! Found: @angular/compiler-cli@12.1.5
npm ERR! node_modules/@angular/compiler-cli
npm ERR!   dev @angular/compiler-cli@"~12.1.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler-cli@"^22.0.0" from @angular-devkit/build-angular@22.2.0
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev @angular-devkit/build-angular@"~22.2.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2026-09-28T00_13_25_233Z-debug-0.log

@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 6d3a8ea to 892ac0f Compare November 21, 2024 20:51
@renovate renovate Bot changed the title Update angular-cli monorepo to v18 (major) Update angular-cli monorepo to v19 (major) Nov 21, 2024
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 892ac0f to 7be0378 Compare January 15, 2025 23:34
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 7be0378 to 288478c Compare March 1, 2025 03:45
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 288478c to 6e6c82a Compare May 31, 2025 15:59
@renovate renovate Bot changed the title Update angular-cli monorepo to v19 (major) Update angular-cli monorepo to v20 (major) May 31, 2025
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 6e6c82a to 67238ee Compare July 13, 2025 12:25
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 67238ee to 8eac84d Compare August 23, 2025 12:12
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 8eac84d to ca61920 Compare September 11, 2025 00:00
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from ca61920 to e68ead1 Compare November 20, 2025 12:16
@renovate renovate Bot changed the title Update angular-cli monorepo to v20 (major) Update angular-cli monorepo to v21 (major) Nov 20, 2025
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from e68ead1 to b1f9906 Compare January 15, 2026 20:06
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from b1f9906 to 1676d7e Compare March 1, 2026 16:11
@renovate renovate Bot changed the title Update angular-cli monorepo to v21 (major) Update angular-cli monorepo to v21 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 1676d7e to 7d89241 Compare June 5, 2026 03:52
@renovate renovate Bot changed the title Update angular-cli monorepo to v21 Update angular-cli monorepo to v22 Jun 5, 2026
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 7d89241 to 1c5296b Compare August 1, 2026 11:45
@renovate
renovate Bot force-pushed the renovate/major-angular-cli-monorepo branch from 1c5296b to 706f094 Compare September 28, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants