Skip to content

Stable release 2013-10-25

Pre-release
Pre-release
Compare
Choose a tag to compare
@dfreedm dfreedm released this 25 Oct 20:25
· 5688 commits to master since this release

Breaking changes

  • on-* event handlers will now use data binding to function, requiring "{{" and "}}" around the handler name
    Example: <input on-focus="{{ focus }}" on-blur="{{ blur }}" on-change="{{ change }}">. This enables non-bubbling events, and makes for a much simpler event handling paradigm
  • The timing of the created() callback is now at the Custom Elements createdCallback() time. Before, it ShadowDOM creation time. Use "ready()" instead to know when an element has its bindings, Shadow DOM has been created, and it's on-* handlers and property observers have been setup. This is to match the CustomElements spec.
  • enteredDocument and leftDocument are removed. Use enteredView() and leftView(). These have been deprecated by the CustomElements spec, with the new callbacks available since 0.0.20130912

PointerEvents

  • A few spec compliance changes to pass the w3c tests (commit)
  • remove sourcemap from build, it was always off by a few lines (commit)
  • Only set primary touch pointer when there are no other touches (commit)

ShadowDOM

  • Add support for new Image (commit)
  • Fix issue with non identifier names (commit)
  • Wrap try/catch around canvas.getContext webgl (commit)
  • Fixes IE11 issues (commit)
  • Make sure we handle both getter and setter for scrollTop etc (commit)
  • Add wrapper for canvas and its contexts (commit)

TemplateBinding

  • Implement underbar bindings (e.g. <img _src={{src}}>) (commit)
  • added prepareInstancePositionChanged delegate method (commit)

WeakMap

  • Remove Firefox navigator check (commit)

labs

  • contacts app v2 work
  • shuttle app v2 work
  • Added <polymer-list> (commit)
  • split vulcan.js into vulcanize bin and lib/vulcan.js (commit)
  • move polymer-ui-form sample into labs (commit)
  • first draft of contacts address card (commit)

more-elements

  • <google-map-directions>: remove unneeded markers (commit)
  • <google-map>: load map api dynamically; add metadata (commit)
  • <libphonenumber-js>: format and validate phone numbers (commit)

platform

  • Add minimal platform build for x-tag compatibility (commit)
  • simple test for combinators (^ and ^^) (commit)
  • make type extension version opt in and mutually exclusive with scoping via element name. (commit)
  • shim :host(.foo) bar { }; simplify replacements (commit)
  • Beginning to polyfill ::part()/:host() (commit)
  • Fixes #40 by adding @polyfill-unscoped-rule (commit)
  • fixes #315 also, shimmed styles that include polyfill specific comments can now contain :host to refer to the host element. (commit)
  • Apply polyfill styling even when there's element dom, fixes #314. (commit)

polymer

  • created() now called at createdCallback time. Removed deprecated entered|leftDocument; update to use entered|leftView. (commit)
  • Support unlistening and '@' for events directly to model paths. (commit)
  • host events now support "{{eventHandler}}" syntax too. (commit)
  • use template-binding to set up event listener delegations; remove massive amounts of old event binding code (commit)
  • Pass all changes to property changed methods as a first stab at #321 (commit)
  • put registerObserver, unregisterObserver, and unregisterObservers on polymer-elements; previously these methods were private. (commit)
  • Fix array observation on IE by using Array.isArray. (commit)
  • Remove visibility:hidden from veiling; add test for autofocus on input, fixes #317 (commit)
  • implement system to watch the actual array for array-valued paths, in addition to the path itself; needs tests (commit)
  • observe properties via compound path observer. (commit)

polymer-elements

  • polymer-scrub: fire event at the end of playTo (commit)
  • polymer-overlay: auto horizontal centering (commit)
  • polymer-overlay: center target vertically if not positioned (commit)
  • polymer-animation: use observe block (commit)
  • polymer-animation: prefix event names with polymer- (commit)

polymer-expressions

  • Added support for index indentifiers (commit)
  • Add styleObject filter. (commit)
  • The tokenList filter operates on an object and uses the keys in the object to build a space separated string, including the key if the value is truthy. (commit)
  • Remove support for ~ and ^ (commit)
  • Add parsing support for index binding (commit)

polymer-ui-elements

  • polymer-ui-toolbar: adjust dark theme styles (commit)
  • polymer-ui-animated-pages: add polymer-pages-animation-end event (commit)
  • polymer-ui-animated-pages: use a single "transition" property
  • polymer-ui-basic-app changed to polymer-ui-scaffold (commit)

projects

  • modernize you-tube app (commit)
  • update Pica to use polymer-ui-scaffold (commit)

todomvc

  • Templatized event handlers (commit)
  • Remove a few hacks from td-item (commit)

tools

  • Add common grunt tasks and utils (commit)
  • Add MutationObservers polyfill (commit)