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
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,51 @@ v7 Breaking Changes Summary
6
6
7
7
.. towncrier release notes start
8
8
9
+
web3.py v7.8.0 (2025-02-03)
10
+
---------------------------
11
+
12
+
Breaking Changes
13
+
~~~~~~~~~~~~~~~~
14
+
15
+
- The bugfix to match ``unsubscribe`` to ``subscribe`` for multiple subscriptions breaks the function signature for ``unsubscribe``, changing the ``subscription`` argument to ``subscriptions``. (`#3585 <https://github.com/ethereum/web3.py/issues/3585>`__)
16
+
17
+
18
+
Bugfixes
19
+
~~~~~~~~
20
+
21
+
- Handle the case when a single RPC error response is returned for a batch request, instead of always expecting a list of responses. (`#3585 <https://github.com/ethereum/web3.py/issues/3585>`__)
22
+
- Don't raise on non-unique default subscription labels (no label provided). Only raise if a non-unique custom label is explicitly set for a subscription. (`#3594 <https://github.com/ethereum/web3.py/issues/3594>`__)
23
+
- Fix bugs related to subscription manager: ``run_forever`` can start with ``0`` subscriptions and remains alive, ``unsubscribe`` accepts single or multiple subs as objects or hexstrs, ``subscribe`` for many subs returns a list of hexstr ids. (`#3595 <https://github.com/ethereum/web3.py/issues/3595>`__)
24
+
- Fix issue where ``.values()`` raised a ``KeyError`` in ``NamedTupledOnion`` (`#3596 <https://github.com/ethereum/web3.py/issues/3596>`__)
25
+
26
+
27
+
Improved Documentation
28
+
~~~~~~~~~~~~~~~~~~~~~~
29
+
30
+
- Include ``topic`` attribute in ``ContractEvent`` docs. (`#3586 <https://github.com/ethereum/web3.py/issues/3586>`__)
- New ``Beacon`` and ``AsyncBeacon`` endpoints: ``get_peer_count``, ``get_attester_duties``, ``get_block_proposer_duties``, ``get_sync_committee_duties``, and ``get_attestation_rewards``. (`#3504 <https://github.com/ethereum/web3.py/issues/3504>`__)
38
+
39
+
40
+
Internal Changes - for web3.py Contributors
41
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
+
43
+
- Move duplicate code into ``BaseContract`` class from ``Contract`` and ``AsyncContract``. (1) ``ContractFunction`` and ``AsyncContractFunction`` (2) ``ContractFunctions`` and ``AsyncContractFunctions``, (3) ``ContractEvent`` and ``AsyncContractEvent``, and (4) ``ContractEvents`` and ``AsyncContractEvents``. (`#3579 <https://github.com/ethereum/web3.py/issues/3579>`__)
44
+
- Address flaky tests in CI runs. (`#3583 <https://github.com/ethereum/web3.py/issues/3583>`__)
45
+
- Update copyright year from 2024 to 2025 in the LICENSE file. (`#3592 <https://github.com/ethereum/web3.py/issues/3592>`__)
46
+
47
+
48
+
Performance Improvements
49
+
~~~~~~~~~~~~~~~~~~~~~~~~
50
+
51
+
- Avoid unnecessary extra call to resolver when resolving an ENS address with no ``coin_type`` specified (default). (`#3584 <https://github.com/ethereum/web3.py/issues/3584>`__)
0 commit comments