| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| workbox-v5.0.0-rc.1.zip | 2019-11-25 | 367.9 kB | |
| workbox-v5.0.0-rc.1.tar.gz | 2019-11-25 | 312.2 kB | |
| README.md | 2019-11-25 | 1.4 kB | |
| Workbox v5.0.0-rc.1 source code.tar.gz | 2019-11-25 | 732.9 kB | |
| Workbox v5.0.0-rc.1 source code.zip | 2019-11-25 | 1.1 MB | |
| Totals: 5 Items | 2.5 MB | 0 | |
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_LOGSglobal 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 therevisionis meant to benull. [#2262]
🐛 What's Fixed?
workbox-routing
- Fixed a
ReadableStreambug in development mode in Safari. [#2268]
workbox-precaching
- Fixed a bug where the result of the
cacheWillUpdate()plugin callback was not beingawait-ed. [#2287]