Skip to content

v2.0.0-rc.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@dfreedm dfreedm released this 17 Apr 23:53
· 1667 commits to master since this release

Meaningful Changes

  • Add more override points for controlling template stamping
    • Adds override points for _parseBindings and _evaluateBinding
    • Adds support for runtime template binding
    • Moves ready(), _hasAccessor tracking, and instance property swizzle at ready time to PropertyAccessors
    • Other refactoring and cleanup
    • More information on using binding overrides at #4510 (comment)
  • Add $ id map to dom-bind elements
  • Refactor PropertyEffects mixin with a more usable API
  • Support listening to Gesture events with dom-bind elements

Raw Notes

  • Eliminate rest args for better perf on stable chrome. (commit)

  • Fix perf regressions. (commit)

  • Move second tap test to the correct spot. (commit)

  • Add GestureEventListeners to dom-bind. (commit)

  • Add more comments (commit)

  • [ci skip] Fix comment. (commit)

  • alias another way (commit)

  • use chrome beta (commit)

  • Add more HTMLImports.whenReady (commit)

  • Address feedback from review: * Refactor _bindTemplate to remove problematic hasCreatedAccessors * Remove vestigial dom from _bindTemplate call * Rename _unstampTemplate to _removeBoundDom * Add infoIndex to nodeInfo (and renamed parent & index) * Add test to ensure runtime accessors created for new props in runtime stamped template * Changed custom binding test to use different prop names * Added test for #first count after removing bound dom (commit)

  • Fix lint error. (commit)

  • Ensure prototype wasn't affected by runtime effects. (commit)

  • Add tests for adding/removing runtime property effects. (commit)

  • Added tests for custom parsing, effects, and binding. (commit)

  • Add initial runtime stamping tests. (commit)

  • Fix changelog generation (commit)

  • Address feedback based on review. * PropertyAccessors must call _flushProperties to enable * Avoid tearing off oldProps (unnecessary) * Add addBinding docs * Merge notifyListeners into setupBindings * Add comment re: path-bindings not being overridable * Remove dom argument from _bindTemplate * Rename _stampBoundTemplate back to _stampTemplate (commit)

  • Put $ on dom, and assign to element as needed. Eliminate _templateInfo reference. (commit)

  • Fix _hasAccessor for readOnly. Collapse addBinding & addBindingEffects (commit)

  • Improvements to binding API: - Adds override points for _parseBindings and _evaluateBinding - Adds support for runtime template binding - Moves ready(), _hasAccessor tracking, and instance property swizzle at ready time to PropertyAccessors (commit)