Skip to content

Releases: ampproject/amp-toolbox-php

0.3.0

29 Mar 21:09
227563f
Compare
Choose a tag to compare

Changes

  • Add CLI tool [#92]

Bugfixes

  • Remove hard-coded isTiny() result for intrinsic layout [#115]
  • Prevent loading=lazy attribute from being removed from amp-story-player poster img [#106]

Dependencies

0.2.0

18 Mar 21:09
4fc6432
Compare
Choose a tag to compare

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 in normalizeHtmlAttributes() [#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() to number_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

  • Add automerge workflow [#96]
  • Add code coverage collection [#50]
  • Add GHA workflow to sync test suite and create PR [#58]
  • Avoid running sync on composer update [#64]
  • Improve PHPUnit integration [#40]
  • Raise PHPStan level to 5 [#42]
  • Run tests on all pushes [#78]

0.1.1

11 Dec 18:24
c14b5b9
Compare
Choose a tag to compare
  • Add .gitattributes file (#48)

0.1.0

06 Nov 16:24
e0a1943
Compare
Choose a tag to compare
  • 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 into Extension::IMG for consistency (#21)