github ampproject/amphtml 1478301221318

latest releases: 2404181825000, 2404091947000, 2404151833000...
7 years ago

Version: 1478301221318

Canary opt-in and 1% at 5:10PM Nov 4 2016

Based on original release: 1478285400548

  • Add another way to detect whether a viewer is expected. (#6038)
  • Add marginwidth and marginheight attributes to A4A iframes (#5998)
  • Make embedded detection based on params more liberal. (#6026)
  • Fix error: "Can't find variable: TextDecoder" (#6011)
  • Fix error: "Can't find variable: TextDecoder" (#6011)
  • Include the originalHash (#6020)
  • Improve error reporting (#6019)
  • add version parameter to AMP.extension signature (#5989)
  • Combine amp-analytics var docs with var substitutions doc re: #1302 (#5576)
  • Move amp-ad CSS to extension (#5992)
  • Fix log calls without TAGNAME (#6005)
  • Other JS errors: Use startsWith (#6006)
  • amp-sticky-ad close button new style (#5979)
  • Fixes an issue where ads are not correctly centered on certain platforms. (#6003)
  • A4A integration tests (#5812)
  • Workaround for misbehaving webview viewer (#6001)
  • Remove unsupported query selector feature (#5999)
  • Allow for hosted testing to override where third party frame is retrieved from (#5890)
  • Only report 1% of errors if a page has non-AMP JS (#5994)
  • Expose getResourceId() in custom element. (#5973)
  • Modify A4A AMP Creative to use ampRuntimeUtf16CharOffsets from validation rewrite (#5982)
  • Base amp-analytics config for Google Conversion Tag. (#5672)
  • Introduce helper to make map-like objects. (#5880)
  • Switch stylesheet replacement to cloneNode (#5930)
  • Adding Mediavine to amp-ad (#5784)
  • make changes to sticky-ad 1.0, fix tests (#5984)
  • Don't throw on sessionStorage non-availability. (#5968)
  • Add a postinstall script for Windows. (#5983)
  • Fixes error reporting for unsupported layout (#5976)
  • create 1.0 version for amp-sticky-ad extension (#5923)
  • Cache SW: Relax extensions regex (#5974)
  • Revert #5960 which is a revert of #5887 (Clean up: Move viewport spec… (#5972)
  • fix typos in documentation and call renderStart (#5644)
  • Add Xlift AMP support (#5825)
  • Avoid number assertion on undefined stateMIN_VISIBLE
  • [amp-analytics] Don't calculate intersectRatio again. (#5965)
  • Enable SauceLabs testing for iOS 8, 9 & 10 (#5969)
  • A4a 3p remove load from init (#5936)
  • Fix init() param for 3p ad (#5932)
  • cron job from @erwinmombay to update size.txt (#5971)
  • Add null check to amp-list response. (#5967)
  • Ensure that mode.getFullVersion_ falls back to the full version and not just major (#5946)
  • Do not use new iOS viewport in iOS7 and lower. (#5959)
  • 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)
  • Fix English, uniform capitalization, better changelog (#5842)
  • 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)
  • Fix grammar (recommend to recommended) (#5831)

Breakdown by component

ads

Fix log calls without TAGNAME (#6005)
Introduce helper to make map-like objects. (#5880)

amp-a4a

Add marginwidth and marginheight attributes to A4A iframes (#5998)
Fix log calls without TAGNAME (#6005)
Modify A4A AMP Creative to use ampRuntimeUtf16CharOffsets from validation rewrite (#5982)
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)
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)

amp-accordion

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

amp-ad

Move amp-ad CSS to extension (#5992)
A4a 3p remove load from init (#5936)
Fix init() param for 3p ad (#5932)
Fix A4A issues #5472 & #5273 (#5882)
Separate out implementaton of document-info and remove dependency of … (#5864)

amp-ad-network-adsense-impl

Don't use TextEncoder (#5902)

amp-ad-network-fake-impl

Fix log calls without TAGNAME (#6005)

amp-analytics

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

amp-anim

Fix log calls without TAGNAME (#6005)

amp-animation

Skeleton for an amp-animation component (#5891)

amp-app-banner

amp-sticky-ad close button new style (#5979)

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)
Drop fieldset tests for user-invalid (#5861)

amp-fresh

Fix log calls without TAGNAME (#6005)

amp-iframe

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

amp-image-lightbox

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

amp-img

Fix log calls without TAGNAME (#6005)

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

amp-live-list.md polling clarification (#5991)
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

add version parameter to AMP.extension signature (#5989)
amp-sticky-ad close button new style (#5979)
make changes to sticky-ad 1.0, fix tests (#5984)
create 1.0 version for amp-sticky-ad extension (#5923)

amp-user-notification

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

amp-youtube

Further explain the details for the autoplay attribute (#6025)
Fix log calls without TAGNAME (#6005)

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.