From 7171498b11f80154bd1093ebfdf71edc662c3171 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Fri, 21 Feb 2025 12:32:35 -0800 Subject: [PATCH] Release 2.0.4 --- CHANGES.md | 32 ++++++++++++++++++++++++++++++++ docs/changelog.rst | 41 +++++++++++++++++++++++++++++++++++++++++ kafka/version.py | 2 +- 3 files changed, 74 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 27ee997ac..ee872a75a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,35 @@ +# 2.0.4 (Feb 21, 2025) + +Networking +* Check for wakeup socket errors on read and close and reinit to reset (#2482) +* Improve client networking backoff / retry (#2480) +* Check for socket and unresolved futures before creating selector in conn.check_version (#2477) +* Handle socket init errors, e.g., when IPv6 is disabled (#2476) + +Fixes +* Avoid self-join in heartbeat thread close (#2488) + +Error Handling +* Always log broker errors in producer.send (#2478) +* Retain unrecognized broker response error codes with dynamic error class (#2481) +* Update kafka.errors with latest types (#2485) + +Compatibility +* Do not validate snappy xerial header version and compat fields (for redpanda) (#2483) + +Documentation +* Added missing docstrings in admin/client.py (#2487) + +Testing +* Update kafka broker test matrix; test against 3.9.0 (#2486) +* Add default resources for new kafka server fixtures (#2484) +* Drop make test-local; add PYTESTS configuration var +* Fix pytest runs when KAFKA_VERSION is not set + +Project Maintenance +* Migrate to pyproject.toml / PEP-621 +* Remove old travis files; update compatibility tests link to gha + # 2.0.3 (Feb 12, 2025) Improvements diff --git a/docs/changelog.rst b/docs/changelog.rst index b8f51e337..2c83055b0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,47 @@ Changelog ========= +2.0.4 (Feb 21, 2025) +#################### + +Networking +---------- +* Check for wakeup socket errors on read and close and reinit to reset (#2482) +* Improve client networking backoff / retry (#2480) +* Check for socket and unresolved futures before creating selector in conn.check_version (#2477) +* Handle socket init errors, e.g., when IPv6 is disabled (#2476) + +Fixes +----- +* Avoid self-join in heartbeat thread close (#2488) + +Error Handling +-------------- +* Always log broker errors in producer.send (#2478) +* Retain unrecognized broker response error codes with dynamic error class (#2481) +* Update kafka.errors with latest types (#2485) + +Compatibility +------------- +* Do not validate snappy xerial header version and compat fields (for redpanda) (#2483) + +Documentation +------------- +* Added missing docstrings in admin/client.py (#2487) + +Testing +------- +* Update kafka broker test matrix; test against 3.9.0 (#2486) +* Add default resources for new kafka server fixtures (#2484) +* Drop make test-local; add PYTESTS configuration var +* Fix pytest runs when KAFKA_VERSION is not set + +Project Maintenance +------------------- +* Migrate to pyproject.toml / PEP-621 +* Remove old travis files; update compatibility tests link to gha + + 2.0.3 (Feb 12, 2025) #################### diff --git a/kafka/version.py b/kafka/version.py index 8ad8997b8..f593cd5bd 100644 --- a/kafka/version.py +++ b/kafka/version.py @@ -1 +1 @@ -__version__ = '2.0.4.dev' +__version__ = '2.0.4'