npm @angular/service-worker 21.0.0-next.3

latest releases: 18.2.14, 19.2.15
9 hours ago

Commit Description
fix - ef025880cc remove refresh button from transfer state tab (#63592)

compiler-cli

Commit Description
feat - 0571b335b9 enable type checking of host bindings by default (#63654)

core

Commit Description
feat - 28926ba92c introduce BootstrapContext for improved server bootstrapping (#63562)
fix - c0791e1887 drop support for TypeScript 5.8 (#63589)

migrations

Commit Description
fix - 655a99d0c6 fix bug in ngclass-to-class migration (#63617)

Breaking Changes

compiler-cli

    • Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set "typeCheckHostBindings": false in the angularCompilerOptions section of your tsconfig.

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.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.

    • TypeScript versions less than 5.9 are no longer supported.

Don't miss a new service-worker release

NewReleases is sending notifications on new releases.