Update to workbox-webpack-plugin v4.3.1 #7330
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DESCRIPTION
Workbox has had a few bug fixes latest and we should bring them in.
workbox-webpack-plugin v4.3.1 fixes:
What's New?
workbox-background-sync
Adds a new getAll() method to the Queue class. This can be used to get a list of all unexpired entries in a given queue without removing them. This is useful in situations where replaying the queue is not possible (the user is offline), but you want to show information about the queue to the user. [#2018]
What's Fixed?
Build Tools
Fixes a bug where the workbox namespace was used before it was defined, when navigationPreload: true. [#2007]
Properly passes in a custom channel name when using the broadcastUpdate option in runtimeCaching. [#2017]
workbox-background-sync
Fixes a bug in which a Request wasn't being clone()ed before re-adding it to the queue. [#2014]
Ensures that when a navigation request is stored in the queue, it's serialized with a mode of same-origin. [#2015]
workbox-broadcast-update
Fixed a bug where some private symbols were not being properly exported from workbox-core, which prevented workbox-broadcast-update from notifying on navigation requests.
More workbox release info: https://github.com/GoogleChrome/workbox/releases
No breaking or existing behavior changes
Previously related task of updating workbox to v4 (already merged): #6725