Skip to content

v0.17.0

Choose a tag to compare

@geomagilles geomagilles released this 15 Jan 16:23
· 75 commits to main since this release
990a57c

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 properties
    • retrySequence, and retryIndex
    • secondsBeforeRetry
    • previousFailure
  • CloudEvents:
    • changed task failure description (including error renamed to failure)
    • retryDelayMillis property renamed to secondsBeforeRetry for consistency

🔬 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)