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: 101c875
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: fe9ea0d
Choose a head ref
  • 6 commits
  • 30 files changed
  • 2 contributors

Commits on Jun 11, 2025

  1. ci: update to latest version of dev-infra actions

    Update to the latest sha of the dev-infra actions
    josephperrott committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    c6eba4d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2025

  1. feat(@angular/ssr): introduce BootstrapContext for isolated server-si…

    …de rendering
    
    This commit introduces a number of changes to the server bootstrapping process to make it more robust and less error-prone, especially for concurrent requests.
    
    Previously, the server rendering process relied on a module-level global platform injector. This could lead to issues in server-side rendering environments where multiple requests are processed concurrently, as they could inadvertently share or overwrite the global injector state.
    
    The new approach introduces a `BootstrapContext` that is passed to the `bootstrapApplication` function. This context provides a platform reference that is scoped to the individual request, ensuring that each server-side render has an isolated platform injector. This prevents state leakage between concurrent requests and makes the overall process more reliable.
    
    BREAKING CHANGE:
    The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
    
    Before:
    ```ts
    const bootstrap = () => bootstrapApplication(AppComponent, config);
    ```
    
    After:
    ```ts
    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);
    ```
    alan-agius4 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    32980f7 View commit details
    Browse the repository at this point in the history
  2. fix(@angular-devkit/build-angular): avoid extra tick in SSR builds

    In SSR applications, an unnecessary event loop tick during server startup could lead to an incorrect platform being initialized.
    
    This change introduces an `ngJitMode` define, which is set to `false` during AOT builds. This allows for the JIT-specific code paths to not be followed, preventing the async operations that caused the extra tick. This ensures that the server platform is correctly and synchronously initialized.
    alan-agius4 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    b0f4330 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/build): avoid extra tick in SSR dev-server builds

    In SSR applications, an unnecessary event loop tick during server startup could lead to an incorrect platform being initialized.
    
    This change introduces an `ngJitMode` define, which is set to `false` during AOT builds. This allows for the JIT-specific code paths to not be followed, preventing the async operations that caused the extra tick. This ensures that the server platform is correctly and synchronously initialized.
    alan-agius4 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    ee5c5f8 View commit details
    Browse the repository at this point in the history
  4. build: update Angular FW packages to latest patch

    Update FW packages to latest patch version
    alan-agius4 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    c4278aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe9ea0d View commit details
    Browse the repository at this point in the history
Loading