Skip to content

Latest commit

 

History

History
153 lines (93 loc) · 3.42 KB

ChangeLog

File metadata and controls

153 lines (93 loc) · 3.42 KB

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 :class:`~xworkflows.base.WorkflowEnabled` instance from a state's name
  • Ensure :attr:`~xworkflows.base.Workflow.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 :class:`~xworkflows.WorkflowEnabled`.

New:

  • Add support for Python 2.6 to 3.2

Backward incompatible:

  • The string representation of :class:`~xworkflows.base.State` and :class:`~xworkflows.base.StateWrapper` now reflects the state's name, as does their :meth:`unicode` representation in Python 2.X.

0.4.1 (2012-08-03)

Bugfix:

  • Support passing a :class:`~xworkflows.base.Transition` or a :class:`~xworkflows.base.State` to hooks, instead of its name.

0.4.0 (2012-08-02)

New:

  • Improve support for transition hooks, with the :meth:`xworkflows.before_transition`, :meth:`xworkflows.after_transition`, :meth:`xworkflows.transition_check`, :meth:`xworkflows.on_enter_state` and :meth:`xworkflows.on_leave_state` decorators.

Bugfix:

  • Fix support for inheritance of :class:`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) :class:`~xworkflows.base.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 :attr:`~xworkflows.base.State.title` argument mandatory in :class:`~xworkflows.base.State` initialization

0.3.0 (2012-04-30)

New:

  • Allow and document customization of the :class:`~xworkflows.base.ImplementationWrapper`
  • Add a method to check whether a transition is available from the current instance
  • Cleanup :class:`~xworkflows.base.ImplementationList` and improve its documentation

0.2.4 (23 04 2012)

New:

  • Improve documentation
  • Add pre-transition check hook
  • Remove alternate :class:`~xworkflows.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.