Skip to content

Release Changelog Draft

Weston Ruter edited this page Apr 4, 2022 · 449 revisions

2.2.2

This is a maintenance release, following up on 2.2.1 from 2 months ago.

[This release improves compatibility with changes in WordPress 5.9, including block-based themes like Twenty Twenty-Two.]

For the full list of issues and pull requests in this release, please see the 2.2.2 milestone with 25 closed issues and 34 merged pull requests (minus dependency updates). See full diff of changes.

Changelog

  • Improve handling of WordPress post embeds by utilizing amp-wordpress-embed. (#809, #6665)
  • Remove obsolete code that strips whitespace around equal signs from meta viewport. (#4742, #6979)
  • Disable auto-lightbox by default. (#5122, #6936)
  • Add plugin suppression indication on plugins list table. (#5340, #6959)
  • Add E2E tests for the nav menu toggles and search UI on core themes. (#5404, #6967, #6933)
  • Replace img with amp-pixel instead of amp-img when sanitizing the Facebook tracking pixel. (#6059, #6965)
  • Reduce length of specificity-hacked CSS selectors and fix CSS selector conversion to work properly with amp-next-page. (#6909, #6312)
  • Add dropdown to select vendors when managing analytics entries. (#6367, #6894)
  • Bump stable PHP version used in CI and update unit tests to utilize Yoast/wp-test-utils v1.0. (#6466)
  • Prevent duplication of script for hiding admin bar in onboarding wizard. (#6643, #6877)
  • Prevent removal of entire picture element tree when sanitizing by promoting child fallback img in conversion to amp-img; add sanitizer argument to retain picture as PX-verified. (#6676, #6896)
  • Immediately add or remove DevTools-related AMP admin menu items when toggling setting. (#6714, #6878)
  • Fix color and position of captions in carousel galleries when links are present. (#6734, #6907)
  • Add support for dark mode user toggle in Twenty Twenty-One. (#6783, #6874)
  • Allow native img without any PX-verified exemptions. In the subsequent 2.3 release images will no longer be converted to amp-img/amp-anim by default and native img will be used instead (per #6805). (#6803)
  • Show validation issues for plugins and themes on AMP setting page after completion of Site Scan; allow copying of issues to clipboard to be shared with theme/plugin authors even when user has DevTools turned off. (#6807, #6835)
  • Do async site scanning after theme activation. (#6814, #6859)
  • Improve determination of eligible post types for AMP. (#6883, #6897)

Props

bartoszgadomski pooja-muchandikar dhaval-parekh maitreyie-chavan johnwatkins0 delawski milindmore22 danirueda rutviksavsani pierlon schlessera NikhilJoshua jamesozzie thelovekesh

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.

Clone this wiki locally