2011-11-25 18:11:30 -05:00
|
|
|
# CHANGELOG
|
|
|
|
|
2013-03-15 00:00:22 -04:00
|
|
|
## Unreleased
|
|
|
|
|
|
|
|
* added autocreation of constants for each state ([@jherdman](https://github.com/jherdman))
|
|
|
|
|
2013-01-16 04:00:54 -05:00
|
|
|
## 3.0.16
|
|
|
|
|
|
|
|
* added autocreation of state scopes for Mongoid (thanks to [@jonnyshields](https://github.com/johnnyshields))
|
|
|
|
|
2012-12-26 16:23:41 -05:00
|
|
|
## 3.0.15
|
|
|
|
|
|
|
|
* added support for localized state names (on a class level, like Record.aasm.states.map(&:localized_name))
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
## 3.0.14
|
|
|
|
|
|
|
|
* supporting event inspection for to-states transitions (`Event#transitions_to_state?`)
|
|
|
|
|
2012-10-24 04:03:09 -04:00
|
|
|
## 3.0.13
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
* supporting *ActiveRecord* transactions when firing an event
|
2012-10-24 04:03:09 -04:00
|
|
|
|
2012-10-19 06:05:43 -04:00
|
|
|
## 3.0.12
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
* `aasm_from_states_for_state` now supports to filter for specific transition
|
2012-10-19 06:05:43 -04:00
|
|
|
|
2012-10-19 05:44:20 -04:00
|
|
|
## 3.0.11
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
* added class method `aasm_from_states_for_state` to retrieve all from states (regarding transitions) for a given state
|
2012-10-19 05:44:20 -04:00
|
|
|
|
2012-10-19 03:22:00 -04:00
|
|
|
## 3.0.10
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
* added support for transitions from all other states (thanks to *Stefan 'swrobel' Wrobel*)
|
2012-10-19 03:22:00 -04:00
|
|
|
|
2012-09-25 20:35:13 -04:00
|
|
|
## 3.0.9
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
* guard checks (e.g. `may_edit?`) now support guard parameters as well
|
2012-09-25 20:35:13 -04:00
|
|
|
|
2012-06-17 02:13:07 -04:00
|
|
|
## 3.0.8
|
|
|
|
|
|
|
|
* fixed issue with generating docs using yard
|
|
|
|
|
2012-06-06 17:05:22 -04:00
|
|
|
## 3.0.7
|
2012-06-06 06:32:52 -04:00
|
|
|
|
|
|
|
* removed deprecation warning when localizing aasm state names (look at https://github.com/rubyist/aasm/issues/38 for details)
|
|
|
|
|
2012-05-17 06:05:43 -04:00
|
|
|
## 3.0.6
|
|
|
|
|
|
|
|
* bugfix: if configured to skip validation the code does not validate anymore
|
|
|
|
|
2012-04-17 16:36:45 -04:00
|
|
|
## 3.0.5
|
|
|
|
|
|
|
|
* bugfix: get rid of error with old rubygems versions
|
|
|
|
|
2012-04-02 06:11:35 -04:00
|
|
|
## 3.0.4
|
|
|
|
|
|
|
|
* bugfix: Subclasses of aasm-enabled classes don't lose settings anymore (thanks to codez)
|
|
|
|
|
2012-02-22 06:08:09 -05:00
|
|
|
## 3.0.3
|
|
|
|
|
|
|
|
* bugfix: ActiveRecord scopes are generated when using the new DSL
|
|
|
|
|
2012-01-16 11:42:53 -05:00
|
|
|
## 3.0.2
|
2012-01-16 11:27:15 -05:00
|
|
|
|
|
|
|
* ActiveRecord persistence can ignore validation when trying to save invalid models
|
|
|
|
|
2011-12-21 06:39:02 -05:00
|
|
|
## 3.0.1
|
|
|
|
|
|
|
|
* added support for Mongoid (Thanks, Michał Taberski)
|
|
|
|
|
2011-11-26 15:11:57 -05:00
|
|
|
## 3.0.0
|
|
|
|
|
|
|
|
* switched documentation to the new DSL
|
|
|
|
* whiny transactions: by default, raise an exception if an event transition is not possible
|
|
|
|
* you may disable whiny transactions
|
|
|
|
|
2012-11-05 17:51:05 -05:00
|
|
|
## 2.4.0
|
2011-11-25 18:11:30 -05:00
|
|
|
|
|
|
|
* supporting new DSL (which is much shorter)
|
|
|
|
|
|
|
|
## 2.3.1
|
|
|
|
|
|
|
|
* bugfix: avoid naming conflict with i18n
|
|
|
|
|
|
|
|
## 2.3.0
|
|
|
|
|
|
|
|
* supporting i18n
|
|
|
|
* supporting regular expressions for hash values and strings
|
|
|
|
|