Skip to content

Releases: WorkerFramework/worker-framework

v10.0.1

12 Nov 01:04
b063e68

Choose a tag to compare

Version Number

10.0.1-1380

New Features

  • None

Bug Fixes

  • D1054456: Corrected invalid queue configuration to be optional
    Workers do not have to supply an invalid task queue.

Known Issues

  • None

Release Artifacts

Maven
Read more

v10.0.0

11 Nov 10:19
88216ab

Choose a tag to compare

Version Number

10.0.0-1379

Breaking Changes

  • US1009117: Remove reliance on large messages being supported by the underlying queue provider.
    • The TaskCallback interface has been updated to expect a TaskMessage in place of a byte array.
    • The WorkerQueueProvider interface has been updated to expect a ManagedDataStore for storing large messages
      and a Codec for serialization/deserialization of messages prior to storage/retrieval from the datastore.
    • RabbitWorkerQueueConfiguration includes new fields as defined here

New Features

  • None

Known Issues

  • None

Release Artifacts

Maven
Read more

v9.1.1

28 Apr 14:50
d14acc6

Choose a tag to compare

Version Number

9.1.1-1334

New Features

  • None

Bug Fixes

  • US1016047: Make new configuration setting rabbitTlsProtocolVersion optional for consumers.

Known Issues

  • None

Release Artifacts

Maven
Read more

v9.1.0

24 Apr 15:31
70c716b

Choose a tag to compare

Version Number

9.1.0-1331

New Features

  • US1016047: Introduced CAF_RABBITMQ_TLS_PROTOCOL_VERSION environment variable so that when Rabbit MQ protocol is
    set to "amqps" a TLS version can be specified.
    • By default, this variable is set to "TLSv1.2".

Known Issues

  • None

Release Artifacts

Maven
Read more

v9.0.0

14 Nov 05:50
3a81155

Choose a tag to compare

Version Number

9.0.0-1293

Breaking change

  • US975260: Refactor to remove HPE references in package names

New Features

  • None

Known Issues

  • None

Release Artifacts

Maven
Read more

v8.2.0

23 Oct 17:12
ddccb1b

Choose a tag to compare

Version Number

8.2.0-1283

New Features

  • US969005: Add support for getting secrets from configurable sources.
    • The RabbitMQ password can be retrieved from:
      • Environment variable named CAF_RABBITMQ_PASSWORD (enabled by default via CAF_ENABLE_ENV_SECRETS, defaults to true)
      • File content in path specified by environment variable named CAF_RABBITMQ_PASSWORD_FILE (enabled via CAF_ENABLE_FILE_SECRETS, defaults to false)

Known Issues

  • None

Release Artifacts

Maven
Read more

v8.1.0

11 Jun 09:50
7848a5a

Choose a tag to compare

Version Number

8.1.0-1251

New Features

  • US914108: Version Currency: JUnit 5 migration
  • US915147: Support for liveness and readiness checks added.
    • The WorkerFactory interface contains a new livenessCheck method, which has a default implementation that returns
      HealthResult.RESULT_HEALTHY. A worker may optionally override this method to provide their own implementation of liveness.
  • A new /health-check?name=all&type=ALIVE endpoint has been added on the default REST port (8080) to check if a worker is alive
  • A new /health-check?name=all&type=READY endpoint has been added on the default REST port (8080) to check if a worker is ready
  • See the documentation
    for more details.

Bug Fixes

  • I506009: Fix implemented to ensure that adjusting CAF_WORKER_RETRY_LIMIT to the current retry value will
    no longer result in infinite retries of a message. The message will now be correctly identified as
    poisonous and passed on to the next worker.

Known Issues

  • None

Release Artifacts

Maven
Read more

v8.0.1

04 Apr 14:19
689712d

Choose a tag to compare

Version Number

8.0.1-1211

New Features

  • None

Bug Fixes

  • I887031: Replace use of the TrustEverythingTrustManager with a TrustManager provided by the
    javax.net.ssl.TrustManagerFactory.

Known Issues

  • None

Release Artifacts

Maven
Read more

v8.0.0

07 Feb 17:09
97f2c56

Choose a tag to compare

Version Number

8.0.0-1196

New Features

  • US862045: Quorum queues leveraging 'x-delivery-count' for the handling of poison messages.

Bug Fixes

  • I445035: Workers now attempt to complete all in-progress and pre-fetched tasks before shutting down.
  • I874162: Fixed issue where the JobStatusResponseCache was not working for HTTPS requests.

Known Issues

Breaking Changes

  • US749035: Classic queues and priority queues are deprecated, priority queues can still be created however it is no
    longer possible to publish messages with a priority.
    When using cfg~caf~worker~RabbitWorkerQueueConfiguration.js, the type of queue created by workers can be controlled
    by the ENV CAF_RABBITMQ_QUEUE_TYPE, this currently defaults to 'quorum', but will be removed in a future release.
  • US857114: Introduced configurable Rabbit MQ protocol so that, if desired, Rabbit MQ communication can be TLS
    enabled. When using cfg~caf~worker~RabbitConfiguration, the rabbit protocol used by services can be configured using
    the CAF_RABBITMQ_PROTOCOL environment variable. The default value is 'amqp'.
    Consumers using the util-rabbitmq module will need to handle additional exceptions when creating a Rabbit connection
    through RabbitUtil.java. RabbitUtil.createRabbitConnection now requires a protocol argument.

Release Artifacts

Maven
Read more

v7.0.0

24 Nov 10:48
3c89937

Choose a tag to compare

Version Number

7.0.0-1167

New Features

  • 792072: Improvement of poison message error description.
    • Environment variable CAF_WORKER_FRIENDLY_NAME has been added to specify the worker referred to in poison message error. If not
      defined, the worker class name will be used by default.

Bug Fixes

  • 743080: Excessive calls to queueDeclare have been prevented by recording previously declared queues.

Breaking Changes

  • US361030: Java 8 and Java 11 support dropped
    Java 17 is now the minimum supported version.

  • US361030: BOM no longer supplied
    The worker-framework BOM project module is no longer supplied.

  • US361030: Jakarta EE version update
    The version of Jakarta EE used for validation and other purposes has been updated
    from Jakarta EE 8 to Jakarta EE 9. This may mean that javax.* imports in worker
    code need to be updated to jakarta.* instead.

  • I854021: Reinstate base64 encoding of taskData
    TaskData is once again encoded using base64 and the V4 message format no longer supported.

  • US853025: The util-store module has been removed

Known Issues

  • None

Release Artifacts

Maven
Read more