Polymer v1.2.2 Release Notes

Release Date: 2015-11-12 // over 8 years ago
    • ๐Ÿ‘‰ use local reference for wrap. (commit)

    • โž• Add Polymer.DomApi.wrap (commit)

    • For correctness, bind listeners must use a property's current value rather than its passed value. (commit)

    • ๐Ÿ’… Explicitly making an element's _template falsy is now considered an allowable setting. This means the element stamps no content, doesn't collect any styles, and avoids looking up a dom-module. This helps address #2708 and the 5 elements Polymer registers that have no template have been set with _template: null. (commit)

    • โœ… Make test work under native Shadow DOM. (commit)

    • In _notifyListener, only use e.detail if the event has a detail. This is necessary for ::eventName compatibility where eventName is a native event like change. (commit)

    • ๐Ÿ›  Fix TOC re: host event listeners. (commit)

    • ๐Ÿ›  Fix compound bindings with braces in literals (commit)

    • Re-enable listeners of the form 'a.b' (todo: make this more efficient). (commit)

    • Avoid stomping on property objects when mixing behaviors. (commit)

    • โšก๏ธ Update test to avoid template polyfill issues. (commit)

    • ๐Ÿ›  Ensure parent node exists when stamping. Fixes #2685. (commit)

    • โž• Add global leak test to runner. (commit)

    • โž• Add global leak test. (commit)

    • ๐Ÿ›  Fix typo that prevented correct functioning of Polymer.dom under Shadow DOM and add tests to catch. (commit)

    • maintain compatibility with older _notifyChange arguments. (commit)

    • Weird assignment fix (commit)

    • โž• add comment. (commit)

    • For efficiency, use cached events in data system, for property and path changes. (commit)

    • ๐Ÿ›  Fixes #2690 (commit)

    • ๐Ÿ”„ change after render method to Polymer.RenderStatus.afterNextRender (commit)

    • ๐Ÿ“Œ When effect values are applied via bindings, use fromAbove gambit to avoid unnecessary wheel spinning. (This is now possible since we have fast lookup for readOnly where we want to avoid doing the set at all). (commit)

    • ๐Ÿ”ง do readOnly check for configured properties where they are handed down, rather than when they are consumed. (commit)

    • Minor cleanup. (commit)

    • Avoid creating unnecessary placeholders for full refresh. (commit)

    • Simplify (commit)

    • ๐Ÿ›  Fix typo. (commit)

    • โšก๏ธ Update docs. (commit)

    • โœ‚ _removeInstance -> _detachAndRemoveInstance (commit)

    • โœ‚ Remove limit & chunkCount API. Refactor insert/remove. (commit)

    • โž• add back deepContains (got removed incorrectly in merge). (commit)

    • ๐Ÿ›  fix line endings. (commit)

    • โช revert host attributes ordering change optimization as it was not worth the trouble (barely measurable and more cumbersome impl). (commit)

    • ๐Ÿšš rename host functions fix typos afterFirstRender is now raf+setTimeout dom-repeat: remove cruft (commit)

    • ๐Ÿ›  Fix Gestures when using SD polyfill (commit)

    • ๐Ÿ›  Fix for multiple consequent spaces present in CSS selectors, fixes #2670 (commit)

    • ๐Ÿ”ง avoid configuration work when unnecessary (commit)

    • lazily create effect objects so we can more easily abort processing. avoid forEach (commit)

    • ๐Ÿ‘ provides support for memoizing pathFn on effect; only process effects/listeners if they exist. (commit)

    • ๐Ÿ“ memoize pathFn on effect (note: notifyPath change made in previous commit); avoid forEach. (commit)

    • Avoid using .slice and .forEach (commit)

    • โž• Added support for short unicode escape sequences, fixes #2650 (commit)

    • ๐Ÿ›  Fix for BEM-like CSS selectors under media queries, fixes #2639. Small optimization for produced CSS (empty rules produced semicolon before, now empty string). (commit)

    • ๐Ÿ›  Fix parsing of custom properties with 'var' in value (commit)

    • Clean up cruft. (commit)

    • โž• Add tests and fix issues. (commit)

    • dom-repeat chunked/throttled render API (commit)

    • ๐Ÿ›  Fix formatting. (commit)

    • โž• Add notes on running unit tests. (commit)

    • ๐Ÿ›  Corrected method name. Fixes #2649. (commit)

    • ๐Ÿ›  Fix typos in more efficient array copying. (commit)

    • โž• Adds Polymer.RenderStatus.afterFirstRender method. Call to perform tasks after an element first renders. (commit)

    • More efficient array management in Polymer.DomApi. (commit)

    • ๐Ÿ›  Fixes #2652 (commit)

    • โšก๏ธ [ci skip] update changelog (commit)

    • ๐Ÿ›  Fix whitespace around bindings. (commit)

    • โž• Add support for strip-whitespace. Should fix #2511. (commit)

    • ๐Ÿ‘Œ Improve efficiency of attribute configuration. (commit)

    • โœ‚ Remove use of Function.bind (commit)

    • ๐Ÿ›  fix typos. (commit)

    • ๐Ÿšš Re-use data change events. Remove unused/undocumented listener object specific node listening feature. (commit)

    • โž• Add flattened properties to dom-bind, templatizer, optimize by 'liming properties that are protected/private and not readOnly from list. (commit)

    • ๐Ÿ”ง Use flattened list of properties for fast access during configuration and attribute->property (commit)

    • Assemble effect strings at prototype time. (commit)

    • ๐Ÿ‘ Fallback to string lookup to fix support for extra effects. (commit)

    • ๐Ÿ›  Fix typo. (commit)

    • Correct NodeList copying. (commit)

    • Avoid Polymer.dom.setAttribute when unneeded. (commit)

    • More efficient iteration. (commit)

    • Avoid forEach (commit)

    • Copy dom NodeList faster than slice. (commit)

    • Avoid function lookup by string. (commit)

    • โž• Add test for parsing multi-line css comments (commit)