Skip to content

Releases: flightjs/flight

v1.5.1

06 Oct 13:40
Compare
Choose a tag to compare
  • debug.warn like console.log 70dd4a3
  • Fix component logging in debug mode. c741a6a
  • Rename define to defineComponent 65d5b0e
  • Warn on use of defaultAttrs in debug mode 04fb2eb

v1.5.0

23 Jan 14:56
Compare
Choose a tag to compare
  • Shows warning for reference types in attributes 66164d9
  • Add Gitter room button 66164d9
  • Remove debug-mode serializable event data restrction 66164d9
  • Update Advice API doc for event and data params, multiple advice #330
  • Document function-in-attributes behaviour 82a4562

v1.4.0

14 Jan 18:46
Compare
Choose a tag to compare

Features

  • New event.currentTarget in delegated event handlers #329
  • npm support — npm install flightjs
  • Multi-function advice #299

Bug fixes and tweaks

  • IE9 debug fix #318
  • Allow mixing into a null-based object #323
  • Various documentation & smaller bug fixes

v1.3.0

23 Sep 00:00
Compare
Choose a tag to compare

Features

Auto-eval function attributes #306
Enforce JSCS style checker compliance #291
Use webpack to build the standalone library #272
Expose registry on DEBUG global #298
Allow for optional undefined attributes #310
getEnumerableProperty util #311

Fixes

Array optimization in hot code #276
New attributes override works in debug mode #279
Per instance callback unbinding #282
Move index.js to project root #294
Avoid unnecessary clearTimeouts in debounce() #304

v1.2.0

25 Jun 02:29
Compare
Choose a tag to compare

features

  • New this.attributes() API for setting attributes
  • Allows override by other mixins
  • Ignores attributes passed by attachedTo unless declared in component
  • Requires null attributes to be overriden
  • Old this.defaultAttrs API still works but deprecated
    #150
    #270

bug fixes and tweaks

  • Optimize Arguments to Array util
    #268
  • Add Component.mixin docs
    #246
  • Fix attribute behavior when using Component.mixin
    #253
    #270

v1.1.4

19 Apr 01:08
Compare
Choose a tag to compare

Existing Components can now be extended with mixin
#238
#242

Nested event logging
#244

No fatal CSP error for accessing storage when cookies are off
#233

v1.1.3

19 Feb 02:24
Compare
Choose a tag to compare

on now optionally accepts an event name to be trigger instead of a callback to call
#217

the logger now shows trigger payload
#213

getBoundRequests method added to registry as a convenience
#214

support the clean-up of bound functions when 'off' callback is itself a bound function
#222

v1.1.2

14 Jan 22:25
Compare
Choose a tag to compare

prevent component.off from closing all event bindings for a given event and node
remove reliance on jquery's internal guid
#192

when stopPropagation is called on an event, subsequent event delegations are prevented
#202

add a once method to utils which can be used to mimick jQuery's $node.once behavior
#186

ensure nested teardown support
#194

clean up debugger and logger code
#193

documentation improvements

v1.1.1

15 Oct 22:02
Compare
Choose a tag to compare

drop new Function (csp violation), better docs

v1.1.0

26 Jul 23:02
Compare
Choose a tag to compare

add basic.js, test with karma, api docs