You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release_notes.rst
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,46 @@ v7 Breaking Changes Summary
6
6
7
7
.. towncrier release notes start
8
8
9
+
web3.py v7.12.0 (2025-05-22)
10
+
----------------------------
11
+
12
+
Bugfixes
13
+
~~~~~~~~
14
+
15
+
- Thread safety for batching and better consistency with ``PersistentConnectionProvider`` implementations:
16
+
17
+
- Make request batching threadsafe by using ``contextvars.ContextVar`` rather than a global flag for setting the batching state.
18
+
- Deterministically match responses with request ids for ``PersistentConnectionProvider`` batch requests. (`#3705 <https://github.com/ethereum/web3.py/issues/3705>`__)
19
+
20
+
21
+
Deprecations
22
+
~~~~~~~~~~~~
23
+
24
+
- Deprecate ``ens_encode_name`` in favor of ``dns_encode_name``. (`#3700 <https://github.com/ethereum/web3.py/issues/3700>`__)
25
+
26
+
27
+
Features
28
+
~~~~~~~~
29
+
30
+
- Introduce ``ens.utils.dns_encode_name`` as a rename of the current ``ens_encode_name``, for consistency across other language implementations and with the ENS docs. Returns ``HexBytes`` instead of ``bytes``. (`#3700 <https://github.com/ethereum/web3.py/issues/3700>`__)
31
+
32
+
33
+
Internal Changes - for web3.py Contributors
34
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35
+
36
+
- Update some types in ``web3._utils.method_formatters`` (`#3669 <https://github.com/ethereum/web3.py/issues/3669>`__)
37
+
- Fix issues and start running the core tests with `pytest-xdist`, effectively reducing the CI test times by ~75-80%. (`#3705 <https://github.com/ethereum/web3.py/issues/3705>`__)
38
+
39
+
40
+
Performance Improvements
41
+
~~~~~~~~~~~~~~~~~~~~~~~~
42
+
43
+
- optimize message formatting for logging (`#3643 <https://github.com/ethereum/web3.py/issues/3643>`__)
0 commit comments