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: 41baec12caf86e5067947df710b6ab2026368841
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: dfe3c95f9aeb908a48a62a5dff632719773eab2d
Choose a head ref
  • 14 commits
  • 23 files changed
  • 4 contributors

Commits on Dec 5, 2024

  1. Configuration menu
    Copy the full SHA
    6cfbb88 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/build): move getDepOptimizationConfig into utils …

    …file
    
    Reduce the amount of code in vite-server.ts
    
    (cherry picked from commit b8b561d)
    alan-agius4 committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    f46d0b1 View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): fix webpack config transform for …

    …karma
    
    (cherry picked from commit fb41d18)
    jkrems committed Dec 5, 2024
    Configuration menu
    Copy the full SHA
    6c319e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2024

  1. test(@angular/ssr): refine spec setup to resolve component ID collisi…

    …on warnings
    
    This update addresses excessive log noise caused by the following warning:
    `NG0912: Component ID generation collision detected. Components 'AppComponent' and 'AppComponent' with selector 'app-root' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID. Find more at https://angular.dev/errors/NG0912`.
    
    (cherry picked from commit 6647247)
    alan-agius4 committed Dec 6, 2024
    Configuration menu
    Copy the full SHA
    9ae8351 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2024

  1. fix(@angular/ssr): include Content-Language header when locale is set

    The server now includes the `Content-Language` HTTP header in responses whenever a locale is explicitly set.
    
    (cherry picked from commit d7214e9)
    alan-agius4 committed Dec 7, 2024
    Configuration menu
    Copy the full SHA
    b3c6c7e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. revert: fix(@angular/build): show error when Node.js built-ins are us…

    …ed during ng serve
    
    This commit reverts 06f478b
    
    Closes: #29077
    alan-agius4 committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    fc553c1 View commit details
    Browse the repository at this point in the history
  2. fix(@angular/build): handle external @angular/ packages during SSR (#…

    …29094)
    
    This commit introduces `ngServerMode` to ensure proper handling of external `@angular/` packages when they are used as externals during server-side rendering (SSR).
    
    Closes: #29092
    (cherry picked from commit d811a7f)
    alan-agius4 committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    1047b86 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2024

  1. refactor(@angular/build): add globalThis['ngServerMode'] only when …

    …`externalDependencies` are present
    
    This code is unnecessary when no external dependencies are involved.
    
    (cherry picked from commit 43127dd)
    alan-agius4 committed Dec 10, 2024
    Configuration menu
    Copy the full SHA
    e20e739 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2024

  1. fix(@angular/build): Fixing auto-csp edge cases where

    - <script> is the last tag before </head> close
    - .appendChild is called before </head> (because document.body is undefined then)
    - <script> tags with a src attribute and no specified type attribute should not write <script type="undefined" ...>
    
    (cherry picked from commit 210bf4e)
    aaronshim authored and dgp1130 committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    251bd9f View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/ssr): move ignored messages as a global

    Refactored the ignored log messages into a global constant.
    
    (cherry picked from commit 6eed460)
    alan-agius4 committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    544d139 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/build): use consistent path separators for template HMR …

    …identifiers
    
    To ensure that component HMR identifiers match correctly during an update,
    the path element of the identifier generated by the build system will now
    convert all windows path separators into POSIX separators. This provides
    matching behavior to the AOT compiler's identifier generation process.
    
    (cherry picked from commit 8875998)
    clydin committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    5ea9ce3 View commit details
    Browse the repository at this point in the history
  4. fix(@angular/ssr): disable component bootstrapping during route extra…

    …ction
    
    This commit disables component bootstrapping during route extraction to prevent invoking the AppComponent and its lifecycle hooks.
    
    Closes #29085
    
    (cherry picked from commit 10a5b8b)
    alan-agius4 committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    4203efb View commit details
    Browse the repository at this point in the history
  5. fix(@angular/build): provide component HMR update modules to dev-serv…

    …er SSR
    
    When using component HMR and SSR with the development server, the component
    update modules will now be available to the Vite server rendering.  This
    prevents console errors due to missing component update paths. Additionally,
    it allows the server rendering to use the latest component templates if those
    have been changed before a new rebuild has occurred.
    
    (cherry picked from commit 64f32c7)
    clydin committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    376ee99 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2024

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