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+