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: 19.0.3
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: 19.0.4
Choose a head ref
  • 6 commits
  • 18 files changed
  • 4 contributors

Commits on Dec 5, 2024

  1. Configuration menu
    Copy the full SHA
    ed30cfb View commit details
    Browse the repository at this point in the history
  2. docs(@angular/ssr): remove duplicate @return comment

    Remove duplicate `@return` tsdoc comment.
    
    (cherry picked from commit 1ca260e)
    alan-agius4 committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    4a5c5e4 View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): handle windows spec collisions

    (cherry picked from commit 9e2d3fb)
    jkrems authored and alan-agius4 committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    23667ed View commit details
    Browse the repository at this point in the history
  4. perf(@angular/build): reuse TS package.json cache when rebuilding

    TypeScript 5.6 and higher added functionality that will search for a
    `package.json` file for source files that are part of the program (e.g., `.d.ts`)
    and within a node modules directory. This can be an expensive tasks especially
    considering the large amount of `.d.ts` files within packages. TypeScript supports
    using a cache of known `package.json` files to improve the performance of this task.
    The Angular CLI will now provide and reuse this cache across rebuilds during watch
    mode. This includes the use of `ng serve`.
    
    The performance difference is most apparent for the Angular template diagnostic
    step of the build. Internally the Angular compiler creates a new template typechecking
    program which causes the `package.json` search process to occur. By leveraging the
    cache, this process becomes a series of cache hits. In the event that files are modified
    within the node modules directory, the cache is invalidated and the following rebuild
    may be longer as a result.
    
    (cherry picked from commit 75998eb)
    clydin authored and alan-agius4 committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    14451e2 View commit details
    Browse the repository at this point in the history
  5. fix(@angular/build): show error when Node.js built-ins are used durin…

    …g `ng serve`
    
    This commit ensures consistent behavior between `ng build` and `ng serve`. Previously, `ng serve` did not display an error message when Node.js built-in modules were included in browser bundles. By default, Vite replaces Node.js built-ins with empty modules, which can lead to unexpected runtime issues. This update addresses the problem by surfacing clear error messages, providing better developer feedback and alignment between the two commands.
    
    Closes: #27425
    (cherry picked from commit 06f478b)
    alan-agius4 committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    fc41f50 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6cfbb88 View commit details
    Browse the repository at this point in the history
Loading