Skip to content

Releases: Polymer/polymer

Stable Release v1.2.3

17 Nov 01:31
Compare
Choose a tag to compare
  • Call decorate instead of bootstrap for template prepping (commit)
  • Fix global leak test. Necessary due to changes to test harness. (commit)
  • Defer property application only when a custom-style is first created. (commit)
  • Update comment. (commit)
  • Simplify custom-style property deferment. (commit)
  • [ci skip] update changelog (commit)
  • Fixes #2692. Ensures that custom-style properties are applied async but before next render so that all properties are defined before any are consumed by custom-styles. Also refines dom-module's early upgrade code so that it does not affect other elements (corrects for example, custom-styles upgrading before expected). (commit)
  • Remove undesired full-stop from outputs (commit)
  • Fix Formatting (commit)

Stable Release v1.2.2

17 Nov 01:31
Compare
Choose a tag to compare
  • 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 polypill 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)

Release v1.2.1

29 Oct 22:35
Compare
Choose a tag to compare
  • Fix test for SD polyfill (commit)
  • Add pre-condition check for completeness. (commit)
  • Find non distributed children with deepContains (commit)
  • Ensure outer paths aren't forwarded to instance props. Fixes #2556. (commit)
  • Add Polymer.dom.deepContains (commit)
  • [ci skip] Update CHANGELOG (commit)
  • isLightDescendant should return false for self (commit)
  • Fix for mixins declaration with space before colon. Allow any space character or even { and } (before and after capturing pattern correspondingly) as pattern boundaries instead of new lines only. In minified sources there might be no space, semicolon or line start, so we need to account that as well. (commit)

Stable Release v1.2.0

23 Oct 00:49
Compare
Choose a tag to compare
  • A simpler travis config (commit)
  • Fix #2587: When Polymer.dom(el).appendChild(node) is called, cleanup work must be performed on the existing parent of node. This change fixes a missing case in this cleanup work: if the existing parent has a observer via Polymer.dom(parent).observeNodes, it needs to be notified that node is being removed even if the node does not have specific logical info. For example, if an observed node has no Shady DOM and has a child that is removed. A test for this case was added. (commit)
  • add fancy travis status badge to the readme (commit)
  • Do not configure compound property/attribute binding if literal if empty. Fixes #2583. (commit)
  • Update .travis.yml (commit)
  • Remove web-component-tester cache. (commit)
  • Fix IE10 regressions. Fixes #2582 * Copy attribute list before modifying it * Fall back to document for current document if no currentScript (commit)
  • Allow _atEndOfMicrotask to be patchable. (commit)
  • contributing copy fixup (commit)
  • Update CONTRIBUTING.md (commit)
  • Add travis config (commit)
  • Factor into functions. (commit)
  • Fix deepEqual on Safari 9 due to Safari enumeration bug. (commit)
  • ensure distribution observers see all changes that can come from attributes under native Shadow DOM; +minor factoring (commit)
  • Add .getDistributedNodes observation. Refactor flush. (commit)
  • Add docs (commit)
  • Make shadow attribute tracking automatic based on detecting a that depends on attributes; add tests. (commit)
  • Add comments. (commit)
  • Fix typo. (commit)
  • Replace _compoundInitializationEffect with statically-initialized literals in the template for attributes & textContent, and by configuring literal values of properties in _configureAnnotationReferences. (commit)
  • Simplify change tracking by always dirty checking at the observer level. Under Shadow DOM, use a deep MO to watch for attributes. (commit)
  • Fix URL to component.kitchen (commit)
  • Update the Google+ community link (commit)
  • Fixes from review. (commit)
  • Remove compound binding limitation from primer. (commit)
  • Exclude compound bindings from configure; revisit later. (commit)
  • Apply effect value from compound parts. (commit)
  • Store binding parts in notes. (commit)
  • Fix missing var (commit)
  • Add radix for correctness. (commit)
  • Separate public & private get, flip conditions, add notifyPath API. (commit)
  • Fix typo in comments. (commit)
  • Improvements to path API. Fixes #2509. * Allows set to take paths with array #keys * Allows notifyPath to take paths with array indices * Exposes public notifySplices API (commit)
  • Fix merge issue. (commit)
  • Denote keys with # to disambiguate from index. Fixes #2007. (commit)
  • update CHANGELOG to 1.1.5 (commit)
  • make tests work on polyfill. (commit)
  • add observeNodes tests. (commit)
  • Add optional attribute tracking to support better distributed node notifications under shadow dom. (commit)
  • Add Polymer.dom().notifyObservers method to 'kick' observers, for example, when attributes change under Shadow DOM. (commit)
  • Add mutation tracking for distributedNodes. (commit)
  • Factor dom-api's into separate helpers. (commit)
  • Adds Polymer.dom(element).observeChildren(callback) api (commit)
  • Adds getEffectiveChildNodes, getEffectiveChildren, getEffectiveTextContent (commit)

v1.1.5

08 Oct 21:18
Compare
Choose a tag to compare
  • Simplify (commit)
  • Clean up templatizer _pathEffectorImpl. (commit)
  • Add issue link. (commit)
  • Missing var keyword (commit)
  • Make sure we only actually call _listen once (commit)
  • Add templatizer tests. Fix issues from tests. (commit)
  • Use 'value' in place of 'object' when referring to detail. (commit)
  • Allow any type, not just objects, as the detail for fire. (commit)
  • Make model param of stamp method optional. (commit)
  • add test to ensure unlisten events do not fire (commit)
  • add tests (commit)
  • Only one real listener per listen call (commit)
  • add util method for shadow children (commit)
  • Add notify-path API to templatized template. Fixes #2505. (commit)
  • Parent property values should come from template. Fixes #2504. (commit)
  • Added note about including a clear repro case. (commit)
  • added request to submit an issue before sending a PR (commit)
  • update CHANGELOG to 1.1.4 (commit)

