Skip to content

Releases: Shopify/twine

v2.0.0

22 Feb 22:26
c89dc5f
Compare
Choose a tag to compare

This release removes jQuery from Twine.

Whilst it is mostly backwards compatible, there's a few exceptions:

  • data-bind-attribute will no longer invoke values that are functions. This behaviour seemed to be inadvertently possible because this logic will fall to jQuery's attr method which would handle executing functions before setting the resulting value.
  • .trigger(eventName, data) no longer works. The upgrade path is to use CustomEvent's detail property:
- $(node).trigger('click', { foo: 'bar' })
+ event = new CustomEvent('click', {detail: { foo: 'bar' }})
+ node.dispatchEvent(event)

v1.2.2

22 Feb 22:21
Compare
Choose a tag to compare

Fix

  • Don’t iterate over dynamically added nodes for bind/unbind #99

v1.2.1

16 Feb 15:52
3ceae18
Compare
Choose a tag to compare
  • #95 Injects jQuery as a dependency when declaring modules for CommonJS, AMD, and global.

v1.0.2

20 Jul 17:06
Compare
Choose a tag to compare
  • Guarantee order of define, bind, and eval bindings #83

v1.0.1

11 Jul 22:43
Compare
Choose a tag to compare
  • Add railties as an explicit dependency #69
  • Code improvements #59
  • Twine.bind performance improvements #79

v1.0.0

23 Jun 20:51
35ebdb3
Compare
Choose a tag to compare
  • Twine.register #74
  • define-array directive #76
  • UMD Wrapper #75

v0.1.7

14 Apr 19:18
Compare
Choose a tag to compare

Same as https://github.com/Shopify/twine/releases/tag/v0.1.6 but corrects dependencies issues

v0.1.6

14 Apr 16:13
Compare
Choose a tag to compare
  • added bind-event-paste #64

v0.1.5

16 Mar 19:53
Compare
Choose a tag to compare
  • added indeterminate to augment checked #61

v0.1.4

21 Dec 21:29
Compare
Choose a tag to compare
  • a bug fix to allow data-context and data-allow-default
  • improved tests