Offline Plugin Versions Save

Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)

v5.0.7

4 years ago
  • Fixed offline-plugin not working with terser-webpack-plugin minification #436 (thanks @Bobgy)
  • Fixed getRegistration() in internal methods not honoring scope option #439 (thanks @lilfolr)
  • Improved compatibility of offline-plugin with webpack-dev-server and hot reloading #450 (thanks @ahlec)
  • Fixed incorrect caching of assets when some of them fail to load, resulting in corrupted cache #437 (thanks @thomas88)
  • Fixed offline-plugin not working with WASM modules and failing the build #410 (thanks @mstange)

Special thanks to @GGAlanSmithee for taking care of the project, answering/reviewing issues and PRs, improving docs and tests of offline-plugin. Thank you ❤️

Release diff

v5.0.6

5 years ago
  • Fix not being able to disable ServiceWorker #388

v5.0.5

5 years ago
  • Fix package dependencies #387

Thanks @yesmeck for finding the issue!

(fuck npm 6)

v5.0.4

5 years ago

Bug fixes release

  • Update deep-extend package to resolve security issue #381
  • Fix rare issue of in-ServiceWorker fetch() interaction with Chrome DevTools #385
  • Fix ServiceWorker file being not-navigable and instead returning appShell's file contents #383

v5.0.3

5 years ago

Fix ServiceWorker.minify option to automatically detect when optimization.minimize is used and apply Uglify plugin (webpack 4+) https://github.com/NekR/offline-plugin/issues/379

v5.0.2

6 years ago

Fixes incompatibility with hard-source-webpack-plugin by utilizing newer (webpack 2+) loaders injection into NFM "after-resolve" https://github.com/mzgoddard/hard-source-webpack-plugin/issues/289

v5.0.1

6 years ago

Fix usage of the plugin without options #377

v5.0.0

6 years ago

v5.0.0 🎉

Breaking changes:

  • Support of Node 4 has been dropped #353
  • Support of webpack 1 has been dropped #353
  • AppCache is now disabled by default (celebrating ServiceWorker release in Safari and Edge), but can be enabled again with AppCache: true or more detailed AppCache options
  • ServiceWorker.navigateFallbackURL and ServiceWorker.navigateFallbackForRedirects have been deprecated since 4.9.0 and now are dropped. Use appShell option instead. Also see updated SPA example with appShell option #335
  • ServiceWorker.prefetchRequest.credentials is now default to 'same-origin'
  • Undocumented "loaders" feature has been removed

Updates

  • webpack 4 is supported now 🎉 #353, #357
  • Fixture tests has been updated to run against webpack 2-4, and more browser tests has been written
  • Added ServiceWorker.updateViaCache option (reflecting the same option on ServiceWorker's register() method)
  • Fixed issue with additional caches not being added at all when one of them failed to load, preventing caches from being updated/refetched later

Many thanks to @ykzts for his great work on porting minify option and UglifyJsPlugin in general to work together with offline-plugin and webpack 4. 🙌🙏❤️ Thanks to @GGAlanSmithee for helping with the docs throughout the releases and for his general guiding 👌

And the last, but not least: Thanks to our SPONSORS and BACKERS for supporting the project! You're the best! ⭐️🎉

v4.9.1

6 years ago
  • Fix isNotRedirectedResponse function is used without an argument #370

v4.9.0

6 years ago

New features:

  • Added appShell option. See docs here
  • Added ServiceWorker.navigationPreload option. See docs here
  • Added browser tests with puppeteer. See tests here

Fixes:

  • Exclude *.gz files by default #133

Deprecations:

  • ServiceWorker.navigateFallbackURL and ServiceWorker.navigateFallbackForRedirects are now deprecated. Use appShell or cacheMaps option.

Many thanks to @GGAlanSmithee for helping with and maintaining documentation of the project! 🎉