npm workbox-precaching 5.0.0-rc.1
Workbox v5.0.0-rc.1

latest releases: 7.1.0, 7.0.0, 6.6.1...
4 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?

All browser packages

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

workbox-precaching

  • 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?

workbox-routing

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

workbox-precaching

  • Fixed a bug where the result of the cacheWillUpdate() plugin callback was not being await-ed. [#2287]

Don't miss a new workbox-precaching release

NewReleases is sending notifications on new releases.