Web3-klaytn

Latest version: v6.0.0b4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 26

5.11.1

--------------------

Bugfixes
~~~~~~~~

- Added formatter rules for eth_tester middleware to allow :meth:`~web3.eth.Eth.getBalance` by using integer block numbers (`1660 <https://github.com/ethereum/web3.py/issues/1660>`__)
- Fix type annotations within the ``eth.py`` module. Several arguments that defaulted to ``None`` were not declared ``Optional``. (`1668 <https://github.com/ethereum/web3.py/issues/1668>`__)
- Fix type annotation warning when using string URI to instantiate an HTTP or WebsocketProvider. (`1669 <https://github.com/ethereum/web3.py/issues/1669>`__)
- Fix type annotations within the ``web3`` modules. Several arguments that defaulted to ``None`` were not declared ``Optional``. (`1670 <https://github.com/ethereum/web3.py/issues/1670>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Breaks up links into three categories (Intro, Guides, and API) and adds content to the index page: a lib introduction and some "Getting Started" links. (`1671 <https://github.com/ethereum/web3.py/issues/1671>`__)
- Fills in some gaps in the Quickstart guide and adds provider connection details for local nodes. (`1673 <https://github.com/ethereum/web3.py/issues/1673>`__)

5.11.0

--------------------

Features
~~~~~~~~

- Accept a block identifier in the ``Contract.estimateGas`` method. Includes a related upgrade of eth-tester to v0.5.0-beta.1. (`1639 <https://github.com/ethereum/web3.py/issues/1639>`__)
- Introduce a more specific validation error, ``ExtraDataLengthError``. This enables tools to detect when someone may be connected to a POA network, for example, and provide a smoother developer experience. (`1666 <https://github.com/ethereum/web3.py/issues/1666>`__)


Bugfixes
~~~~~~~~

- Correct the type annotations of `FilterParams.address` (`1664 <https://github.com/ethereum/web3.py/issues/1664>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Corrects the return value of ``getTransactionReceipt``, description of caching middleware, and deprecated method names. (`1663 <https://github.com/ethereum/web3.py/issues/1663>`__)
- Corrects documentation of websocket timeout configuration. (`1665 <https://github.com/ethereum/web3.py/issues/1665>`__)

5.10.0

--------------------

Features
~~~~~~~~

- An update of ``eth-tester`` includes a change of the default fork from Constantinople to Muir Glacier. `1636 <https://github.com/ethereum/web3.py/issues/1636>`__


Bugfixes
~~~~~~~~

- ``my_contract.events.MyEvent`` was incorrectly annotated so that ``MyEvent`` was marked as a ``ContractEvent`` instance. Fixed to be a class type, i.e., ``Type[ContractEvent]``. (`1646 <https://github.com/ethereum/web3.py/issues/1646>`__)
- IPCProvider correctly handled ``pathlib.Path`` input, but warned against its type. Fixed to permit Path objects in addition to strings. (`1647 <https://github.com/ethereum/web3.py/issues/1647>`__)


Misc
~~~~

- `1636 <https://github.com/ethereum/web3.py/issues/1636>`__

5.9.0

-------------------

Features
~~~~~~~~

- Upgrade eth-account to use v0.5.2+. eth-account 0.5.2 adds support for hd accounts

Also had to pin eth-keys to get dependencies to resolve. (`1622 <https://github.com/ethereum/web3.py/issues/1622>`__)


Bugfixes
~~~~~~~~

- Fix local_filter_middleware new entries bug (`1514 <https://github.com/ethereum/web3.py/issues/1514>`__)
- ENS ``name`` and ENS ``address`` can return ``None``. Fixes return types. (`1633 <https://github.com/ethereum/web3.py/issues/1633>`__)

5.8.0

-------------------

Features
~~~~~~~~

- Introduced ``list_wallets`` method to the ``GethPersonal`` class. (`1516 <https://github.com/ethereum/web3.py/issues/1516>`__)
- Added block_identifier parameter to `ContractConstructor.estimateGas` method. (`1588 <https://github.com/ethereum/web3.py/issues/1588>`__)
- Add snake_case methods to Geth and Parity Personal Modules.

Deprecate camelCase methods. (`1589 <https://github.com/ethereum/web3.py/issues/1589>`__)
- Added new weighted keyword argument to the time based gas price strategy.

If ``True``, it will more give more weight to more recent block times. (`1614 <https://github.com/ethereum/web3.py/issues/1614>`__)
- Adds support for Solidity's new(ish) receive function.

Adds a new contract API that mirrors the existing fallback API: ``contract.receive`` (`1623 <https://github.com/ethereum/web3.py/issues/1623>`__)


Bugfixes
~~~~~~~~

- Fixed hasattr overloader method in the web3.ContractEvent, web3.ContractFunction,
and web3.ContractCaller classes by implementing a try/except handler
that returns False if an exception is raised in the __getattr__ overloader method
(since __getattr__ HAS to be called in every __hasattr__ call).

Created two new Exception classes, 'ABIEventFunctionNotFound' and 'ABIFunctionNotFound',
which inherit from both AttributeError and MismatchedABI, and replaced the MismatchedABI
raises in ContractEvent, ContractFunction, and ContractCaller with a raise to the created class
in the __getattr__ overloader method of the object. (`1594 <https://github.com/ethereum/web3.py/issues/1594>`__)
- Change return type of rpc_gas_price_strategy from int to Wei (`1612 <https://github.com/ethereum/web3.py/issues/1612>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Fix typo in "Internals" docs. Changed asyncronous --> asynchronous (`1607 <https://github.com/ethereum/web3.py/issues/1607>`__)
- Improve documentation that introduces and troubleshoots Providers. (`1609 <https://github.com/ethereum/web3.py/issues/1609>`__)
- Add documentation for when to use each transaction method. (`1610 <https://github.com/ethereum/web3.py/issues/1610>`__)
- Remove incorrect web3 for w3 in doc example (`1615 <https://github.com/ethereum/web3.py/issues/1615>`__)
- Add examples for using web3.contract via the ethpm module. (`1617 <https://github.com/ethereum/web3.py/issues/1617>`__)
- Add dark mode to documentation. Also fixes a bunch of formatting issues in docs. (`1626 <https://github.com/ethereum/web3.py/issues/1626>`__)


Misc
~~~~

- `1545 <https://github.com/ethereum/web3.py/issues/1545>`__

5.7.0

-------------------

Features
~~~~~~~~

- Add snake_case methods for the net module

Also moved net module to use ModuleV2 instead of Module (`1592 <https://github.com/ethereum/web3.py/issues/1592>`__)


Bugfixes
~~~~~~~~

- Fix return type of eth_getCode. Changed from Hexstr to HexBytes. (`1601 <https://github.com/ethereum/web3.py/issues/1601>`__)


Misc
~~~~

- `1590 <https://github.com/ethereum/web3.py/issues/1590>`__

Page 6 of 26

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.