Skip to content

v5.0.0

Compare
Choose a tag to compare
@NekR NekR released this 26 Apr 11:23
· 74 commits to master since this release

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! 猸愶笍馃帀