Skip to content

Commit 80d42d2

Browse files
committed
Mention exact str rejection error in changelog
1 parent befdf3b commit 80d42d2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ v4.0.0 2026-08-12
88
- **Breaking change**: Remove deprecated ``xxhash.VERSION_TUPLE``
99
- **Breaking change**: The ``input`` keyword argument is renamed to ``data``
1010
across constructors, ``update()``, and one-shot functions
11-
- **Breaking change**: ``str`` input is no longer accepted; encode to
12-
``bytes`` before hashing (hashlib-compatible ``TypeError``)
11+
- **Breaking change**: ``str`` input is no longer accepted and raises
12+
``TypeError: Strings must be encoded before hashing``; encode to
13+
``bytes`` before hashing
1314
- Upgrade xxHash from v0.8.2 to v0.8.3. Note: on GCC/Clang source builds
1415
that target AVX2 (e.g. ``-march=x86-64-v3``), upstream v0.8.3
1516
autovectorizes ``XXH64_update()`` and makes the xxh64 streaming path

0 commit comments

Comments
 (0)