State Machine v1.1.0 Release Notes

Release Date: 2011-11-13 // over 12 years ago
    • ๐Ÿ‘ Allow the transitions / known states for an event to be reset
    • Add fire_#{name}_event instance method for firing an arbitrary event on a state machine
    • ๐Ÿ‘Œ Improve InvalidTransition exception messages to include the failure reason(s) in ORM integrations
    • ๐Ÿ’Ž Don't allow around_transitions to attempt to be called in multiple execution contexts when run in jruby
    • ๐Ÿ‘ Allow :from option to be used in transitions defined within state contexts
    • ๐Ÿ›  Fix arguments / block not being preserved when chaining methods defined in state contexts
    • ๐Ÿ›  Fix super not being allowed when a method is defined for multiple state contexts
    • ๐Ÿ”„ Change loopbacks to only cause objects to be persisted when the ORM decides it's necessary, instead of always forcing persistence
    • ๐Ÿ›  Fix Mongoid 2.3.x integrations not initializing dynamic states in the same manner as other integrations with initialize callbacks