0.7.0
This release includes 16 closed issues and 27 merged pull requests (aside from dependency updates including updating Workbox to v6.5.3).
For a full list of issues and pull requests, see the 0.7 milestone. Compare all changes in 0.6.0...0.7.0.
Changelog
Service Worker
- Make use of Workbox window to register service worker and provide access to registration. #204, #578, #777
- Eliminate custom
skipWaiting
message in favor of de facto Workbox message. #444, #578 - Deprecate integrations. #403, #713
- Prevent errors from being raised on IE11. #227, #578
- Use
plugins_url()
to allow for filtering of Workbox.js script URLs so they can be loaded from CDN. #543, #600 - Don't flush rewrite rules on every admin request. #544
- Update
wp_register_service_worker_caching_route()
to reflect change to underlying register method. #424
Offline Page
- Remove offline commenting feature and add post request handler to display offline/error templates. #363, #728
- Automatically reload the offline page once the user is back online. #438, #697, #763, #716
- Only unauthenticate user when
parse_query
is for the main query, fixing PHP notice foris_offline()
being called incorrectly. #538, #712 - Update error messages placeholders to use Mustache tags instead of HTML comments to avoid stripping by minifiers. #709, #720
- Use
wp_robots()
to prevent indexing the error template on WP≥5.7. #414
Web App Manifest
- Add short name field in General Settings when Site Title is longer than 12 characters. #210, #691
- Warn when no Site Icon set, when it is too small, or when a PNG is not being used. #229, #702
- Facilitate indicating the site icon as being maskable. #304, #698, #770
- Output link/meta tags depending on web app manifest display value. #581
- Make
apple-touch-startup-image
link tags filterable. Note: Safari as of 15.4 now supports reading icons from the Web App Manifest making this customlink[rel=apple-touch-startup-image]
obsolete going forward. #586, #595
HTTPS
- Remove HTTPS detection/migration since landed in WP 5.7. #557
Misc
- Introduce PHPStan for static analysis. #243, #560, #563
- Make README.md canonical, generating readme.txt at build time. #400
- Add WordPress-VIP-Go standards for PHPCS. #471, #476
- Add husky. #736, #747
- Fix PHP 8 unit testing. #599
- Add wp-env for development environment. #778
Props
Alberto Medina (@amedina), Ankit Gade (@ankitrox), Derek Herman (@derekherman), Diede Exterkate (@diedexx), Felix Arntz (@felixarntz), Fellyph Cintra (@fellyph), Greg Ziółkowski (@gziolo), Jeffery To (@jefferyto), Jip (@moorscode), Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Max Hartshorn (@maxhartshorn), Pierre Gordon (@pierlon), Pooja Killekar (@pooja-muchandikar), Rutvik Savsani (@rutviksavsani), Stew Heckenberg (@Youdaman), Viktor Szépe (@szepeviktor), Weston Ruter (@westonruter)
Installation
Now available to install via WordPress.org.
You can also install the pwa.zip
build linked below by uploading it in the WordPress admin.