Skip to content

Releases: sartography/SpiffWorkflow

3.1.1

04 Mar 12:58
9db755e
Compare
Choose a tag to compare

This release contains no code changes, but establishes a connection with Zenodo to allow for easier citations.

v3.1.0

27 Nov 16:26
Compare
Choose a tag to compare

This release includes

  • adding spec and workflow diffing capabilities
  • standardized script engine methods
  • more detailed logging info
  • improved performance of certain task types
  • various bug fixes

What's Changed

  • rename events & run in hook functions by @essweine in #408
  • handle target workflows in send_event by @essweine in #409
  • Restrict task search in subprocess updates by @essweine in #412
  • Feature/performance improvements by @essweine in #414
  • omit default on inclusive gw with matched conditions by @essweine in #421
  • add spec and workflow diff utils by @essweine in #422
  • Some perf related changes when profiling the MI Task example within spiff-arena by @jbirddog in #423
  • Performance improvement when finding tasks in a subworkflow by @jbirddog in #425
  • Feature/improved diff utils and docs by @essweine in #426
  • split workflow & task logs, add state and update time to task logs by @essweine in #427
  • propogate uncaught events out of workflow by @essweine in #428
  • Enhancement/misc cleanup by @essweine in #431

Full Changelog: v3.0.0...v3.1.0

v3.0.0

01 May 16:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v3.0.0

What's Changed

New Contributors

Full Changelog: v2.0.1...v3.0.0

v3.0.0rc2

09 Feb 16:42
Compare
Choose a tag to compare
v3.0.0rc2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.1...v3.0.0rc2

v3.0.0.0rc1

09 Feb 16:37
Compare
Choose a tag to compare
v3.0.0.0rc1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.1...v3.0.0rc1

v3.0.0rc0

09 Feb 14:47
92878da
Compare
Choose a tag to compare
v3.0.0rc0 Pre-release
Pre-release

In this release of SpiffWorkflow

  • Task iteration has been refactored to make it easier and more efficient
  • Conditional Event suppor has beent added to the BPMN module
  • New 'spiffworkflow` BPMN extensions: payloads on Signal, Error, and Escalation Events
  • Various bugfixes.

What's Changed

New Contributors

Full Changelog: v2.0.0rc0...v3.0.0rc0

v2.0.1

16 Jun 19:39
Compare
Choose a tag to compare

A quick update to the Readme file. Please see the v2.0.0 release notes for the full details on this latest code base.

v2.0.0

16 Jun 19:23
Compare
Choose a tag to compare

What's Changed

We've done a lot of work over the last 8 months to the SpiffWorkflow library as we've developed SpiffArena, a general purpose workflow management system built on top of this library.
This has resulted in a handful of new features.
Our main focus was on making SpiffWorkflow more predictable, easier to use, and internally consistent.

