State Machine v1.0.2 Release Notes

Release Date: 2011-08-10 // over 12 years ago
    • 👍 Allow transitions to be defined within a state, event, or machine context
    • 👉 Use supported framework hooks for integrating Sequel 3.24.0+
    • ✅ Use appraisal for testing integrations
    • 👌 Improve documentation on the handling of method conflicts
    • ⚡️ Update Mongoid integration for 2.1.0+ support
    • 🛠 Fix ActiveRecord machine state predicates incorrectly calling superclass implementation when using targeted attributes
    • 🛠 Fix error when defining states with the same name as the state's machine in ActiveRecord, MongoMapper, and Mongoid integrations
    • 🛠 Fix machine state predicate not calling superclass implementation if defined after machine definition
    • ⚠ Generate warnings when defining a helper method more than once
    • 🛠 Fix multiple machines not being able to target the same attribute if all possible states aren't defined in each
    • 🛠 Fix ActiveModel / DataMapper integrations not overriding StateMachine::Machine#after_initialize properly
    • 👌 Improve documentation for overriding states and integration transactions