ChangeLog¶
1.1.1 (unreleased)¶
- Nothing changed yet.
1.0.3 (2014-01-29)¶
Bugfix:
- Allow setting the current state of a
WorkflowEnabledinstance from a state’s name- Ensure
statesbehaves as a proper mapping
1.0.0 (2013-04-29)¶
Bugfix:
- Fix hook registration on custom implementations while inheriting
WorkflowEnabled.
New:
- Add support for Python 2.6 to 3.2
Backward incompatible:
- The string representation of
StateandStateWrappernow reflects the state’s name, as does theirunicode()representation in Python 2.X.
0.4.0 (2012-08-02)¶
New:
- Improve support for transition hooks, with the
xworkflows.before_transition(),xworkflows.after_transition(),xworkflows.transition_check(),xworkflows.on_enter_state()andxworkflows.on_leave_state()decorators.
Bugfix:
- Fix support for inheritance of
xworkflows.WorkflowEnabledobjects.
Deprecated:
- Use of the
check=,before=,after=keyword arguments in the@transitiondecorator is now deprecated; use@before_transition,@after_transitionand@transition_checkinstead. Support for old keyword arguments will be removed in 0.5.0.
Backward incompatible:
- The (private)
ImplementationWrapperclass no longer accepts thecheck,before,afterarguments (usehooksinstead)
0.3.2 (2012-06-05)¶
Bugfix:
- Fix transition logging for objects whose __repr__ doesn’t convert to unicode.
0.3.0 (2012-04-30)¶
New:
- Allow and document customization of the
ImplementationWrapper- Add a method to check whether a transition is available from the current instance
- Cleanup
ImplementationListand improve its documentation