Skip to content

v1.5.0

Compare
Choose a tag to compare
@dfreedm dfreedm released this 31 May 17:11
· 6886 commits to master since this release

New Features

  • Polymer.Gestures.resetMouseCanceller: New API for resetting the "mouse cancellor" that prevents mouseevent-driven gestures when using a touch screen. This API is most likely to be useful for testing.

Meaningful Changes

  • detached callback now has the same "wait for first paint" semantics as the attached callback for consistency.
  • _log, _warn, and _error logging functions now also accept multiple string arguments. Previously only single array of arguments was supported.
    Example:
// pre v1.5.0
this._log(this._logf('clicked the', this.$.red, 'button'));
this._error(['missing argument']);
// v1.5.0+, older form still accepted
this._log('clicked the', this.$.red, 'button');
this._error('missing argument');

Raw Notes

  • Fix test in Firefox that was hacked to work in Canary (instead filed https://bugs.chromium.org/p/chromium/issues/detail?id=614198). (commit)
  • remove unneeded argument (commit)
  • slight optimization, avoid work if no cssText is set. (commit)
  • More efficient fix for #3661. Re-uses cached style element that needs to be replaced in the document rather than creating a new one. (commit)
  • Fixes #3661: ensure that cached style points to the applied style for Shady DOM styling. This ensures that the cache can be used to determine if a style needs to be applied to the document and prevents extra unnecessary styles from being added. This could happen when a property cascaded to a nested element and updateStyles was called after properties have changed. (commit)
  • Fix flakey attached/detached timing test. (commit)
  • remove HTML comment (commit)
  • add more style[include] doc (commit)
  • Update the package.json name to match the actual npm published package. (#3570) (commit)
  • Remove unused event cache store (#3591) (commit)
  • [ci skip] sudo should be "required" (commit)
  • transition to travis trusty images (commit)
  • fine, console.dir then (commit)
  • fix ie missing console.table for stubbing (commit)
  • Support the devtools console.log api (multiple strings) for polymer logging (commit)
  • Compute and use correct annotation value during config (commit)
  • Set propertyName on parent props for config phase. (commit)
  • Refactorings around how computational expressions get their arguments (commit)
  • Fix safari 7 again (commit)
  • Expose public API to reset mouse cancelling for testing touch (commit)
  • Delay detached callback with the same strategy as attached callback (commit)
  • [ci skip] Add missing dom5 devDependency (commit)
  • Don't use translate as a method for testing (commit)
  • Only fix prototype when registering at first create time. (commit)
  • Fixes #3525: Makes lazy registration compatible with platforms (like IE10) on which a custom element's prototype must be simulated. (commit)
  • make sure gulp-cli 1 is used (commit)
  • Ensure Annotator recognizes dynamic fn as dependency for parent props. (commit)
  • [ci skip] Update CHANGELOG (commit)
  • Enabling caching of node_modules on Travis (commit)
  • Fix undefined class attribute in undefined template scope (commit)
  • Use a parser based html minification (commit)
  • Call _notifyPath instead of notifyPath in templatizer (commit)
  • Keep it real for notifyPath. (commit)
  • Null debounced callback to set for GC. (commit)