All Versions
45
Latest Version
Avg Release Cycle
62 days
Latest Release
4006 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.2.0 Changes
March 30, 2013- ๐ Allow multiple whitelisted / blacklisted :to states when definining transitions
- ๐ Fix event attributes not being processed when saved via association autosaving
- ๐ Fix Mongoid integration not setting initial state attributes properly for associations
- Completely rewrite ORM action hooks to behave more consistently across the board
- ๐ Change transitions to be executed the same whether using ORM save actions or not
- ๐ Fix around_transition callbacks not being executed properly in ORM integrations
- ๐ Fix additional transitions not being able to be fired in transition callbacks
- โ Add documentation on the order in which transition callbacks run within ORM integrations
- โก๏ธ Update README to include a topic on explicit vs. implicit event transitions [Nathan Long]
- ๐ Fix around_transition pausing not being marked as unsupported for rubinius [Daniel Huckstep]
- ๐ Fix all / any / same matchers not being able to be used in :from / :to options in transitions and callbacks
- ๐ Fix ActiveModel locale paths not being loaded properly under certain JRuby environments [Brad Heller]
- Remove dependency on the validation_class_methods plugin for Sequel 2.12.0+ [Casey Howard]
- โ Remove dependency on command-line git binaries from within the gemspec
- ๐ Fix deprecation warnings on ruby-graphviz 1.0.3+
- โก๏ธ Update minimum required ruby-graphviz version to 0.9.17
- ๐ Fix aliased fields in Mongoid 2.4.0+ not being automatically detected
- โ Add Mongoid 3.0.0+ support
- ๐ Fix scopes getting generated multiple times when the singular / plural machine names are the same but of a different type (symbol vs. string)
- โ Add initial support for ActiveRecord / ActiveModel 4.0.0 beta
- ๐ Fix static initial states always being set even when the state has already been initialized in non-ORM integrations
- โ Generate a warning when the ORM's backend and state_machine define conflicting initial states for an attribute
- ๐ Fix all Ruby warnings
- ๐ Fix callbacks not working for methods that respond via method_missing [Balwant Kane]
- ๐ Fix observer callbacks being run when disabled in ActiveModel / ActiveRecord integrations
- โ Add YARD integration for autogenerating documentation / embedding visualizations of state machines
- ๐ Allow states / events to be drawn with their human name instead of their internal name
-
v1.1.2 Changes
January 20, 2012- ๐ Fix states not being initialized properly on ActiveRecord 3.2+
-
v1.1.1 Changes
December 31, 2011- ๐ Fix fields being defined for Mongoid / MongoMapper state attributes even if they're already defined in the model
- ๐ฉ Raise error when states / events are referenced in a definition with different types (e.g. both Strings and Symbols)
- ๐ Allow all states / events to be looked up by their string / symbol equivalent
- ๐ Allow state_machine to be loaded without extensions to the Ruby core
-
v1.1.0 Changes
November 13, 2011- ๐ 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
-
v1.0.3 Changes
November 05, 2011- ๐ Fix MongoMapper 0.10.0+ integrations not matching versions properly
- โก๏ธ Update warnings for method conflicts to include instructions on how to ignore conflicts
- ๐ Fix state initialization in Mongoid 2.3.x integrations [Durran Jordan]
- ๐ Fix after_transition callbacks sometimes not running in Mongoid 2.2.x integrations
- ๐ Automatically load the plugins required in Sequel integrations
- ๐ Allow all / any matcher helpers to be used when defining states / events
- ๐ Allow states / events to be referenced by the string equivalent of their name
- ๐ Fix observer callbacks being run incorrectly when using nil states in ActiveModel-based integrations
- โ Remove ActiveModel Observer method chains in order to better ensure compatibility
- โก๏ธ Update DataMapper integration for 1.2.0+ support [Markus Schirp]
- ๐ Provide access to the human state name in invalid_transition translations
- Add support for i18n keys in the form of #{i18n_scope}.state_machines.#{model_name}.states/events.#{value}
- Clarify documentation on writing to state machine attributes, using factory_girl and can_#{event} / #{event}_transition helpers
- โ Add documentation for dynmically generating state machines
-
v1.0.2 Changes
August 10, 2011- ๐ 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
-
v1.0.1 Changes
May 30, 2011- โ Add the ability to ignore method conflicts for helpers
- โ Generate warnings for any helper, not just state helpers, that has a conflicting method defined in the class
- ๐ Fix scopes in Sequel not working if the table name contains double underscores or is not a string/symbol
- โ Add full support for chaining state scopes within Sequel integrations
- ๐ Fix Rails 3.1 deprecation warnings for configuring engine locales [Stefan Penner]
-
v1.0.0 Changes
May 12, 2011- Celebrate
-
v0.10.4 Changes
April 14, 2011- ๐ Fix translations not being available under certain environments in Rails applications
-
v0.10.3 Changes
April 08, 2011- ๐ Fix state initialization failing in ActiveRecord 3.0.2+ when using with_state scopes for the default scope