Skip to content

Releases: 68publishers/amp-client-php

v1.5.1

10 Nov 06:52

Choose a tag to compare

Fixed

  • Fixed leaking Guzzle exceptions (e.g. ConnectException) from the HTTP client. An exception UnexpectedErrorException is thrown instead.

v1.5.0

23 May 11:49

Choose a tag to compare

Added

  • Added support for content type noContent.

v1.4.0

06 May 04:38

Choose a tag to compare

Added

  • Added integration of the new fields close_expiration into Position and Banner entities and also into the data-amp-banner-external and data-amp-banner-fingerprint attributes.
  • Added services of type ClosingManagerInterface and ClosedEntriesStoreInterface that are used by banner resolver to check if the passed position and its banners are closed.
  • Added new optional configuration option closing.cookieName.
  • Added new Latte/phtml templates with the code closed.

Changed

  • Updated docs.
  • Changed the default API version in the configuration to 2.

Fixed

  • Fixed an issue with the browser downloading images for all breakpoints when it wasn't needed.

v1.3.1

11 Oct 00:42

Choose a tag to compare

Added

  • Added PHP 8.3 between tested versions.

Changed

  • Moved dimensions field from the Position class to the ImageContent class according to changes in AMP v2.16.0 API changes.

v1.3.0

19 Sep 15:35

Choose a tag to compare

Added

  • Added support for new banner option fetchpriority.
  • Added support for banner options defined in the AMP administration.

Changed

  • The option loading is now processed as an expression. The option loading-offset is ignored.
  • Updated docs.

v1.2.0

04 Apr 03:10

Choose a tag to compare

Added

  • Added integration of the new AMP API fields mode and dimensions.
  • Added possibility to render embed banners.
  • Added new rendering mode embed (EmbedRenderingMode) for the Latte bridge.

Changed

  • Updated docs

v1.1.0

01 Dec 05:45

Choose a tag to compare

Added

  • Added ability to provide custom options for each banner through Renderer or Latte macro.
  • Added support for native lazy loading. Feature can be enabled through banner options 'loading' => 'lazy' and 'loading-offset' => <offset> (for multiple positions only).

Changed

  • Updated default templates due to implementation of custom banner options and native lazy loading.
  • Updated docs.

v1.0.0

30 Nov 06:09

Choose a tag to compare

Initial release