Skip to content

Releases: Polymer/polymer

Stable Release 0.1.3

17 Jan 01:18
Compare
Choose a tag to compare
Stable Release 0.1.3 Pre-release
Pre-release

Big changes

  • Fixed that darned expressions bug:
    • protect against undefined context in Member.valueFn (commit)
  • SVG Templates! <template> is now support in SVG. Note that the behavior is similar to templates in non-template browsers: their content is not going to be inert.
  • Lots of Shadow DOM Polyfill work

CustomElements

  • Rewrite inserted and removed clauses to match old semantics (commit)
  • Keep track of inserted/removed for every upgraded element (commit)
  • use same console grouping as inserted (commit)
  • listen for HTMLImportsLoaded only if HTMLImports.ready is false (commit)

ShadowDOM

  • Fix issue where the DOM tree could get out of sync. (commit)
  • Implement Text.prototype.splitText (commit)
  • Fix issue related to matches and jQuery (commit)
  • Fix element issue again (commit)
  • Fix issue with Element not having all the required properties (commit)
  • Fix issues with innerHTML in plaintext like elements (commit)
  • Make Node.textContent ignore comment nodes (commit)
  • Safari 6 returns null for SVGUseElement.prototype.instanceRoot (commit)
  • Blacklist keyLocation from all Events (commit)
  • Fix issue with SVGElementInstance (commit)

TemplateBinding

  • add back delegate as second arg to createInstance() && clean up delegate/ref semantics, specifically: (commit)
  • add support for svg templates (commit)
  • remove unused code in fixTemplateElementPrototype (commit)
  • Fix template.ref (commit)

observe-js

  • ensure that observedSet resets observed objects after changes (commit)
  • remove unused isolateObservers optimization (commit)
  • fix benchmark breakage (commit)
  • dont bother to push value after addObserved (happens soon after via check_) (commit)
  • refactor iterateObjects (commit)
  • correctly differentiating between node.js, node-webkit and the browser (commit)

polymer-dev

  • Support vertical space between attributes in polymer element definition (commit)
  • adapt to new mdv api. (commit)

polymer-expressions

  • terrible, horrible, hack (commit)
  • Force all expressions to reset deps on changes. (commit)
  • fixed long lines (commit)
  • protect against undefined context in Member.valueFn (commit)
  • add on- event bindings (commit)

tools

  • Sort tags in semver order (commit)
  • update mocha (commit)
  • sort elements (commit)
  • fix changelog diffing, add -n flag to disable tagging (commit)

code-mirror

  • Added value, mode, theme, tabSize, and lineNumbers attributes (commit)

google-map

  • add google-map-search query property to metadata (commit)
  • add google map places search (commit)

pixi-js

  • webkitShadowRoot -> shadowRoot (commit)

polymer-ajax

polymer-home-page

polymer-home-page-dev

  • make build.sh executable (commit)

polymer-list

  • adapt to new mdv api (commit)

polymer-ui-iconset

  • ensure iconset's src is always relative to the main document (currently only when native imports is used). (commit)

Stable Release 0.1.2: A new year, a new release!

10 Jan 17:56
Compare
Choose a tag to compare

General updates

Custom element renames

Some of the Custom Element callbacks and APIs were renamed at the spec level. The polyfills
and docs have been updated to
reflect these changes:

  • document.register-> document.registerElement
  • enteredViewCallback -> attachedCallback
  • leftViewCallback -> detachedCallback

The old names will be supported for a while long.

Single-use bindings

Anywhere you use {{}}, you can now use double brackets ([[]]) and the result will be a one-time binding. Polymer fills this value once.

<div foo="this value is inserted once: [[ obj.value ]]">

One time bindings can potentially be a performance win if you don't need the overhead of setting up property observation.

Other

CustomElements

  • enteredViewCallback ->attachedCallback, leftViewCallback -> detachedCallback (commit)
  • support document.registerElement (commit)
  • use two underscores, less likely to have conflict (commit)
  • Avoid conflicts with using Functions as Custom Element definitions (commit)
  • dispatch WebComponentsReady event on document instead of body. (commit)

NodeBind

  • remove deprecated forceCollectObservers (commit)
  • Remove async hack for select binding (and ensureScheduled which is no longer needed). (commit)
  • NodeBind: oneTime. (commit)
  • Observable.reset -> Observable.discardChanges (commit)
  • Node.bind(name, observable) (commit)

