Skip to content

Workbox v6.5.0

Compare
Choose a tag to compare
@jeffposnick jeffposnick released this 23 Feb 21:35
· 22 commits to v6 since this release

The Workbox v6.5.0 release includes a number of smaller fixes, as well as a major rewrite of the workbox-webpack-plugin to TypeScript.

A full changelog is available at v6.4.2...v6.5.0

What's New

  • workbox-webpack-plugin has been rewritten in TypeScript, and has public TypeScript definitions for its interfaces published as part of this release. We do not anticipate any changes in the underlying functionality as part of this rewrite. [#2882]
  • A forceSyncFallback parameter has been added to workbox-background-sync, without changing the default behavior. When forceSyncFallback is explicitly set to true, workbox-background-sync will always attempt to replay queued requests when the service worker starts up and never rely on the sync event listener. Most developers will not need this behavior, but it can be useful when targeting environments that have a non-functional Background Sync implementation, like some Electron runtimes. [#3020]

What's Fixed

  • A more informative message is returned when an opaque response is erroneously used in workbox-streams. [#3001]
  • Removed a dynamic method call in workbox-background-sync which could lead to errors when run through with certain aggressive minifiers. [#3012]
  • A waitUntil() was added to the StaleWhileRevalidate strategy, ensuring that it works properly with navigation preload responses. [#3015]
  • Removed the dependency on the deprecated source-map-url package. [#3031]

New Contributors

Thank you to @roikoren755 for their contributions to the workbox-webpack-plugin TypeScript migration!