-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Comparing changes
Open a pull request
base repository: angular/angular-cli
base: v21.2.5
head repository: angular/angular-cli
compare: v21.2.6
- 11 commits
- 22 files changed
- 5 contributors
Commits on Mar 27, 2026
-
refactor(@angular-devkit/schematics): remove shell usage in git spawn…
… to prevent command injection Git is a native executable on Windows and does not require shell: true. Switch to array-based spawn and separate the -m flag from the commit message to prevent command injection via crafted commit messages. (cherry picked from commit f1ed025)
Configuration menu - View commit details
-
Copy full SHA for 7d3844a - Browse repository at this point
Copy the full SHA 7d3844aView commit details -
fix(@angular/build): ensure Vitest mock patching is executed only once
Wrap the Vitest mocking overrides in a global guard to prevent repeated execution in shared environments or watch mode runs. (cherry picked from commit e558117)
Configuration menu - View commit details
-
Copy full SHA for 8186faa - Browse repository at this point
Copy the full SHA 8186faaView commit details -
fix(@angular/build): preserve error stack traces during prerendering
Reorder the nullish coalescing chain from `err.message ?? err.stack` to `err.stack ?? err.message` so that the full stack trace is preserved when available. Since `err.message` is almost always defined on Error objects, the previous order meant `err.stack` was never reached. Also add `assertIsError(err)` and consistent `err.code` inclusion across all three error-handling locations for improved type safety and debugging. Fixes #32503 (cherry picked from commit 81e4faa)
Configuration menu - View commit details
-
Copy full SHA for 107d1a9 - Browse repository at this point
Copy the full SHA 107d1a9View commit details
Commits on Mar 30, 2026
-
fix(@angular/build): ensure transitive SCSS partial errors are tracke…
…d in watch mode When stylesheet bundling fails due to an error in a SCSS partial, we now ensure that `referencedFiles` are still passed to the `FileReferenceTracker`. This prevents the dependency between the component and the error file from being lost, allowing the component to be correctly rebuilt when the error is fixed. (cherry picked from commit 21d8aa4)
Configuration menu - View commit details
-
Copy full SHA for 9136eb3 - Browse repository at this point
Copy the full SHA 9136eb3View commit details -
fix(@angular/cli): fix sourceRoot resolution for MCP projects tool
Ensure that project.sourceRoot is used directly as it is already relative to the workspace root, preventing duplicated path prefixes for sub-projects. (cherry picked from commit 4815a54)
Configuration menu - View commit details
-
Copy full SHA for ea14f28 - Browse repository at this point
Copy the full SHA ea14f28View commit details -
build: update pnpm to v10.33.0
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 750c461 - Browse repository at this point
Copy the full SHA 750c461View commit details -
build: update cross-repo angular dependencies
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 57e956c - Browse repository at this point
Copy the full SHA 57e956cView commit details -
build: safeguard terminal styling in devkit admin script
Prior to this change, if an unhandled promise rejection or error occurred that lacked a `stack` property, the `console.error` wrapper in `devkit-admin.mts` would receive `undefined`. Attempting to pass `undefined` to Node`s `util.styleText` caused an unexpected `ERR_INVALID_ARG_TYPE` crash instead of printing the original error. This commit updates the `console.warn` and `console.error` overrides to ensure they only apply `styleText` to strings. It also updates the top-level try-catch block to fallback to the original error object if `err.stack` is undefined, preventing silent suppression. (cherry picked from commit 54c96c8)
Configuration menu - View commit details
-
Copy full SHA for 8f954e3 - Browse repository at this point
Copy the full SHA 8f954e3View commit details -
fix(@angular/build): scope CHROME_BIN executable path to individual p…
…laywright instances Previously, if CHROME_BIN was set in the environment and a user ran tests targeting the Playwright provider, the path was applied to the global Playwright launch options. This caused tests to crash if a user requested non-Chromium browsers (like Firefox) alongside Chromium, because Playwright would incorrectly attempt to launch the Chrome binary for the Firefox instance. This commit updates the browser configuration to map instances before providers are initialized, and selectively injects `launchOptions: { executablePath: process.env.CHROME_BIN }` at the individual instance level for chrome and chromium only. This restores parity where users can maintain CHROME_BIN variables while safely invoking alternative browsers. (cherry picked from commit 8dd341e)Configuration menu - View commit details
-
Copy full SHA for b7f4572 - Browse repository at this point
Copy the full SHA b7f4572View commit details
Commits on Mar 31, 2026
-
refactor(@angular/build): extract headless configuration logic into h…
…elper function This extracts the verbose headless property mutation logic from the monolithic setupBrowserConfiguration function into a standalone applyHeadlessConfiguration helper function to improve maintainability and readability. (cherry picked from commit 3663f80)
Configuration menu - View commit details
-
Copy full SHA for 7bfe347 - Browse repository at this point
Copy the full SHA 7bfe347View commit details
Commits on Apr 1, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 9a2ee51 - Browse repository at this point
Copy the full SHA 9a2ee51View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v21.2.5...v21.2.6