Packages

@angular/platform-server

22.2.6 · 12 Nov 2026MIT1M / weekRepositoryHomepagenpmAtom feed

Your version

16.0.0

major3 May 2023Where it was published

16.2.12 is the newest release of 16.x.

In short

3 breaking1 deprecated

  • Breaking

    Users that are using SSR with JIT mode will now need to add import to @angular/compiler before bootstrapping the application.

  • Breaking

    renderApplication method no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns a Promise<ApplicationRef>.

  • Breaking

    renderModuleFactory has been removed. Use renderModule instead.

  • Deprecated

    PlatformConfig.baseUrl and PlatformConfig.useAbsoluteUrl platform-server config options are deprecated as these were not used.

Security

12 advisories affect 16.0.0; 20.3.33 fixes them

7 more

Release note

The section about @angular/platform-server of a note shared by several packages.

platform-server

CommitDescription
feat - b5278cc115renderApplication now accepts a bootstrapping method (#49248)
feat - 056d68002fadd provideServerSupport function to provide server capabilities to an application (#49380)
feat - 7870fb07ferename provideServerSupport to provideServerRendering (#49678)
fix - a08a8ff108bundle @angular/domino in via esbuild (#49229)
fix - 5ea624f313remove dependency on @angular/platform-browser-dynamic (#50064)
refactor - e99460865edeprecate useAbsoluteUrl and baseUrl (#49546)
refactor - 41f27ad086remove renderApplication overload that accepts a component (#49463)
refactor - 17abe6dc96remove deprecated renderModuleFactory (#49247)

Breaking Changes

platform-server

  • Breaking

    Users that are using SSR with JIT mode will now need to add import to @angular/compiler before bootstrapping the application.

    NOTE: this does not effect users using the Angular CLI.

  • Breaking

    renderApplication method no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns a Promise<ApplicationRef>.

    Before

    const output: string = await renderApplication(RootComponent, options);

    Now

    const bootstrap = () => bootstrapApplication(RootComponent, appConfig);
    const output: string = await renderApplication(bootstrap, options);
  • Breaking

    renderModuleFactory has been removed. Use renderModule instead.

Deprecations

platform-server

  • Deprecated

    PlatformConfig.baseUrl and PlatformConfig.useAbsoluteUrl platform-server config options are deprecated as these were not used.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.