Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Update dependency offline-plugin to v5 #824

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 27, 2018

This Pull Request updates dependency offline-plugin from ^4.8.5 to ^5.0.0

Release Notes

v5.0.2

Compare Source
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

Compare Source
Fix usage of the plugin without options #​377


v5.0.0

Compare Source

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



This PR has been generated by Renovate Bot.

@edmorley
Copy link
Member

So from reading the release notes it seems that the previous version wasn't webpack 4 compatible (NekR/offline-plugin#351).

I guess the problem is that for any presets (such as @neutrinojs/pwa) that are not covered by the create-project test - we only validate toConfig() and nothing more.

@edmorley edmorley added this to the v9 milestone Apr 27, 2018
@renovate renovate bot force-pushed the renovate/offline-plugin-5.x branch from 9b7072b to c99b076 Compare April 29, 2018 14:05
@renovate renovate bot changed the title Update dependency offline-plugin to v5 fix(deps): update dependency offline-plugin to v5 Apr 29, 2018
@renovate renovate bot changed the title fix(deps): update dependency offline-plugin to v5 Update dependency offline-plugin to v5 Apr 30, 2018
@edmorley edmorley closed this in #838 May 2, 2018
edmorley added a commit that referenced this pull request May 2, 2018
* Adds support for webpack 4
* Removes redundant `AppCache` option, since the default is now `false`
* Updates the runtime entrypoint to match the docs:
  https://github.com/NekR/offline-plugin/blob/v5.0.2/docs/runtime.md

Full changelog:
https://github.com/NekR/offline-plugin/releases/tag/v5.0.0

Closes #824.
@edmorley edmorley removed this from the v9 milestone May 2, 2018
@renovate renovate bot deleted the renovate/offline-plugin-5.x branch May 2, 2018 10:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants