@angular/platform-browser-dynamic
22.2.3 · 14 Oct 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
20.3.34 is the newest release of 20.x.
In short
1 breaking1 security
- breaking
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
- security
For more information please see: github.com/angular/angular/security/advisories/…
Release note
| Commit | Description |
|---|---|
| fix - a3f808d7c8 | remove refresh button from transfer state tab (#63592) |
core
| Commit | Description |
|---|---|
| feat - 6117ccee2e | introduce BootstrapContext for improved server bootstrapping (#63636) |
Breaking Changes
core
- breaking
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.
For more information please see: github.com/angular/angular/security/advisories/…