Releases: ampproject/amp-toolbox-php
Releases · ampproject/amp-toolbox-php
0.5.0
0.4.0
Changes
- Add
RewriteAmpUrlstransformer [#119] - Add
AmpBoilerplateErrorHandlertransformer [#148] - Make Configuration extensible [#150] (⚠breaking change)
- Include candidate hero images after paragraphs and persist
loadingattribute onnoscript > imgfallback [#149] - Add more dynamic logging behavior [#146]
- Add
crossorigin=anonymoustonomodulescripts [#140] - Prevent SSR for
amp-imgoccurring after second paragraph [#141]
Bugfixes
- Fix SSR for nested AMP components [#122]
- Fix tiny image detection inside responsive parent [#144]
- Check hero image
mediaattribute beforesrcset[#136] - Only construct preload if it is needed [#135]
- Fix deduplication of AMP scripts and improve
ReorderHeadtransformer [#130] - Calling
curl_errno()before closing the connection throws an error [#128]
Dependencies
Meta
0.3.0
0.2.0
Changes
- Add support for a
data-hero-candidateattribute [#86] - Enforce CSS byte count limit across all inline style additions and inline
object-*attributes [#29] - Support dimensions with units [#49]
- Use magic
$htmlproperty innormalizeHtmlAttributes()[#30]
Bugfixes
- Fix wrongly URL-encoded
srcattributes 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
@coversannotations [#46] - Fix broken spec test for converting
intrinsiclayout [#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
composercommand in docs [#23] - Update
civicrm/composer-downloads-pluginrequirement from ^2.1 to ^2.1 || ^3.0 [#3] - Update
dealerdirect/phpcodesniffer-composer-installerrequirement from 0.7.0 to 0.7.1 [#43] - Update
phpcompatibility/phpcompatibility-wprequirement from 2.1.0 to 2.1.1 [#72] - Update
sirbrillig/phpcs-variable-analysisrequirement 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
PreloadHeroImagetransformer (#7) - Add
LICENSEfile - Adapt license meta information in
composer.jsonfile - Add change log (#8)
- Renamed
Extension::IMAGEintoExtension::IMGfor consistency (#21)