From 51ab80218274ac22d6fc0c05437b55e26ae89c0e Mon Sep 17 00:00:00 2001 From: Pranav Rathi <4427674+pranavrth@users.noreply.github.com> Date: Wed, 18 Dec 2024 04:53:48 +0530 Subject: [PATCH] Release v2.6.2 (#1875) --- CHANGELOG.md | 23 +++++++++++++++++++++ docs/conf.py | 2 +- pyproject.toml | 2 +- src/confluent_kafka/schema_registry/avro.py | 2 +- src/confluent_kafka/src/confluent_kafka.h | 2 +- 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 516fb82c2..d3ffa5bc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Confluent's Python client for Apache Kafka +## v2.6.2 + +v2.6.2 is a feature release with the following features, fixes and enhancements: + + - Support for Data Contracts with Schema Registry, including + - Data Quality rules + - Data Transformation rules + - Client-Side Field Level Encryption (CSFLE) + - Schema Migration rules (requires Python 3.9+) + - Migrated the Schema Registry client from requests to httpx + - Add support for multiple URLs (#409) + - Allow configuring timeout (#622) + - Fix deletion semantics (#1127) + - Python deserializer can take SR client (#1174) + - Fix handling of Avro unions (#1562) + - Remove deprecated RefResolver for JSON (#1840) + - Support delete of subject version (#1851) + +confluent-kafka-python is based on librdkafka v2.6.1, see the +[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.6.1) +for a complete list of changes, enhancements, fixes and upgrade considerations. + + ## v2.6.1 v2.6.1 is a maintenance release with the following fixes and enhancements: diff --git a/docs/conf.py b/docs/conf.py index 5ddfc81f9..196abe8b7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ # built documents. # # The short X.Y version. -version = '2.6.2rc1' +version = '2.6.2' # The full version, including alpha/beta/rc tags. release = version ###################################################################### diff --git a/pyproject.toml b/pyproject.toml index 496c50da6..4d9a4876b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "confluent-kafka" -version = "2.6.2rc1" +version = "2.6.2" description = "Confluent's Python client for Apache Kafka" classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/src/confluent_kafka/schema_registry/avro.py b/src/confluent_kafka/schema_registry/avro.py index 7a9831354..bfc81e141 100644 --- a/src/confluent_kafka/schema_registry/avro.py +++ b/src/confluent_kafka/schema_registry/avro.py @@ -394,7 +394,7 @@ class AvroDeserializer(BaseDeserializer): | Property Name | Type | Description | +-----------------------------+----------+--------------------------------------------------+ | | | Whether to use the latest subject version for | - | ``use.latest.version`` | bool | deserialization. | + | ``use.latest.version`` | bool | deserialization. | | | | | | | | Defaults to False. | +-----------------------------+----------+--------------------------------------------------+ diff --git a/src/confluent_kafka/src/confluent_kafka.h b/src/confluent_kafka/src/confluent_kafka.h index eb5c57dde..54981758d 100644 --- a/src/confluent_kafka/src/confluent_kafka.h +++ b/src/confluent_kafka/src/confluent_kafka.h @@ -43,7 +43,7 @@ * MM=major, mm=minor, RR=revision, PP=patchlevel (not used) */ #define CFL_VERSION 0x02060200 -#define CFL_VERSION_STR "2.6.2rc1" +#define CFL_VERSION_STR "2.6.2" /** * Minimum required librdkafka version. This is checked both during