v0.17.0
Ensure all workers are terminated before upgrading to version 0.17.0 - Version 0.17.0 is backward-compatible, meaning workers using this version can read messages produced by earlier versions. However, workers running earlier versions may not be able to read messages produced by version 0.17.0.
🚀 New Features
- It's now possible for workflows to access custom property of exceptions raised in tasks - see Workflow Errors
🚨 Breaking Changes
- Rename WorkflowTaskFailedException to WorkflowExecutorException
- Rename WorkerException to TaskFailure, refactored with the following new properties:
exception: description of the original exception, including the exception custom propertiesretrySequence, andretryIndexsecondsBeforeRetrypreviousFailure
- CloudEvents:
- changed task failure description (including
errorrenamed tofailure) retryDelayMillisproperty renamed tosecondsBeforeRetryfor consistency
- changed task failure description (including
🔬 Improvements
- Bump dependencies:
- kotlinx-coroutines: from 1.8.1 to 1.10.1
- kotlinx-serialization: from 1.7.1 to 1.8.0
- com.fasterxml.jackso: from 2.17.2 to 2.18.2
- testcontainers: from 1.20.1 to 1.20.4
- mockk : from 1.13.12 to 1.13.14
- hoplite: from 2.7.5 to 2.9.0
- kotlin-logging-jvm: from 7.0.0 to 7.0.3
- Update Docker Compose setup: Upgrade Pulsar to version 3.0.7 and replaced Pulsar Manager with Streamvisor and Data-Faker containers.
- Fix internal Schema location (buggy since 0.16.0)