Skip to content

Conversation

alan-agius4
Copy link
Collaborator

This commit updates the SSR implementation to use the new bootstrapServerApplication function. This simplifies the server-side rendering (SSR) bootstrap process for standalone applications by making it more explicit and removing the need for a custom main.server.ts file that wraps bootstrapApplication.

Key changes:

  • The SSR engine is updated to leverage the new bootstrap function.
  • The ng add @angular/ssr schematic is updated to generate code using bootstrapServerApplication.
  • Internal utilities and tests are updated to align with this new approach.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/ssr labels Sep 3, 2025
@alan-agius4 alan-agius4 requested a review from jkrems September 3, 2025 09:20
@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Sep 3, 2025
@alan-agius4 alan-agius4 changed the title feat(@angular/ssr): adopt bootstrapServerApplication for streamlined server bootstrap fix(@angular/ssr): adopt bootstrapServerApplication for streamlined server bootstrap Sep 3, 2025
@alan-agius4 alan-agius4 removed the detected: feature PR contains a feature commit label Sep 3, 2025
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 3, 2025
@alan-agius4 alan-agius4 marked this pull request as ready for review September 3, 2025 09:22
… server bootstrap

This commit updates the SSR implementation to use the new `bootstrapServerApplication` function. This simplifies the server-side rendering (SSR) bootstrap process for standalone applications by making it more explicit and removing the need for a custom `main.server.ts` file that wraps `bootstrapApplication`.

Key changes:
- The SSR engine is updated to leverage the new bootstrap function.
- The `ng add @angular/ssr` schematic is updated to generate code using `bootstrapServerApplication`.
- Internal utilities and tests are updated to align with this new approach.
@alan-agius4 alan-agius4 added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular/ssr state: blocked target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants