v5.0.0
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: trueor more detailedAppCacheoptions ServiceWorker.navigateFallbackURLandServiceWorker.navigateFallbackForRedirectshave been deprecated since4.9.0and now are dropped. UseappShelloption instead. Also see updated SPA example withappShelloption #335ServiceWorker.prefetchRequest.credentialsis 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.updateViaCacheoption (reflecting the same option on ServiceWorker'sregister()method) - Fixed issue with
additionalcaches 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! ⭐️🎉