Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency workbox-build to v3.6.3 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 22, 2019

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
workbox-build (source) 3.4.1 -> 3.6.3 age adoption passing confidence

Release Notes

googlechrome/workbox

v3.6.3: Workbox v3.6.3

Compare Source

🐛 What's Fixed?

This release fixes an issue (#​1677) that several users have reported, triggered by precaching a URL that returns a 30x redirect to another URL. For instance, having '/index.html' listed in your precache manifest can trigger this issue, if your web server responds to requests for '/index.html' with a 301 redirect to the destination URL '/'. When the issue manifests itself, the final, redirect content ends up being served with an incorrect Content-Type: response header, which can in turn lead problems displaying that cached content.

If you do use 30x redirects for some of your URLs, we recommend updating to this latest release of Workbox.

In order to "clear out" the problematic content that was previously precached with an incorrect Content-Type, after updating Workbox, you can deploy a small change to URLs that you know are affected (i.e. make any change to your '/index.html' file, if that's being fulfilled with a 30x redirect).

It's also possible to force all previously cached entries to be precached again by changing the cacheId option in "generate SW" mode, or by including

workbox.core.setCacheNameDetails({precache: 'my-new-id'});

in your service worker source file in "inject manifest" mode.

📖 Learn More

Check out our docs @​ developers.google.com/web/tools/workbox/

v3.6.2: Workbox v3.6.2

Compare Source

🎉 What's New?

This release contains a fix for a missing dependency entry in workbox-webpack-plugin's package.json. Thanks to @​arcanis for contributing the fix in #​1667!

There are no functional changes in this release.

📖 Learn More

Check out our docs @​ developers.google.com/web/tools/workbox/

v3.6.1: Workbox v3.6.1

Compare Source

🎉 What's New?

Added the disable() method to workbox.navigationPreload
  • workbox.navigationPreload provides an enable() method to enable navigation preload, but it did not provide a way to disable it (without invoking the underlying service worker APIs). Now developers can call workbox.navigationPreload.disable() to disable navigation preload. (#​1651)
The method option can now be used for runtime caching via generateSW()
  • Incorrect validation logic was preventing the method option from being used by runtime caching configuration in generateSW(). Thanks to @​chrisdns, this has been fixed! (#​1638)
Bug fixes and ergonomic improvements
  • Using workbox.expiration.Plugin with purgeOnQuotaError set to true would result in an error. Thanks to @​salmoro for discovering and fixing the issue! (#​1643).
  • Plugin lifecycle callbacks previously were not called with the event that triggered them, so developers writing custom plugins could not access any information about the event in those callback. Now all plugin callback are passed the event object (when available). (#​1640)
  • The workbox-streams package's strategy() method is exposed on the browser build of workbox.streams that gets loaded by the workbox-sw loader, but it wasn't exported by the module in a way that was accessible to module bundlers. Now it's possible to import {strategy} from workbox-streams/strategy.mjs. (#​1635).

📖 Learn More

Check out our docs @​ developers.google.com/web/tools/workbox/

v3.5.0: Workbox v3.5.0

Compare Source

🎉 What's New?

More customization when generating a service worker

Developers who use Workbox to generate their service worker (using the CLI, Node interface, or webpack plugin) can now take advantage of some additional options:

Here's a snippet of Workbox's build configuration, showing off all of the new features:

{
  // ... other options ...
  offlineGoogleAnalytics: true,
  runtimeCaching: {[
    urlPattern: /abc/,
    handler: 'staleWhileRevalidate',
    options: {
      fetchOptions: {
        mode: 'no-cors',
      },
      matchOptions: {
        ignoreSearch: true,
      },
      plugins: [{
        cacheDidUpdate: async ({cacheName, request, oldResponse, newResponse}) => {
          // Do something in your custom plugin.
        },
      }],
    },
  ]},
}
Support for the PATCH method in Workbox's router

Developers who need to match HTTP PATCH requests using Workbox's router can now do so, thanks to @​kevin-brotcke's change in #​1618.

Note that non-GET requests can't be added to a cache, so this is most useful when used alongside a network-only strategy configured with the Workbox background sync plugin, in order to retry failed PATCH requests once the network becomes available.

workbox.core.registerQuotaErrorCallback is now publicly visible

Due to a scoping error, the workbox.core.registerQuotaErrorCallback() function was previously not exposed. This is now public, matching the documented interface. Thanks to @​Tronil for pointing out this discrepancy in #​1616.

📖 Learn More

Check out our docs @​ developers.google.com/web/tools/workbox/


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency workbox-build to v3.6.3 Update dependency workbox-build to v3.6.3 May 17, 2019
@renovate renovate bot changed the title Update dependency workbox-build to v3.6.3 chore(deps): update dependency workbox-build to v3.6.3 May 17, 2019
@renovate renovate bot changed the title chore(deps): update dependency workbox-build to v3.6.3 Update dependency workbox-build to v3.6.3 May 17, 2019
@renovate renovate bot changed the title Update dependency workbox-build to v3.6.3 chore(deps): update dependency workbox-build to v3.6.3 Oct 28, 2020
@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant