Skip to content

@philipwalton philipwalton released this Nov 26, 2019 · 17 commits to master since this release

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?

All browser packages

  • A new __WB_DISABLE_DEV_LOGS global has been added to disable all logging in development mode. [#2284]


  • Calling precache()/precacheAndRoute() and passing in an precache manifest entry that is just a string has been deprecated. It will trigger a warning message in v5, and will be treated as a runtime error in a future release. If you need to use a hardcoded URL as a manifest entry, first ensure that it contains inline revision information, like a hash. Then, instead of passing in a string like '/app.1234abcd.js', use {url: '/app.1234abcd.js', revision: null} to explicitly state that the revision is meant to be null. [#2262]

πŸ› What's Fixed?


  • Fixed a ReadableStream bug in development mode in Safari. [#2268]


  • Fixed a bug where the result of the cacheWillUpdate() plugin callback was not being await-ed. [#2287]
Assets 4
You can’t perform that action at this time.