npm workbox-webpack-plugin 5.0.0-rc.2
Workbox v5.0.0-rc.2

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

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 the revision property when the build tool determines that the revision 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 a string URL as the request property, matching the behavior of the (now deprecated) makeRequest() method. [#2317]

Don't miss a new workbox-webpack-plugin release

NewReleases is sending notifications on new releases.