1.5.4-RC1
Pre-releaseThis is the first release candidate for v1.5.4. The stable release is due out June 23rd. For the full list of changes in this release, please see the 1.5 milestone, with 24 issues and 35 pull requests. Also compare code changes since 1.5.3. Please report any issues you encounter while testing!
Changelog
Optimizer
- 🚀 Discontinue disabling Optimizer SSR when
WP_DEBUG
is enabled. #4667, #4669 - ✨ Base64-encode the server-side rendered sizer SVG images to prevent corruption by caching/optimization plugins. #4491, #4862
- ⏪ Revert converting decimal image sizes to integers for sizer SVG generation since has landed in the AMP validator upstream. #4863, #4864
- ✨ Tweak Optimizer interfaces for consistency. #4612, #4614
- 📖 Add paragraph about server-side rendering to README. #4841
Embeds
- 🐛 Extend WordPress.tv embed handler to also handle VideoPress so as to avoid validation error when embedding. #4754, #4755
- 🐛 Omit non-standard
type
attribute duringamp-iframe
normalization whentext/html
to prevent Amazon Kindle block from producing validation error. #4758, #4759 - 🐛 Remove the
wp-has-aspect-ratio
class from block embeds to fix extra space on top in Gutenberg 8.2+. #4810, #4813 - 🐛 Use responsive layout for blocks with
alignwide
class so that wide width alignment of iframe-containing blocks is respected. #4692, #4693
Editor
- 🐛 Fix rendering of AMP Preview button tooltip in editor. #4590, #4601
- 🐛 Fix post preview in Reader mode for already-published posts. #4656, #4665
Site Health
- ✨ Suppress Site Health ICU test if site or home URL is not an IDN since not relevant. #4616, #4698
- 🐛 Prevent printing Site Health styles for re-enabling transient caching on every admin page. #4643, #4861
Schema.org Metadata
- ✨ Make
CollectionPage
the default Schema.org JSON+LD metadata@type
for archive queries. #4666, #4680 - 🐛 Prevent output of Schema.org metadata JSON script if empty array. #4783, #4860
Validation
- ✨ Strip leading BOM and whitespace and trailing HTML comment before parsing validation response JSON. #4678, #4679, #4683
CSS
- 🐛 Fix merging of viewport CSS at-rules nested in other rules, fixing an invalid property validation error for the
meta
viewport tag. #4722, #4866
AMP Spec
Infrastructure and Testing
- 🏗 Add GitHub actions to automatically create ZIP build artifacts for pushes to branches and PRs. #4766, #4830, #4832, #4835, #4839, #4836, #4834, #4769
- 🏗 Raise PHPStan level for the
amp/common
package to 4, and overall improve PHPStan static analysis. #4379, #4686, #4865, #4867 - 🏗 Improve testing infrastructure. #4824, #4825, #4654, #4662, #4641, #4642, #4868
Props
Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:
Adam Silverstein (adamsilverstein), Alain Schlesser (schlessera), Alberto Medina (amedina), Deepak Lalwani (deepaklalwani97), Kasper Myram (kmyram), ktmn, Laurel Fulford (laurelfulford), Pierre Gordon (pierlon), Renee Johnson (ernee), Ryan Kienstra (kienstra), Sebastian Benz (sebastianbenz), Towhidul Islam Chowdhury (itowhid06), Weston Ruter (westonruter), and Yosu Cadilla (YosuCadilla)
Installation
You can also install the amp.zip
build linked below by uploading it in the WordPress admin.
Up-to-the-minute builds from the 1.5
branch are also available.