Skip to content

Releases: camunda-community-hub/pyzeebe

v3.0.0rc2

04 Jul 18:31
65c04d9
Compare
Choose a tag to compare
v3.0.0rc2 Pre-release
Pre-release

Changes

  • Add ability to access Job from inside a task
  • Fix grpc timeout bug - see #178

Enhancements

  • Bump version using bump2version

v3.0.0rc1

14 Jun 20:10
f746940
Compare
Choose a tag to compare
v3.0.0rc1 Pre-release
Pre-release
Merge pull request #172 from camunda-community-hub/feature/async-worker

Feature/async

v2.3.1

16 Mar 19:29
9162778
Compare
Choose a tag to compare

Fixes

  • Change the watcher to check for consecutive errors per task thread - (merged #139, see #138 for further information)

v2.3.0

16 Feb 20:51
3074209
Compare
Choose a tag to compare

Changes

  • Official support for zeebe 0.26.0.0
  • Start watcher thread that reactivates stopped threads #112.
    • Add boolean parameter called watch to ZeebeWorker.work to start the watcher thread. This will by default be disabled.
  • Give up on connection to zeebe gateway after configured amount #75.
    • Add parameter to ZeebeWorker and ZeebeClient constructor called max_connection_retries.

Enhancements

  • Use pytest fixtures to simplify tests.

v2.2.3

12 Jan 09:16
553e0e2
Compare
Choose a tag to compare

Changes

  • Give threads names - #77
  • Add wait parameter for worker.stop - #76

Deprecations

  • Remove python 3.5 support

Dependencies

  • Package dependencies:

    • zeebe-grpc: 0.24.3.3 -> 0.25.1.0
    • Removed grpcio and protobuf from dependencies as they're included in zeebe-grpc
  • Development dependencies:

    • pytest: 6.1.1 -> 6.2.1
    • sphinx: 3.2.1 -> 3.4.2
    • sphinx-rtd-theme: 0.5.0 -> 0.5.1
    • coveralls: 2.1.2 -> 2.2.0
    • importlib-metadata: 2.0.0 -> 3.3.0
    • coverage: 5.3 -> 5.3.1

v2.2.2

22 Oct 19:43
f83e992
Compare
Choose a tag to compare

Changes

  • Using a named logger. This means pyzeebe logging levels can now be set using:
    logging.getLogger("pyzeebe").setLevel(logging.WARNING)

v2.2.1

18 Oct 17:19
212b7ff
Compare
Choose a tag to compare

Changes

  • Using zeebe-grpc package
  • Updated dependencies:
    • grpcio from 1.31.0 to 1.32.0
  • Updated development dependencies:
    • coverage from 5.2.1 to 5.3
    • pytest from 6.0.1 to 6.1.1
    • mypy from 0.782 to 0.790
    • importlib-metadata from 1.7.0 to 2.0.0

v2.2.0

30 Sep 14:40
1b99380
Compare
Choose a tag to compare

Changes:

  • Added documentation at read the docs
  • Added a lot of docstring for automatic documentation

Fixed:

  • Fixed #42 - JSONDecodeError instead of custom exception
  • Fixed Duplicate task types - duplicate task types were allowed, now a DuplicateTaskType exception will be raised

v2.1.0

29 Sep 09:36
4202906
Compare
Choose a tag to compare

Added:

  • Full task api to @worker.task decorator:
    • variables_to_fetch param - which variables to fetch from the workflow instance scope
    • timeout param - how long until zeebe gives up on job
    • max_jobs_to_activate param - max jobs the worker can perform simultaneously (per task)
  • Automatic variables_to_fetch. (from function.__code__.co_varnames)
  • Base exception class named: PyZeebeException from which all custom exceptions inherit

Fixed:

  • JobStatus not exported - #43
  • Exceptions not exported - #44

v2.0.1

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

Fixed:

  • TaskDecorator and ZeebeTaskRouter not being in exports