- TBD
- Add support for Python 3.5, 3.6, 3.7, and 3.8.
- Drop support for Python 2.6, 3.2, 3.3, and 3.4.
- Add support for PyPy.
- Add support for Python 3.2, 3.3, and 3.4.
- Add support for defining guard functions on transitions in ZCML (PR #5).
- Replace deprecated class-advice declarations (
implements
,classImplements
) with forward-compatible equivalent class decorators. - Add an optional
title
to states (defaults to the state name). In ZCML, the 'title' should now be carried as an attribute of the '<state>' element, rather than as a '<key>' sub-element. - Add an optional
title
to transitions (defaults to the transition name) (issue #1). - Add a warning if a ZCML workflow directive has no
content_types
(issue #4). - Give an optional
request
attribute to theICallbackInfo
interface. It will be non-None if the transition triggering the callback is passed a request (PR #3).
- Include guards defined on the transition itself when checking whether a transition is allowed (issue #8).
- Add support for continuous integration using
Travis-CI
. - Add support for continuous integration using
tox
andjenkins
. - Add
setup.py docs
alias (installs Sphinx and related dependencies). - Add
setup.py dev
alias (installs nose, coverage, and testing dependencies).
- Drop preservation of insertion order when listing states / transitions.
- Drop support for Python 2.4 / 2.5.
- Repair packaging error (incomplete tarball in 0.6).
- When multiple transitions exist between two states, try each transition until one succeeds, instead of aborting if the first fails.
- Bumped
zope.configuration
dependency to require >= 3.8.0: the internal format of configuration actions changed to dictionaries, rather than tuples, and our tests make assertions which rely on the format. repoze.sphinx.autointerface
andzope.testing
are only required for testing and will no longer be downloaded forpython setup.py install
; usepython setup.py dev
to get them installed (along withnose
andcoverage
).- 100% test coverage
- Major overhaul. Older "statemachine" workflows still work, but are deprecated. Workflow declarations may now be performed via ZCML. Documentation overhauled to reflect this fact.
- 100% test coverage.
- Allow
add
method to accept arbitrary keyword arguments. These keyword arguments are now passed as**kw
to transition functions as well asbefore_transition
andafter_transition
. This allows arbitrary metadata (such as security and UI information) to be associated with a transition. - The
transitions
method now returns all transitions, including "catch-all" transitions (transitions with a transition_id of None). - Add
transition_info
method to state machine, which
- Removed mutable default arguments, to avoid polluting one state machine's states when adding to another.
- Initial release. Updated README.txt and removed remnants from repoze package template.
- Unreleased