PointerEvents

  • Make sure a valid ShadowRoot or Document is returned from target.owner (commit)
  • Fix demo links with github hosting (commit)
  • Don't look for touch-action-delay support (commit)
  • Fix touchEvent support for touch-action (commit)

PointerGestures

  • Slightly polish pinch/rotate example (commit)
  • Add docs for pinch and zoom (commit)
  • add simple pinchrotate sample (commit)
  • add center location to events (commit)
  • remove version info from master branch (commit)
  • add pinch and rotate events to logger (commit)
  • start of a working pinch/rotate impl (commit)
  • update pointermap impl (commit)

ShadowDOM

  • Fix issue with getElementById (commit)
  • Update support for CustomElements: change document.register to document.registerElement; entered/leftViewCallbacks to attached/detachedCallbacks (commit)
  • Dispatch native events at all times (commit)
  • Do not create an applet element during startup (commit)

TemplateBinding

  • Nothing to do if false one-time if (commit)
  • remove deprecated forceCollectObservers (commit)
  • remove ensureScheduled from TemplateBinding (commit)
  • d8_benchmark (commit)
  • minor benchmark changes (commit)
  • Produce sub-templates synchronously. (commit)
  • Refactor template bindings: Clone and bind instance nodes in single pass (commit)
  • Fix codereview benchmark example (commit)
  • Implement one-time bindings. (commit)
  • Fix logic in processSinglePathBinding (commit)
  • Observable.reset -> Observable.discardChanges (commit)
  • TemplateBinding changes to support Observable interface change (commit)

WeakMap

observe-js

  • Allow CompoundObservers to be reset (commit)
  • allow Path/CompoundObservers to share observedSets (commit)
  • runEOM (commit)
  • Decouple observedSet from PathObservers (commit)
  • Cache & reuse direct observers when O.o is present (commit)
  • Revert "run benchmarks longer" (commit)
  • run benchmarks longer (commit)
  • remove unused properties (commit)
  • move addToAll to open() (commit)
  • Allow discardChanges to be called before open (commit)
  • This patch makes a set of related changes: (commit)
  • Remove isObservable check in addObserver. This isn't really adding much as the open() call will throw if it's absent. (commit)
  • CompoundObserver.getValues retrieve present values, but not update last reported values. (commit)
  • Fix ObserverTransform.getValue/setValue/discardChanges (commit)
  • add back observed_ as third arg to CompoundObserer callback (temporary) (commit)
  • Fix CompoundObserver for Object.observe when all deps are Observers (commit)
  • PathObserver.defineProperty(target, name, model, path) -> Observer.defineProperty(target, name, observable) (commit)
  • Refactor to support Observable interface (commit)

platform-dev

  • run audit log not by default (commit)
  • document.register -> document.registerElement (commit)
  • Refine timing related to calling Polymer() in main document scripts when polymer is imported. (commit)
  • Use shared "version" task to add git revision to version number between releases (commit)
  • allow polymer to bootstrap sooner. (commit)

polymer

