Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 474 lines (377 sloc) 25.872 kb
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
1 # master
45197b0 @obrie Remove tasks that are no longer being used.
obrie authored
2
59c140f @obrie Fix callbacks not working for methods that respond via method_missing. C...
obrie authored
3 * Fix callbacks not working for methods that respond via method_missing [Balwant Kane]
db84662 @obrie Fix observer callbacks being run when disabled in ActiveModel / ActiveRe...
obrie authored
4 * Fix observer callbacks being run when disabled in ActiveModel / ActiveRecord integrations
ff2799b @obrie Add YARD integration for autogenerating documentation / embedding visual...
obrie authored
5 * Add YARD integration for autogenerating documentation / embedding visualizations of state machines
8c7eb74 @obrie Allow states / events to be drawn with their human name instead of their...
obrie authored
6 * Allow states / events to be drawn with their human name instead of their internal name
7
fb0259e @obrie Tag 1.1.2 release
obrie authored
8 ## 1.1.2 / 2012-01-20
9
91f996f @obrie Fix states not being initialized properly on ActiveRecord 3.2+. Closes #...
obrie authored
10 * Fix states not being initialized properly on ActiveRecord 3.2+
11
2b7c9a3 @obrie Tag 1.1.1 release
obrie authored
12 ## 1.1.1 / 2011-12-31
13
32ec9d1 @obrie Fix fields being defined for Mongoid / MongoMapper state attributes even...
obrie authored
14 * Fix fields being defined for Mongoid / MongoMapper state attributes even if they're already defined in the model
9718a69 @obrie Raise error when states / events are referenced in a definition with dif...
obrie authored
15 * Raise error when states / events are referenced in a definition with different types (e.g. both Strings and Symbols)
7f8bc1a @obrie Add missing changelog entries
obrie authored
16 * Allow all states / events to be looked up by their string / symbol equivalent
17 * Allow state_machine to be loaded without extensions to the Ruby core
18
a19d165 @obrie Tag 1.1.0 release
obrie authored
19 ## 1.1.0 / 2011-11-13
20
e9c640f @obrie Allow the transitions / known states for an event to be reset
obrie authored
21 * Allow the transitions / known states for an event to be reset
8f71eb1 @obrie Add fire_#{name}_event instance method for firing an arbitrary event on ...
obrie authored
22 * Add fire_#{name}_event instance method for firing an arbitrary event on a state machine
e90ccbb @obrie Improve InvalidTransition exception messages to include the failure reas...
obrie authored
23 * Improve InvalidTransition exception messages to include the failure reason(s) in ORM integrations
f84ae4c @obrie Don't allow around_transitions to attempt to be called in multiple execu...
obrie authored
24 * Don't allow around_transitions to attempt to be called in multiple execution contexts when run in jruby
d05f564 @obrie Allow :from option to be used in transitions defined within state contex...
obrie authored
25 * Allow :from option to be used in transitions defined within state contexts
33bbe15 @obrie Fix arguments / block not being preserved when chaining methods defined ...
obrie authored
26 * Fix arguments / block not being preserved when chaining methods defined in state contexts
8af99f2 @obrie Fix super not being allowed when a method is defined for multiple state ...
obrie authored
27 * Fix super not being allowed when a method is defined for multiple state contexts
a21764d @obrie Change loopbacks to only cause objects to be persisted when the ORM deci...
obrie authored
28 * Change loopbacks to only cause objects to be persisted when the ORM decides it's necessary, instead of always forcing persistence
280980d @obrie Fix Mongoid 2.3.x integrations not initializing dynamic states in the sa...
obrie authored
29 * Fix Mongoid 2.3.x integrations not initializing dynamic states in the same manner as other integrations with initialize callbacks
30
6734926 @obrie Tag v1.0.3 release
obrie authored
31 ## 1.0.3 / 2011-11-03
32
30fbe07 @obrie Fix MongoMapper 0.10.0+ integrations not matching versions properly
obrie authored
33 * Fix MongoMapper 0.10.0+ integrations not matching versions properly
2bb565e @obrie Update warnings for method conflicts to include instructions on how to i...
obrie authored
34 * Update warnings for method conflicts to include instructions on how to ignore conflicts
cc14fb1 @durran Fix state initialization in Mongoid 2.3.x integrations. Closes #125
durran authored
35 * Fix state initialization in Mongoid 2.3.x integrations [Durran Jordan]
850eb8d @obrie Fix after_transition callbacks sometimes not running in Mongoid 2.2.x in...
obrie authored
36 * Fix after_transition callbacks sometimes not running in Mongoid 2.2.x integrations
bd3ccd5 @obrie Automatically load the plugins required in Sequel integrations
obrie authored
37 * Automatically load the plugins required in Sequel integrations
3117942 @obrie Allow all / any matcher helpers to be used when defining states / events...
obrie authored
38 * Allow all / any matcher helpers to be used when defining states / events
dff91f8 @obrie Allow states / events to be referenced by the string equivalent of their...
obrie authored
39 * Allow states / events to be referenced by the string equivalent of their name
83729ee @obrie Fix observer callbacks being run incorrectly when using nil states in Ac...
obrie authored
40 * Fix observer callbacks being run incorrectly when using nil states in ActiveModel-based integrations
fe2b9be @obrie Remove ActiveModel Observer method chains in order to better ensure comp...
obrie authored
41 * Remove ActiveModel Observer method chains in order to better ensure compatibility
307cb42 @obrie Update DataMapper integration for 1.2.0+ support. Closes #106
obrie authored
42 * Update DataMapper integration for 1.2.0+ support [Markus Schirp]
a3557b7 @obrie Provide access to the human state name in invalid_transition translation...
obrie authored
43 * Provide access to the human state name in invalid_transition translations
0383dad @obrie Add support for i18n keys in the form of #{i18n_scope}.state_machines.#{...
obrie authored
44 * Add support for i18n keys in the form of #{i18n_scope}.state_machines.#{model_name}.states/events.#{value}
579e952 @obrie Add changelog entries on doc updates
obrie authored
45 * Clarify documentation on writing to state machine attributes, using factory_girl and can_#{event} / #{event}_transition helpers
46 * Add documentation for dynmically generating state machines
47
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
48 ## 1.0.2 / 2011-08-09
eced63e @obrie Tag v1.0.2 release
obrie authored
49
ce78afc @obrie Allow transitions to be defined within a state, event, or machine contex...
obrie authored
50 * Allow transitions to be defined within a state, event, or machine context
fef2fdb @obrie Use supported framework hooks for integrating Sequel 3.24.0+
obrie authored
51 * Use supported framework hooks for integrating Sequel 3.24.0+
a7c1726 @obrie Use appraisal for testing integrations. Closes #105
obrie authored
52 * Use appraisal for testing integrations
8985dbe @obrie Improve documentation on the handling of method conflicts
obrie authored
53 * Improve documentation on the handling of method conflicts
444fc20 @obrie Update Mongoid integration for 2.1.0+ support
obrie authored
54 * Update Mongoid integration for 2.1.0+ support
e13eb7f @obrie Fix ActiveRecord machine state predicates incorrectly calling superclass...
obrie authored
55 * Fix ActiveRecord machine state predicates incorrectly calling superclass implementation when using targeted attributes
8fb2846 @obrie Fix error when defining states with the same name as the state's machine...
obrie authored
56 * Fix error when defining states with the same name as the state's machine in ActiveRecord, MongoMapper, and Mongoid integrations
f87e227 @obrie Fix machine state predicate not calling superclass implementation if def...
obrie authored
57 * Fix machine state predicate not calling superclass implementation if defined after machine definition
9ff4319 @obrie Generate warnings when defining a helper method more than once
obrie authored
58 * Generate warnings when defining a helper method more than once
4297235 @obrie Fix multiple machines not being able to target the same attribute if all...
obrie authored
59 * Fix multiple machines not being able to target the same attribute if all possible states aren't defined in each
ad58318 @obrie Fix ActiveModel / DataMapper integrations not overriding StateMachine::M...
obrie authored
60 * Fix ActiveModel / DataMapper integrations not overriding StateMachine::Machine#after_initialize properly
6f0c123 @obrie Add changelog entry for doc updates
obrie authored
61 * Improve documentation for overriding states and integration transactions
62
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
63 ## 1.0.1 / 2011-05-30
6848491 @obrie Tag v1.0.1 release
obrie authored
64
d3c130c @obrie Add the ability to ignore method conflicts for helpers
obrie authored
65 * Add the ability to ignore method conflicts for helpers
a58f5ee @obrie Generate warnings for any helper, not just state helpers, that has a con...
obrie authored
66 * Generate warnings for any helper, not just state helpers, that has a conflicting method defined in the class
24c78fb @obrie Fix scopes in Sequel not working if the table name contains double under...
obrie authored
67 * Fix scopes in Sequel not working if the table name contains double underscores or is not a string/symbol
0e03c5b @obrie Add full support for chaining state scopes within Sequel integrations
obrie authored
68 * Add full support for chaining state scopes within Sequel integrations
fc79b7c @stefanpenner Fix Rails 3.1 deprecation warnings for configuring engine locales
stefanpenner authored
69 * Fix Rails 3.1 deprecation warnings for configuring engine locales [Stefan Penner]
70
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
71 ## 1.0.0 / 2011-05-12
de26998 @obrie Tag v1.0.0 release
obrie authored
72
73 * Celebrate
74
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
75 ## 0.10.4 / 2011-04-14
95aca08 @obrie Tag v0.10.4 release
obrie authored
76
105c903 @obrie Fix translations not being available under certain environments in Rails...
obrie authored
77 * Fix translations not being available under certain environments in Rails applications
78
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
79 ## 0.10.3 / 2011-04-07
07313b1 @obrie Tag 0.10.3 release
obrie authored
80
45eef38 @obrie Fix state initialization failing in ActiveRecord 3.0.2+ when using with_...
obrie authored
81 * Fix state initialization failing in ActiveRecord 3.0.2+ when using with_state scopes for the default scope
82
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
83 ## 0.10.2 / 2011-03-31
1d31d15 @obrie Tag 0.10.2 release
obrie authored
84
87c5b41 @obrie Use more integrated state initialization hooks for ActiveRecord, Mongoid...
obrie authored
85 * Use more integrated state initialization hooks for ActiveRecord, Mongoid, and Sequel
86 * Remove mass-assignment filtering usage in all ORM integrations
c9e3f26 @obrie Only support official Mongoid 2.0.0 release and up (no more RC support)
obrie authored
87 * Only support official Mongoid 2.0.0 release and up (no more RC support)
225e8dd @obrie Fix attributes getting initialized more than once if different state mac...
obrie authored
88 * Fix attributes getting initialized more than once if different state machines use the same attribute
8f6f078 @obrie Only initialize states if state is blank and blank is not a valid state
obrie authored
89 * Only initialize states if state is blank and blank is not a valid state
ff050bd @obrie Simplify helpers by allowing the use of string evaluation
obrie authored
90 * Fix instance / class helpers failing when used with certain libraries (such as Thin)
91
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
92 ## 0.10.1 / 2011-03-22
55be60f @obrie Tag 0.10.1 release
obrie authored
93
a6cb505 @obrie Fix classes with multiple state machines failing to initialize in Active...
obrie authored
94 * Fix classes with multiple state machines failing to initialize in ActiveRecord / Mongoid / Sequel integrations
95
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
96 ## 0.10.0 / 2011-03-19
2dc86f7 @obrie Tag 0.10.0 release
obrie authored
97
f7cb57a @obrie Support callback terminators in MongoMapper 0.9.0+
obrie authored
98 * Support callback terminators in MongoMapper 0.9.0+
b628585 @obrie Fix pluralization integration on DataMapper 1.0.0 and 1.1.0
obrie authored
99 * Fix pluralization integration on DataMapper 1.0.0 and 1.1.0
2931f4f @obrie Allow transition guards to be bypassed for event / transition / path hel...
obrie authored
100 * Allow transition guards to be bypassed for event / transition / path helpers
101 * Allow state / condition requirements to be specified for all event / transition / path helpers
2c12422 @obrie Add the ability to skip automatically initializing state machines on #in...
obrie authored
102 * Add the ability to skip automatically initializing state machines on #initialize
8c615be @obrie Add #{name}_paths for walking the available paths in a state machine
obrie authored
103 * Add #{name}_paths for walking the available paths in a state machine
26ec31a @obrie Add Mongoid 2.0.0+ support
obrie authored
104 * Add Mongoid 2.0.0+ support
302c71e @obrie Use around hooks to improve compatibility with other libraries in Active...
obrie authored
105 * Use around hooks to improve compatibility with other libraries in ActiveModel / ActiveRecord / MongoMapper integrations
3c22b58 @obrie Add support for MassAssignmentSecurity feature in ActiveModel integratio...
obrie authored
106 * Add support for MassAssignmentSecurity feature in ActiveModel integrations
401f173 @obrie Add i18n support for MongoMapper validation errors
obrie authored
107 * Add support for more observer hooks within MongoMapper integrations
108 * Add i18n support for MongoMapper validation errors
0a449f5 @obrie Add changelog for MongoMapper update
obrie authored
109 * Update support for MongoMapper integration based on rails3 branch
8c615be @obrie Add #{name}_paths for walking the available paths in a state machine
obrie authored
110 * Fix objects not getting marked as dirty in all integrations when #{name}_event is set
d695c8e @obrie Allow fallback to generic state predicates when individual predicates ar...
obrie authored
111 * Generate warnings when conflicting state / event names are detected
112 * Allow fallback to generic state predicates when individual predicates are already defined in the owner class
eb77529 @obrie Replace :include_failures after_transition option with new after_failure...
obrie authored
113 * Replace :include_failures after_transition option with new after_failure callback
b600752 @obrie Provide access to transition context when raising InvalidEvent / Invalid...
obrie authored
114 * Provide access to transition context when raising InvalidEvent / InvalidTransition exceptions
115
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
116 ## 0.9.4 / 2010-08-01
e625d26 @obrie Tag 0.9.4 release
obrie authored
117
1609cc3 @obrie Fix validation / save hooks in Sequel 3.14.0+
obrie authored
118 * Fix validation / save hooks in Sequel 3.14.0+
707511c @obrie Fix integration with dirty attribute tracking on DataMapper 1.0.1+
obrie authored
119 * Fix integration with dirty attribute tracking on DataMapper 1.0.1+
9ef72d3 @obrie Fix DataMapper 1.0.1+ tests producing warnings
obrie authored
120 * Fix DataMapper 1.0.1+ tests producing warnings
10a1784 @obrie Fix validation error warnings in ActiveModel / ActiveRecord 3.0.0 beta5+
obrie authored
121 * Fix validation error warnings in ActiveModel / ActiveRecord 3.0.0 beta5+
1e5e04b @amatsuda Fix mass-assignment sanitization breaking in ActiveRecord 3.0.0 beta5+ [...
amatsuda authored
122 * Fix mass-assignment sanitization breaking in ActiveRecord 3.0.0 beta5+ [Akira Matsuda]
123
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
124 ## 0.9.3 / 2010-06-26
8f413e7 @obrie Tag 0.9.3 release
obrie authored
125
baba531 @obrie Allow access to human state / event names in transitions and for the cur...
obrie authored
126 * Allow access to human state / event names in transitions and for the current state
d4ae362 @obrie Allow access to the humanized version of state / event names via human_s...
obrie authored
127 * Use human state / event names in error messages
128 * Fix event names being used inconsistently in error messages
129 * Allow access to the humanized version of state / event names via human_state_name / human_state_event_name
afe2b23 @obrie Allow MongoMapper 0.8.0+ scopes to be chainable
obrie authored
130 * Allow MongoMapper 0.8.0+ scopes to be chainable
8eab39e @obrie Fix i18n deprecation warnings in ActiveModel / ActiveRecord 3.0.0.beta4
obrie authored
131 * Fix i18n deprecation warnings in ActiveModel / ActiveRecord 3.0.0.beta4
2adabdd @obrie Fix default error message translations overriding existing locales in Ac...
obrie authored
132 * Fix default error message translations overriding existing locales in ActiveModel / ActiveRecord
133
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
134 ## 0.9.2 / 2010-05-24
209f6a6 @obrie Tag 0.9.2 release
obrie authored
135
fbb6fdd @obrie Fix MongoMapper integration failing in Ruby 1.9.2
obrie authored
136 * Fix MongoMapper integration failing in Ruby 1.9.2
d361b00 Fix Rakefile not loading in Ruby 1.9.2
Andrea Longhi authored
137 * Fix Rakefile not loading in Ruby 1.9.2 [Andrea Longhi]
14cf916 @obrie Fix nil / false :integration configuration not being respected
obrie authored
138 * Fix nil / false :integration configuration not being respected
139
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
140 ## 0.9.1 / 2010-05-02
fb2bdc7 @obrie Tag 0.9.1 release
obrie authored
141
e9f8f0e @obrie Fix ActiveRecord 2.0.0 - 2.2.3 integrations failing if version info isn'...
obrie authored
142 * Fix ActiveRecord 2.0.0 - 2.2.3 integrations failing if version info isn't already loaded
6ac8f4b @obrie Fix integration with dirty attribute tracking on DataMapper 0.10.3
obrie authored
143 * Fix integration with dirty attribute tracking on DataMapper 0.10.3
903975e @obrie Fix observers failing in ActiveRecord 3.0.0.beta4+ integrations
obrie authored
144 * Fix observers failing in ActiveRecord 3.0.0.beta4+ integrations
1777f40 @shanghaichris Fix deprecation warning in Rails 3 railtie
shanghaichris authored
145 * Fix deprecation warning in Rails 3 railtie [Chris Yuan]
146
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
147 ## 0.9.0 / 2010-04-12
9dea9bc @obrie Tag 0.9.0 release
obrie authored
148
0ba7c3f @obrie Use attribute-based event transitions whenever possible to ensure consis...
obrie authored
149 * Use attribute-based event transitions whenever possible to ensure consistency
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
150 * Fix action helpers being defined when the action is **only** defined in the machine's owner class
508fa55 @obrie Disable attribute-based event transitions in DataMapper 0.9.4 - 0.9.6 wh...
obrie authored
151 * Disable attribute-based event transitions in DataMapper 0.9.4 - 0.9.6 when dm-validations is being used
05dbd3e @obrie Add support for DataMapper 0.10.3+
obrie authored
152 * Add support for DataMapper 0.10.3+
e728bac @obrie Add around_transition callbacks
obrie authored
153 * Add around_transition callbacks
09552cb @obrie Fix attribute-based event transitions not hooking in properly in DataMap...
obrie authored
154 * Fix transition failures during save not being handled correctly in Sequel 2.12.0+
155 * Fix attribute-based event transitions not hooking in properly in DataMapper 0.10.0+ and Sequel 2.12.0+
05fb25b @obrie Fix dynamic initial states causing errors in Ruby 1.9+ if no arguments a...
obrie authored
156 * Fix dynamic initial states causing errors in Ruby 1.9+ if no arguments are defined in the block
1b2e8de @obrie Add MongoMapper 0.5.5+ support
obrie authored
157 * Add MongoMapper 0.5.5+ support
6c952ec @obrie Add ActiveModel 3.0+ support for use with integrations that implement it...
obrie authored
158 * Add ActiveModel 3.0+ support for use with integrations that implement its interface
2191c1f @obrie Fix DataMapper integration failing when ActiveSupport is loaded in place...
obrie authored
159 * Fix DataMapper integration failing when ActiveSupport is loaded in place of Extlib
2de2359 @obrie Add version dependencies for ruby-graphviz
obrie authored
160 * Add version dependencies for ruby-graphviz
d5f3f71 @obrie Remove app-specific rails / merb rake tasks in favor of always running s...
obrie authored
161 * Remove app-specific rails / merb rake tasks in favor of always running state_machine:draw
1127d4b @obrie Add Rails 3 railtie for automatically loading rake tasks when installed ...
obrie authored
162 * Add Rails 3 railtie for automatically loading rake tasks when installed as a gem
163
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
164 ## 0.8.1 / 2010-03-14
1ba38cb @obrie Tag 0.8.1 release
obrie authored
165
16721fd @obrie Release gems via rake-gemcutter instead of rubyforge
obrie authored
166 * Release gems via rake-gemcutter instead of rubyforge
06b8c1d @obrie Move rake tasks to lib/tasks
obrie authored
167 * Move rake tasks to lib/tasks
cb3a8de Dispatch state behavior to the superclass if it's undefined for a partic...
Sandro Turriate and Tim Pope authored
168 * Dispatch state behavior to the superclass if it's undefined for a particular state [Sandro Turriate and Tim Pope]
e25a320 @obrie Fix state / event names not supporting i18n in ActiveRecord
obrie authored
169 * Fix state / event names not supporting i18n in ActiveRecord
216922a Fix original ActiveRecord::Observer#update not being used for non-state_...
Jeremy Wells authored
170 * Fix original ActiveRecord::Observer#update not being used for non-state_machine callbacks [Jeremy Wells]
8ec6741 @obrie Add support for ActiveRecord 3.0
obrie authored
171 * Add support for ActiveRecord 3.0
ff95ec4 @evansj Fix without_{name} scopes not scoping columns to the table in ActiveReco...
evansj authored
172 * Fix without_{name} scopes not quoting columns in ActiveRecord [Jon Evans]
173 * Fix without_{name} scopes not scoping columns to the table in ActiveRecord and Sequel [Jon Evans]
a7118d7 @obrie Fix custom state attributes not being marked properly as changed in Acti...
obrie authored
174 * Fix custom state attributes not being marked properly as changed in ActiveRecord
d371f43 @obrie Properly attribute authors in CHANGELOG
obrie authored
175 * Fix tracked attributes changes in ActiveRecord / DataMapper integrations not working correctly for non-loopbacks [Joe Lind]
1e9a6eb @obrie Fix plural scope names being incorrect for DataMapper 0.9.4 - 0.9.6
obrie authored
176 * Fix plural scope names being incorrect for DataMapper 0.9.4 - 0.9.6
f6930e8 @obrie Fix deprecation warnings for ruby-graphviz 0.9.0+
obrie authored
177 * Fix deprecation warnings for ruby-graphviz 0.9.0+
4d62cc1 @chinasaur Add support for ActiveRecord 2.0.*
chinasaur authored
178 * Add support for ActiveRecord 2.0.*
2cf60d0 @obrie Fix default states not getting set in ORM integrations if the column has...
obrie authored
179 * Fix nil states being overwritten when they're explicitly set in ORM integrations
180 * Fix default states not getting set in ORM integrations if the column has a default
2ddd583 @obrie Fix event transitions being kept around while running actions/callbacks,...
obrie authored
181 * Fix event transitions being kept around while running actions/callbacks, sometimes preventing object marshalling
182
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
183 ## 0.8.0 / 2009-08-15
6970823 @obrie Tag 0.8.0 release
obrie authored
184
d40b214 @obrie Add support for DataMapper 0.10.0
obrie authored
185 * Add support for DataMapper 0.10.0
c1cab6f @obrie Always interpet nil return values from actions as failed attempts
obrie authored
186 * Always interpet nil return values from actions as failed attempts
bcaafa8 @obrie Fix loopbacks not causing records to save in ORM integrations if no othe...
obrie authored
187 * Fix loopbacks not causing records to save in ORM integrations if no other fields were changed
2736112 @obrie Fix events not failing with useful errors when an object's state is inva...
obrie authored
188 * Fix events not failing with useful errors when an object's state is invalid
04b179d @obrie Use more friendly NoMethodError messages for state-driven behaviors
obrie authored
189 * Use more friendly NoMethodError messages for state-driven behaviors
1f7ebc5 @obrie Fix before_transition callbacks getting run twice when using event attri...
obrie authored
190 * Fix before_transition callbacks getting run twice when using event attributes in ORM integrations
1141c69 @obrie Add the ability to query for the availability of specific transitions on...
obrie authored
191 * Add the ability to query for the availability of specific transitions on an object
66beaf8 @obrie Typos / tweaks in changelogs
obrie authored
192 * Allow after_transition callbacks to be explicitly run on failed attempts
01f2769 @obrie By default, don't run after_transition callbacks on failed attempts
obrie authored
193 * By default, don't run after_transition callbacks on failed attempts
66beaf8 @obrie Typos / tweaks in changelogs
obrie authored
194 * Fix not allowing multiple methods to be specified as arguments in callbacks
ecfc0cf @obrie Allow static initial states to be set earlier in the initialization of a...
obrie authored
195 * Fix initial states being set when loading records from the database in Sequel integration
196 * Allow static initial states to be set earlier in the initialization of an object
364ce7b @obrie Use friendly validation errors for nil states
obrie authored
197 * Use friendly validation errors for nil states
dc7cd22 @obrie Fix states not being validated properly when using custom names in Activ...
obrie authored
198 * Fix states not being validated properly when using custom names in ActiveRecord / DataMapper integrations
199
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
200 ## 0.7.6 / 2009-06-17
ec98c87 @obrie Tag 0.7.6 release
obrie authored
201
5f8cd2f @obrie Use :attribute to customize the attribute target and remove :as, assumin...
obrie authored
202 * Allow multiple state machines on the same class to target the same attribute
7c49ad3 @obrie Remove :as changelog entry that was reverted to avoid confusion
obrie authored
203 * Add support for :attribute to customize the attribute target, assuming the name is the first argument of #state_machine
02b585f @obrie Add support for customizing generated methods like #{attribute}_name usi...
obrie authored
204 * Simplify reading from / writing to machine-related attributes on objects
01fd1c4 @mixr Fix locale for ActiveRecord getting added to the i18n load path multiple...
mixr authored
205 * Fix locale for ActiveRecord getting added to the i18n load path multiple times [Reiner Dieterich]
b578e79 @bdimcheff Fix callbacks, guards, and state-driven behaviors not always working on ...
bdimcheff authored
206 * Fix callbacks, guards, and state-driven behaviors not always working on tainted classes [Brandon Dimcheff]
7ecdb97 @obrie Use Ruby 1.9's built-in Object#instance_exec for bound callbacks when it...
obrie authored
207 * Use Ruby 1.9's built-in Object#instance_exec for bound callbacks when it's available
4d31342 @obrie Improve performance of cached dynamic state lookups by 25%
obrie authored
208 * Improve performance of cached dynamic state lookups by 25%
209
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
210 ## 0.7.5 / 2009-05-25
1bade32 @obrie Tag 0.7.5 release
obrie authored
211
b75945a @obrie Add built-in caching for dynamic state values when the value only needs ...
obrie authored
212 * Add built-in caching for dynamic state values when the value only needs to be generated once
2fc44e5 @obrie Fix flawed example for using record ids as state values
obrie authored
213 * Fix flawed example for using record ids as state values
214 * Don't evaluate state values until they're actually used in an object instance
ed32e60 @obrie Make it easier to use event attributes for actions defined in the same c...
obrie authored
215 * Make it easier to use event attributes for actions defined in the same class as the state machine
d45428f @obrie Fix #save/save! running transitions in ActiveRecord integrations even wh...
obrie authored
216 * Fix #save/save! running transitions in ActiveRecord integrations even when a machine's action is not :save
217
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
218 ## 0.7.4 / 2009-05-23
9669f10 @obrie Tag 0.7.4 release
obrie authored
219
b48bfc9 @obrie Fix #save! not firing event attributes properly in ActiveRecord integrat...
obrie authored
220 * Fix #save! not firing event attributes properly in ActiveRecord integrations
0d20db4 @obrie Fix log files being included in gems
obrie authored
221 * Fix log files being included in gems
222
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
223 ## 0.7.3 / 2009-04-25
00fe711 @obrie Tag 0.7.3 release
obrie authored
224
03e413c @obrie Require DataMapper version be >= 0.9.4
obrie authored
225 * Require DataMapper version be >= 0.9.4
9471c0c @obrie Explicitly load Sequel's built-in inflector (>= 2.12.0) for scope names
obrie authored
226 * Explicitly load Sequel's built-in inflector (>= 2.12.0) for scope names
9207069 @obrie Don't use qualified name for event attributes [#21 state:resolved]
obrie authored
227 * Don't use qualified name for event attributes
67f78b9 @obrie Fix #valid? being defined for DataMapper resources when dm-validations i...
obrie authored
228 * Fix #valid? being defined for DataMapper resources when dm-validations isn't loaded
db21016 @obrie Add auto-validation of values allowed for the state attribute in ORM int...
obrie authored
229 * Add auto-validation of values allowed for the state attribute in ORM integrations
230
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
231 ## 0.7.2 / 2009-04-08
a6d31c7 @obrie Tag 0.7.2 release
obrie authored
232
aeb46a6 @obrie Add more flexibility around how callbacks are defined
obrie authored
233 * Add support for running multiple methods in a callback without using blocks
234 * Add more flexibility around how callbacks are defined
d2f7ac6 @obrie Add security documentation around mass-assignment in ORM integrations
obrie authored
235 * Add security documentation around mass-assignment in ORM integrations
4a194fb @obrie Fix event attribute transitions being publicly accessible
obrie authored
236 * Fix event attribute transitions being publicly accessible
237
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
238 ## 0.7.1 / 2009-04-05
883805e @obrie Tag 0.7.1 release
obrie authored
239
b4b65d3 @obrie Fix machines failing to generate graphs when run from Merb tasks
obrie authored
240 * Fix machines failing to generate graphs when run from Merb tasks
241
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
242 ## 0.7.0 / 2009-04-04
aa6dfcb @obrie Tag 0.7.0 release
obrie authored
243
2122d32 @obrie Add #{attribute}_event for automatically firing events when the object's...
obrie authored
244 * Add #{attribute}_event for automatically firing events when the object's action is called
a167529 @obrie Make it easier to override state-driven behaviors
obrie authored
245 * Make it easier to override state-driven behaviors
44f9581 @obrie Clarify rollback change in changelog
obrie authored
246 * Rollback state changes when the action fails during transitions
c3dd76b @obrie Use :messages instead of :invalid_message for customizing validation err...
obrie authored
247 * Use :messages instead of :invalid_message for customizing validation errors
248 * Use more human-readable validation errors
5ef129f @obrie Add support for more ActiveRecord observer hooks
obrie authored
249 * Add support for more ActiveRecord observer hooks
804b02a @obrie Add support for targeting multiple specific state machines in DataMapper...
obrie authored
250 * Add support for targeting multiple specific state machines in DataMapper observer hooks
2c9ebd8 @obrie Don't pass the result of the action as an argument to callbacks (access ...
obrie authored
251 * Don't pass the result of the action as an argument to callbacks (access via Transition#result)
252 * Fix incorrect results being used when running transitions in parallel
a1868de @obrie Fix transition args not being set when run in parallel
obrie authored
253 * Fix transition args not being set when run in parallel
b98d4a3 @obrie Allow callback terminators to be set on an application-wide basis
obrie authored
254 * Allow callback terminators to be set on an application-wide basis
008ae6b @obrie Only catch :halt during before / after transition callbacks
obrie authored
255 * Only catch :halt during before / after transition callbacks
463577d @obrie Fix ActiveRecord predicates being overwritten if they're already defined...
obrie authored
256 * Fix ActiveRecord predicates being overwritten if they're already defined in the class
d12fac3 @obrie Allow machine options to be set on an integration-wide basis
obrie authored
257 * Allow machine options to be set on an integration-wide basis
cd06ecc @obrie Add missing CHANGELOG message: Turn transactions off by default in DataM...
obrie authored
258 * Turn transactions off by default in DataMapper integrations
82bbb0b @obrie Add support for configuring the use of transactions
obrie authored
259 * Add support for configuring the use of transactions
891d2ea @obrie Simplify reading/writing of attributes
obrie authored
260 * Simplify reading/writing of attributes
3816088 @obrie Simplify access to state machines via #state_machine(:attribute) without...
obrie authored
261 * Simplify access to state machines via #state_machine(:attribute) without generating dupes
dd659a6 @obrie Fix assumptions that dm-validations is always available in DataMapper in...
obrie authored
262 * Fix assumptions that dm-validations is always available in DataMapper integration
93893cf @obrie Automatically define DataMapper properties for machine attributes if the...
obrie authored
263 * Automatically define DataMapper properties for machine attributes if they don't exist
6b35593 @obrie Add Transition#qualified_event, #qualified_from_name, and #qualified_to_...
obrie authored
264 * Add Transition#qualified_event, #qualified_from_name, and #qualified_to_name
17b472c @obrie Add #fire_events / #fire_events! for running events on multiple state ma...
obrie authored
265 * Add #fire_events / #fire_events! for running events on multiple state machines in parallel
26e1b8f @obrie Rename next_#{event}_transition to #{event}_transition
obrie authored
266 * Rename next_#{event}_transition to #{event}_transition
267 * Add #{attribute}_transitions for getting the list of transitions that can be run on an object
268 * Add #{attribute}_events for getting the list of events that can be fired on an object
70d9c72 @obrie Use generated non-bang event when running bang version so that overridin...
obrie authored
269 * Use generated non-bang event when running bang version so that overriding one affects the other
47f72a6 @obrie Provide access to arguments passed into an event from transition callbac...
obrie authored
270 * Provide access to arguments passed into an event from transition callbacks via Transition#args
271
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
272 ## 0.6.3 / 2009-03-10
37b2363 @obrie Tag 0.6.3 release
obrie authored
273
51306ac @obrie Add support for customizing the graph's orientation
obrie authored
274 * Add support for customizing the graph's orientation
b2b841d @obrie Use the standard visualizations for initial (open arrow) and final (doub...
obrie authored
275 * Use the standard visualizations for initial (open arrow) and final (double circle) states
f506670 @obrie Highlight final states in GraphViz drawings
obrie authored
276 * Highlight final states in GraphViz drawings
277
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
278 ## 0.6.2 / 2009-03-08
da5f0c2 @obrie Tag 0.6.2 release
obrie authored
279
ea7eb4c @obrie Make it easier to override generated instance / class methods
obrie authored
280 * Make it easier to override generated instance / class methods
281
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
282 ## 0.6.1 / 2009-03-07
fb3fa92 @obrie Tag 0.6.1 release
obrie authored
283
d0c9991 @obrie Add i18n support for ActiveRecord validation errors
obrie authored
284 * Add i18n support for ActiveRecord validation errors
8c843f0 @obrie Add a validation error when failing to transition for ActiveRecord / Dat...
obrie authored
285 * Add a validation error when failing to transition for ActiveRecord / DataMapper / Sequel integrations
286
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
287 ## 0.6.0 / 2009-03-03
3022154 @obrie Tag 0.6.0 release
obrie authored
288
13f0f20 @obrie Allow multiple conditions for callbacks / class behaviors
obrie authored
289 * Allow multiple conditions for callbacks / class behaviors
d9b66f3 @obrie Fix typo in changelog
obrie authored
290 * Add support for state-driven class behavior with :if/:unless options
88f8a0d @obrie Alias Machine#event as Machine#on
obrie authored
291 * Alias Machine#event as Machine#on
cdec7f2 @obrie Add simplified transition/callback requirement syntax (and recommend its...
obrie authored
292 * Fix nil from/to states not being handled properly
293 * Simplify hooking callbacks into loopbacks
294 * Add simplified transition/callback requirement syntax
295
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
296 ## 0.5.2 / 2009-02-17
5bdc422 @obrie Tag 0.5.2 release
obrie authored
297
237096f @obrie Simplify state/event matching design, improving guard performance by 30%
obrie authored
298 * Improve pretty-print of events
299 * Simplify state/event matching design, improving guard performance by 30%
5e07007 @obrie Add better error notification when conflicting guard options are defined
obrie authored
300 * Add better error notification when conflicting guard options are defined
cd16cad @obrie Fix scope name pluralization not being applied correctly [#13 state:reso...
obrie authored
301 * Fix scope name pluralization not being applied correctly
302
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
303 ## 0.5.1 / 2009-02-11
97cf57a @obrie Tag 0.5.1 release
obrie authored
304
d6fbdcc @obrie Allow states to be drawn as ellipses to accommodate long names
obrie authored
305 * Allow states to be drawn as ellipses to accommodate long names
a75a282 @obrie Fix rake tasks not being registered in Rails/Merb applications [#11 stat...
obrie authored
306 * Fix rake tasks not being registered in Rails/Merb applications
1475acf @obrie Never automatically define machine attribute accessors when using an int...
obrie authored
307 * Never automatically define machine attribute accessors when using an integration
308
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
309 ## 0.5.0 / 2009-01-11
ddc8d1a @obrie Tag 0.5.0 release
obrie authored
310
45bc27f @obrie Add missing changelog message for to_name / from_name additions in trans...
obrie authored
311 * Add to_name and from_name to transition objects
7f7fc4a @obrie Add nicely formatted #inspect for transitions
obrie authored
312 * Add nicely formatted #inspect for transitions
762906a @obrie Fix ActiveRecord integrations failing when the database doesn't exist ye...
obrie authored
313 * Fix ActiveRecord integrations failing when the database doesn't exist yet
b9d0ccc @obrie Add support for customizing the actual stored value for a state
obrie authored
314 * Fix states not being drawn in GraphViz graphs in the correct order
315 * Add nicely formatted #inspect for states and events
316 * Simplify machine context-switching
317 * Store events/states in enumerable node collections
318 * No longer allow subclasses to change the integration
319 * Move fire! action logic into the Event class (no longer calls fire action on the object)
320 * Allow states in subclasses to have different values
321 * Recommend that all states be referenced as symbols instead of strings
322 * All states must now be named (and can be associated with other value types)
323 * Add support for customizing the actual stored value for a state
670ac78 @obrie Add compatibility with Ruby 1.9+
obrie authored
324 * Add compatibility with Ruby 1.9+
325
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
326 ## 0.4.3 / 2008-12-28
ba6dfeb @obrie Tag 0.4.3 release
obrie authored
327
bae9e16 @obrie Allow dm-observer integration to be optional
obrie authored
328 * Allow dm-observer integration to be optional
82a5135 @obrie Fix non-lambda callbacks not working for DataMapper/Sequel
obrie authored
329 * Fix non-lambda callbacks not working for DataMapper/Sequel
330
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
331 ## 0.4.2 / 2008-12-28
faef342 @obrie Tag 0.4.2 release
obrie authored
332
a8bf1c9 @obrie Fix graphs not being drawn the same way consistently
obrie authored
333 * Fix graphs not being drawn the same way consistently
b8de3a7 @obrie Add support for sharing transitions across multiple events
obrie authored
334 * Add support for sharing transitions across multiple events
db88b6f @obrie Add support for state-driven behavior
obrie authored
335 * Add support for state-driven behavior
d71fedb @obrie Simplify initialize hooks, requiring super to be called instead
obrie authored
336 * Simplify initialize hooks, requiring super to be called instead
cfa7757 @obrie Add :namespace option for generated state predicates / event methods
obrie authored
337 * Add :namespace option for generated state predicates / event methods
338
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
339 ## 0.4.1 / 2008-12-16
2035234 @obrie Tag 0.4.1 release
obrie authored
340
977c977 @obrie Fix nil states not being handled properly in guards, known states, or vi...
obrie authored
341 * Fix nil states not being handled properly in guards, known states, or visualizations
342 * Fix the same node being used for different dynamic states in GraphViz output
343 * Always include initial state in the list of known states even if it's dynamic
344 * Use consistent naming scheme for dynamic states in GraphViz output
345 * Allow blocks to be directly passed into machine class
198570e @obrie Fix attribute predicates not working on attributes that represent column...
obrie authored
346 * Fix attribute predicates not working on attributes that represent columns in ActiveRecord
347
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
348 ## 0.4.0 / 2008-12-14
5d5b3d2 @obrie Tag 0.4.0 release
obrie authored
349
146afff @obrie Remove the PluginAWeek namespace
obrie authored
350 * Remove the PluginAWeek namespace
48d83df @obrie Add generic attribute predicate (e.g. "#{attribute}?(state_name)") and s...
obrie authored
351 * Add generic attribute predicate (e.g. "#{attribute}?(state_name)") and state predicates (e.g. "#{state}?")
b68d4bd @obrie Add Sequel support
obrie authored
352 * Add Sequel support
06e8e84 @obrie Fix aliasing :initialize on ActiveRecord models causing warnings when th...
obrie authored
353 * Fix aliasing :initialize on ActiveRecord models causing warnings when the environment is reloaded
c3d532f @obrie Fix ActiveRecord state machines trying to query the database on unmigrat...
obrie authored
354 * Fix ActiveRecord state machines trying to query the database on unmigrated models
bee135e @obrie Fix initial states not getting set when the current value is an empty st...
obrie authored
355 * Fix initial states not getting set when the current value is an empty string [Aaron Gibralter]
6f25124 @jashmenn Add rake tasks for generating graphviz files for state machines
jashmenn authored
356 * Add rake tasks for generating graphviz files for state machines [Nate Murray]
ef3eb0c @obrie Fix initial state not being included in list of known states
obrie authored
357 * Fix initial state not being included in list of known states
2269c93 Add other_states directive for defining additional states not referenced...
Pete Forde authored
358 * Add other_states directive for defining additional states not referenced in transitions or callbacks [Pete Forde]
bbd3a98 @obrie Add next_#{event}_transition for getting the next transition that would ...
obrie authored
359 * Add next_#{event}_transition for getting the next transition that would be performed if the event were invoked
fab942f @obrie Add missing CHANGELOG comments
obrie authored
360 * Add the ability to override the pluralized name of an attribute for creating scopes
361 * Add the ability to halt callback chains by: throw :halt
8f17ce0 @obrie Clarify CHANGELOG comments
obrie authored
362 * Add support for dynamic to states in transitions (e.g. :to => lambda {Time.now})
307ac8e @obrie Re-design to be library-agnostic (define state machines on any Ruby clas...
obrie authored
363 * Add support for using real blocks in before_transition/after_transition calls instead of using the :do option
364 * Add DataMapper support
365 * Include states referenced in transition callbacks in the list of a machine's known states
366 * Only generate the known states for a machine on demand, rather than calculating beforehand
8f17ce0 @obrie Clarify CHANGELOG comments
obrie authored
367 * Add the ability to skip state change actions during a transition (e.g. vehicle.ignite(false))
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
368 * Add the ability for the state change action (e.g. `save` for ActiveRecord) to be configurable
369 * Allow state machines to be defined on **any** Ruby class, not just ActiveRecord (removes all external dependencies)
307ac8e @obrie Re-design to be library-agnostic (define state machines on any Ruby clas...
obrie authored
370 * Refactor transitions, guards, and callbacks for better organization/design
8f17ce0 @obrie Clarify CHANGELOG comments
obrie authored
371 * Use a class containing the transition context in callbacks, rather than an ordered list of each individual attribute
f379ba9 @obrie Add missing owner from changelog message
obrie authored
372 * Add without_#{attribute} named scopes (opposite of the existing with_#{attribute} named scopes) [Sean O'Brien]
c7d4cfa @obrie Add changelog message for without_#{attribute} named scopes
obrie authored
373
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
374 ## 0.3.1 / 2008-10-26
6d21379 @obrie Tag 0.3.1 release
obrie authored
375
a6eb537 @obrie Fix the initial state not getting set when the state attribute is mass-a...
obrie authored
376 * Fix the initial state not getting set when the state attribute is mass-assigned but protected
a3cbd33 @obrie Change how the base module is included to prevent namespacing conflicts
obrie authored
377 * Change how the base module is included to prevent namespacing conflicts
378
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
379 ## 0.3.0 / 2008-09-07
ba3975e @obrie Tag 0.3.0 release
obrie authored
380
6a94afc @obrie MAJOR REWRITE! Replace all before/after_exit/enter/loopback callback hoo...
obrie authored
381 * No longer allow additional arguments to be passed into event actions
382 * Add support for can_#{event}? for checking whether an event can be fired based on the current state of the record
383 * Don't use callbacks for performing transitions
384 * Fix state machines in subclasses not knowing what states/events/transitions were defined by superclasses
385 * Replace all before/after_exit/enter/loopback callback hooks and :before/:after options for events with before_transition/after_transition callbacks, e.g.
386
387 before_transition :from => 'parked', :do => :lock_doors # was before_exit :parked, :lock_doors
388 after_transition :on => 'ignite', :do => :turn_on_radio # was event :ignite, :after => :turn_on_radio do
389
e542664 @obrie Always save when an event is fired even if it results in a loopback
obrie authored
390 * Always save when an event is fired even if it results in a loopback [Jürgen Strobel]
af5d9ad @obrie Ensure initial state callbacks are invoked in the proper order when an e...
obrie authored
391 * Ensure initial state callbacks are invoked in the proper order when an event is fired on a new record
e542664 @obrie Always save when an event is fired even if it results in a loopback
obrie authored
392 * Add before_loopback and after_loopback hooks [Jürgen Strobel]
4dabe2c @obrie Add before_loopback and after_loopback hooks
obrie authored
393
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
394 ## 0.2.1 / 2008-07-05
179ce54 @obrie Add more descriptive exceptions
obrie authored
395
396 * Add more descriptive exceptions
397 * Assume the default state attribute is "state" if one is not provided
7f1b4d6 @obrie Add :except_from option for transitions if you want to blacklist states
obrie authored
398 * Add :except_from option for transitions if you want to blacklist states
26d60af @obrie Add PluginAWeek::StateMachine::Machine#states
obrie authored
399 * Add PluginAWeek::StateMachine::Machine#states
400 * Add PluginAWeek::StateMachine::Event#transitions
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
401 * Allow creating transitions with no from state (effectively allowing the transition for **any** from state)
b90d731 @obrie Allow creating transitions with no from state (effectively allowing the ...
obrie authored
402 * Reduce the number of objects created for each transition
403
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
404 ## 0.2.0 / 2008-06-29
b3b009b @obrie Add a non-bang version of events (e.g. park) that will return a boolean ...
obrie authored
405
406 * Add a non-bang version of events (e.g. park) that will return a boolean value for success
407 * Raise an exception if the bang version of events are used (e.g. park!) and no transition is successful
408 * Change callbacks to act a little more like ActiveRecord
409 * Avoid using string evaluation for dynamic methods
410
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
411 ## 0.1.1 / 2008-06-22
6cf38df @obrie Tag 0.1.1 release
obrie authored
412
413 * Remove log files from gems
414
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
415 ## 0.1.0 / 2008-05-05
f356504 @obrie Completely rewritten from scratch
obrie authored
416
417 * Completely rewritten from scratch
418 * Renamed to state_machine
419 * Removed database dependencies
420 * Removed models in favor of an attribute-agnostic design
421 * Use ActiveSupport::Callbacks instead of eval_call
422 * Remove dry_transaction_rollbacks dependencies
423 * Added functional tests
424 * Updated documentation
425
354bf34 @morgoth Convert README / CHANGELOG to markdown. Closes #108
morgoth authored
426 ## 0.0.1 / 2007-09-26
26b00de @obrie Add dependency on custom_callbacks
obrie authored
427
5ad4f6c @obrie Prepare release dates/versions
obrie authored
428 * Add dependency on custom_callbacks
b506667 @obrie Move test fixtures out of the test application root directory
obrie authored
429 * Move test fixtures out of the test application root directory
430 * Improve documentation
431 * Remove the StateExtension module in favor of adding singleton methods to the stateful class
307fe93 @obrie Convert dos newlines to unix newlines
obrie authored
432 * Convert dos newlines to unix newlines
cbd2a5a @obrie Fix error message when a given event can't be found in the database.
obrie authored
433 * Fix error message when a given event can't be found in the database
c140b97 @obrie Add before_#{action} and #{action} callbacks when an event is performed.
obrie authored
434 * Add before_#{action} and #{action} callbacks when an event is performed
435 * All state and event callbacks can now explicitly return false in order to cancel the action
436 * Refactor ActiveState callback creation
437 * Refactor unit tests so that they use mock classes instead of themselves
12a93d4 @obrie Allow force_reload option to be set in the state association.
obrie authored
438 * Allow force_reload option to be set in the state association
439 * Don't save the entire model when updating the state_id
90c6786 @obrie Raise exception if a class tries to define a state more than once.
obrie authored
440 * Raise exception if a class tries to define a state more than once
441 * Add tests for PluginAWeek::Has::States::ActiveState
442 * Refactor active state/active event creation
443 * Fix owner_type not being set correctly in active states/events of subclasses
982f2f8 @obrie Allow subclasses to override the initial state.
obrie authored
444 * Allow subclasses to override the initial state
ea86551 @obrie Fix problem with migrations using default null when column cannot be nul...
obrie authored
445 * Fix problem with migrations using default null when column cannot be null
172f646 @obrie Moved deadline support into a separate plugin (has_state_deadlines).
obrie authored
446 * Moved deadline support into a separate plugin (has_state_deadlines).
447 * Added many more unit tests.
448 * Simplified many of the interfaces for maintainability.
449 * Added support for turning off recording state changes.
450 * Removed the short_description and long_description columns, in favor of an optional human_name column.
451 * Fixed not overriding the correct equality methods in the StateTransition class.
452 * Added to_sym to State and Event.
453 * State#name and Event#name now return the string version of the name instead of the symbol version.
454 * Added State#human_name and Event#human_name to automatically figure out what the human name is if it isn't specified in the table.
455 * Updated manual rollbacks to use the new Rails edge api (ActiveRecord::Rollback exception).
456 * Moved StateExtension class into a separate file in order to help keep the has_state files clean.
457 * Renamed InvalidState and InvalidEvent exceptions to StateNotFound and EventNotFound in order to follow the ActiveRecord convention (i.e. RecordNotFound).
458 * Added StateNotActive and EventNotActive exceptions to help differentiate between states which don't exist and states which weren't defined in the class.
459 * Added support for defining callbacks like so:
7bca32d @obrie Convert to a more sane CHANGELOG format using rdoc
obrie authored
460
172f646 @obrie Moved deadline support into a separate plugin (has_state_deadlines).
obrie authored
461 def before_exit_parked
462 end
463
464 def after_enter_idling
465 end
466
467 * Added support for defining callbacks using class methods:
7bca32d @obrie Convert to a more sane CHANGELOG format using rdoc
obrie authored
468
172f646 @obrie Moved deadline support into a separate plugin (has_state_deadlines).
obrie authored
469 before_exit_parked :fasten_seatbelt
470
471 * Added event callbacks after the transition has occurred (e.g. after_park)
472 * State callbacks no longer receive any of the arguments that were provided in the event action
307fe93 @obrie Convert dos newlines to unix newlines
obrie authored
473 * Updated license to include our names.
Something went wrong with that request. Please try again.