All Versions
84
Latest Version
Avg Release Cycle
81 days
Latest Release
-

Changelog History
Page 5

  • v4.0.4 Changes

    • corrected callback order in README
    • bugfix: initialize the aasm state column after initialization of the ActiveRecord instance (see issue #191 for details)
    • bugfix: avoid Rails autoloading conflicts (see issue #137 and issue #139 for details)
  • v4.0.3 Changes

    • bugfix: fire guards only once per transition, part 2 (see issue #187 for details)
    • aasm_column is deprecated. Use aasm.attribute_name instead
  • v4.0.2 Changes

    • bugfix: really support block-guards (defined within a transition block) (see issue #186 for details)
  • v4.0.1 Changes

    • fire guards only once per transition (see issue #184 for details)
    • aasm_human_event_name is deprecated, use aasm.human_event_name instead
  • v4.0.0 Changes

    • support if and unless guard syntax: (see issue #179 and issue #181), thanks to @bigtunacan
    • may configure to not allow direct assignment for persisted AASM models (see issue #53)
    • DSL change: callbacks don't require to_state parameter anymore, but still support it (closing issues #11, #58 and #80 thanks to @ejlangev)
    • DSL change: after_commit hooks are now event-based (see issue #112)
    • DSL change: event and state callbacks have been re-ordered; state callbacks are not run anymore if any guard fails
    • DSL change: :on_transition renamed to :after
    • DSL change: :on_transition renamed to :after
    • DSL change: transition :after binding changed (see issue #59, thanks to @stiff)
    • DSL change: instance-based events inspection now returns event instances (instead of the event names as symbol)
    • DSL change: instance-based permissible_events has been removed in favor or events(:permissible => true)
    • DSL change: class-based events now returns a list of Event instances (instead of a hash with event names as keys)
    • DSL change: renamed permissible states and events to permitted states events
    • removed deprecated methods (mostly the ones prefixed with aasm_)
  • v3.4.0 Changes

  • v3.3.3 Changes

    • bugfix: support reloading development environment in Rails (see issue #148)
  • v3.3.2 Changes

  • v3.3.1 Changes

    • bugfix: permissible events will respect given guards (see issue #150)
  • v3.3.0 Changes