polymer-dev

  • run audit log not by default (commit)
  • Add support for attached/detachedCallbacks; users can now implement attached/detached; in addition, entered/leftView remain available for bc. (commit)
  • include discardChanges (commit)
  • document.register -> document.registerElement (commit)
  • adapt to new observe-ms api. (commit)
  • proper factoring. (commit)
  • add DOMMouseScroll to mixed-case events list (commit)
  • support combining names in observe block (e.g. observe { 'foo bar baz': 'stuffChanged'}) (commit)
  • Refine timing related to calling Polymer() in main document scripts when polymer is imported. (commit)
  • use shared "version" task for adding git revision to builds between releases (commit)
  • mixin wrapper must not squelch return values (commit)
  • Fixes #378 (commit)
  • workaround for PolymerBase mixin API incompatibility with super() implementation (commit)
  • install landing page ([commit](https://github.com/...
Read more

Stable release 0.1.1: A new release, with all the tags!

12 Dec 01:28
Compare
Choose a tag to compare

Big Changes

This release sees the first tagged version numbers for all the polymer elements.

Changelog

CustomElements

  • Make name argument to document.register case insensitive (commit)
  • Throw DuplicateDefintion error if a custom element is registered more than once (commit)
  • simplify ‘unresolved’. Now to shim :unresolved, we simply remove an attribute named unresolved. (commit)
  • :unresolved shimmed via unresolved attribute; support is experimental. (commit)
  • Addresses #79 by adding an ‘eager’ flag to upgrade elements early and avoid fuoc. (commit)
  • force master for now (commit)
  • Add bower configs (commit)
  • Fixed #78 (commit)
  • Add newValue to attributeChangedCallback; fixes #77 (commit)

HTMLImports

  • remove version info from master branch (commit)
  • Fixes issue #42 (commit)
  • Fixes https://github.com/Polymer/HTMLImports/issues/40 (commit)
  • Polyfill document.currentScript as document._currentScript. (commit)
  • Update to follow current spec: (1) make imported document available via link.import, (2) fire load event when import is loaded. (commit)
  • implement node re-querying when a document acquires new scripts nodes in the middle of parsing; probably impairs performance, brittle wrt node injections above the current parser point (commit)
  • add bower.json (commit)

MutationObservers

  • remove version info from master branch (commit)
  • Less broken WeakMap dependency (commit)
  • add dependency on WeakMap (commit)
  • add bower config (commit)

NodeBind

  • remove version info from master branch (commit)
  • add bower configs (commit)

PointerEvents

  • remove version info from master branch (commit)
  • support touch-action in shadows (commit)
  • Add bower installation instructions (commit)
  • fix case (commit)
  • s/Polymer/polymer wrt GitHub (commit)
  • Map.forEach callback is actually (value, key, map) (commit)
  • use master for everything (commit)
  • Add bower configs (commit)
  • Prevent accidentally overriding preventDefault with undefined (commit)
  • Remove erroneous Touch.preventDefault call (commit)
  • Tunnel source event preventDefault to PointerEvents (commit)
  • Re-enable touch efp optimization for simple case (commit)
  • Added support for external hooks for event binding and dispatching. (commit)
  • Update everything that can't be polyfilled in old IE. (commit)
  • Allow for use in old IE by providing a non-getter API for size of pointermap (commit)

PointerGestures

  • remove version info from master branch (commit)
  • Revert "s/Polymer/polymer wrt GitHub" (commit)
  • s/Polymer/polymer wrt GitHub (commit)
  • make sure tapPrevented is copied from pointerevents (commit)
  • use master for everything (commit)
  • master not necessary on WeakMap (commit)
  • force master for now (commit)
  • Add bower configs (commit)
  • Add the element under the pointer to track events as relatedTarget (commit)

ShadowDOM

  • remove version info from master branch (commit)
  • IE does not trim an option.value if it is created with surrounding spaces. Partially fixes issue #333. (commit)
  • IE is unhappy if insertBefore has a refNode argument that is undefined so ensure it’s at least null. Partially addresses issue #333 (commit)
  • Avoid stack overflow when Element.matches is supported by the browser (commit)
  • add semi-colons for style. (commit)
  • add isntanceOf assert (commit)
  • Change GeneratedWrapper to CustomElementConstructor for readability. (commit)
  • Fixes https://github.com/Polymer/ShadowDOM/issues/190 (commit)
  • new FocusEvent fails in Safari (commit)
  • Use emulated dispatchEvent for EventTarget.prototype.dispatchEvent (commit)
  • Use FocusEvent for testing for constructable events instead (commit)
  • Add work around for Firefox bug related to window methods (commit)
  • Unwrap if needed for the reference node of insertBefore (commit)
  • Fix outerHTML setter so that mutation observers are notified (commit)
  • Implement inserAdjacentHTML (commit)
  • importNode needs to traverse the tree (commit)
  • Corrects document.importNode, fixes #317 (commit)
  • Set the constructor property on the prototype as required by WebIDL (commit)
  • Revert "s/Polymer/polymer" (commit)
  • s/Polymer/polymer (commit)
  • Move Range.js in build.json to match what we do in shadowdom.js (commit)
  • Disable the lineDashOffset test since it is not available in Firefox 25 (commit)
  • Fix issue with WebIDL attributes on Range (commit)
  • Add way to blacklist certain instance properties (commit)
  • Remove support for mutation events (commit)
  • MutationObserver: Fix issues related to shadow dom (commit)
  • Implement MutationObserver from scratch (commit)
  • Don't use native cloneNode (commit)
  • Fix issue with missing instance properties on canvas context classes (commit)
  • Preserve 'extends' when the ShadowDOM polyfill patches document.register ([commit](https://github.com/Polymer/components/ShadowDOM...
Read more

0.1.0: A Thanksgiving Odyssey

27 Nov 18:31
Compare
Choose a tag to compare
Pre-release

Major changes

The new Polymer 1, 2, 3:

  1. bower install --save Polymer/polymer Polymer/platform
  2. Script include platform.js in your main page: polymer is loaded as an import by each element
  3. Include your elements and go to town!

If you're creating your own <polymer-element>, we recommend importing polymer.html <link rel="import" href="bower_components/polymer/polymer.html"> instead of script including polymer.js.

polymer

  • Make resolvePath a little smarter (commit)
  • No longer include platform.js in a polymer build! (commit)
  • update build.json to refer to 'platform-dev' (commit)
  • Fixes #347 - extensions to type extension custom elements must specify an extends property when registering. (commit)

platform

  • Shim styles containing combinators in stylesheets and style elements; fixes #354 (commit)
  • remove pseudos tests since they have been removed. (commit)
  • importNode patch updated to remove SD polyfill portion. It now works with importNode. (commit)
  • Restore compatibility between TemplateBinding and Custom Elements polyfill. TemplateBinding now uses a staging document for creating elements. Elements should be upgraded there. Custom Elements requires manually setting up documents to support custom elements. To solve this generally, this requirement could be removed. Alternatively, TemplateBinding could be setup to work with the CE polyfill. For simplicity we’ve directly patched importNode here. This is the mechanism TemplateBinding uses to create dom in the staging document. Also included is a temp workaround for SD polyfill support for importNode. (commit)
  • make :host(.bar:not(.zot)) > #wahtever { work (commit)
  • Use a less likely to collide name for ‘host’ when parsing via cssom. (commit)
  • Fixes #45 - ShadowCSS.shimStyling generates incorrect CSS with extended element using @media rule (commit)
  • properly scope host rules when strictStyling option is used. (commit)
  • Fixes #345 - ShadowDOM polyfill breaks CSS content: attr(foo) (commit)
  • Fixes #43 - ShadowCSS shim: support comma separated (multiple selectors) in :host(). Example: :host(.foo:host, .bar:host) (commit)
  • unresolved attribute available as a feature of platform. With native imports, this should be able to be removed. It’s needed because HTMLImports does not properly polyfill loading imports before paint. (commit)
  • Workaround for https://code.google.com/p/chromium/issues/detail?id=229142 that should allow templates in the main document to resolve paths relative to it. (commit)
  • platform.js is now a build, old platform.js is now platform.dev.js (commit)

CustomElements

  • Make name argument to document.register case insensitive (commit)
  • Throw DuplicateDefintion error if a custom element is registered more than once (commit)
  • simplify [unresolved]. Now to shim :unresolved, we simply remove an attribute named unresolved. (commit)
  • CSS :unresolved shimmed via unresolved attribute; support is experimental. (commit)
  • Addresses #79 by adding an ‘eager’ flag to upgrade elements early and avoid fuoc. (commit)
  • Add bower configs (commit)

HTMLImports

  • Fixes https://github.com/Polymer/HTMLImports/issues/40 (commit)
  • Fix tests on FF. (commit)
  • Polyfill document.currentScript as document._currentScript. (commit)
  • Update to follow current spec: (1) make imported document available via link.import, (2) fire load event when import is loaded. (commit)
  • implement node re-querying when a document acquires new scripts nodes in the middle of parsing; probably impairs performance, brittle wrt node injections above the current parser point (commit)

MutationObservers

  • add dependency on WeakMap (commit)

PointerEvents

  • support touch-action in shadows (commit)
  • Add bower installation instructions (commit)
  • Prevent accidentally overriding preventDefault with undefined (commit)
  • Remove erroneous Touch.preventDefault call (commit)
  • Tunnel source event preventDefault to PointerEvents (commit)
  • Re-enable touch efp optimization for simple case (commit)
  • Added support for external hooks for event binding and dispatching. (commit)
  • Update everything that can't be polyfilled in old IE. (commit)
  • Allow for use in old IE by providing a non-getter API for size of pointermap (commit)

PointerGestures

  • make sure tapPrevented is copied from pointerevents (commit)
  • Add bower configs (commit)
  • Add the element under the pointer to track events as relatedTarget (commit)

ShadowDOM

  • Add work around for Firefox bug related to window methods (commit)
  • Fix outerHTML setter so that mutation observers are notified (commit)
  • Implement inserAdjacentHTML (commit)
  • Corrects document.importNode, fixes #317 (commit)
  • Set the constructor property on the prototype as required by WebIDL (commit)
  • Disable the lineDashOffset test since it is not available in Firefox 25 (commit)
  • Fix issue with WebIDL attributes on Range (commit)
  • Add way to blacklist certain instance properties (commit)
  • Remove support for mutation events (commit)
  • Implement MutationObserver from scratch (commit)
  • Don't use native cloneNode (commit)
  • Fix tests for HTMLAudioElement (commit)
  • Fix issue with missing instance properties on canvas context classes (commit)
  • Preserve 'extends' when the ShadowDOM polyfill patches document.register (commit)
  • If parentNode is not correct check for child in childNodes (commit)
  • Add the host property to the ShadowRoot interface (commit)
  • Add Audio and Option constructors (commit)
  • Fix issue with canvas parameters (commit)
  • Explicitly read/write ShadowDOMPolyfill on window (commit)

TemplateBinding

  • use staging document for binding elements (commit)
  • add bower configs (commit)
  • remote unused argument from deepCloneIgnoreTemplateContent (commit)
  • Enter a description of the change. discard optimization to use cloneNode deep in some cases (commit)
  • remove |name| param from prepareBinding fn (commit)

WeakMap

Read more

Stable release 2013-11-07

07 Nov 22:12
Compare
Choose a tag to compare
Pre-release

Major changes


CustomElements

  • Add newValue to attributeChangedCallback; fixes #77 (commit)

PointerEvents

  • Prevent accidentally overriding preventDefault with undefined (commit)
  • Tunnel source event preventDefault to PointerEvents (commit)
  • Added support for external hooks for event binding and dispatching. (commit)
  • Update everything that can't be polyfilled in old IE. (commit)
  • Allow for use in old IE by providing a non-getter API for size of pointermap (commit)

PointerGestures

  • Add the element under the pointer to track events as relatedTarget (commit)

ShadowDOM

  • Polyfill'd MutationObserver from scratch w/o relying on MutationEvent (commit)
  • Don't use native cloneNode (commit)
  • Fix issue with missing instance properties on canvas context classes (commit)
  • Preserve 'extends' when the ShadowDOM polyfill patches document.register() (commit)
  • If parentNode is not correct check for child in childNodes (commit)
  • Add the .host to the ShadowRoot interface (commit)
  • Add Audio and Option constructors (commit)

labs

  • Vulcanize has moved to https://github.com/Polymer/vulcanize (commit)
  • book search app (commit)
  • super-scroll example (commit)
  • polymer-sectioned-list: just needs <shadow></shadow> (commit)
  • polymer-sectioned-list: list with sticky headers (commit)
  • contacts-v2: polyfill @host -> :host (commit)
  • contacts-v2: use polymer-sectioned-list (commit)
  • contacts-v2: ink animation in desktop mode (commit)
  • contacts-v2: contact photo styling (commit)
  • contacts-v2: some responsive styling (commit)
  • contacts-v2: different "save" button (commit)
  • contacts-v2: various style adjustments (commit)
  • contacts-v2: complete the delete animation (commit)
  • contacts-v2: use tokenList filter (commit)
  • contacts-v2: use data binding for event handlers (commit)
  • cat and hat experiments (commit)
  • shuttle: use resolvePath for favorite icon (commit)
  • shuttle: change to use tokenList filter (commit)
  • scrollToRow (commit)
  • horizontal list example (commit)
  • polymer-virtual-list: fire scroll event (commit)

more-elements

  • Bowager-style discovery experiment (commit)

observe-js

  • Add support for new Object.observe change record names (commit)

platform

  • handle multiple selectors with ^ and ^^. (commit)
  • add Polymer thunk so we can load polymer via (async) import (commit)
  • Fixed host styles for type extension elements. (commit)

polymer

polymer-elements

  • polymer-selector: add selectedIndex (commit)
  • polymer-media-query: allow compound media queries (commit)
  • polymer-animation: can have multiple targets (commit)
  • polymer-overlay: only override transition target if null (commit)

polymer-expressions

  • Allow filters in 'in' and 'as'-expressions. (commit)

polymer-ui-elements

  • polymer-ui-overlay: don't style , fix backdrop when transitioning (commit)
  • polymer-ui-icon: support 4 value syntax returns from getComputedStyle backgroundPosition (commit)
  • evolve discover.html (commit)
  • rename Bowager-style discovery experiment (commit)
  • Bowager-style discovery experiment (commit)
  • polymer-ui-card: adjust width in metadata (commit)
  • polymer-ui-field: update metadata to add input so inspector can show placeholder and value properties (commit)
  • polymer-ui-menu-button: fix positioning (commit)
  • polymer-ui-icon: set background-size to make 2x image works (commit)

Stable release 2013-10-25

25 Oct 20:25
Compare
Choose a tag to compare
Pre-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)

Stable release 2013-10-10

10 Oct 23:33
Compare
Choose a tag to compare
Pre-release

CustomElements

  • Remove MutationObserver filtering of script, style, and template elements (commit)

HTMLImports

  • tweak order of operations so that document._url is available at element upgrade time when using imports dynamically (commit)

PointerEvents

  • Set buttons to undefined by default to catch lack of event.buttons support in PointerEvent constructor (commit)
  • Avoid for-in loops with explicity copied keys (commit)

PointerGestures

  • Use explicit properties to avoid for-in loops (commit)

ShadowDOM

  • {entered,left}DocumentCallback -> {entered,left}ViewCallback (commit)
  • Add work around for X-Tag issue related to relatedTarget (commit)
  • Allow dispatching the same event multiple times (commit)

labs

  • contacts-v2: close the overlay when resizing to narrow (commit)
  • contacts-v2: hide toolbar in contact details if tablet (commit)
  • contacts-v2: responsive contact list (commit)
  • contacts-v2: sidebar (no transitions) (commit)
  • panel experiment (commit)

platform

  • Work around sourcemap issues with use of banner option (commit)

polymer

  • add preventDispose property to prevent element unbinding when remove from document. Fixes #312 (commit)
  • don't add empty string name to publish block; fixes #313 (commit)
  • provide the mutation records to onMutation listeners (commit)
  • Plaform.flush() when polymer sees an event. (commit)

polymer-elements

  • polymer-animation: update timing param names (commit)
  • give polymer-grid ability to auto-marshal nodes (via auto property) (commit)
  • polymer-flex-panel: set isContainer on the prototype instead of as the attribute so it won't show up in the markup (commit)

polymer-ui-elements

  • polymer-ui-animated-pages: polymer-ui-pages with transitions (commit)
  • polymer-ui-toolbar: import icon-button in metadata (commit)
  • separate activeTheme and theme concepts from theme-aware controls, so that an inherited theme is not expressed as an attribute (commit)
  • polymer-ui-toolbar: fix CSS selector for nested ui-toolbar (commit)
  • polymer-ui-basic-app: add "hideMenuButton" for hiding the default menu button; add basic-app3 (commit)

projects

  • Adjusts to pica app

tools

  • Added unversioned builds in release zip (commit)

Stable release 2013-10-03

04 Oct 00:02
Compare
Choose a tag to compare
Pre-release

General changes

  • Polymer's FOUC prevention - Polymer's FOUC prevention is now customizable through polymer-veiled and polymer-unveil classes. To veil (initially hide) an element either include the polymer-veiled class on the element or add to the array: Polymer.veiledElements. This list includes body by default but that can be removed to prevent body from getting de-fuoc'd. Note: Polymer automatically unveils elements at WebComponentsReady time, but elements can be dynamically unveiled by (1) adding the polymer-veiled class to hide them and (2) when they are ready, calling Polymer.unveilElements().
  • Souremaps should now be fixed. (commit). Please holler if you see otherwise.
  • Removed deprecated Polymer.register() (commit)
  • lightdom attribute on <polymer-element> for producing light dom instead of shadow dom.

CustomElements

  • Refine boot logic to address #68 (commit)
  • Defer entered/leftView() on platforms without MutationObserver (IE) to make polyfill less flaky. (commit)
  • Avoid using native implementation when document.webkitRegister is available. It's outdated and no longer spec compliant. (commit)
  • enterView/leaveView() callbacks to apply only to primary document. (commit)

HTMLImports

  • Expose HTMLImports.ready flag (commit)
  • Avoid using readyState interactive in IE. (commit)
  • HTMLImports polyfill can be loaded asynchronously (commit)
  • Added IE9 support (commit)

NodeBind

  • Fix for using radio buttons (commit)

PointerEvents

  • Support Blink's touch-action-delay property (commit)

ShadowDOM

  • Fixes with syncing render nodes (commit)
  • Call nodeWasAdded() on all the nodes in the added tree. (commit)
  • Change from using a WeakMap to use expando (commit)

TemplateBinding

  • Fixed #285. Bindings in nested templates with named scopes fail to update correctly after initial population (commit)

labs

  • Lots of work on the contacts and shuttle demo apps.
  • x-tags experiments (commit)
  • Brick + Polymer experiments (commit)
  • Add --inline flag to Vulcanizer - inline all scripts into main document (opposite of --csp) (commit)
  • gs-app: a wip app for getting started (commit)
  • <css-to-webanimations-el> - create web animations code from CSS animations (commit)

more-elements

  • new x-meta protocol, begin distributing metadata.html (commit)
  • Fixed IE 10 related errors (commit)

observe-js

  • Include observed array as forth callback arg for non-valueFn CompoundPathObserver. (commit)

platform

  • make shimmed styles available on root for extensibility. (commit)
  • Removed {NodeList,NamedNodeMap,HTMLCollection}.forEach, use .array() instead (commit)
  • Souremaps have been fixed. (commit)

polymer

  • support stamping template into lightDOM instead of ShadowDOM when polymer-element has lightdom attribute (Issue #222) (commit)
  • User attributes are not overriden with instance attributes (ref #190) (commit)
  • coalesce all desugaring and call it before user registerCallback extension point (commit)
  • Generalize Polymer's FOUC prevention strategy; Fixes #276. (commit)
  • Fixed #298 - <propertyName>Changed() may get called twice for a single property value change (commit)
  • Removed deprecated.js entirely (commit)
  • Removed deprecated Polymer.register (commit)
  • Faster node collection iteration. (commit)
  • ensure super works on prototype challenged platforms (IE). This ensures we find Element.bind via super. (commit)
  • Optimized iterations by caching keylist for publish and observe maps (commit)
  • defer all create-time preparation work if we have no defaultView unless forceReady flag is set. Otherwise perform this work at enteredDocument time. This is a stand in for an ownerDocumentChangedCallback. (commit)

polymer-elements

  • polymer-localstorage: add autoSaveDisabled property (commit)
  • change script ordering, fixes #26. (commit)
  • polymer-meta: mark alwaysPrepare so becomes ready in imports. (commit)
  • polymer-collapse: better way to check for initial update (commit)

polymer-ui-elements

  • add 'basic-app' experimental element(s) (commit)
  • polymer-ui-card: expose noCurve property (commit)
  • polymer-ui-toggle-button: use @polyfill-rule to workaround ShadowCSS issue on Safari; use flexbox to align labels; add -ms-user-select for IE (commit)
  • update callback names: inserted -> enteredView. (commit)
  • polymer-ui-menu-button: flip parallax tilt direction (commit)
  • polymer-ui-menu-button: iOS7-esque parallax effect (commit)

projects

  • Sandbox: add polymer-grid-layout to the palette (commit)
  • stopPropagation on nav taps (commit)
  • styling and ace editor updates for IE (commit)
  • use prefixed flexbox in IE 10 (commit)

toolkit-ui

  • g-panels: fix transitions in Chrome Canary where @keyframes is supported but transform is not. (commit)
  • support ms prefixed flexbox (commit)

tools

  • Fix up the source map url for the version tagged builds (commit)
  • Fix zip step for flattened tools (commit)
  • Fix execution-or-import check for windows (commit)

Stable release 2013-09-12

13 Sep 00:25
Compare
Choose a tag to compare
Pre-release

General

  • <polymer-element> supports new requirements for type extension custom elements.
  • . The lifecycle entered/leftDocumentCallback have been renamed to entered/leftViewCallback to match the spec changes. Polymer supports entered/leftView as callback names.
  • The inserted and removed callbacks that were previously deprecated have now been removed. Use entered/leftView instead.
  • polymer-elements and polymer-ui-elements now have configs to be used with Bower.

CustomElements

  • move MutationObserver definition to correct Firefox problem. (commit)
  • Rename entered/leftDocumentCallback to entered/leftViewCallback to match spec change (commit)

ShadowDOM

  • Do not remove the shadow dom of nested hosts. (commit)
  • Fix insertBefore for IE10. (commit)
  • Replace SideTable with WeakMap (commit)
  • Make sure we call nodeWasAdded_ on all added nodes (commit)
  • Micro optimize rendering (commit)
  • Optimization: create an in memory tree that is later used to to diff the real tree against (commit)

labs

  • Add build status for chromecast (commit)

observe-js

  • Don't assume document on global for CSP (commit)
  • setValueFrom must check isObject as it traverse path and sets value (fixes Safari failure) (commit)
  • Log ex.stack instead of ex for better debug output on supporting platforms, fixes #27 (commit)
  • Add back ArrayObserver.calculateSplices (commit)

polymer

  • polymer-element supports new requirements for type extension custom elements (commit)
  • rev for release (commit)
  • Adapt to CustomElement spec changes, entered/leftViewCallback; Polymer now supports entered/leftView as callback names. (commit)
  • add 'onMutation' (experimental) function to Base (commit)

polymer-elements

  • <polymer-localstorage>: add autoSaveDisabled to disable auto save (commit)
  • Added bower config for the elements (commit)

polymer-ui-elements

  • Added bower config for the elements(commit)
  • <polymer-ui-card>: set touch-action to receive PointerEvents for swipe (commit)

tools

  • Add WeakMap to pull-all.sh (commit)

Stable release 2013-09-05

05 Sep 22:03
Compare
Choose a tag to compare
Pre-release

CustomElements

  • Address same issue as PR 57. Android browser is not supported, but implemented fix since it's trivial. (commit)
  • Remove CustomElements.watchAllShadows. Platform repo now overrides createShadowRoot() and handles this automatically. Fixes issue #24. (commit)

ShadowDOM

  • Use eval() for default generated getters, setters and methods. (commit)
  • Fix issues related to tree changes. (commit)
  • Optimization for wrapping code (commit)

observe-js

  • Changed hasEval logic to always test for eval when CSP securityPolicy.allowsEval is true (commit)
  • Remove Path.isValid, expose path.valid. Make invalidPath a singleton (commit)
  • Expose Path.get and support Paths as arguments to PathObserver and CompoundPath observer (commit)
  • Dirty-check underlying value -- not computed value (commit)

NodeBind

TemplateBinding

  • getInstanceModel() renamed to prepareInstanceModel() (commit)
  • Avoid calling isTemplate for every instance created (commit)
  • getBinding renamed to prepareBinding/bindingFn (commit)
  • Fixes IE (commit)

polymer-expressions

  • Use path.valid, rather than Path.isValid (commit)
  • Caching references to Path objects (commit)

platform

  • Remove deprecated window.dirtyCheck(); use Platform.flush() instead. Fixes issue #10 (commit)
  • Added @polyfill-rule directive for polyfills styling; helps address issue #36 (commit)

polymer

  • Better support for using Vulcanizer and inline CSS stylesheets. Addresses issue #262 (commit)

polymer-elements

  • fire polymer-grid-layout event after performing layout (commit)
  • Added documentation for <polymer-layout> (commit)

polymer-ui-elements

  • Improved theme handling code for <polymer-ui-icon> (commit)

more-elements

  • <flatiron-director> routing regex now accepts all characters (commit)

toolkit-ui

  • Using Platform.flush() instead of deprecated dirtyCheck (commit)

todomvc

labs

  • Shuttle v2 (commit)
  • Layout animation now supports nested absolute / relative positioning. (commit)
  • Layout animation add support for shadow DOM. (commit)
  • Vulcanizer now inlines everything from imports (commit)