Skip to content

Releases: camunda-community-hub/pyzeebe

v2.0.1

28 Sep 18:52
22fb2f5
Compare
Choose a tag to compare

Fixed:

  • TaskDecorator and ZeebeTaskRouter not being in exports

v2.0.0

28 Sep 18:17
d7c0921
Compare
Choose a tag to compare

v2.2.0

Using decorators instead of classes to create tasks

Changes

  • Added ability to create task using decorator: @worker.task()
  • Added class called ZeebeTaskRouter which should help organize projects
  • Renamed TaskContext to Job
  • Merged TaskStatusController functionality into the new Job class
  • Removed Task from standard imports because of decorator

API Changes

External updates:

  • Renamed TaskContext to Job
  • Merged TaskStatusController functionality into the new Job class
  • Renamed TaskStatus to JobStatus
  • Moved stop_event from work internally, so users don't have to import threading.Event
  • Added stop function to ZeebeWorker which now uses the internal threading.Event
  • Renamed add_task to _add_task
  • Added class ZeebeTaskRouter which inherits from ZeebeTaskHandler. This class allows splitting tasks into multiple files (like fastapi's APIRouter)
  • Added include_router to ZeebeWorker which allows a ZeebeWorker instance to absorb a ZeebeTaskRouter's tasks
  • Added ExceptionHandler for ease of use
  • Added optional message_id parameter to publish_message in ZeebeClient

v1.2.3

27 Sep 12:12
f555e5c
Compare
Choose a tag to compare

Fixed:

  • Job completed even when the task failed - #35

v1.2.2

26 Sep 15:10
4bb3975
Compare
Choose a tag to compare

Enhancements:

  • Moved test files to tests
    • No test files in published package
    • Coverage more accurate

v1.2.1

26 Sep 13:03
2c3ad2c
Compare
Choose a tag to compare

Fixed:

  • Tasks failing because of decorators

v1.2.0

25 Sep 20:53
19dea62
Compare
Choose a tag to compare

Added:

  • Secure connection options:
    • TLS
    • OAuth2
    • Camunda Cloud

Fixed

  • Worker not working without stop event

v1.1.2

12 Sep 11:34
75eb70b
Compare
Choose a tag to compare

Fixed

  • Test files being published to pypi - #20

v1.1.1

12 Sep 11:22
c9d4dd6
Compare
Choose a tag to compare

Fixed

  • Dependencies not installed when installing pyzeebe - #19
  • Test files being published to pypi - #20

v1.1.0

11 Sep 13:06
8244e5d
Compare
Choose a tag to compare

Added:

  • Client functionality:
    • Run workflow
    • Run workflow with result (await workflow result)
    • Cancel running workflow instances
    • Deploy workflow definition file (bpmn/yaml)
    • Publish messages
  • Self defined grpc exceptions
  • Integration tests against zeebe

v1.0.1

24 Aug 20:44
b0daea8
Compare
Choose a tag to compare

Fixed

  • Worker stopping on startup
  • Connection to zeebe default parameters not working
  • Tasks not activating jobs concurrently