Skip to content

Stable Release v2.1.0

Compare
Choose a tag to compare
@dfreedm dfreedm released this 19 Sep 18:15
· 1321 commits to master since this release

New Features

  • Polymer.passiveTouchGestures
    • The passiveTouchGestures setting allows an app to specify that gesture events like tap and track generated from touch will not be preventable, allowing for better scrolling performance.
    • Since this could break elements or apps that depended on being able to call gestureEvent.preventDefault() to prevent scrolling, this is an opt-in setting.
    • Use Polymer.setPassiveTouchGestures(true) to enable

Meaningful Changes

  • An assortment of minor changes to help facilitate easier automated conversions to ES Modules for Polymer 3.x
  • Fix event path for gestures generated by touch events
  • Add documentation for Polymer.sanitizeDOMValue
    • sanitizeDOMValue is a global callback that can be used to plug into XSS sanitization libraries before the databinding system sets values.
  • Fix ordering of <link rel="import" type="css"> stylesheets to always be prepended, more aligned with their usage in 1.x
  • The <dom-bind> element is now exposed on Polymer as Polymer.DomBind.
  • All <dom-*> elements are now explicitly styled as display: none

Raw Notes

  • [ci skip] bump version to 2.1.0 (commit)

  • Port #3844 to 2.x (commit)

  • Provide a Polymer.setPassiveTouchGestures() function (commit)

  • Make sure closure types have braces (commit)

  • a few more comments in return (commit)

  • Fix setting, add smoke test (commit)

  • Optional passive touch listeners for gestures (commit)

  • Don't have return /** comment */ lines (commit)

  • [ci skip] disable closure lint for now (travis java errors) (commit)

  • try to avoid introducing spelling errors in changelogs (commit)

  • spelling: webcomponents (commit)

  • spelling: veiling (commit)

  • spelling: unnecessary (commit)

  • spelling: toolkit (commit)

  • spelling: together (commit)

  • spelling: there-when (commit)

  • spelling: theming (commit)

  • spelling: supported (commit)

  • spelling: stylesheet (commit)

  • spelling: static (commit)

  • spelling: sometimes (commit)

  • spelling: shuffling (commit)

  • spelling: returns (commit)

  • spelling: restart (commit)

  • spelling: responsive (commit)

  • spelling: resilient (commit)

  • spelling: resetting (commit)

  • spelling: reentrancy (commit)

  • spelling: readonly (commit)

  • spelling: prototype (commit)

  • spelling: protocols (commit)

  • spelling: properties (commit)

  • spelling: preferring (commit)

  • spelling: polyfill (commit)

  • spelling: parameterize (commit)

  • spelling: omit (commit)

  • spelling: offset (commit)

  • spelling: notification (commit)

  • spelling: name (commit)

  • spelling: multiple (commit)

  • spelling: loaded (commit)

  • spelling: jquery (commit)

  • spelling: javascript (commit)

  • spelling: instead (commit)

  • spelling: initial (commit)

  • spelling: increments (commit)

  • spelling: identify (commit)

  • spelling: github (commit)

  • spelling: getting (commit)

  • spelling: function (commit)

  • spelling: falsy (commit)

  • spelling: enqueuing (commit)

  • spelling: element (commit)

  • spelling: effective (commit)

  • spelling: doesn't (commit)

  • spelling: does (commit)

  • spelling: disappearing (commit)

  • spelling: deserialized (commit)

  • spelling: customize (commit)

  • spelling: containing (commit)

  • spelling: components (commit)

  • spelling: collection (commit)

  • spelling: children (commit)

  • spelling: changed (commit)

  • spelling: behavior (commit)

  • spelling: attribute (commit)

  • spelling: attached (commit)

  • spelling: asynchronous (commit)

  • Explicitly set display none on dom-* elements (#4821) (commit)

  • Publish DomBind in Polymer. scope (commit)

  • Fix missing semi-colons in test folder (commit)

  • Enable ESLint 'semi' rule (commit)

  • [ci skip] update package-lock (commit)

  • [ci skip] Add license headers to externs (commit)

  • Polymer.Path.get accepts both a string path or an Array path, so functions that call this should allow for either as well. Already changed for Polymer.prototype.push here: (commit)

  • lint with closure as well (commit)

  • Update closure compiler to support polymer pass v2 (commit)

  • Revert "Adds restamp mode to dom-repeat." (commit)

  • Add test to verify that importHref can be called twice (commit)

  • Fix compiling with Polymer({}) calls (commit)

  • Remove double space (commit)

  • Add development workflow-related files to gitignore (#4612) (commit)

  • Allow arbitrary whitespace in CSS imports (commit)

  • Fix dom-module API docs with static import function (commit)

  • [ci skip] update externs more from #4776 (commit)

  • imported css modules should always be before element's styles (commit)

  • Update closure annotation for Polymer.prototype.push (commit)

  • Fixed formatting. (commit)

  • Fix formatting of code in API docs (#4771) (commit)

  • Lint clean. (commit)

  • Separate scripts that modify configuration properties, as their ordering constraints are unusual. (commit)

  • test: convert XNestedRepeat to use an inlined string template. (commit)

  • Don't rely on implicitly creating a global, does not. (commit)

  • Refer to Gestures.recognizers consistently. (commit)

  • Make test work in strict mode. (commit)

  • In tests, explicitly write to window when creating a new global for clarity. (commit)

  • [ci skip] remove duplicate definition for __dataHost in externs (commit)

  • [ci skip] update polymer-build and run-sequence (commit)

  • Fix tests in non-Chrome browsers (commit)

  • Better distinguish param name from namespaced name (commit)

  • use wct 6 npm package (commit)

  • add mixin class instance properties to externs (commit)

  • Add sanitizeDOMValue to settings.html (commit)

  • Remove reference to Polymer._toOverride, it seems like an incomplete feature/part of the test. (commit)

  • Update custom-style API doc (commit)

  • Use customElements.get rather than referring to the global for Polymer.DomModule (commit)

  • Add import of dom-module to file that uses it. (commit)

  • Do not assign to a readonly property on window (commit)

  • [ci skip] Fix documentation in PropertyAccessors (commit)

  • [ci skip] fix closure warning (commit)

  • Fix event path for tap event on touch (commit)

  • [ci skip] Update changelog (commit)

  • Update web-component-tester to stable version (commit)

  • Disable closure linting until the count is driven down to a reasonable level (commit)

  • Adds restamp mode to dom-repeat. (commit)