tag:github.com,2008:https://github.com/NekR/offline-plugin/releases Release notes from offline-plugin 2019-05-03T13:01:56Z tag:github.com,2008:Repository/42321571/v5.0.7 2019-05-03T13:32:33Z v5.0.7 <ul> <li>Fixed <code>offline-plugin</code> not working with <code>terser-webpack-plugin</code> minification <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="404342383" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/436" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/436/hovercard" href="https://github.com/NekR/offline-plugin/pull/436">#436</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Bobgy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Bobgy">@Bobgy</a>)</li> <li>Fixed <code>getRegistration()</code> in internal methods not honoring <code>scope</code> option <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="408502704" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/439" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/439/hovercard" href="https://github.com/NekR/offline-plugin/pull/439">#439</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lilfolr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lilfolr">@lilfolr</a>)</li> <li>Improved compatibility of <code>offline-plugin</code> with <code>webpack-dev-server</code> and hot reloading <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="429414011" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/450" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/450/hovercard" href="https://github.com/NekR/offline-plugin/pull/450">#450</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ahlec/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ahlec">@ahlec</a>)</li> <li>Fixed incorrect caching of assets when some of them fail to load, resulting in corrupted cache <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="404731732" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/437" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/437/hovercard" href="https://github.com/NekR/offline-plugin/pull/437">#437</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Thomas88/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Thomas88">@Thomas88</a>)</li> <li>Fixed <code>offline-plugin</code> not working with WASM modules and failing the build <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="357799499" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/410" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/410/hovercard" href="https://github.com/NekR/offline-plugin/pull/410">#410</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mstange/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mstange">@mstange</a>)</li> </ul> <p><strong>Special thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GGAlanSmithee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GGAlanSmithee">@GGAlanSmithee</a> for taking care of the project, answering/reviewing issues and PRs, improving docs and tests of <code>offline-plugin</code>. Thank you ❤️</strong></p> <p><a href="https://github.com/NekR/offline-plugin/compare/adbad80dae10d10bd7d5dbb99c6b6f5ce1b1ba1c..71fb6f79da114125e6cb852fa00bb39645349afd">Release diff</a></p> NekR tag:github.com,2008:Repository/42321571/v5.0.6 2018-11-16T00:49:41Z v5.0.6 <ul> <li>Fix not being able to disable ServiceWorker <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="329515657" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/388" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/388/hovercard" href="https://github.com/NekR/offline-plugin/pull/388">#388</a></li> </ul> NekR tag:github.com,2008:Repository/42321571/v5.0.5 2018-06-02T08:52:23Z v5.0.5 <ul> <li>Fix package dependencies <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="328718105" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/387" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/387/hovercard" href="https://github.com/NekR/offline-plugin/pull/387">#387</a></li> </ul> <p>Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yesmeck/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yesmeck">@yesmeck</a> for finding the issue!</p> <p>(fuck npm 6)</p> NekR tag:github.com,2008:Repository/42321571/v5.0.4 2018-06-01T22:08:58Z v5.0.4 <h2>Bug fixes release</h2> <ul> <li>Update <code>deep-extend</code> package to resolve security issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="322759709" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/381" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/381/hovercard" href="https://github.com/NekR/offline-plugin/pull/381">#381</a></li> <li>Fix rare issue of in-ServiceWorker fetch() interaction with Chrome DevTools <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="327333052" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/385" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/385/hovercard" href="https://github.com/NekR/offline-plugin/issues/385">#385</a></li> <li>Fix ServiceWorker file being not-navigable and instead returning appShell's file contents <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="325646291" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/383" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/383/hovercard" href="https://github.com/NekR/offline-plugin/issues/383">#383</a></li> </ul> NekR tag:github.com,2008:Repository/42321571/v5.0.3 2018-05-04T14:35:02Z v5.0.3 <p>Fix <code>ServiceWorker.minify</code> option to automatically detect when <code>optimization.minimize</code> is used and apply Uglify plugin (webpack 4+) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="319215198" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/379" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/379/hovercard" href="https://github.com/NekR/offline-plugin/issues/379">#379</a></p> NekR tag:github.com,2008:Repository/42321571/v5.0.2 2018-04-28T13:35:18Z v5.0.2 <p>Fixes incompatibility with <code>hard-source-webpack-plugin</code> by utilizing newer (webpack 2+) loaders injection into NFM "after-resolve" <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="302942259" data-permission-text="Title is private" data-url="https://github.com/mzgoddard/hard-source-webpack-plugin/issues/289" data-hovercard-type="issue" data-hovercard-url="/mzgoddard/hard-source-webpack-plugin/issues/289/hovercard" href="https://github.com/mzgoddard/hard-source-webpack-plugin/issues/289">mzgoddard/hard-source-webpack-plugin#289</a></p> NekR tag:github.com,2008:Repository/42321571/v5.0.1 2018-04-27T15:33:10Z v5.0.1 <p>Fix usage of the plugin without options <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="318441140" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/377" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/377/hovercard" href="https://github.com/NekR/offline-plugin/issues/377">#377</a></p> NekR tag:github.com,2008:Repository/42321571/v5.0.0 2018-04-26T11:23:56Z v5.0.0 <h1>v5.0.0 🎉</h1> <h3>Breaking changes:</h3> <ul> <li>Support of Node 4 has been dropped <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="302956775" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/353" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/353/hovercard" href="https://github.com/NekR/offline-plugin/pull/353">#353</a></li> <li>Support of webpack 1 has been dropped <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="302956775" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/353" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/353/hovercard" href="https://github.com/NekR/offline-plugin/pull/353">#353</a></li> <li>AppCache is now disabled <strong>by default</strong> (celebrating ServiceWorker release in Safari and Edge), but can be enabled again with <code>AppCache: true</code> or more detailed <code>AppCache</code> options</li> <li><code>ServiceWorker.navigateFallbackURL</code> and <code>ServiceWorker.navigateFallbackForRedirects</code> have been deprecated since <code>4.9.0</code> and now are dropped. Use <a href="https://github.com/NekR/offline-plugin/blob/master/docs/app-shell.md"><code>appShell</code></a> option instead. Also see <a href="https://github.com/NekR/offline-plugin/blob/master/docs/examples/SPA.md">updated SPA example</a> with <code>appShell</code> option <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="286285892" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/335" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/335/hovercard" href="https://github.com/NekR/offline-plugin/issues/335">#335</a></li> <li><code>ServiceWorker.prefetchRequest.credentials</code> is now default to <code>'same-origin'</code></li> <li>Undocumented "loaders" feature has been removed</li> </ul> <h3>Updates</h3> <ul> <li>webpack 4 is supported now 🎉 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="302956775" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/353" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/353/hovercard" href="https://github.com/NekR/offline-plugin/pull/353">#353</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="305232254" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/357" data-hovercard-type="pull_request" data-hovercard-url="/NekR/offline-plugin/pull/357/hovercard" href="https://github.com/NekR/offline-plugin/pull/357">#357</a></li> <li>Fixture tests has been updated to run against webpack 2-4, and more browser tests has been written</li> <li>Added <code>ServiceWorker.updateViaCache</code> option (reflecting the same option on ServiceWorker's <code>register()</code> method)</li> <li>Fixed issue with <code>additional</code> caches not being added at all when one of them failed to load, preventing caches from being updated/refetched later</li> </ul> <p>Many thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ykzts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ykzts">@ykzts</a> for his great work on porting <code>minify</code> option and <code>UglifyJsPlugin</code> in general to work together with <code>offline-plugin</code> and webpack 4. 🙌🙏❤️<br> Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GGAlanSmithee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GGAlanSmithee">@GGAlanSmithee</a> for helping with the docs throughout the releases and for his general guiding 👌</p> <p>And the last, but not least: Thanks to our <a href="https://opencollective.com/offline-plugin#sponsor" rel="nofollow"><strong>SPONSORS</strong></a> and <a href="https://opencollective.com/offline-plugin#backer" rel="nofollow"><strong>BACKERS</strong></a> for supporting the project! You're the best! ⭐️🎉</p> NekR tag:github.com,2008:Repository/42321571/v4.9.1 2018-04-26T05:16:10Z v4.9.1 <ul> <li>Fix <code>isNotRedirectedResponse</code> function is used without an argument <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="315246211" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/370" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/370/hovercard" href="https://github.com/NekR/offline-plugin/issues/370">#370</a></li> </ul> NekR tag:github.com,2008:Repository/42321571/v4.9.0 2017-12-28T21:34:43Z `4.9.0` 🎉 <p><em>New features:</em></p> <ul> <li>Added <code>appShell</code> option. See docs <a href="https://github.com/NekR/offline-plugin/blob/master/docs/app-shell.md">here</a></li> <li>Added <code>ServiceWorker.navigationPreload</code> option. See docs <a href="https://github.com/NekR/offline-plugin/blob/master/docs/navigation-preload.md">here</a></li> <li>Added browser tests with <a href="https://github.com/GoogleChrome/puppeteer">puppeteer</a>. See tests <a href="https://github.com/NekR/offline-plugin/tree/master/tests/browser">here</a></li> </ul> <p><em>Fixes:</em></p> <ul> <li>Exclude *.gz files by default <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="190454615" data-permission-text="Title is private" data-url="https://github.com/NekR/offline-plugin/issues/133" data-hovercard-type="issue" data-hovercard-url="/NekR/offline-plugin/issues/133/hovercard" href="https://github.com/NekR/offline-plugin/issues/133">#133</a></li> </ul> <p><em>Deprecations:</em></p> <ul> <li><code>ServiceWorker.navigateFallbackURL</code> and <code>ServiceWorker.navigateFallbackForRedirects</code> are now deprecated. Use <code>appShell</code> or <code>cacheMaps</code> option.</li> </ul> <p>Many thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GGAlanSmithee/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GGAlanSmithee">@GGAlanSmithee</a> for helping with and maintaining documentation of the project! 🎉</p> NekR