Closed dependabot-preview[bot] closed 5 years ago
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Updates the requirements on workbox-webpack-plugin to permit the latest version.
Release notes
*Sourced from [workbox-webpack-plugin's releases](https://github.com/googlechrome/workbox/releases).* > ## Workbox v4.2.0 > ## 🎉 What's New? > > ### Build Tools > > - Adds a new `navigationPreload` config property (defaulting to `false`) to `workbox-build`'s `generateSW` and `generateSWString` modes, which would also expose it to the wrappers like `workbox-cli` and `workbox-webpack-plugin`. [#1981] > > ### `workbox-core` > > - Adds `workbox.core.cacheNames.prefix` and `workbox.core.cacheNames.suffix` for accessing the current prefix and suffix used in generating cache names. [#2001] > > - Adds a new `cacheKeyWillBeUsed` lifecycle callback. This allows developers to override the default cache key for reads or writes (or both). [#1990] > > The interface for the callback looks like: > > ```js > async function cacheKeyWillBeUsed({request, mode}) { > // request is the default Request object that would otherwise be used as the cache key. > // mode is either 'read' or 'write', depending on whether it's a read or a write. > // Return either a string, or a Request whose url property will be used as the cache key. > // Returning the original request will make this a no-op. > } > ``` > > ## 🐛 What's Fixed? > > ### `workbox-webpack-plugin` > > - Convert source to Buffer when getting asset's hash, improving compatibility with some `webpack` loaders [#1966]. > - Added sorting before generating a hash in the precache manifest. [#1973] > > ## Thanks! > > Special thanks to [@merrywhether](https://github.com/merrywhether), [@3846masa](https://github.com/3846masa) and [@el](https://github.com/el) for contributions that went into this release.Commits
- [`60f99c8`](https://github.com/GoogleChrome/workbox/commit/60f99c8c017b62ffe90b591b7f4be37dc44d92f6) v4.2.0 - [`23be765`](https://github.com/GoogleChrome/workbox/commit/23be7651f472088b0c49f6492acd559fb555a9df) Adds cacheNames.prefix and suffix ([#2001](https://github-redirect.dependabot.com/googlechrome/workbox/issues/2001)) - [`bb78e35`](https://github.com/GoogleChrome/workbox/commit/bb78e35a9d77f0130b2df06797c0179cf9fb2e4e) Merge pull request [#2000](https://github-redirect.dependabot.com/googlechrome/workbox/issues/2000) from GoogleChrome/migrate-streams-tests - [`10d3568`](https://github.com/GoogleChrome/workbox/commit/10d3568140fb51e677e23627ec508aef42d2220e) Update tests to run in a SW env - [`d478486`](https://github.com/GoogleChrome/workbox/commit/d478486f8217a07be2e886b62ebef48d5d2de03e) Rename files - [`adef0e2`](https://github.com/GoogleChrome/workbox/commit/adef0e20766f1b9af403b5ccc6083c85c498c6b8) Merge pull request [#1999](https://github-redirect.dependabot.com/googlechrome/workbox/issues/1999) from GoogleChrome/migrate-sw-tests - [`b70cd0d`](https://github.com/GoogleChrome/workbox/commit/b70cd0de966ba58f4d0f90cd7e26508888ba9ac8) Update tests to run in a SW env - [`b637c89`](https://github.com/GoogleChrome/workbox/commit/b637c89b1be9a19883601a744e9c2b73ac64a797) Rename files - [`2cc0f8b`](https://github.com/GoogleChrome/workbox/commit/2cc0f8b07a0c4b764ef9ad55026c7a4c56b648c8) Merge pull request [#1996](https://github-redirect.dependabot.com/googlechrome/workbox/issues/1996) from GoogleChrome/migrate-strategies-tests - [`90756b4`](https://github.com/GoogleChrome/workbox/commit/90756b4a5a5460e9cdb55fd5311cb3a6202630c8) Update tests to run in a SW env - Additional commits viewable in [compare view](https://github.com/googlechrome/workbox/compare/v3.0.1...v4.2.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.