New:
- Improve support for transition hooks, with the xworkflows.before_transition(), xworkflows.after_transition(), xworkflows.transition_check(), xworkflows.on_enter_state() and xworkflows.on_leave_state() decorators.
Bugfix:
- Fix support for inheritance of xworkflows.WorkflowEnabled objects.
Deprecated:
- Use of the check=, before=, after= keyword arguments in the @transition decorator is now deprecated; use @before_transition, @after_transition and @transition_check instead. Support for old keyword arguments will be removed in 0.5.0.
Backward incompatible:
- The (private) ImplementationWrapper class no longer accepts the check, before, after arguments (use hooks instead)
Bugfix:
- Fix transition logging for objects whose __repr__ doesn’t convert to unicode.
New:
- Allow and document customization of the ImplementationWrapper
- Add a method to check whether a transition is available from the current instance
- Cleanup ImplementationList and improve its documentation