Breaking Changes from 1.x:

  • We heavily refactored the way we handle multi-instance tasks internally. This will break any serialized workflows that contain multi-instance tasks.
  • Internal structure of our code, the names of some classes, and common methods have changed. Please see our [ReadTheDocs] (https://readthedocs.org/projects/spiffworkflow/) documenation for version 2.0.0.

Features and Improvements

Task States, Transitions, Hooks, and Execution

Previous to 2.0, SpiffWorklow was a little weird about its states, performing the actual execution in the on_complete() hook.
This was VERY confusing.
Tasks now have a _run() command separate from state change hooks.
The return value of the _run() command can be true (worked), false (failure), or None (not yet done).
This opens the door for better overall state management at the moment it is most critical (when the task is actually executing).
We also added new task state called "STARTED" that describes when a task was started, but hasn't finished yet, an oddly missing state in previous versions.

Improved Events

We refactored the way we handle events, making them more powerful and adaptable.
Timer events are now parsed according to the ISO 8601 standard.

Improved Multi-Instance Tasks

We refactored how Multi-instance tasks are handled internally, vastly simplifying their representation during execution and serialization.
No more 'phantom gateways.'

Improved SubProcesses

SpiffWorkflow did not previously distinguish between a Call Activity and a SubProcess, but they handle Data Objects very differently.
A SubProcess is now able to access its parent data objects, a Call Activity can not.
We also wanted the ability to execute Call Activities independently of the parent process.

  • Bugfix/subprocess access to data objects by @essweine in #296
  • start workflow while subprocess is waiting by @essweine in #302
  • use same data objects & references in subprocesses after deserialization by @essweine in #314

Improved Data Objects / Data Stores

This work will continue in subsequent releases, but we have added support for Data Stores, and it is possible to provide your own implementations.

Improved Inclusive Gateways

We added support for Inclusive Gateways.

Pre and Post Script Fixes

We previously supported adding a pre-script or post-script to any task but there were a few lingering bugs that needed fixing.

DMN Improvements

We now support a new hit policy of "COLLECT" which allows you to match on an array of items. DMN support is still limited, but
we are making headway. We would love to know if people are using these features.

BPMN Validation

We improved validation of BPMN and DMN Files to catch errors earlier.

New Serializer

There are some breaking changes in the new serializer, but it is much faster and more stable. We do attempt to upgrade
your serialized workflows to the new format, but you will definitely encounter issues if you were using multi-instance tasks.

Lightning Fast, Stable Tests

Better Errors

  • Feature/better errors by @danfunk in #283
  • Workflow Data Exceptions were broken in the previous error refactor. … by @danfunk in #287
  • added an exception for task not found w/ @burnettk by @jasquat in #310
  • give us a better error if for some reason a task does not exist by @burnettk in #311

Flexible Data Management

  • Allow for other PythonScriptEngine environments besides task data by @jbirddog in #288

Various Enhancements

Make it easier to reference SpiffWorkflow library classes from your own code.

Better Introspection

Added the ability to ask SpiffWorkflow some useful questions about a specification such as, "What call activities does this depend on?",
"What messages does this process send and receive", and "What lanes exist on this workflow specification?"

  • Parser Information about messages, correlation keys, and the presence of lanes by @danfunk in #262
  • Called elements by @jbirddog in #316

Code Cleanup

Improved Documentation

Bug Fixes

Read more

Version 2.0.0 - Release Candidate

26 May 14:04
03316ba
Compare
Choose a tag to compare
Pre-release

What's Changed

We've done a lot of work over the last 8 months to the SpiffWorkflow library as we've developed SpiffArena, a general purpose workflow management system built on top of this library.
This has resulted in just a handful of new features.
Our main focus was on making SpiffWorkflow more predictable, easier to use, and internally consistent.

Breaking Changes from 1.x:

  • We heavily refactored the way we handle multi-instance tasks internally. This will break any serialized workflows that contain multi-instance tasks.
  • Internal structure of our code, the names classes, and common methods have changed. Please see our [ReadTheDocs] (https://readthedocs.org/projects/spiffworkflow/) documenation for version 2.0.0.

Features and Improvements

Task States, Transitions, Hooks, and Execution

Previous to 2.0, SpiffWorklow was a little weird about its states, performing the actual execution in the on_complete() hook.
This was VERY confusing.
Tasks now have a _run() command separate from state change hooks.
The return value of the _run() command can be true (worked), false (failure), or None (not yet done).
This opens the door for better overall state management at the moment it is most critical (when the task is actually executing).
We also added new task state called "STARTED" that describes when a task was started, but hasn't finished yet, an oddly missing state in previous versions.

Improved Events

We refactored the way we handle events, making them more powerful and adaptable.
Timer events are now parsed according to the ISO 8601 standard.

Improved Multi-Instance Tasks

We refactored how Multi-instance tasks are handled internally, vastly simplifying their representation during execution and serialization.
No more 'phantom gateways.'

Improved SubProcesses

SpiffWorkflow did not previously distinguish between a Call Activity and a SubProcess, but they handle Data Objects very differently.
A SubProcess is now able to access its parent data objects, a Call Activity can not.
We also wanted the ability to execute Call Activities independently of the parent process.

  • Bugfix/subprocess access to data objects by @essweine in #296
  • start workflow while subprocess is waiting by @essweine in #302
  • use same data objects & references in subprocesses after deserialization by @essweine in #314

Improved Data Objects / Data Stores

This work will continue in subsequent releases, but we have added support for Data Stores, and it is possible to provide your own implementations.

Improved Inclusive Gateways

We added support for Inclusive Gateways.

Pre and Post Script Fixes

We previously supported adding a pre-script or post-script to any task but there were a few lingering bugs that needed fixing.

DMN Improvements

We now support a new hit policy of "COLLECT" which allows you to match on an array of items. DMN support is still limited, but
we are making headway. We would love to know if people are using these features.

BPMN Validation

We improved validation of BPMN and DMN Files to catch errors earlier.

New Serializer

There are some breaking changes in the new serializer, but it is much faster and more stable. We do attempt to upgrade
your serialized workflows to the new format, but you will definitely encounter issues if you were using multi-instance tasks.

Lightning Fast, Stable Tests

Better Errors

  • Feature/better errors by @danfunk in #283
  • Workflow Data Exceptions were broken in the previous error refactor. … by @danfunk in #287
  • added an exception for task not found w/ @burnettk by @jasquat in #310
  • give us a better error if for some reason a task does not exist by @burnettk in #311

Flexible Data Management

  • Allow for other PythonScriptEngine environments besides task data by @jbirddog in #288

Various Enhancements

Make it easier to reference SpiffWorkflow library classes from your own code.

Better Introspection

Added the ability to ask SpiffWorkflow some useful questions about a specification such as, "What call activities does this depend on?",
"What messages does this process send and receive", and "What lanes exist on this workflow specification?"

  • Parser Information about messages, correlation keys, and the presence of lanes by @danfunk in #262
  • Called elements by @jbirddog in #316

Code Cleanup

Improved Documentation

Bug Fixes

Read more

1.2.1

19 Oct 14:18
Compare
Choose a tag to compare

What's Changed

  • do not install importlib-metadata if greater than python 3.7 w/ burnettk by @jasquat in #253

New Contributors

Full Changelog: v1.2.0...v1.2.1