Bump @angular/platform-server from 17.3.12 to 18.2.14 in /apps/demos
Bumps @angular/platform-server from 17.3.12 to 18.2.14.
Release notes
Sourced from @angular/platform-server's releases.
18.2.14
core
Commit Description introduce BootstrapContextfor improved server bootstrapping (#63640)Breaking Changes
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
const bootstrap = () => bootstrapApplication(AppComponent, config);After:
const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context);A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.(cherry picked from commit 8bf80c9d2314b4f2bcf3df83ae01552a6fc49834)
Changelog
Sourced from @angular/platform-server's changelog.
18.2.14 (2025-09-10)
Breaking Changes
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
const bootstrap = () => bootstrapApplication(AppComponent, config);After:
const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context);A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.(cherry picked from commit 8bf80c9d2314b4f2bcf3df83ae01552a6fc49834)
core
Commit Type Description 9d1fb33f5e fix introduce BootstrapContextfor improved server bootstrapping (#63640)19.2.15 (2025-09-10)
Breaking Changes
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
const bootstrap = () => bootstrapApplication(AppComponent, config);After:
const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context);A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.core
| Commit | Type | Description |
... (truncated)
Commits
9d1fb33fix(core): introduceBootstrapContextfor improved server bootstrapping (#6...b40875afix(platform-server): destroyPlatformRefwhen error happens during the `bo...03ac3c2refactor: update license text to point to angular.dev (#57902)97e2841refactor(core): avoid producing zone-related warnings during hydration when i...76709d5fix(core): Handle@letdeclaration with array whenpreparingForHydration(#...6d3a2affix(core): Do not bubble capture events. (#57476)286012ffix(core): handle hydration of components that project content conditionally ...de85979fix(core): skip hydration for i18n nodes that were not projected (#57356)5558e27fix(core): take skip hydration flag into account while hydrating i18n blocks ...8621679fix(core): complete post-hydration cleanup in components that use ViewContain...- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.