Releases: ampproject/amp-toolbox-php
Releases · ampproject/amp-toolbox-php
0.3.0
0.2.0
Changes
- Add support for a
data-hero-candidate
attribute [#86] - Enforce CSS byte count limit across all inline style additions and inline
object-*
attributes [#29] - Support dimensions with units [#49]
- Use magic
$html
property innormalizeHtmlAttributes()
[#30]
Bugfixes
- Fix wrongly URL-encoded
src
attributes in Mustache templates [#104] - Fix broken encoding when using document fragments [#99]
- Parse document correctly when AMP emoji is used [#79]
- Secure HTML entities within template text [#54]
- Fix
@covers
annotations [#46] - Fix broken spec test for converting
intrinsic
layout [#39] - Change padding calculation from
round()
tonumber_format()
[#38] - Skip escaped slashes when normalizing self-closing tags [#36]
Dependencies
- Sync local fallback files [#35, #66, #70, #77, #80, #81, #88, #93, #94, #95, #97]
- Sync spec test suite [#45, #56, #71, #76#85]
- Update
composer
command in docs [#23] - Update
civicrm/composer-downloads-plugin
requirement from ^2.1 to ^2.1 || ^3.0 [#3] - Update
dealerdirect/phpcodesniffer-composer-installer
requirement from 0.7.0 to 0.7.1 [#43] - Update
phpcompatibility/phpcompatibility-wp
requirement from 2.1.0 to 2.1.1 [#72] - Update
sirbrillig/phpcs-variable-analysis
requirement from 2.9.0 to 2.11.0 [#44, #52, #101]
Meta
0.1.1
0.1.0
- Move code over from the AMP for WordPress plugin repository to the current new repository.
- Add GitHub Actions workflow (#2)
- Add
PreloadHeroImage
transformer (#7) - Add
LICENSE
file - Adapt license meta information in
composer.json
file - Add change log (#8)
- Renamed
Extension::IMAGE
intoExtension::IMG
for consistency (#21)