github ampproject/amphtml 1902191749350

latest releases: 2404230718000, 2405011605000, 2404291353000...
5 years ago

Version: 1902191749350

Baseline: 1902132037100-old

  • Fix regex to detect ad type (#20899)
  • Update dependency dompurify to v1.0.10 (#20301)
  • 🖍🐛 Undo stacking lightbox on top (#20909)
  • Keep same macro for A4A and inabox (#20874)
  • Avoid bundling DOMPurify into amp-bind, amp-mustache-0.1 (#20849)
  • Reject host service on failures. (#20859)
  • ♻️ 🐛: amp-animation: animationWorklet: Only create one module + organizational refactoring (#20831)
  • ✨amp-recaptcha-input: Added Origin Trial Support for the experiment (#20877)
  • ✅Carousel v2 manual test cleanup. (#20894)
  • ♻️ carousel v2: Simplify CSS (#20895)
  • 🏗 Fix Travis when build job is skipped (#20901)
  • ✨ Adding 'allow-same-origin' to the consent prompt UI iframe (#20863)
  • 🏗 Print git change summary only for non-push builds (#20893)
  • amp-list-load-more bugfixes (#20871)
  • Revert "✨Create new extension - AMP-smartlinks" (#20891)
  • 🏗 New Travis Build Matrix (#20811)
  • Split visual diff helper functions to simplify the API for test writers (#20888)
  • [carousel v2] Support a maximum number of auto advance loops. (#20872)
  • ✨Create new extension - AMP-smartlinks (#20494)
  • Revert "Force the subscriptions dialog into the fixed layer to avoid collisions with border" (#20876)
  • 🐛 Prevent toggle() from throwing error when no elements are selected. (#20795)
  • ✨Add support for contextual article matching (#20748)
  • Revert "Force the subscriptions dialog into the fixed layer to avoid collisions with border" (#20876)
  • ✨Add support for setting the slide via an attribute. (#20820)
  • 🚀 Wait for mutate phase before layoutCallback (#20814)
  • Use const in validator code (#20873)
  • Return 400 when recaptcha example fails (#20668)
  • [amp-story] Allow more parameters for pan/zoom animations ✨ (#20778)
  • 🐛 Assert that values are never returned from vsync callbacks (#20836)
  • SwG Release 0.1.22.44 (#20834)
  • 🐛 Guard against getBoundingClientRect to prevent unspecified errors in IE. (#20731)
  • Undo space reservation after successful height change (#20856)
  • ♻️ Export few data types from content-recommendation.js (#20854)
  • 🐛Do not perform static layout for cloned nodes with static layout. (#20724)
  • AdSense Fast Fetch delay 3 viewport experiment - respect loading strategy (#20866)
  • ✨Implement autoexpand for amp-form textarea element (#20772)
  • Displaying more specific messages when users have to resize their window. (#20835)
  • AmpAd Fast Fetch Launch layoutcallback immediate resolve for FIE (#20865)
  • amp-ad-exit: use HostService if exists. (#20357)
  • ✨auto-lightbox: Discard tap actions with invalid references (#20789)
  • Improve Google matched content logic to reflect adsbygoogle.js. (#20624)
  • AdSense Fast Fetch experiment - delay request by fixed 3 viewport range (#20833)

Breakdown by component

amp-a4a Keep same macro for A4A and inabox (#20874) AmpAd Fast Fetch Launch layoutcallback immediate resolve for FIE (#20865)
amp-access-laterpay Removing myself as owner (#20886)
amp-ad-exit Reject host service on failures. (#20859)
amp-ad-network-adsense-impl AdSense Fast Fetch delay 3 viewport experiment - respect loading strategy (#20866) AdSense Fast Fetch experiment - delay request by fixed 3 viewport range (#20833)
amp-animation ♻️ 🐛: amp-animation: animationWorklet: Only create one module + organizational refactoring (#20831)
amp-auto-lightbox ✨auto-lightbox: Discard tap actions with invalid references (#20789)
amp-bind Avoid bundling DOMPurify into amp-bind, amp-mustache-0.1 (#20849) [carousel v2] Support a maximum number of auto advance loops. (#20872)
amp-carousel ♻️ carousel v2: Simplify CSS (#20895) [carousel v2] Support a maximum number of auto advance loops. (#20872) ✨Add support for setting the slide via an attribute. (#20820)
amp-consent ✨ Adding 'allow-same-origin' to the consent prompt UI iframe (#20863)
amp-embedly-card 🐛 Assert that values are never returned from vsync callbacks (#20836)
amp-form ✨Implement autoexpand for amp-form textarea element (#20772)
amp-lightbox-gallery 🖍🐛 Undo stacking lightbox on top (#20909) ✨auto-lightbox: Discard tap actions with invalid references (#20789)
amp-list amp-list-load-more bugfixes (#20871) 📖 Fix validity of amp-list[load-more] examples (#20799) Undo space reservation after successful height change (#20856)
amp-mraid Reject host service on failures. (#20859)
amp-recaptcha-input ✨amp-recaptcha-input: Added Origin Trial Support for the experiment (#20877)
amp-script Avoid bundling DOMPurify into amp-bind, amp-mustache-0.1 (#20849)
amp-selector 🐛 Prevent toggle() from throwing error when no elements are selected. (#20795)
amp-smartlinks Revert "✨Create new extension - AMP-smartlinks" (#20891)
amp-story ♻️ 🐛: amp-animation: animationWorklet: Only create one module + organizational refactoring (#20831) [amp-story] Allow more parameters for pan/zoom animations ✨ (#20778) Displaying more specific messages when users have to resize their window. (#20835)
amp-subscriptions Revert "Force the subscriptions dialog into the fixed layer to avoid collisions with border" (#20876) 🐛 Assert that values are never returned from vsync callbacks (#20836)
amp-video-docking 📖 video-docking: Target types and events (#20810)
validator Use const in validator code (#20873)

✨Implement autoexpand for amp-form textarea element (#20772)
WIP I will add tests before merge. I'm opening the PR now to get earlier feedback

Resolves #20224

See design doc for edge cases considered, goals and non-goals. https://docs.google.com/document/d/1jme4TcAFvyBRCUNnidSRTIdtjYjd0CbQkM4f2NABsLM

If you don't have access, feel free to request and I will share it.

It currently does not support expanding after updates via bind, but if that is part of a major use-case it can be added after this PR.

Before merge:

  • Add tests
  • Prevent autoexpand when initial text content is larger than the initial textarea size #20839

Don't miss a new amphtml release

NewReleases is sending notifications on new releases.