Skip to content
Pre-release

@westonruter westonruter released this Jun 14, 2019 · 6 commits to develop since this release

This is the first release candidate of the AMP plugin with AMP Stories editor. For an overview of the editor for AMP Stories, please see the AMP Stories Experimental docs.

For AMP Stories, there have been 36+ pull requests merged since 1.2-beta2. Some changes to highlight include:

  • AMP Stories can now be used exclusively, without needing to also use AMP for the rest of the website. The AMP settings screen now has checkboxes for the “Website” and “Stories” experiences, allowing you to pick which are appropriate for your site. The Stories experience is marked as BETA because this feature is new and much more is planned than is included in this MVP first release, not mentioning improvements to come from user feedback. See #2470, #2550.
  • Allow dragging of entire blocks, eliminating the drag handle. See #2389.
  • Add story page templates for fandom vertical. See #2479.
  • Improve "Resolve Block" flow when block validation errors occur. See #2484.
  • Add a new image size that is optimized for the story page height, eliminating the use of the oversized full image, and thus saving bandwidth. Add warning when adding a video to a page background when it is larger than 1MB per second. See #2509.
  • Fix ability to duplicate story pages. See #2540.
  • Let newly-added blank pages omit the initial Text block that is present when starting new stories. See #2633.

👉 Please note that old stories authored in previous releases will likely appear with block validation errors in the editor. This is because the block format has been in flux during development, but once 1.2 stable is released then backwards compatibility for old block formats will be maintained.

For general AMP changes, there have been 15+ pull requests merged since 1.2-beta2. Some changes to highlight include:

  • The “Native” mode has been renamed as “Standard”. This is the AMP-first website experience, where the “Transitional” mode is paired AMP scheme that can be used on the road to going AMP-first. The Reader mode remains as is with its classic templates. See #2507, #2550.
  • Always allow switching between Standard, Transitional, and Reader modes even on sites that are defined with amp theme support; the default mode will correspond to what the theme defines (with add_theme_support('amp') defaulting to Standard, and add_theme_support('amp', ['paired' => true]) defaulting to Transitional), but the user can always override based on their site's needs. See #2312, #2550, #2622.
  • Suppress admin bar from being shown during validation requests. See #2500.
  • Always perform CSS tree shaking, regardless of total size. This removes the tree shaking checkbox from the admin screen. See #2508. See #2536.
  • Update AMP validator spec to v1905292322390. See #2537.
  • Prevent sending response through post-processor if Content-Type is not text/html. This fixes integration with plugins that generate non-HTML templates, like XML sitemaps. See #2536.
  • Fix layout of Gallery as amp-carousel. See #2505.

Please review the v1.2 milestone for what else to expect in the subsequent stable release. See also diff 1.2-beta2...1.2-RC1.

To test AMP Stories, you will need the latest version of the Gutenberg plugin installed (v5.8+ specifically), since the AMP Stories editor uses bleeding-edge features of WordPress's block editor which are not yet in a WordPress core release. You can then install the amp.zip build below by uploading it in the WordPress admin. Once active, enable the AMP Stories feature from the AMP admin settings screen.

To install as a Git submodule, consider 1.2-RC1-built.

The 1.2 stable release is due by June 20th, 2019.

Assets 3
Jun 14, 2019
Build 1.2-RC1
Pre-release

@westonruter westonruter released this Jun 4, 2019 · 136 commits to develop since this release

This is the second beta of the AMP plugin with AMP Stories editor. For an overview of the experimental editor for AMP Stories, please see the AMP Stories Experimental docs.

For AMP Stories, there have been 29+ pull requests merged since 1.2-beta1. Some changes to highlight include:

  • Add new filter for adding support for <amp-story-auto-ads>. See #2492.
  • Add amp_story_supports_landscape filter for initial opt-in to landscape support for stories. See #2468.
  • Add Tag and Category taxonomies to Stories. See #2469.
  • Improve behavior for editing selected blocks. See #2459.
  • Improve template insertion and add a new template with rotated text. See #2343, #2481.
  • Add color options to Call-to-Action block. See #2478.
  • Greatly improve font size calculation and resizing of blocks. See #2446, #2458, #2416, #2385.

