Skip to content

Releases: Polymer/polymer

v1.11.3

13 Feb 00:05
Compare
Choose a tag to compare

Meaningful Changes

  • Fix a memory leak where element templates are cached on the prototype
  • fix an expectation on event paths existing in gestures library
  • Port scoped keyframe naming fix from 2.x

Raw Notes

  • Improve comment. (commit)

  • Add test. (commit)

  • Make _template an actual , for correctness. (commit)

  • Ensure template instance isn't cached on prototype. Fixes #5096 (commit)

  • Port keyframe name fix from ShadyCSS (#5038) (commit)

  • test if path exist with ghost clicks events (#4703) (commit)

  • [ci skip] update changelog (commit)

v2.5.0

02 Feb 23:48
Compare
Choose a tag to compare

New Features

  • Added Polymer.htmlLiteral tagged template literal function to safely include non-<template> variables in Polymer.html templates.
    // Example
    const title = Polymer.htmlLiteral`World!`;
    class LiteralElement extends Polymer.Element {
      static get template() {
        return Polymer.html`<span>Hello ${title}</span>`
      }
    }
    • Note: This is now the only way to include literals in Polymer.html strings
  • Allow use of templatizer without an owner & host property

Meaningful Changes

  • Fix unintended behavior change in Polymer.ResolveUrl.resolveUrl() by again allowing urls beginning with # and / to be treated as absolute URLs.
    • If you want a more standard URL handling behavior, please use new URL()
  • Fix observers being called twice
  • Ensure path notifications from templatized instances don't throw
  • Fix differences between this.slice() and Array.prototype.slice()

Raw Notes

  • Update types (commit)

  • Update JSDocs to use tags (commit)

  • Fix type declarations inadvertedtly referencing Polymer.Element. (#5084) (commit)

  • Use class syntax in documentation (#5077) (commit)

  • Add hash/abs URL resolution tests. (commit)

  • Update types. (commit)

  • Add comments about resolveUrl idiosyncrasies. (commit)

  • Revert "Move absolute url logic to element-mixin" (commit)

  • Added Polymer.version to polymer-externs (#5079) (commit)

  • Avoid tracking parentNode since it's unncessary (commit)

  • Update types. (commit)

  • Fix nit. (commit)

  • Avoid comment constructor for IE support. (commit)

  • Disallow non-templates as interpolations in Polymer.html (#5023) (commit)

  • Exclude index.html from type generation. (#5076) (commit)

  • update types (commit)

  • [element-mixin] Do not create property accessors unless a property effect exists (commit)

  • Use containers for testing again (#5070) (commit)

  • Invoke JS compiler rename for properties (commit)

  • Add package-lock.json back (commit)

  • fix test. (commit)

  • Enhance robustness by replacing slot with a comment (commit)

  • Avoid use of element accessors on doc frag to fix IE/Edge. (commit)

  • Fix linter errors (commit)

  • Fix issue with observers being called twice (commit)

  • Revert package-lock change (commit)

  • [ci-skip] Update changelog (2.4.0) (commit)

  • Add package-lock.json to .gitignore (commit)

  • Update types (commit)

  • Add comments re: instanceProps (commit)

  • Change if-condition to check for arguments.length (commit)

  • Delete package-lock.json (commit)

  • [ci skip] Fix test case name (commit)

  • Fix issue where el.splice could not clear full array (commit)

  • Make owner optional as well. (commit)

  • Update package-lock.json (commit)

  • Update typescript types again, after fixing jsdoc. (commit)

  • Fix lint warnings. (commit)

  • Update typescript types. (commit)

  • Ensure path notifications from templatized instances don't throw. Fixes #3422 (commit)

  • Allow templatizer to be used without owner or host prop forwarding. Fixes #4458 (commit)

  • Templatize: remove slots when hiding children (commit)

  • Clarify API docs for PropertyAccessors mixin (commit)

v2.4.0-rc.1

20 Dec 22:28
Compare
Choose a tag to compare
v2.4.0-rc.1 Pre-release
Pre-release
2.4.0-rc.1

Stable Release v1.11.2

15 Dec 01:23
Compare
Choose a tag to compare

Meaningful Changes

  • fix :dir selector when used with :-webkit-any and :-moz-any selectors

Raw Notes

  • Fix styling tests with Firefox (commit)

  • Handle :-webkit-any selectors correctly (commit)

  • [ci skip] update changelog (commit)

Stable Release v2.3.1

07 Dec 17:16
Compare
Choose a tag to compare

Bug fix

  • Fixed a styling bug introduced in 2.3.0 that could cause incorrect ordering of styles included via<style include> and/or throw an exception if a <style> was not a direct child of the template.

Raw Notes

  • Add test that would fail with the "last style" behavior in master (commit)

  • Use padding-top to get correct computed style on older safari (commit)

  • Handle styles that are not direct children of templates correctly (commit)

  • [ci skip] update changelog again (commit)

Stable Release: v2.3.0

05 Dec 23:22
Compare
Choose a tag to compare

New Features

  • Property observers can now take a function reference in addition to taking a string name
    • Example
      class XFoo extends Polymer.Element {
        static get properties() {
          return {
            prop: {
              type: String,
              observer: function (newProp, oldProp) {
                return this.prop2Changed(newProp, oldProp);
              }
            }
          };
        }
      }

Meaningful Changes

  • When using Polymer.passiveTouchGestures, don't set passive on touchend events, allowing tap and up gestures to prevent click.
  • Do not collapse multiple styles into a single style, which allows for lower memory usage in native ShadowDOM. ShadyCSS and ShadyDOM polyfill will still collapse into one style for now.
  • dom-repeat will now always resort and/or refilter an array when an item changes.

Raw Notes

  • [ci skip] commit new version in lib/utils/boot.html when using npm version (commit)

  • change PolymerElement extern to var (commit)

  • update node devDependencies (commit)

  • fix lint error (commit)

  • Fix :dir selectors with nested custom elements (commit)

  • Update test to be more descriptive (commit)

  • Annotate Polymer function with @global. (#4967) (commit)

  • make PASSIVE_TOUCH take an argument (commit)

  • Do not set touchend listeners to passive (commit)

  • Add some @function annotations to APIs that are defined by assignment. (commit)

  • add return jsdoc to void functions (commit)

  • Update CONTRIBUTING.md (commit)

  • Fix typo. (commit)

  • Comment reworded based on feedback. (commit)

  • Semantic issue (proposal) plus minor fixes (commit)

  • Depend on webcomponents and shadycss with shady-unscoped support (commit)

  • Also clarify delay units. Fixes #4707 (commit)

  • Ensure re-sort/filter always happens after array item set. Fixes #3626 (commit)

  • Clarify docs on target-framerate. Fixes #4897 (commit)

  • move test after (commit)

  • test more permutations (commit)

  • Fix missing comma in Path.translate JSDoc (commit)

  • fix(bower): standardized version tagging (#4921) (commit)

  • Minor fixes (update URLs) (commit)

  • add license headers (commit)

  • Prep for processing of shady-unscoped moving to ShadyCSS (commit)

  • Implement type change in Polymer.ElementMixin (commit)

  • instance.$.foo should only give Elements (commit)

  • Annotate DomApi with @memberof Polymer (commit)

  • Clarify all elements between changes must apply mixing. Fixes #4914 (commit)

  • add safari 11 to sauce testing (commit)

  • Fix tests on Firefox. (commit)

  • Update externs again. (commit)

  • Update externs. (commit)

  • Lint fixes (commit)

  • Allow style elements to be separate in the element template. (commit)

  • Lint fix. (commit)

  • Add support for styles with a shady-unscoped attribute (commit)

  • [ci skip] Update CHANGELOG (commit)

  • [ci skip] version script did not work as expected (commit)

  • adding test case for 4696 4706 (commit)

  • Support property observers which are direct function references in addition to strings. Provides better static analysis and refactoring support in multiple tools. Alleviates the need for property reflection with Closure-compiler renaming. (commit)

  • removing package-lock.json from PR (commit)

  • implementing the code review suggestions (commit)

  • Updating deserialize function (use of ternary operation). Fixes #4696 (commit)

  • Updating deserialize function. Fixes #4696 (commit)

Stable Release v1.11.1

05 Dec 22:35
Compare
Choose a tag to compare

Meaningful Changes

  • Fix :dir selector to handle a few more complicated use cases
    • other-custom-element:dir()
    • :dir() in a shadowroot should behave like *:dir()
    • A few cases where the dir attribute is set between inside of a shadowroot
  • Allow arbitrary whitespace in <style include> attribute value
  • When using Polymer.Settings.passiveTouchGestures, don't set passive on touchend events, allowing tap and up gestures to prevent click.

Raw Notes

  • make PASSIVE_TOUCH take an argument (commit)

  • Handle more dir cases (commit)

  • Make :dir more robust (commit)

  • Do not set touchend listeners to passive (commit)

  • Add comments on modified transforms (commit)

  • Fix :dir() bare selector in native shadowdom (commit)

  • Fix :dir selector when element uses CSS Custom Property Shim (commit)

  • Add a load-bearing escape into the comment regex (commit)

  • Polymer 1: Allow arbitrary whitespace in CSS imports (commit)

  • fix license issues (commit)

  • Fix tests on Firefox. (commit)

  • [ci skip] update changelog (commit)

  • Add support for styles with a shady-unscoped attribute (commit)

  • Skip tests of ::shadow and /deep/ under native Shadow DOM (commit)

Stable Release: v2.2.0

18 Oct 19:05
Compare
Choose a tag to compare

New Features

  • :dir() css selector now supported
    • The :dir() selector allows for writing text-orientation specific styling. More information on MDN
    • :dir() can be used by using Polymer.DirMixin for elements extending Polymer.Element, or automatically when using legacy Polymer({}) calls.
    • Use of :dir() requires the application to set the dir attribute on <html>, and all elements will use the same direction.
    • Individual elements can opt-out of the global direction be setting the dir attribute in HTML or at ready(), but these elements must from then on be handled manually.

Raw Notes

  • [ci skip] Autoupdate version when releasing (commit)

  • add edge 15, use chrome stable (commit)

  • super it and put back takeRecords (commit)

  • more feedback (commit)

  • Address feedback (commit)

  • add some description of the dir mixin (commit)

  • Fix linting (commit)

  • Always do the :dir transform (commit)

  • Clean up closure externs (commit)

  • remove bogus semicolon (commit)

  • Declare Polymer.Templatizer directly, for Closure. (#4870) (commit)

  • First draft of a :dir aware element mixin (commit)

  • [ci-skip] Update CHANGELOG (commit)

Stable Release v1.11.0

18 Oct 19:51
Compare
Choose a tag to compare

New Features

  • :dir() css selector now supported
    • The :dir() selector allows for writing text-orientation specific styling. More information on MDN
    • Use of :dir() requires the application to set the dir attribute on <html>, and all elements will use the same direction.

Meaningful Changes

  • custom styles with complex selectors (html *, html:not([foo]) .bar) are now supported correctly.

Raw Notes

  • Factor :dir replacement into a separate function for css building (commit)

  • Always use complexSelector transformer (commit)

  • Check that document selectors are actually simple selectors (commit)

  • explain skipped test (commit)

  • Add :dir support to Polymer 1 (commit)

  • [ci skip] Update Changelog (commit)

Stable Release v2.1.1

28 Sep 22:13
Compare
Choose a tag to compare

Meaningful Changes

  • Workaround for upcoming removal of styles in import documents styling the main document #4849.

Raw Notes

  • Prepare for release 2.1.1 (commit)

  • Move @externs before @license because Closure likes that. (commit)

  • just move the style instead (commit)

  • Copy styles to main document (commit)

  • Fix typos and jsdoc (#4846) (commit)

  • [ci skip] update changelog (commit)

  • Fix shady dom style querySelector (commit)

  • Fix linter error (commit)

  • Exclude script and style tags for parsing bindings (commit)

  • Special-case undefined textarea.value same as input. Fixes #4630 (commit)