Workbox v5.0.0-rc.2
Pre-release
Pre-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?
Improvements to the JSDoc documentation for all of the build tools. [#2320]
⚠️ Breaking Changes
whitelist
/blacklist
(in the NavigationRoute
class) and navigateFallbackWhitelist
/navigateFallbackBlacklist
(in the build tools) have been renamed to allowlist
/denylist
and navigateFallbackAllowlist
/navigateFallbackDenylist
. Functionality remains the same. [#2325]
🐛 What's Fixed?
workbox-build
- Consistently use absolute file paths in the return value of the
injectManifest
mode. [#2301] - Set
revision: null
instead of deleting therevision
property when the build tool determines that therevision
isn't necessary. [#2326]
workbox-core
- No longer overwrites a
__WB_DISABLE_DEV_LOGS
value that's explicitly set by your service worker script. [#2296]
workbox-strategies
- The
handle()
method of each strategy now supports passing in astring
URL as therequest
property, matching the behavior of the (now deprecated)makeRequest()
method. [#2317]