Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3018612
Choose a base ref
...
head repository: angular/angular-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9a2ee51
Choose a head ref
  • 11 commits
  • 22 files changed
  • 5 contributors

Commits on Mar 27, 2026

  1. 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)
    VenkatKwest authored and alan-agius4 committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    7d3844a View commit details
    Browse the repository at this point in the history
  2. 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)
    clydin committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    8186faa View commit details
    Browse the repository at this point in the history
  3. 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)
    maruthang authored and clydin committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    107d1a9 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. 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)
    clydin authored and alan-agius4 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    9136eb3 View commit details
    Browse the repository at this point in the history
  2. 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)
    clydin authored and alan-agius4 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    ea14f28 View commit details
    Browse the repository at this point in the history
  3. build: update pnpm to v10.33.0

    See associated pull request for more information.
    angular-robot authored and alan-agius4 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    750c461 View commit details
    Browse the repository at this point in the history
  4. build: update cross-repo angular dependencies

    See associated pull request for more information.
    angular-robot authored and alan-agius4 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    57e956c View commit details
    Browse the repository at this point in the history
  5. 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)
    clydin committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    8f954e3 View commit details
    Browse the repository at this point in the history
  6. 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)
    clydin committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    b7f4572 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2026

  1. 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)
    clydin authored and alan-agius4 committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    7bfe347 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2026

  1. Configuration menu
    Copy the full SHA
    9a2ee51 View commit details
    Browse the repository at this point in the history
Loading