github ampproject/amphtml 1478272520861

latest releases: 2403280457000, 2403261854000, 2403211912000...
7 years ago

Version: 1478272520861

Based on: 1478056392133 with only #6011 cherrypicked on top.
100% Prod at 10:40AM Nov 4 2016

  • Fix error: "Can't find variable: TextDecoder" (#6011)
  • Do not use new iOS viewport in iOS7 and lower. (#5959)
  • Cache SW: Do not cache experiments.js (#5893)
  • Revert "Clean up: Move viewport specific logic out from viewer." (#5960)
  • Old Browser tests should run with compiled flag, like other tests (#5957)
  • Clean up: Move viewport specific logic out from viewer. (#5887)
  • Build only first time lightbox is opened (#5941)
  • Update docs to point to available templates; fixes #5620 (#5718)
  • Embed-level service overrides (#5925)
  • More SauceLabs flake fixes (#5943)
  • Upgrade old chrome to 45 (#5938)
  • Amp reddit extension (#5283)
  • Fix elementX & elementY in visibility tracking. (#5928)
  • Creative signature validation keys are now cached in JavaScript. (#5922)
  • Lifecycle Reporting Update (#5837)
  • Introduce timeout for font stylsheets in AMP. (#5911)
  • Fix A4A issues #5472 & #5273 (#5882)
  • Integration tests fix and forcing running tests when files in examples folder change (#5851)
  • Reflect tracking nature of iframes in priority. (#5913)
  • #setOwner should rewrite resource.owner_ value if it exist (#5898)
  • Defer full upgrade until the element is connected (#5908)
  • Use upgrade callback to pick the correct carousel class. (#5899)
  • Pass the transient padding flag to FixedLayer to be in sync with viewport (#5900)
  • Pass the transient padding flag to FixedLayer to be in sync with viewport (#5900)
  • Add amp-image-lightbox screen reader close button (#5894)
  • Don't use TextEncoder (#5902)
  • #setOwner should rewrite resource.owner_ value if it exist (#5898)
  • Defer full upgrade until the element is connected (#5908)
  • Skeleton for an amp-animation component (#5891)
  • Use upgrade callback to pick the correct carousel class. (#5899)
  • Add alert role to user-notification by default (#5896)
  • Fix test-iframe-createIframeWithMessageStub failures on older browsers (#5895)
  • Make screen readers announce changes in the slides carousel. (#5892)
  • Separate out implementaton of document-info and remove dependency of … (#5864)
  • Fixed assertion in key fetch function. (#5854)
  • Track impression on amp landing page (#5606)
  • Backward compatible way of stringifying Uint8Array (#5881)
  • Ensure that a friendly-iframe embed cancels any boilerplate when ready (#5863)
  • Fix amp-forms broken and flakey tests. (#5835)
  • Make SW test properly skip when Request == undefined (#5876)
  • Adding Adverline to amp-ad (#5829)
  • Consider it as non-viewer mode if there is no "origin" in hash param. (#5867)
  • [amp-youtube] autoplay and test suite to run across all video players that implement the video API (#5765)
  • Update Forms Docs to reflect availability. (#5815)
  • call viewport.updateFixedLayer when we display amp-live-list update button (#5865)
  • Add documentation to slides analytics (#5724)
  • Increase delay time for UI hint for carousel nav button (#5858)
  • Exposing input change event and form.submit action (#5707)
  • Image lightbox improvements (#5717)
  • Run Travis tests on latest Chrome (not Chromium) (#5843)
  • Drop fieldset tests for user-invalid (#5861)
  • Implement app banner new dismiss button UX (#5845)
  • Clean up experiment flag for amp-experiment (#5856)
  • Remove extra inert line in de-check config. (#5857)
  • Never include Closure Compiler polyfills in codebase. (#5832)
  • amp-sticky-ad: Force background-color alpha to be 1 (#5819)
  • Integration tests fix and forcing running tests when files in examples folder change (#5851)
  • Update amphtml link rel to match file name in examples & fix comments (#5797)

Breakdown by component

ads

Adding Adverline to amp-ad (#5829)

amp-a4a

A4a 3p remove load from init (#5936)
Embed-level service overrides (#5925)
Upgrade old chrome to 45 (#5938)
Creative signature validation keys are now cached in JavaScript. (#5922)
Lifecycle Reporting Update (#5837)
Fix A4A issues #5472 & #5273 (#5882)
Don't use TextEncoder (#5902)
Fixed assertion in key fetch function. (#5854)

amp-access

Fix link to amp-var-substitutions (#5903)
Fix English, uniform capitalization, better changelog (#5842)

amp-accordion

Don't throw on sessionStorage non-availability. (#5968)

amp-ad

A4a 3p remove load from init (#5936)
Fix init() param for 3p ad (#5932)
Lifecycle Reporting Update (#5837)
Fix A4A issues #5472 & #5273 (#5882)
Separate out implementaton of document-info and remove dependency of … (#5864)
Adding Adverline to amp-ad (#5829)

amp-ad-network-adsense-impl

Lifecycle Reporting Update (#5837)
Don't use TextEncoder (#5902)

amp-ad-network-doubleclick-impl

Lifecycle Reporting Update (#5837)

amp-analytics

Avoid number assertion on undefined stateMIN_VISIBLE
[amp-analytics] Don't calculate intersectRatio again. (#5965)
Fix elementX & elementY in visibility tracking. (#5928)

amp-animation

Skeleton for an amp-animation component (#5891)

amp-app-banner

Implement app banner new dismiss button UX (#5845)

amp-carousel

Use upgrade callback to pick the correct carousel class. (#5899)
Make screen readers announce changes in the slides carousel. (#5892)
Increase delay time for UI hint for carousel nav button (#5858)

amp-experiment

Clean up experiment flag for amp-experiment (#5856)

amp-form

Fix amp-forms sample in the docs (#5986)
Fix amp-forms broken and flakey tests. (#5835)
Drop fieldset tests for user-invalid (#5861)

amp-iframe

Reflect tracking nature of iframes in priority. (#5913)

amp-image-lightbox

Add amp-image-lightbox screen reader close button (#5894)

amp-install-serviceworker

Separate out implementaton of document-info and remove dependency of … (#5864)

amp-lightbox

Build only first time lightbox is opened (#5941)

amp-list

Add null check to amp-list response. (#5967)

amp-live-list

Fix link to server-side filtering doc; issue 5904 (#5945)
Fix HTML block formatting and capitalization (#5905)
call viewport.updateFixedLayer when we display amp-live-list update button (#5865)

amp-share-tracking

create 1.0 version for amp-sticky-ad extension (#5923)

amp-sticky-ad

create 1.0 version for amp-sticky-ad extension (#5923)

amp-user-notification

Add alert role to user-notification by default (#5896)

validator

Bump package revision and add release notes. (#5985)

Add a postinstall script for Windows. (#5983)
The command line is executed both for cmd.exe and sh, the Unix shell,
depending on where it runs. Note that cmd.exe is really different,
but there is a small subset that's common. So the postinstall command
line works on both.

  1. For Windows: /bin/sh doesn't exist, so this is an error, which we
    redirect to NUL (which is the Windows version of /dev/null). Then we
    try to delete NUL, which won't work and give a non-zero exit status.
    But up to here it's all quiet. Now we get to
    || node postinstall-windows.js, and this just runs the windows specific
    postinstall script. This script locates the Windows shim and modifies
    it so that it works. The shim that we put there just calls node with
    the name of the script file (index.sh), so we're skipping the index.sh
    dispatch script that we use for Debian-based (where node is called nodejs)
    and other Linux distros (where it's called node).

  2. For Unix-like platforms, /bin/sh -c "exit 0" will have exit status 0.
    NUL will be a temporary file, which we then remove. This succeeds,
    so we won't run the postinstall-windows.js script.

The index.sh script makes amphtml-validator work for both Ubuntu/Debian/etc.
and other installations (e.g. nvm), but this part isn't new.

This should fix #5855.

Don't miss a new amphtml release

NewReleases is sending notifications on new releases.