All Versions
26
Latest Version
Avg Release Cycle
104 days
Latest Release
399 days ago

Changelog History
Page 2

  • v0.10.0 Changes

    November 16, 2014

    ➕ Added

    • ➕ Add #alias_target to allow renaming of target object by @reggieb
    • ➕ Add :log_transitions option for easy transition debugging

    🔄 Changed

    • 🔄 Change TransitionEvent, AsyncCall to be immutable
    • ✅ Increase test coverage to 99%

    🛠 Fixed

    • 🛠 Fix issue with async calls passing wrong arguments to conditionals
  • v0.9.2 Changes

    September 27, 2014

    🔄 Changed

    • ✂ Removes use of class variable to share Sync by @reggieb

    🛠 Fixed

    • 🛠 Fix observer to differentiate between any state and any event
    • [#23] Fix transition to correctly set :from and :to parameters for :any state
    • [#25] Fix passing parameters to choice events with same named events
    • 🛠 Fix choice pseudostate to work with :any state
  • v0.9.1 Changes

    August 10, 2014

    ➕ Added

    • ➕ Add TransitionBuilder to internally build transitions from states
    • ➕ Add #current? to Transition to determine if matches from state
    • Add #select_choice_transition to EventsChain to determine matching choice transition

    🛠 Fixed

    • 🛠 Fix #choice to allow for multiple from states
    • 🛠 Fix #choice to work with same named events
  • v0.9.0 Changes

    August 03, 2014

    ➕ Added

    • ➕ Add Definition class to allow to define standalone state machine
    • ➕ Add #build method to HookEvent

    🔄 Changed

    • 🔄 Change initial helper to simply state name with options
    • 🔄 Change HookEvent to be immutable and extend comparison
    • 🔄 Change Event to be immutable and extend comparison
    • 🔄 Change finished? to terminated? and allow for multiple terminal states
    • 🔄 Change to require explicit context to call target methods
    • ♻️ Upgrade RSpec dependency and refactor specs
  • v0.8.1 Changes

    July 05, 2014

    ➕ Added

    • ➕ Add EventsChain to handle internal events logic
    • ➕ Add EventBuilder to handle events construction
  • v0.8.0 Changes

    June 22, 2014

    ➕ Added

    • ➕ Add silent option for state machine events to allow turning on/off selectively callbacks
    • Ensure that can? & cannot? take into account conditionl logic applied to transitions
    • ➕ Add restore! method to allow to set the state directly without callbacks
    • ➕ Add ability to do dynamic conditional branching using the choice DSL or grouped events with different outgoing transitions [solves #13 and #6 issue]
  • v0.7.1 Changes

    June 08, 2014

    🔄 Changed

    • 🔄 Change to relax callback name checks to allow for duplicate state and event names
    • 🔄 Change so that transition to initial state triggers callbacks
  • v0.7.0 Changes

    May 26, 2014

    ➕ Added

    • ➕ Add Event to hold the logic for event specification
    • ➕ Add string inspection to hooks
    • ➕ Add check for callback name conflicts

    🔄 Changed

    • 🔄 Change Event to EventHook for callback events
    • 🔄 Change to allow for self-transition - fixes issue #9
    • 🔄 Change to detect attempt to overwrite already defined method - fixes issue #10
    • Change to separate state and event callbacks. Introduced on_enter, on_before, once_on_enter, once_on_before new event callbacks.
    • Change generic callbacks to default to any state for on_enter, on_transition, on_exit and any event for on_before and on_after
    • 🔄 Change to ensure proper callback lifecycle

    🛠 Fixed

    • 🛠 Fix issue #8 to preserve conditionals between event specifications
    • 🛠 Fix #respond_to on state machine to include observer
    • 🛠 Fix observer missing methods resolution
  • v0.6.1

    May 10, 2014
  • v0.6.0

    May 10, 2014