Releases: ampproject/amp-wp
1.1-beta2
Changes since 1.1-beta1:
- Add attribute-based CSS selector tree shaking. See #2080. Props westonruter.
- Expand externalization of
data:
URLs in@font-face
rules, which further reduces total CSS in Twenty Nineteen. See #2079. Props westonruter. - Prevent placeholder blocks for audio and image from causing validation errors. See #2090. Props westonruter.
- Improve descriptions for Transitional and Native modes. See #2089, #2116. Props albertomedina, westonruter.
- Update codebase for WPCS 2.1. See #2108. Props swisspidy.
For a categorized breakdown/changelog of all pull requests, please see the drafted release notes for the final 1.1 release. See the v1.1 milestone for all issues and pull requests in this release.
Please test! Download the amp.zip
attached to this pre-release and install it into your WordPress admin. If you have an existing version of the AMP plugin installed, you'll need to deactivate/uninstall the old one before you'll be able to upload and activate this new one. Alternatively, you can extract the contents of amp.zip
into wp-content/plugins/amp
. Once installed, you should see the plugin version as 1.1-beta2-20190412T230712Z-b9683cdd
.
If you find a bug, please review current issues or file a new one.
The 1.1 final release is due out by AMP Conf 2019 (April 17).
1.1-beta1
For a categorized breakdown/changelog of all pull requests, please see the drafted release notes for the final 1.1 release. See the v1.1 milestone for all issues and pull requests in this release.
Please test! Download the amp.zip
attached to this pre-release and install it into your WordPress admin. If you have an existing version of the AMP plugin installed, you'll need to deactivate/uninstall the old one before you'll be able to upload and activate this new one. Alternatively, you can extract the contents of amp.zip
into wp-content/plugins/amp
. Once installed, you should see the plugin version as 1.1-beta1-20190406T044858Z-28b70b03
.
If you find a bug, please review current issues or file a new one.
The 1.1 final release is due out by AMP Conf 2019 (April 17).
1.0.2
See 1.0.2 changelog, the v1.0.2 milestone, and the commits since 1.0.1.
See also 1.0.2-built
tag which facilitates installation of plugin build via submodule, Composer, etc. Also consider using WordPress Packagist.
- Gracefully handle conflicting version of PHP-CSS-Parser being loaded. This issue was specifically noticed when the Mailpoet plugin is active. See #1743. Props westonruter.
- Fix erroneous enqueueing of AMP validation screen JS/CSS assets on non-AMP admin screens. See #1798, #1796. Props westonruter, geminorum.
- Fix content smooth scrolling in Twenty Seventeen theme. #1777, #1830. Props westonruter.
- Update welcome prompt to point to Getting Started section on amp-wp.org. See #1799. Props westonruter.
- Add
_doing_it_wrong()
when callingis_amp_endpoint()
before queried object is available. This ensures that themes and plugins will get accurate responses when callingis_amp_endpoint()
in paired/native modes. See #1794. Props westonruter, flixos90 (felixarntz). - Eliminate obsolete i18n code. See #1789. Props swissspidy, westonruter,
- Prevent re-bundling WordPress packages which are shipped in 5.0. See #1781, #1828. Props westonruter, flixos90 (felixarntz).
- Fix handling of stylesheets for themes that are located in additional theme directories. See #1790. Props westonruter.
- Improve checks for users who install the plugin from source on GitHub. See #1774. Props westonruter.
- Improve reliability of phpunit test runs across environments. See #1776. Props westonruter.
1.0.1
See 1.0.1 changelog and the v1.0.1 milestone. See also pull requests merged and the commits since 1.0.0.
See also 1.0.1-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
- Add check for required iconv extension. See #1727. Props westonruter.
- Plugin Conflict: Also using Give plugin currently creates 500 server error when viewing /wp-admin/. See #1720. Props KZeni, westonruter.
- Fix Plugin Conflict with Give plugin (previously created 500 server error when viewing site admin). See #1725. Props KZeni.
- Second argument of the_title filter is an Int not WP_Post. See #1723. Props lesterchan, westonruter.
- Prevent image with caption from overflowing its container in Classic mode. See #1728. Props kienstra.
- Ensure Schema.org meta data has correct date. See #1721. Props westonruter.
1.0.0
See 1.0.0 changelog and the v1.0 milestone. See also pull requests merged and the commits since 1.0-RC4.
See also 1.0.0-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin 1.0 Stable Release blog post for more details.
Merged since 1.0-RC4
- Update screenshots. See #1701. Props westonruter, amedina.
- Update the description of the AMP project in readme file. See #1693. Props amedina.
- Use new banner images. See #1692. Props cathibosco.
- Update native mode description to mention AMP-first. See #1703. Props westonruter.
- Prevent the admin pointer from staying below the viewport. See #1694. Props kienstra.
1.0-RC4
See unreleased 1.0 changelog and the in-progress milestone. See also pull requests merged and the commits since 1.0-RC3.
See also 1.0-RC4-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin Release v1.0-RC4 blog post for more details.
- Remove empty media queries. See #1423. Props korobochkin, westonruter.
- Update PHP-CSS-Parser and include tree shaker effectiveness in style[amp-custom] manifest comment. See #1650. Props westonruter.
- Rework displaying block validation messages. See #1682. Props miina.
- Update contributing.md and add code of conduct. See #1649. Props amedina.
- Remove block editor responsive embed styling. See #1683. Props westonruter.
- Update generated tags file to 767. See #1665. Props miina.
- Look in entire document for Schema.org metadata not just head. See #1664. Props westonruter.
- Improve organization of third party code. See #1657. Props westonruter.
- Address an issue with an invalid embed. See #1661. Props kienstra.
- Move AMP Settings in editor to after default settings. See #1652. Props miina.
- Eliminate obsolete sudo:false from Travis config. See #1651. Props westonruter.
1.0-RC3
See unreleased 1.0 changelog and the in-progress milestone. See also pull requests merged and the commits since 1.0-RC2.
See also 1.0-RC3-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin Release v1.0-RC3 blog post for more details.
- Add AMP support for Twenty Nineteen. See #1587, #1619. Props westonruter.
- Gutenberg: Remove 'type' from attributes where 'source' is set. See #1622. Props miina.
- Gutenberg: Fix displaying validation warning and usage of PHP function. See #1612. Props miina.
- Short-circuit polldaddy shortcode when no poll or survey supplied. See #1621. Props westonruter.
- Add warning when AMP plugin is installed in incorrect directory. See #1593. Props westonruter.
- Update regex for tag selectors. See #1534. Props swissspidy, westonruter.
- Do not show fallback source as active theme if no validation errors. See #1592. Props westonruter.
- Add bing-amp.com to the list of AMP Cache hosts. See #1447. Props westonruter.
- Update AMP spec to 757 (v1811091519050). See #1588. Props westonruter, kienstra.
- Prevent a notice from appearing in the Compatibility Tool meta box. See #1605. Props kienstra.
1.0-RC2
See unreleased 1.0 changelog and the in-progress milestone. See also pull requests merged and the commits since 1.0-RC1.
See also 1.0-RC2-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin Release v1.0-RC2 blog post for more details.
- Fix integration with WordPress 5.0. See #1520. Props miina.
- Amend AMP style elements with sourceURL comment for DevTools to be able to perform CSS code coverage. See #1584. Props westonruter.
- Address issue where
<ul>
is converted to an<amp-carousel>
. See #1529. Props kienstra. - Make the default layout responsive for the
<amp-ooyala-player>
block. See #1585. Props kienstra. - Add default values for AMP Timeago block. See #1586. Props kienstra.
1.0-RC1
See unreleased 1.0 changelog and the in-progress milestone. See also pull requests merged and the commits since 1.0-beta4.
See also 1.0-RC1-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin Release v1.0-RC1 blog post for more details.
- Re-use styling for unmoderated comments to apply to new accepted/rejected validation errors. See #1458. Props westonruter.
- Fix detection for whether AMP is available to allow new accepted errors. See #1485. Props westonruter.
- Fix generation of validation error when element has multiple invalid attributes. See #1461. Props westonruter.
- Rename AMP Invalid URLs to AMP Validated URLs. See #1487. Props westonruter.
- Prevent empty term status from being interpreted as new-rejected during bulk change. See #1460. Props westonruter.
- Add new status icons. See #1471. Props jacobschweitzer.
- Ensure font stylesheets are requested in CORS mode in both AMP and non-AMP documents. See #1486. Props westonruter.
- Improve styling of Compatibility Tool pages. See #1462. Props kienstra.
- Discontinue using ‘latest’ version of component scripts. See #1464. Props westonruter.
- Fix title display of Invalid URL page. See #1463. Props amedina.
- Add native/paired/classic mode to AMP generator meta. See #1465. Props westonruter.
- Fix incorrect attribution of theme as source for content validation errors. See #1467. Props westonruter.
- Fix conversion of video to amp-video. See #1477. Props westonruter.
- Add new icon, text, and style to splash notice. See #1470. Props jacobschweitzer.
- Update spec from revision 720 to 734. See #1475. Props kienstra.
- Fix tooltip position. See #1472. Props jacobschweitzer.
1.0-beta4
See unreleased 1.0 changelog and the in-progress milestone. See also pull requests merged and the commits since 1.0-beta3.
See also 1.0-beta4-built
tag which facilitates installation of plugin build via submodule, Composer, etc.
See the AMP Plugin Release v1.0-beta4 blog post for more details.
- Redesign screens for Invalid URLs and Error Index. See #1394, #1361, #1444, #1448, #1452, #1397, #1446, #1364, #1449, #1418, #1451, #1429, #1408, #1414, #1409. Props kienstra, johnwatkins0, miina, jacobschweitzer, westonruter.
- Omit validation errors sanitized by filter or tree-shaking option; since sanitization is forced, there is no point to store. See (#1413)[https://github.com//pull/1413]. Props westonruter.
- Prevent URL validation from happening during bulk imports. See #1424, #1404. Props westonruter.
- Normalize invalid URL stored for
amp_invalid_url
post type. See #1436. Props westonruter. - Expose and store queried object for validated URL; show edit link. See #1426, #1428, #1433. Props westonruter.
- Re-validate the site when switching modes and show the results in a notice. See #1443. Props kienstra, westonruter.
- Improve access to AMP admin screens for users who are not administrators. #1437. Props westonruter.
- Display a welcome notice on the main 'AMP Settings' page. See #1442. Props kienstra.
- Fix URL protocol validation and parsing attribute values with multiple URLs. See #1411, #1410. Props westonruter.
- Restore ability to customize 'amp' query var when theme support added. #1455. Props westonruter.
- Add slug constants for theme support and post type support. #1456. Props westonruter.
- Fix ability to add AMP support for custom post types. See #1441. Props westonruter.
- Fix stretched logo and header issues in Twenty Seventeen. #1419. Props westonruter.
- Add caption support to all amp-instagram embeds. See #1438, #822. Props chandrapatel.
- Fix PHP warning generated by calls to
idn_to_utf8()
. See #1440, #1439. Props kraftbj. - Fix PHP fatal error during AMP validation when a plugin uses a class method as an output buffer callback. #1453. Props westonruter.
- Update minimum PHP version from 5.3.2 to 5.3.6. See #1407, #1406. Props westonruter.
- Improve
package.json
andcomposer.json
. See #1405. Props swissspidy. - Ensure PHP file generated for use by translate.wordpress.org is free of syntax errors. See #1427, #1416. Props swissspidy, westonruter.