From 6b10a84434a0e3fae3d5fcd83b3b2ecf27221e1d Mon Sep 17 00:00:00 2001 From: evgeny Date: Thu, 21 Sep 2023 15:19:47 +0100 Subject: [PATCH] v4.0.0 --- CHANGELOG.md | 9 +++++++++ UPDATING.md | 7 +++++++ pom.xml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cb143cf..3c4fed93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [4.0.0](https://github.com/ably/kafka-connect-ably/tree/v4.0.0) (2023-09-21) + +This is a major release and contains a number of breaking changes. Please see the [upgrade guide](UPDATING.md) for more information on how to upgrade from version 3.x. + +**Implemented enhancements:** + +- Stringify Kafka headers before send them to Ably [\#155](https://github.com/ably/kafka-connect-ably/pull/155) +- Flatten Kafka headers in extras [\#155](https://github.com/ably/kafka-connect-ably/pull/155) + ## [3.0.0](https://github.com/ably/kafka-connect-ably/tree/v3.0.0) [Full Changelog](https://github.com/ably/kafka-connect-ably/compare/v2.1.4...v3.0.0) diff --git a/UPDATING.md b/UPDATING.md index 01b74b8c..c189e0bb 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -1,5 +1,12 @@ # Upgrade / Migration Guide +## Version 3.x to 4.0 + +There are two **breaking changes** to configuration in the Ably Connector v4.0.0. The summary below covers the main changes: + +* **Stringify Kafka headers before send to Ably**. All Kafka headers except `com.ably.extras.push` are now stringified using `String.valueOf` before being sent to Ably. +* **Flatten Kafka headers**. Previously, Kafka headers were located in `extras.kafka.headers` on Ably messages. They are now located in `extras.headers`. + ## Version 2.x to 3.0 There are several **breaking changes** to configuration in the Ably Connector v3.0.0, due to improvements made and diff --git a/pom.xml b/pom.xml index 3d538534..de590212 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.ably.kafka.connect kafka-connect-ably - 3.0.0 + 4.0.0 jar