Skip to content

Commit b48e93e

Browse files
committed
Compile release notes for v7.8.0
1 parent 4ef711e commit b48e93e

13 files changed

+45
-12
lines changed

docs/release_notes.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,51 @@ v7 Breaking Changes Summary
66

77
.. towncrier release notes start
88
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>`__)
31+
- Introduce Event Subscriptions docs guide (`#3600 <https://github.com/ethereum/web3.py/issues/3600>`__)
32+
33+
34+
Features
35+
~~~~~~~~
36+
37+
- 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>`__)
52+
53+
954
web3.py v7.7.0 (2025-01-15)
1055
---------------------------
1156

newsfragments/3504.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3579.internal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3583.internal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3584.performance.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3585.breaking.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3585.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3586.docs.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3592.internal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3594.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3595.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3596.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/3600.docs.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)