Skip to content

Commit 1d0c6dc

Browse files
authored
Changes for the release v2.5.0rc3 (confluentinc#1776)
* Changes for the release v2.5.0rc3 * Removed support for centos6 and centos7
1 parent 65ab14c commit 1d0c6dc

File tree

7 files changed

+24
-22
lines changed

7 files changed

+24
-22
lines changed

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ execution_time_limit:
88
global_job_config:
99
env_vars:
1010
- name: LIBRDKAFKA_VERSION
11-
value: v2.4.0
11+
value: v2.5.0-RC3
1212
prologue:
1313
commands:
1414
- checkout

CHANGELOG.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44

55
v2.5.0 is a feature release with the following features, fixes and enhancements:
66

7-
- [KIP-107](https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+deleteRecordsBefore%28%29+API+in+AdminClient) Added delete_records API (#1710)
8-
- Added an example to show the usage of the custom logger with `AdminClient`
9-
- Removed usage of `strcpy` to enhance security of the client (#1745)
10-
- Fixed invalid write in `OAUTHBEARER/OIDC` extensions copy (#1745)
11-
- Fixed documentation for default value of `operation_timeout` and `request_timeout` in various Admin apis (#1710)
12-
- Fixed an issue related to import error of `TopicCollection` and `TopicPartitionInfo` classes when importing through other module like mypy.
13-
- Fixed a segfault when `commit` or `store_offsets` consumer method is called incorrectly with errored Message object
14-
- Fixed `logger` not working when provided as an argument to `AdminClient` instead of a configuration property
15-
- Fixed some memory leaks related to `PyDict_SetItem`.
7+
- [KIP-107](https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+deleteRecordsBefore%28%29+API+in+AdminClient) Added delete_records API. (#1710)
8+
- Added an example to show the usage of the custom logger with `AdminClient`. (#1758)
9+
- Improve caching on Schema Registry client. (#1744)
10+
- Removed usage of `strcpy` to enhance security of the client. (#1745)
11+
- Removed support for centos6 and centos7. (#1776)
12+
- Fixed invalid write in `OAUTHBEARER/OIDC` extensions copy. (#1745)
13+
- Fixed documentation for default value of `operation_timeout` and `request_timeout` in various Admin apis. (#1710)
14+
- Fixed an issue related to import error of `TopicCollection` and `TopicPartitionInfo` classes when importing through other module like mypy. (#1764)
15+
- Fixed a segfault when `commit` or `store_offsets` consumer method is called incorrectly with errored Message object. (#1754)
16+
- Fixed `logger` not working when provided as an argument to `AdminClient` instead of a configuration property. (#1758)
17+
- Fixed some memory leaks related to `PyDict_SetItem`. (#1710)
1618

1719
confluent-kafka-python is based on librdkafka v2.5.0, see the
1820
[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.5.0)

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
######################################################################
2929
# General information about the project.
3030
project = u'confluent-kafka'
31-
copyright = u'2016-2023, Confluent Inc.'
31+
copyright = u'2016-2024, Confluent Inc.'
3232

3333
# The version info for the project you're documenting, acts as replacement for
3434
# |version| and |release|, also used in various other places throughout the
3535
# built documents.
3636
#
3737
# The short X.Y version.
38-
version = '2.4.0'
38+
version = '2.5.0.rc3'
3939
# The full version, including alpha/beta/rc tags.
4040
release = version
4141
######################################################################

examples/docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM alpine:3.12
3030

3131
COPY . /usr/src/confluent-kafka-python
3232

33-
ENV LIBRDKAFKA_VERSION v2.4.0
33+
ENV LIBRDKAFKA_VERSION v2.5.0-RC3
3434
ENV KAFKACAT_VERSION master
3535

3636

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_install_requirements(path):
7575
setup(name='confluent-kafka',
7676
# Make sure to bump CFL_VERSION* in confluent_kafka/src/confluent_kafka.h
7777
# and version in docs/conf.py.
78-
version='2.4.0',
78+
version='2.5.0.rc3',
7979
description='Confluent\'s Python client for Apache Kafka',
8080
author='Confluent Inc',
8181
author_email='support@confluent.io',

src/confluent_kafka/src/confluent_kafka.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
* 0xMMmmRRPP
4343
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
4444
*/
45-
#define CFL_VERSION 0x02040000
46-
#define CFL_VERSION_STR "2.4.0"
45+
#define CFL_VERSION 0x02050000
46+
#define CFL_VERSION_STR "2.5.0.rc3"
4747

4848
/**
4949
* Minimum required librdkafka version. This is checked both during
5050
* build-time (just below) and runtime (see confluent_kafka.c).
5151
* Make sure to keep the MIN_RD_KAFKA_VERSION, MIN_VER_ERRSTR and #error
5252
* defines and strings in sync.
5353
*/
54-
#define MIN_RD_KAFKA_VERSION 0x020400ff
54+
#define MIN_RD_KAFKA_VERSION 0x020500ff
5555

5656
#ifdef __APPLE__
57-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.4.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
57+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.5.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
5858
#else
59-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.4.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
59+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.5.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
6060
#endif
6161

6262
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
6363
#ifdef __APPLE__
64-
#error "confluent-kafka-python requires librdkafka v2.4.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
64+
#error "confluent-kafka-python requires librdkafka v2.5.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
6565
#else
66-
#error "confluent-kafka-python requires librdkafka v2.4.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
66+
#error "confluent-kafka-python requires librdkafka v2.5.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
6767
#endif
6868
#endif
6969

tools/wheels/install-librdkafka.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if [[ $OSTYPE == linux* ]]; then
3232
if [[ $ARCH == arm64* ]]; then
3333
cp -v runtimes/linux-$ARCH/native/{librdkafka.so,librdkafka.so.1}
3434
else
35-
cp -v runtimes/linux-$ARCH/native/{centos6-librdkafka.so,librdkafka.so.1}
35+
cp -v runtimes/linux-$ARCH/native/{centos8-librdkafka.so,librdkafka.so.1}
3636
fi
3737
ldd runtimes/linux-$ARCH/native/librdkafka.so.1
3838

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy