github GoogleChrome/workbox v5.0.0-rc.0
Workbox v5.0.0-rc.0

latest releases: v7.1.0, v7.0.0, v6.6.0...
pre-release4 years ago

The latest release candidate of Workbox v5 includes the following developer-visible changes, in addition to all the changes from the previous pre-release.

Installation of the latest pre-release version

We are using the next tag in npm for the current pre-release version. To install a given module use, e.g., npm install --save-dev workbox-webpack-plugin@next.

🎉 What's New?

TypeScript

  • All public workbox types are now exported directly from workbox-core [#2255]
  • All packages have switched to using "strict": true in their TypeScript config. [#2241, #2244, #2256 2246]

workbox-precaching

  • Two new methods (matchPrecache() and createHandler()) have been added to make it easier to manually access precached assets. [#2254]

🐛 What's Fixed?

workbox-webpack-plugin

  • Missing source map assets are is no longer treated as a fatal error. [#2251]

  • If the swSrc file has an associated sourcemap, we now update that to account for the injected manifest. [#2239]

⚠️ Breaking Changes

workbox-precaching

  • The createHandlerForURL() method has been renamed to createHandlerBoundToURL() to make its intended usage more clear. [#2254]

Don't miss a new workbox release

NewReleases is sending notifications on new releases.