From 97fa55cd1e86875860d418911bc956ee137c395d Mon Sep 17 00:00:00 2001 From: Yoshihiro Misawa Date: Sat, 14 Nov 2026 02:39:49 +0900 Subject: [PATCH] release: prepare 2.4.1 --- CHANGES.md | 2 +- src/cchardet/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6c4bd90..b49389e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # CHANGES -## Unreleased +## 2.4.1 (2026-11-14) - Fix crashes when one `UniversalDetector` is used from several threads at once. uchardet runs without the GIL, so concurrent calls could corrupt its diff --git a/src/cchardet/__init__.py b/src/cchardet/__init__.py index 852bd5a..5511eed 100644 --- a/src/cchardet/__init__.py +++ b/src/cchardet/__init__.py @@ -17,8 +17,8 @@ class ResultDict(TypedDict): language: str | None -version: tuple[int, int, int] = (2, 4, 0) -__version__ = "2.4.0" +version: tuple[int, int, int] = (2, 4, 1) +__version__ = "2.4.1" def _as_bytes(data: BytesLike) -> bytes: