chore(deps): update angular-cli monorepo to v21 (major) - autoclosed
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @angular-devkit/build-angular | ^20.3.16 -> ^21.0.0 |
||
| @angular/cli | ^20.3.16 -> ^21.0.0 |
Release Notes
angular/angular-cli (@angular-devkit/build-angular)
v21.2.0
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 0dd04f289 | feat | add markdown files to Prettier's formatting list |
| fbae1b6ab | feat | automatic formatting files modified by schematics |
| 91b9d281f | feat | integrate file formatting into update migrations |
| 98a24d040 | feat | standardize MCP tools around workspace/project options |
| d9cd609c5 | fix | correctly parse scoped packages in yarn classic list output |
| 5b05f2500 | fix | enable shell option for Prettier execution on Windows platforms |
| 25b8a157d | fix | quote complex range specifiers in package manager |
| 6f29a8c35 | fix | renamed files by their new path in the schematic workflow |
| 201a036f2 | fix | simplify Angular version compatibility checks and add special handling for local builds of new major versions |
| cdd26bb66 | fix | validate package manager version using semver.valid and throw an error if invalid |
| bc363af8b | perf | optimize package manager discovery with stat-based probing |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| aa7381efd | feat | add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency |
| f80db6fb7 | feat | add ng-add support for Vitest browser providers |
| 5d1df50d8 | fix | add actionable feedback to vitest-browser schematic |
@angular/build
| Commit | Type | Description |
|---|---|---|
| ece30f235 | feat | add headless option to unit-test builder |
| cad7a7c0f | feat | run vitest browser with playwright with OS theme |
| 0b4982720 | fix | adjust sourcemap sources when Vitest wrapper is bypassed |
| 1f114a9e8 | fix | bundle setup files in unit-test builder for Vitest |
| fd5cb28c8 | fix | explicitly fail when using Vitest runtime mocking |
| dc899e8a5 | fix | normalize allowedHosts in dev-server |
| 26bbea12f | fix | serve extensionless assets without transformation |
v21.1.5
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| 8695d6063 | fix | prevent open redirect via X-Forwarded-Prefix header |
| e4d445ec6 | fix | validate host headers to prevent header-based SSRF |
v21.1.4
@angular/build
| Commit | Type | Description |
|---|---|---|
| 7a9dd6b47 | fix | correctly resolve absolute setup file paths in Vitest |
v21.1.3
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| a18196a10 | fix | warn when production configuration is missing for service worker |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 6d05d27ca | fix | address Node.js deprecation DEP0190 |
v21.1.2
@angular-devkit/schematics-cli
| Commit | Type | Description |
|---|---|---|
| e7458c81d | fix | Add boolean type inference for 'true' and 'false' string values in argument parsing |
@angular-devkit/architect
| Commit | Type | Description |
|---|---|---|
| d66f1fe64 | fix | Add boolean type inference for 'true' and 'false' string values in argument parsing |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 80911af67 | fix | loosen Vitest dependency checks when runnerConfig is used |
| 2d30639d3 | fix | support merging coverage thresholds with Vitest runnerConfig |
v21.1.1
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 151b69587 | fix | Remove nonexistent link from MCP response |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 9da6d8fa7 | fix | correct vscode MCP configuration for new projects |
| 361758c75 | fix | remove special characters from jasmine-vitest report filename |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 1b7e3307a | fix | allow application assets in workspace root |
| d1e596dc5 | fix | prevent incorrect catch binding removal in downleveled for-await |
| 98ef0981a | fix | update undici to v7.18.2 |
v21.1.0
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 772e6efe7 | feat | add 'test' and 'e2e' MCP tools |
| 8efb86318 | feat | Add "all" as an experimental tool group |
| c3c9ac506 | feat | Add MCP tools for building and running devservers |
| d635a6c63 | feat | add signal forms lessons |
| d8b76e93d | fix | correctly handle yarn classic tag manifest fetching |
| 7ab5c0b0a | fix | correctly spawn package managers on Windows in new abstraction |
| 348096623 | fix | enhance list_projects MCP tool file system traversal and symlink handling |
| 316fca862 | fix | handle array output from npm view in manifest parser |
| 032257a6d | fix | improve signal forms lesson examples in AI tutor |
| 18d74dde8 | fix | rename mcp devserver tools to comply with naming spec |
| 1ad773671 | fix | update dependency @modelcontextprotocol/sdk to v1.25.2 |
| 45d4f5668 | fix | update yarn berry package manager configuration |
| 122ed27c9 | fix | use project-local temporary directory in ng add |
| a15db28b2 | perf | cache resolved specific version in package manager abstraction |
| 240588b7e | perf | optimize ng add version discovery |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 36cf3afb4 | feat | add browserMode option to jasmine-vitest schematic |
| e71a72ffd | feat | generate detailed migration report for refactor-jasmine-vitest
|
| 18cf6c51b | fix | add MCP configuration file to new workspaces |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 1eda0a99f | feat | directly support ng-packagr in unit-test builder |
| 87175f9dc | feat | disable TestBed teardown during debugging in Vitest |
| 1e39c77a4 | fix | inject source-map-support for Vitest browser tests |
| 3fd7dcd76 | fix | normalize roots to POSIX in test discovery for Windows compatibility |
| 164e7dbbc | fix | resolve test files correctly on Windows when using non-C drives |
| ad99e00ad | fix | simplify SSL handling for ng serve with SSR (#31722) |
v21.0.6
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| 730ae6609 | fix | handle platform destruction during rendering |
v21.0.5
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 249563749 | fix | use narrower types for new MCP TS SDK compatibility |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| cbd0718b9 | fix | move 'provideZoneChangeDetection' to the root module |
| 33f7cf761 | fix | update application schematics for module-based apps to use 'provideZoneChangeDetection' |
| 37b14d1f7 | fix | update default app component message |
| c37dccb09 | fix | update default app component welcome message |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 2b9be3a7c | fix | ensure correct project targeting during Vitest debugging |
v21.0.4
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| b671245b9 | fix | improve VS Code background compilation start/end detection |
| 85a28dec7 | fix | remove inlineSources from library tsconfig template |
@angular/build
| Commit | Type | Description |
|---|---|---|
| deb4fff61 | fix | add browser condition to resolver for vitest |
| 570ce8d3e | fix | allow non-prefixed requests when using SSR and base href |
| 4dd3c1a32 | fix | conditionally manage Vitest UI option |
| 4b8b7caec | fix | ensure tests run when compilation error is resolved |
| bef4fcecb | fix | remove LmdbCacheStore export from private API |
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| bb54747da | fix | add leading slash to well-known non-Angular URLs |
| 0cfe2e749 | fix | propagate status code to redirect |
| eadadb848 | fix | skip SSR processing for well-known non-Angular URLs like favicon.ico |
v21.0.3
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 5d85f416f | fix | conditionally provide Zone.js change detection in the built-in test main file |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 778b4cffc | fix | Add custom middleware for to present an Angular-tailored message |
| 9b02ab2ee | fix | Ensure disposal of close-javascript-transformer |
| 0fc7d576e | fix | ensure locale base href retains leading slash (#32040) |
| b141670a2 | fix | inject testing polyfills in Karma unit-test executor |
| 88c18ce68 | fix | support NODE_EXTRA_CA_CERTS in SSR SSL plugin |
v21.0.2
@angular/cli
| Commit | Type | Description |
|---|---|---|
| f1a7116cd | fix | update @modelcontextprotocol/sdk to v1.24.0 |
@angular-devkit/schematics
| Commit | Type | Description |
|---|---|---|
| dc6d9469e | fix | remove lazy imports in node tasks |
@angular/build
| Commit | Type | Description |
|---|---|---|
| f8a1939fd | fix | add filename truncation to test discovery |
| 86dd3297f | fix | allow overriding Vitest coverage reportsDirectory option |
v21.0.1
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 363496ae0 | fix | ensure dependencies are resolved correctly for node modules directory check |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| 2f58705cb | fix | add missing imports for lifecycle hooks in jasmine-vitest migration |
| c973bb9ca | fix | add mock names to createSpyObj transformation |
| 4534c9848 | fix | do not set esModuleInterop and moduleResolution when module is preserve
|
| 16d898e75 | fix | fix migration of jasmine.clock().mockDate()
|
| 21c3eac72 | fix | handle createSpyObj without base name on refactor-jasmine-vitest |
| b8c99aa4c | fix | improve safety of done callback transformation |
| 4a71e06fc | fix | silently skip when the build target already uses one of the new builders |
| 2ffdae421 | fix | support testRunner option in library schematic |
| 145de4a58 | fix | warn about loose matching in arrayWithExactContents |
@angular/build
| Commit | Type | Description |
|---|---|---|
| d097df2d7 | fix | correct Vitest coverage path resolution for JSDOM on Windows |
| cdb607ada | fix | correctly configure per-browser headless mode in Vitest runner |
| 244931ece | fix | correctly invoke isTTY as a function |
| 54d542738 | fix | ensure correct URL joining for prerender routes |
| a28b38bbe | fix | force dev-server to use HTTP/1.1 when using SSR with SSL |
| 59ff867f0 | fix | normalize --include paths to posix |
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| 03e231216 | fix | handle X-Forwarded-Prefix and APP_BASE_HREF in redirects |
| 3cac01882 | fix | prevent redirect loop with encoded query parameters |
v21.0.0
Breaking Changes
@angular/cli
- The
ngcommands will no longer automatically detect and usecnpmas the package manager. As an alternative use the.npmrcfile to ensure npm uses the cnpm registry.
@angular/build
-
- TypeScript versions older than 5.9 are no longer supported.
- The
javascriptEnabledoption for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| e417c89f9 | feat | Add addTypeToClassName option to relevant schematics |
| ede5e52bc | feat | add include option to jasmine-to-vitest schematic |
| c119910f4 | feat | add AGENTS.md support to ai-config schematic |
| d0d2a17b8 | feat | add Jasmine spy API transformations to jasmine-to-vitest schematic |
| e7d955bed | feat | add matcher transformations to jasmine-to-vitest schematic |
| 629f5cb18 | feat | add misc transformations to jasmine-to-vitest schematic |
| 4912f3990 | feat | add Tailwind CSS option to application schematic and ng new
|
| 2a518016d | feat | Applications are zoneless by default |
| 2ffc527b1 | feat | configure Vitest for new projects and allow runner choice |
| 58474ec7d | feat | introduce initial jasmine-to-vitest unit test refactor schematic |
| 9f255f2b3 | feat | set packageManager in package.json on new projects |
| 4e6c94f21 | feat | support different file name style guides in ng new
|
| 77741f5ee | fix | add 'update-typescript-lib' migration |
| f89750b27 | fix | add addImports option to jasmine-vitest schematic |
| 9dab5780a | fix | add fixture.whenStable in spec files when zoneless apps |
| 8f0f6a5f1 | fix | add migration to update moduleResolution to bundler
|
| e8feba9ee | fix | add missing typeSeparator to main.ts.template file |
| 515b09c4f | fix | add Vitest config generation and runner checks |
| 0e83fe1a8 | fix | add warnings and improve Karma config generation |
| b91fa31f2 | fix | align Karma project generation with unified unit-test builder |
| c967a447c | fix | correct spacing in application spec tsconfig |
| 00d941c43 | fix | correct style guide paths for standalone components |
| e33e77d12 | fix | flag '--file-name-style-guide=2016' - wrong import in main.ts |
| f35b9f331 | fix | improve comment preservation in jasmine-to-vitest |
| 6615fcf03 | fix | issues in apps generated with '--file-name-style-guide=2016' flag |
| e304821d5 | fix | make ai-config schematic non-destructive |
| 512ad282a | fix | preserve blank lines in jasmine-to-vitest schematic |
| b524ba426 | fix | remove empty i18n-extract target for new projects |
| 8e6e0a293 | fix | remove explicit flag for host bindings |
| afb4d3e37 | fix | remove extra space before async in spec templates |
| b983ea8e5 | fix | respect skip-install for tailwind schematic |
| 54c4eae2a | fix | transform Jasmine type annotations in jasmine-to-vitest schematic |
| 14c0a9bac | perf | optimize AST traversal utilities |
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 58d101d5e | feat | add --json output to ng version
|
| d014630fa | feat | add advanced filtering to MCP example search |
| 6d3a3c579 | feat | add ai-tutor mcp tool |
| 1c06b16a9 | feat | add builder info to list_projects MCP tool |
| 301b50da4 | feat | add fallback support for packages without direct ng add functionality |
| 3040b777e | feat | add style language detection to list_projects tool |
| 45024e836 | feat | add unit test framework detection to list_projects tool |
| 104c90768 | feat | enhance ng version output with more details |
| 286b6204c | feat | make documentation search tool version-aware |
| 406315d09 | feat | make find_examples tool version-aware |
| 68e711307 | feat | make get_best_practices tool version-aware |
| 50453fdee | feat | overhaul ng version command output |
| 1ee9ce3c9 | feat | promote MCP find_examples tool to a stable tool |
| 0d53e82d5 | feat | provide detailed peer dependency conflict errors in ng add |
| f513089e2 | feat | remove direct support for cnpm
|
| c17d7a929 | fix | add schema versioning and metadata to example database |
| dbf1aaf70 | fix | add snippet support to example search MCP tool |
| dfb4242b3 | fix | add vitest to version command output |
| 11cee1acb | fix | correct boolean parsing in MCP example front matter |
| 122a8c0e2 | fix | correct frontmatter parsing in MCP examples tool |
| 431106559 | fix | correct query in find_examples to prevent runtime error |
| def412a55 | fix | enhance find_examples MCP tool with structured output |
| 0922a033f | fix | improve JSON schema parsing for command options |
| f099c9157 | fix | improve list_projects MCP tool to find all workspaces in monorepos |
| 1be35b343 | fix | promote zoneless migration MCP tool to stable |
| e5aed6d65 | fix | show planned actions in ng add dry run |
| 4deac3ec7 | fix | support multi-database search in find_examples MCP tool |
| aeb49dd52 | perf | cache dependency lookups during ng add
|
| 5e534090e | perf | parallelize peer dependency checks in ng add
|
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| 6e395fc0c | fix | ensure vitest code coverage handles virtual files correctly |
| 53899511a | fix | expand jest and jest-environment-jsdom to allow version 30 |
| 7a8c94615 | fix | make zone.js optional in server and app-shell builders |
@angular/build
| Commit | Type | Description |
|---|---|---|
| 00426e315 | feat | add --list-tests flag to unit-test builder |
| a908bf3d4 | feat | add 'filter' option to unit-test builder |
| 3e0209d0a | feat | add browserViewport option for vitest browser tests |
| 3b7dabbf1 | feat | add advanced coverage options to unit-test builder |
| c0b00d78e | feat | add reporter output file option for unit-test |
| 66dd6dd83 | feat | allow options for unit test reporters |
| a90bea5b5 | feat | support .test.ts files by default in unit test builder |
| b2f048773 | fix | add --ui option for Vitest runner |
| 530d9270e | fix | add define option to dev-server |
| b554bd73a | fix | add temporary directory cleanup for Vitest executor |
| c6176f6df | fix | add upfront dependency validation for unit-test runners |
| 63c98741a | fix | add webcontainer support for Vitest browser provider |
| fcdbf6c19 | fix | allow globals to be set to false |
| 542d52868 | fix | allow custom runner configuration file for unit-test |
| 0505f954d | fix | allow unit-test progress option passthrough for building |
| 931c62d20 | fix | allow unit-test runner config with absolute path |
| a11dd31f0 | fix | configure Vitest cache to use Angular cache |
| abf003268 | fix | correct Vitest builder watch mode execution |
| f05ffd104 | fix | correct Vitest coverage include handling for virtual files |
| cd5c92b99 | fix | correct Vitest coverage reporting for test files |
| 07f712253 | fix | correctly handle absolute paths and casing in test discovery |
| bf468e1eb | fix | direct check include file exists in unit-test discovery |
| 50e330d33 | fix | disable glob directory expansion when finding tests |
| 49b65aba8 | fix | disable Vitest test isolation by default |
| 1529595d4 | fix | drop support for TypeScript 5.8 |
| a44f8fa94 | fix | dynamically select Vitest DOM environment |
| ae35543af | fix | enhance Vitest config merging and validation |
| fec106b60 | fix | enhance Vitest dependency externalization and pre-bundling |
| f7c4a4c1d | fix | enhance Vitest resolution for optimal package loading |
| ee5e127d5 | fix | ensure ɵgetOrCreateAngularServerApp is always defined after errors |
| 0830f4fb5 | fix | ensure TestBed cleanup hooks are always registered |
| 41b12509a | fix | ensure TestBed setup is robust in non-isolated Vitest |
| 55145f582 | fix | ensure Vitest setup files are executed in order |
| 3478aa332 | fix | exclude .angular from coverage instrumentation |
| 7c529c1bc | fix | externalize Angular dependencies in Vitest runner |
| 69c3b1226 | fix | improve error handling in unit-test builder |
| bab5806c2 | fix | introduce vitest-base.config for test configuration |
| 73621998f | fix | normalize paths for Vitest runner output files |
| fa5c92346 | fix | prioritize string type for runnerConfig schema |
| d0787c11d | fix | provide default excludes for vitest coverage |
| ac10f323e | fix | relax requirement for files to be in TS compilation |
| 139758586 | fix | remove deprecated javascriptEnabled option for Less |
| 6576bb598 | fix | remove explicit test isolation configuration |
| 9132e6af9 | fix | resolve browser provider packages using project resolver |
| 26127bd3b | fix | resolve PostCSS plugins relative to config file |
| dae732059 | fix | serve build assets and styles in vitest |
| 705af2278 | fix | set coverage report directory to coverage/project-name |
| 0851d2eae | fix | show full aggregate errors from vitest |
| cc2668f57 | fix | simplify SSL handling for ng serve with SSR (#31723) |
| 907eabdd3 | fix | support ESM PostCSS plugins |
| 62938e799 | fix | update vitest to 4.0.6 and remove coverage workaround |
v20.3.18
@angular-devkit/core
| Commit | Type | Description |
|---|---|---|
| 39596d529 | fix | update ajv to 8.18.0
|
@angular/build
| Commit | Type | Description |
|---|---|---|
| f668e2778 | fix | update rollup to 4.59.0 |
v20.3.17
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| 8700e18d7 | fix | prevent open redirect via X-Forwarded-Prefix header |
| 67582a946 | fix | validate host headers to prevent header-based SSRF |
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by NMaaS Renovate