For general AMP changes, there have been 33+ pull requests merged since 1.2-beta1. Some changes to highlight include:

  • Add support for remaining core themes, including Twenty Ten, Twenty Eleven, Twenty Twelve, Twenty Thirteen, and Twenty Fourteen. See #2476, #2407, #1873.
  • Introduce stylesheet prioritization when determining which to concatenate. This is a big one as it prevents unimportant stylesheets (like the admin bar or print styles) from being included while excluding the all important theme styles. Now the style.css from the theme should always be included (unless after tree shaking it is more than 50KB). See #2346, #2405.
  • Improve form handling when submission handler does no redirection. See #2425. Please also read the Handling Form Submissions playbook.
  • Improve validation of the nodes in the head. See #2420.
  • Enforce the unique constraints from the validator. See #2451.

Please review the v1.2 milestone for what else to expect in subsequent pre-releases and the next stable release.

To test AMP Stories, you will need the latest version of the Gutenberg plugin installed, since the AMP Stories editor uses bleeding-edge features of WordPress's block editor which are not yet in a WordPress core release. You can then install the amp.zip build below by uploading it in the WordPress admin. Once active, enable the AMP Stories feature from the AMP admin settings screen.

To install as a Git submodule, consider 1.2-beta2-built.

The 1.2 stable release is due by June 20th, 2019.

Assets 3
Jun 4, 2019
Build 1.2-beta2

@westonruter westonruter released this May 29, 2019 · 1 commit to 1.1 since this release

Releasing fix which missed 1.1.2:

  • Exempt curl_multi_* functions from being required dependencies due to a FasterImage update which has support for falling-back to synchronous mode. See #2423, willwashburn/fasterimage#18, #2422. Props westonruter, willwashburn, mehrdadabed.

See 1.1.3 milestone and diff of changes from 1.1.2.

To install as a Git submodule, consider https://github.com/ampproject/amp-wp/releases/tag/1.1.3-built

Assets 3
May 29, 2019
Build 1.1.3

@westonruter westonruter released this May 28, 2019 · 4 commits to 1.1 since this release

  • Improve checking for required PHP dependencies before initializing plugin, checking for required extensions, functions, and classes; improve how dependency errors are communicated. See #2183, #2190, #2319, #2208, #2423. Props westonruter, swissspidy.
  • Exempt curl_multi_* functions from being required dependencies due to a FasterImage update which has support for falling-back to synchronous mode. See #2423, willwashburn/fasterimage#18, #2422. Props westonruter, willwashburn, mehrdadabed. (Missed release. See v1.1.3.)
  • Prevent sending Server-Timing headers by default; add amp_response_caching_enabled filter for controlling response caching, to uncouple from WP_DEBUG. See #2268. Props carlalexander, westonruter, jerclarke.
  • Inject width/height attributes into video elements from the Video block where previously they were unavailable in the video shortcode. See #2207. Props westonruter.
  • Improve handling of layout for images: remove display:inline from style attribute to prevent intrinsic images from failing to render and better support the fixed-height layout and other layouts that don't require dimensions. See #1803, #2209. Props westonruter, randomascii.
  • Add "View AMP" link to admin bar on non-AMP page in Reader mode. See #2227, #2203. Props westonruter, amedina.
  • Fix CSS tree shaking when class names contain escaped non-alphanumeric characters. See #2260, #2259. Props westonruter, octoper.
  • Prevent Unicode character escape sequences from showing up in comment forms. See #2293, #2286. Props westonruter, vralle.
  • Improve compatibility with Gutenberg 5.7. See #2308. Props westonruter.
  • Update other Composer dependencies. See #2356, #2387. Props renovate-bot.

See 1.1.2 milestone and diff of changes from 1.1.1.

To install as a Git submodule, consider https://github.com/ampproject/amp-wp/releases/tag/1.1.2-built

Assets 3
May 28, 2019
Build 1.1.2
May 22, 2019
Build 1.2-beta1
Pre-release

@westonruter westonruter released this May 22, 2019 · 460 commits to develop since this release

This is the first pre-release that merges the AMP Stories functionality into the main develop branch. For an overview of the experimental editor for AMP Stories, please see the AMP Stories Experimental docs.

While the vast majority of closed issues and merged pull requests in this release are for AMP Stories (273+), there are also a couple dozen not related to AMP Stories. A few of note:

Please review the v1.2 milestone for what else to expect in subsequent pre-releases and the next stable release.

To test AMP Stories, you will need the latest version of the Gutenberg plugin installed, since the AMP Stories editor uses bleeding-edge features of WordPress's block editor which are not yet in a WordPress core release. You can then install the amp.zip build below by uploading it in the WordPress admin. Once active, enable the AMP Stories feature from the AMP admin settings screen.

To install as a Git submodule, consider https://github.com/ampproject/amp-wp/releases/tag/1.2-beta1-built

Assets 3
You can’t perform that action at this time.