All Versions
84
Latest Version
Avg Release Cycle
81 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v4.11.0 Changes
- support
logger
configuration (see issue #370 for details, thanks to @HoyaBoya) - support configuration to let bang transitions fail if object is invalid (see issue #366 and issue #262 for details, thanks to @Wildebeest)
- support
-
v4.10.1 Changes
- fix: suppress warnings when using ActiveRecord enums feature (see issue #346 for details, thanks to @110y, and issue #353 for details, thanks to @nathanstitt)
- fix: handle array of success callbacks for transitions properly (see issue #363 for details, thanks to @shunichi)
- support
permitted: false
for states and events query/inspection methods (see issue #364 for details, thanks to @hspazio)
-
v4.10.0 Changes
- fix: some issues with RubyMotion (see issue #320 and issue #343 for details, thanks to @Infotaku)
- fix: transitions now work in dup'ed copies (see issue #325 which fixes issue #273 for details, thanks to @lingceng)
- fix: allow skipping the
aasm_ensure_initial_state
callback (see issue #326 for details, thanks to @sineed) - fix: has_many association helper works again for Mongoid (see issue #333 which fixes issue #332 for details, thanks to @anilmaurya)
- improve performance / refactor: load and run only code which is needed (see issue #336 for details, thanks to @csmuc)
- improve: warn when overriding an existing method (see issue #340 which fixes issue #335 for details, thanks to @pirj)
- fix: correct error message (by not evaluating the current state lazily) (see issue #341 which fixes issue #312 for details, thanks to @pirj)
- addition: support for Redis as persistence layer (see issue #190 for details, thanks to @javajax)
- addition: support transition
:success
callbacks (see issue #239 which fixes issue #236 for details, thanks to @brega) - addition: support for namespacing methods and state names (see issue #259 for details, thanks to @allspiritseve)
- addition: support for defining multiple states in one line (see issue #288 which fixes issue #146 for details, thanks to @HParker)
- fix: uninitialised constant when running Rails generator (see issue #339 for details, thanks to @long-long-float)
-
v4.9.0 Changes
- add support for callback classes (
after
only) (see issue #316 for details, thanks to @mlr) - allow easier extension of AASM (utilising the idea of ApplicationRecords from Rails 5) (see issue #296 for details, thanks to @mlr)
- support pessimistic locking for ActiveRecord (see issue #283 for details, thanks to @HoyaBoya)
- fix: support database sharding for ActiveRecord (see issue #289 for details, thanks to @scambra)
- fix: some issues with RubyMotion (see issue #318 for details, thanks to @Infotaku)
- fix: Rails generator now features the correct namespace (see issue #328 and issue #329 for details, thanks to @anilmaurya)
- add support for callback classes (
-
v4.8.0 Changes
- add support for dynamoid (see issue #300 for details, thanks to @LeeChSien)
- make compatible with RubyMotion (see issue #315 for details, thanks to @Infotaku)
- improve error handling in case of an exception during transitioning (see issue #275 for details, thanks to @chriswoodrich)
- rspec matcher
on_event
now supports arguments (see issue #309 for details, thanks to @zacviandier) - fix: permitted states now respect guards (see issue #308 for details, thanks to @eebs)
- fix: reloading the env now doesn't add callbacks twice anymore (see issue #311 for details, thanks to @lingceng)
-
v4.7.0 Changes
- fix: allow :send as event name (see issue #257 for details)
- add new callbacks: transactions, all events, ensure (see issue #282 for details, thanks to @HoyaBoya)
-
v4.6.0 Changes
- fix: make sure the column is actually present for ActiveRecord enums (see issue #265 and issue #152 for details, thanks to @anilmaurya)
- add generators to configure active_record and mongoid after install (see issue #261 for details, thanks to @anilmaurya)
-
v4.5.2 Changes
- fix arity difference between Procs and lambdas (see issue #293 for details)
-
v4.5.1 Changes
- make sure to use override configuration options if state machine is defined more than once (see issue #287 for details)
-
v4.5.0 Changes
- add RSpec matchers
have_state
,allow_event
andallow_transition_to
(see issue #147 for details) - add RSpec matcher
transition_from
(see issue #178 for details, thanks to @thomasstephane)
- add RSpec matchers