FiniteMachine v0.7.0 Release Notes

Release Date: 2014-05-26 // over 7 years ago
  • ➕ 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