Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@ianmstew ianmstew released this 09 Jul 16:46

Commit Log

  • API Improvements
    • Ability to override values in State#reset
    • preventDestroy option in initialization options
    • Renamed/privatized setState => _initState (breaking).
    • #getChanged proxies to model #changedAttributes.
    • #getPrevious proxies to model #previousAttributes.
    • #hasAnyChanged tests whether any of a list of attributes exists in model changed.
    • #bindComponent adds an additional component binding similar to initial option component.
    • #unbindComponent reverses component binding.
    • State now proxies model events.
    • #syncEntityEvents returns a syncing handle with "stop syncing" ability.
  • Removed State.Behavior in favor of simpler, more explicit API (breaking)
  • Documentation overhaul
    • Expanded examples dealing with increasing levels of architectural complexity
    • More concise API documentation
  • Reduced call stack for #syncEntityEvents.
  • Tests for #syncEntityEvents
  • Converted build stack to babel+browserify.