0.3.0
This release includes 30 closed issues and merged pull requests. For a full list intended for this release, see the 0.3 milestone. Compare all changes in 0.2.0...0.3.0. A summary of the changes in this release:
- Eliminate need for disabling navigation preload while adding navigation request caching strategy. #178
- Guard against causing Workbox to call
importScripts()
after SW installation, as this can cause a JS error. #194 - Differentiate between client and server being offline in the messaging on the offline page. #177, #190
- Only use enqueued scripts/style handles in revision to prevent endless reload if skip waiting enabled. #183 #187
- Prevent needless
wordpress_sw_installed
cookie from being set outside the wp-admin. #188, #189 - Skip installation of service worker from post embed iframe. #182
- Eliminate auto-derived
short_name
from manifest since not reliable. #181, #200, #201 - Use name instead of
short_name
for meta tags when latter is not available. #168, #169. - Prevent optimizer plugins from erroneously stripping HTML comments from JS. #155, #165.
- Update Workbox.js to 4.3.1. #154
- Clean up code: remove unused basename calculation; avoid PHP-4 style
intval()
function, use cast instead; remove redundant CSS rule… #164, #162, #157, #159, #156, #161, #158, #163. - Bump minimum required WordPress version to 5.2. #151
- Update npm and composer packages. #195
- Add trailing slash to
start_url
in Web App Manifest. This fixes a lighthouse audit in regards to thestart_url
not being in the service workerscope
on a multisite subdirectory install. #179 - Ensure required global variables are set before applying
admin_title
filter when generating offline/500 error template for admin. #206, #207
Props Alain Schlesser (@schlessera), Ian Dunn (@iandunn), @nuvoPoint, Pascal Birchler (@swissspidy), Ron Rennick (@rrennick), and Weston Ruter (@westonruter).