github ampproject/amphtml 1478801557976

latest releases: 2410292120000, 2410250306000, 2410161801000...
8 years ago

Version: 1478801557976

Opt-in 11-10-2016 3:30 PM PST

  • Add how amp-live-list works (#5906)
  • Proper base64 encoding of srcdoc (#6101)
  • Officially support Window event targets in loadPromise. (#6082)
  • Enable default placeholder for amp-ad (#6002)
  • Skip chunk error handling tests for browsers that don't support unhandledrejection event (#6084)
  • Forbid direct style manipulation (#6012)
  • Added ampSlotIndex to the whitelist of default allowed values. (#6079)
  • Clear fragment by assigning a non-empty string. (#6071)
  • Suppress errors from autoplay detection play call (#6083)
  • Support booting users into app shell for browsers that do not support ServiceWorkers (#6074)
  • Add test for error throwing in chunks. (#6069)
  • Delete old AmpCarousel code (#6065)
  • Add tests for scrollable carousel (#6064)
  • Send form-submit success/error analytics events (#5868)
  • Force position:static on html tag for ios-embed viewport (#6060)
  • refactor pr-check (#5924)
  • Clear sidebar open/close delays appropriately. (#6046)
  • Fix custom-element tests so they pass on Safari (#6047)
  • Adding Tumblr to amp-social-share (#6014)
  • Don't recalculate intersectionRatio (#6037)
  • declaring the viewer-integration in the gulp file (#6034)
  • [amp-inabox] skeleton implementation (#5990)
  • Add another way to detect whether a viewer is expected. (#6038)
  • revert change 4089 (#6033)
  • Wait for response in signin protocol (#6035)
  • add more owners.yaml files (#5781)
  • Skeleton for amp-viewer-integration extension (#6016)
  • 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 HTML block formatting and capitalization (#5905)
  • 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)
  • Fix link to amp-var-substitutions (#5903)
  • 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)
  • Add Preamble section to AMP Cache Guidelines (#5873)
  • Adding Adverline to amp-ad (#5829)
  • Clarify cache guidelines (#5874)
  • 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)
  • Add guideline for adding new experiment (#5853)
  • 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

Forbid direct style manipulation (#6012)
Fix log calls without TAGNAME (#6005)

amp-a4a

Corrected tag types. (#6108)
Enable default placeholder for amp-ad (#6002)
Forbid direct style manipulation (#6012)
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)

amp-access

Forbid direct style manipulation (#6012)
Wait for response in signin protocol (#6035)

amp-accordion

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

amp-ad

Enable default placeholder for amp-ad (#6002)
Forbid direct style manipulation (#6012)
Move amp-ad CSS to extension (#5992)
A4a 3p remove load from init (#5936)
Fix init() param for 3p ad (#5932)

amp-ad-network-fake-impl

Fix log calls without TAGNAME (#6005)

amp-analytics

Forbid direct style manipulation (#6012)
Don't recalculate intersectionRatio (#6037)
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-app-banner

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

amp-carousel

Forbid direct style manipulation (#6012)
Delete old AmpCarousel code (#6065)
Add tests for scrollable carousel (#6064)

amp-fit-text

Forbid direct style manipulation (#6012)

amp-form

Fix amp-forms sample in the docs (#5986)

amp-fresh

Fix log calls without TAGNAME (#6005)

amp-iframe

Proper base64 encoding of srcdoc (#6101)
Forbid direct style manipulation (#6012)

amp-img

Fix log calls without TAGNAME (#6005)

amp-install-serviceworker

Forbid direct style manipulation (#6012)
Support booting users into app shell for browsers that do not support ServiceWorkers (#6074)

amp-lightbox

Forbid direct style manipulation (#6012)
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)

amp-share-tracking

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

amp-sidebar

Clear sidebar open/close delays appropriately. (#6046)

amp-slides

Forbid direct style manipulation (#6012)

amp-social-share

Adding Tumblr to amp-social-share (#6014)

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

Forbid direct style manipulation (#6012)

amp-viewer-integration

Skeleton for amp-viewer-integration extension (#6016)

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.