Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

4.1.0

Compare
Choose a tag to compare
@jeffposnick jeffposnick released this 21 Sep 19:55
· 63 commits to master since this release

What's New?

The 4.1.0 release brings with it a number of fixes to make the command-line sw-precache interface compatible with a wider array of configuration options, along with additional control over the generated service worker file's lifecycle, and clarifications and enhancements to the documentation.

It also fixes a bug that prevented the service worker from falling back to a network response when a cached entry is manually deleted from the cache.

New skipWaiting and clientsClaim options

Developers can now opt-out of using skipWaiting() and clients.claim(), in the generated service worker file, via the new skipWaiting and clientsClaim options. They both are enabled by default, which matches the behavior in previous versions of sw-precache.

Significant PRs Since Previous Release

Thanks

Thanks to @yangchenyun, @eauc, @dandv, @TalAter, @Alexendoo, @TimvdLippe, @asolove, and @ithinkihaveacat for their PR contributions!