Skip to content

v1.5.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Apr 03:13

1.5.0 - 2024-04-04

Added

  • Added embed mode for banners rendering. Embed banners are rendered in iframes and can be enabled via data attribute data-amp-mode="embed".
  • Added a new JS client for use in iframes. It is not intended for direct use on a website.
  • Added the property AMPClientFactory.version that returns the package version in semver format.
  • Added attributes width and height for images if a dimensions are returned by the API.

Changed

  • The package has been refactored from CommonJS to ESM.
  • Updated dependencies.
  • The property version on the client now returns an object of type ClientVersion instead of a simple semver string.
  • Updated docs.