ChangeLog

1.1.1 (unreleased)

  • Nothing changed yet.

1.1.0 (2021-04-29)

New:

  • Add support for Python 3.7, 3.8, 3.9

1.0.4 (2014-08-11)

Bugfix:

  • Fix setup.py execution on Python3 or non-UTF locale.

1.0.3 (2014-01-29)

Bugfix:

  • Allow setting the current state of a WorkflowEnabled instance from a state’s name
  • Ensure states behaves as a proper mapping

1.0.2 (2013-09-24)

Bugfix:

  • Fix installation from PyPI

1.0.1 (2013-09-24)

Misc:

  • Switch back to setuptools >= 0.8 for packaging.

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 State and StateWrapper now reflects the state’s name, as does their unicode() representation in Python 2.X.

0.4.1 (2012-08-03)

Bugfix:

0.4.0 (2012-08-02)

New:

Bugfix:

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)

0.3.2 (2012-06-05)

Bugfix:

  • Fix transition logging for objects whose __repr__ doesn’t convert to unicode.

0.3.1 (2012-05-29)

Bugfix:

  • Make the title argument mandatory in State initialization

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 ImplementationList and improve its documentation

0.2.4 (23 04 2012)

New:

  • Improve documentation
  • Add pre-transition check hook
  • Remove alternate Workflow definition schemes.
  • Properly validate objects using two workflows with conflicting transitions.

0.2.3 (15 04 2012)

New:

  • Simplify API
  • Add support for pe/post transition and logging hooks

0.2.1 (26 03 2012)

New:

  • Add support for workflow subclassing
  • Improve packaging

0.1.0 (08 09 2011)

New:

  • First Public Release.