mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
parent
4c3cc02bad
commit
fde699bbf4
1 changed files with 27 additions and 0 deletions
27
CHANGELOG.md
27
CHANGELOG.md
|
|
@ -1,3 +1,30 @@
|
|||
<a name="19.2.15"></a>
|
||||
# 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:
|
||||
```ts
|
||||
const bootstrap = () => bootstrapApplication(AppComponent, config);
|
||||
```
|
||||
|
||||
After:
|
||||
```ts
|
||||
const bootstrap = (context: BootstrapContext) =>
|
||||
bootstrapApplication(AppComponent, config, context);
|
||||
```
|
||||
|
||||
A schematic is provided to automatically update `main.server.ts` files to pass the `BootstrapContext` to the `bootstrapApplication` call.
|
||||
|
||||
In addition, `getPlatform()` and `destroyPlatform()` will now return `null` and be a no-op respectively when running in a server environment.
|
||||
### core
|
||||
| Commit | Type | Description |
|
||||
| -- | -- | -- |
|
||||
| [70d0639bc1](https://github.com/angular/angular/commit/70d0639bc19e376af1a0491898f54a026d3227e2) | fix | introduce `BootstrapContext` for improved server bootstrapping ([#63639](https://github.com/angular/angular/pull/63639)) |
|
||||
|
||||
<!-- CHANGELOG SPLIT MARKER -->
|
||||
|
||||
<a name="21.0.0-next.3"></a>
|
||||
# 21.0.0-next.3 (2025-09-10)
|
||||
## Breaking Changes
|
||||
|
|
|
|||
Loading…
Reference in a new issue