Skip to content

Releases: NekR/offline-plugin

v5.0.7

03 May 13:16
Compare
Choose a tag to compare
  • 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

16 Nov 00:49
Compare
Choose a tag to compare
  • Fix not being able to disable ServiceWorker #388

v5.0.5

02 Jun 08:52
Compare
Choose a tag to compare
  • Fix package dependencies #387

Thanks @yesmeck for finding the issue!

(fuck npm 6)

v5.0.4

01 Jun 22:08
Compare
Choose a tag to compare

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

04 May 14:35
Compare
Choose a tag to compare

Fix ServiceWorker.minify option to automatically detect when optimization.minimize is used and apply Uglify plugin (webpack 4+) #379

v5.0.2

28 Apr 13:35
Compare
Choose a tag to compare

Fixes incompatibility with hard-source-webpack-plugin by utilizing newer (webpack 2+) loaders injection into NFM "after-resolve" mzgoddard/hard-source-webpack-plugin#289

v5.0.1

27 Apr 15:26
Compare
Choose a tag to compare

Fix usage of the plugin without options #377

v5.0.0

26 Apr 11:23
Compare
Choose a tag to compare

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

26 Apr 05:16
Compare
Choose a tag to compare
  • Fix isNotRedirectedResponse function is used without an argument #370

`4.9.0` 🎉

25 Dec 13:26
Compare
Choose a tag to compare

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! 🎉