20.3.0-rc.0
Breaking Changes📦 angularView on GitHub →
⚠ 2 breaking✨ 1 features🐛 1 fixes🔧 5 symbols
Summary
This release introduces a new BootstrapContext for server-side rendering to eliminate global platform injector reliance and includes a security-related update to platform management.
⚠️ Breaking Changes
- Server-side bootstrapping no longer relies on a global platform injector. The bootstrap function now requires a `BootstrapContext` argument.
- In server environments, `getPlatform()` now returns `null` and `destroyPlatform()` is now a no-op.
Migration Steps
- Update `main.server.ts` to accept `BootstrapContext` in the bootstrap function and pass it to `bootstrapApplication`.
- Run the provided schematic to automatically update server bootstrap files.
- Ensure any server-side code relying on `getPlatform()` is updated to handle `null` values.
✨ New Features
- Introduced `BootstrapContext` to improve server-side bootstrapping efficiency and reliability.
🐛 Bug Fixes
- Removed the refresh button from the transfer state tab.
🔧 Affected Symbols
BootstrapContextbootstrapApplicationgetPlatformdestroyPlatformmain.server.ts