v1.1.4

08 Oct 21:17
Compare
Choose a tag to compare
  • 📝 Update description (commit)
  • 🎨 Use npm command bin lookup (commit)
  • 🍇 Add missing test dependency (commit)
  • Reset handlers queue after finished replaying events (commit)
  • Update the README.md to Polymer 1.1 (commit)
  • Add note on arrayDelete with array vs. path (commit)
  • Add unlinkPath tests. (commit)
  • Update changelog (commit)
  • Remove dead code; add tests. (commit)
  • Allow multiple paths to be linked using linkPath. Fixes #2048 (commit)
  • Fix docs for stamp method (commit)
  • http to https for jsbin (commit)
  • Typo (commit)
  • Fix typos in PRIMER.md (commit)

v1.1.3

08 Oct 21:17
Compare
Choose a tag to compare
  • Fixes #2403 (commit)
  • Only try to decrement gesture dependency counter if dependency exists (commit)

v1.1.2

28 Aug 23:45
Compare
Choose a tag to compare
  • Improve composed parent tracking. (commit)
  • move the mixing-in of behaviors so that it happens before register behaviors are invoked (commit)
  • Fixes #2378 (commit)
  • Fixes #2356: issue a warning and don't throw an exception when a style include cannot be found. Fixes #2357: include data now comes before any textContent in a style element. (commit)
  • remove unneeded protection code for extends. (commit)
  • Add test (commit)
  • add test for registered behavior affecting a value then used by features (commit)
  • add tests for new Polymer() argument support (and make Base tests aware of new abstract method _desugarBehaviors) (commit)
  • invoke registration behavior before registering features, so behaviors can alter features, this requires calling behavior flattening as part of prototype desugaring instead of as part of behavior prep, so the flattened list is available early (commit)
  • do registered behaviors before invoking registerFeatures so registered can affect properties used by features (ref #2329) (commit)
  • specifically create Polymer object on window to satisfy strict mode (fixes #2363) (commit)
  • Remove forceUpgraded check in dom-module.import (commit)
  • Fixes #2341: branch Polymer.dom to use native dom methods under Shadow DOM for: appendChild, insertBefore, removeChild, replaceChild, cloneNode. (commit)
  • Fixes #2334: when composing nodes in shady dom, check if a node is where we expect it to be before removing it from its distributed position. We do this because the node may have been moved by Polymer.dom in a way that triggered distribution of its previous location. The node is already where it needs to be so removing it from its parent when it's no longer distributed is destructive. (commit)
  • use cached template annotations when possible (commit)
  • fix comment typos (commit)
  • Update changelog with v1.1.1 release (commit)

v1.1.1

20 Aug 22:36
Compare
Choose a tag to compare
  • Fixes #2263: ensure custom-style can parse variable definitions in supported selectors (e.g. /deep/) without exception due to unknown css. (commit)
  • Fixes #2311, #2323: when elements are removed from their previous position when they are added elsewhere, make sure to remove them from composed, not logical parent. (commit)
  • Update Changelog (commit)
  • Add selectedItem property (commit)
  • Add test for large splice (commit)
  • Use numeric sort when removing dom-repeat instances (commit)
  • Fixes #2267: properly find dom-module for mixed case elements (commit)
  • Fixes #2304: avoid trying to read style data from imports that did not load. (commit)
  • Avoid saving logical info on parent when a content is added inside a fragment + slight factoring. (commit)
  • Fixes #2276: avoid losing logical information and simplify logical tree handling (commit)
  • Moved check earlier. Added test for negative literal. (commit)
  • Fixes #2253: refine logical tree check and populate parents of insertion points with logical info only if necessary. Fixes #2283: when a node is removed, we need to potentially distribute not only its host but also its parent. (commit)
  • Support for negative numbers in computed bindings (commit)

v1.1.0

17 Aug 16:16
Compare
Choose a tag to compare
  • Add comment. (commit)
  • Add tests for key splice fix. (commit)
  • Fixes #2251: resolve imported stylesheets against correct document. (commit)
  • Reduce keySplices to minimum change set before notifying. Fixes #2261 (commit)
  • Make clearSelection public. (commit)
  • Add logical info iff an element being added is an insertion point; do not add logical info for any element in a shady root. (commit)
  • Make clearSelection public. (commit)
  • Fixes #2235. Manages logical information in shady distribution more directly by capturing it explicitly when needed and not whenever distribution is run. (commit)
  • ensure path fixup is applied correctly to styles in templates. (commit)
  • Based on feedback, change module to include in custom-style and dom-module style marshaling. (commit)
  • Document custom-style module property. (commit)
  • Add comment. (commit)
  • Add tests and require module to be on style elements. (commit)
  • custom-style supports module property that accepts a dom-module containing style data. don-module style data may be specified inside <template> elements and style elements also support module attribute for referencing additional modules containing style data. (commit)
  • don-module no longer needs to eagerly upgrade custom elements since the web components polyfills do this automatically. (commit)