State Machine v0.5.0 Release Notes

Release Date: 2009-01-11 // over 15 years ago
    • Add to_name and from_name to transition objects
    • โž• Add nicely formatted #inspect for transitions
    • ๐Ÿ›  Fix ActiveRecord integrations failing when the database doesn't exist yet
    • ๐Ÿ›  Fix states not being drawn in GraphViz graphs in the correct order
    • โž• Add nicely formatted #inspect for states and events
    • Simplify machine context-switching
    • Store events/states in enumerable node collections
    • No longer allow subclasses to change the integration
    • ๐Ÿšš Move fire! action logic into the Event class (no longer calls fire action on the object)
    • ๐Ÿ‘ Allow states in subclasses to have different values
    • Recommend that all states be referenced as symbols instead of strings
    • All states must now be named (and can be associated with other value types)
    • โž• Add support for customizing the actual stored value for a state
    • โž• Add compatibility with Ruby 1.9+