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: true
or more detailedAppCache
options ServiceWorker.navigateFallbackURL
andServiceWorker.navigateFallbackForRedirects
have been deprecated since4.9.0
and now are dropped. UseappShell
option instead. Also see updated SPA example withappShell
option #335ServiceWorker.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'sregister()
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! ⭐️🎉