1.2.1-beta1
Pre-releaseThis is the first beta of version 1.2.1 of the AMP plugin.
For the full list of issues and pull requests in this release, please see the 1.2.1 milestone, with over 120 issues and pull requests. The major highlights in this release include:
AMP Stories
To summarize the story editor changes in this release:
- Added a new option to export a story as a portable ZIP archive.
- The editor now ensures that only media files with the correct mime types can be uploaded.
- Added an option to turn off captions for videos.
- Internationalization improvements to make translation eaiser.
- Various styling improvements in the editor UI.
- Improved UX of the template inserter.
- Fixed an edge case in the Latest Stories block.
- Various fixes around block resizing and font size calculations.
- Fixed an issue where HTML was erroneously stripped for users with Author role.
This release's focus was on further improving the AMP Stories experience and fixing the most pressing issues that came up since 1.2.0.
See the 412+ issues and pull requests in this release for stories.
Website Mode Updates
There are also 55+ issues and pull requests that have been closed for the website experience.
Embeds
- Improve Soundcloud embeds to support playlists, improve layout, and add a fallback. #2715
- Improve support for Facebook widget layout. #2776
CSS Handling
- Prevent tree-shaking dynamic class names for
amp-date-picker
. #2658 - Fix conversion of CSS selectors when HTML tag maps to multiple AMP tags. Fixes center-aligned animated GIFs appearing stretched. #2792
Developer Improvements
- Fixes compatibility with other plugins and older WordPress installations by correcting the polyfills for WordPress 4.9. #2679
- Added a new
amp_post_template_body_open
hook to the Reader mode template. #1143
Validation Changes
- Guard against infinite recursion when matching a theme source. #2547
- Prevent errors around handling validation of widgets. #2698
- Improve handling of iframes. #2712
- Update allowed tags/attributes from spec in amphtml 1907022322580. #2816
Themes and Templates
- Fixes a regression with using Reader mode in combination with an AMP-compatible theme. #2753
- Improved featured image handling and cropping. #2711
- Add support for looping video headers. #2642
Infrastructure, Technical Debt, and Code Cleanup
- Made sure the main plugin file is still parseable on PHP 5.2+. #2766
- Major code readability and maintainability improvements. #2493
- Converted all of the PHP source code to use short array syntax. #2767
- Add webpackbar plugin to have nicer output. #2814 #2818
- Begin with some E2E Tests. #2708
Props
Thanks to the many contributors who made this release possible through work on development, design, testing, project management, and more:
Alberto Medina, Cathi Bosco, Claudio Sossi, Dawid Młynarz, Mackenzie Hartung, Miina Sikk, Pascal Birchler, Ryan Kienstra, Thierry Muller, and Weston Ruter.
To install as a Git submodule, consider 1.2.1-beta1-built.