2.5.0
版本发布时间: 2023-11-07 04:29:40
ampproject/amp-wp最新发布版本:2.5.4(2024-07-16 02:45:13)
For the full list of issues and pull requests in this release, please see the 2.5.0 milestone with 10 closed issues and 23 merged pull requests (minus dependency updates).
Changelog
Validation
- ✨ Add support for fetchpriority which should further improve LCP. https://github.com/ampproject/amp-wp/issues/7601, https://github.com/ampproject/amp-wp/pull/7644, https://github.com/ampproject/amp-toolbox-php/pull/544
- Update amphtml spec to 2309011827000 and remove Bento experiment. https://github.com/ampproject/amp-wp/pull/7615, https://github.com/ampproject/amp-wp/pull/7652, https://github.com/ampproject/amp-wp/issues/7029
- Add
amp-story-audio-sticker
to spec. https://github.com/ampproject/amp-wp/pull/7603 - Correctly handle
siblings_disallowed
from spec. https://github.com/ampproject/amp-wp/pull/7597 - Remove obsolete gyfcat embed support. https://github.com/ampproject/amp-wp/pull/7612, https://github.com/ampproject/amp-wp/issues/7610
- Update paired browsing script dependencies array to add data-ampdevmode attribute to wp-polyfill-inert. https://github.com/ampproject/amp-wp/pull/7596, https://github.com/ampproject/amp-wp/issues/7595
Compatibility
- Bump minimum PHP version to 7.4 and minimum WordPress to 5.3. https://github.com/ampproject/amp-wp/pull/7613
- Omit redundant page caching and object caching tests for Site Health if on WP>=6.1. https://github.com/ampproject/amp-wp/pull/7645, https://github.com/ampproject/amp-wp/issues/7643
- Fix deprecated call to
_admin_bar_bump_cb
in WordPress 6.4. https://github.com/ampproject/amp-wp/issues/7619, https://github.com/ampproject/amp-wp/pull/7635 - Fix interactivity API enabled navigation block in WordPress 6.4. https://github.com/ampproject/amp-wp/pull/7650, https://github.com/ampproject/amp-wp/issues/7647
- Revert custom GB 16.3 installation steps and add WP_DEBUG support in local-env. https://github.com/ampproject/amp-wp/pull/7602
- Fix deprecation warnings in PHP 8.1. https://github.com/ampproject/amp-wp/issues/7604, https://github.com/ampproject/amp-wp/pull/7614
- Fix deprecation warning on AMP validation post edit screen. https://github.com/ampproject/amp-wp/pull/7651
- Update docs generate command to run if PHP <= 7.4. https://github.com/ampproject/amp-wp/pull/7594, https://github.com/ampproject/amp-wp/issues/7501
- Update node from 14 to 18. https://github.com/ampproject/amp-wp/pull/7605, https://github.com/ampproject/amp-wp/issues/7599
- Fix docs generation command. https://github.com/ampproject/amp-wp/pull/7670
Testing
- Fix navigation timeout errors in E2E tests. https://github.com/ampproject/amp-wp/pull/7669
- Increase navigation timeout in E2E tests. https://github.com/ampproject/amp-wp/pull/7611
- Update Build, test & measure workflow. https://github.com/ampproject/amp-wp/pull/7649
Misc
- Fix multiple typos in PHP comments. https://github.com/ampproject/amp-wp/pull/7648
- Update ecosystem data; Update docs for v2.5.0. https://github.com/ampproject/amp-wp/pull/7674
Props
Lovekesh Kumar (@thelovekesh), Maitreyie Chavan (@maitreyie-chavan), Matthew Riley MacPherson (@tofumatt), Milind More (@milindmore22), Parikshit Adhikari (@parikshit-adhikari), Pascal Birchler (@swissspidy), Pavan Patil (@pavanpatil1), Weston Ruter (@westonruter)
Installation
Now available to install via WordPress.org.
You can also install the amp.zip
build linked below by uploading it in the WordPress admin.
To install as a Git submodule, consider 2.5.0-built.
1、 amp.zip 2.85MB
2、 amp.zip.sha256 74B