Closed
Description
v5 has no planned release date, but it would be nice to have some ideas in mind for what we would want to change.
Potential v5 backwards-incompatible changes
Each of these line items should have its own issue. This is just a place to link them all (and a reminder to create the issue later).
Edit: I'll try to update this list to keep it in sync with the comments below:
- drop py3.5 support Remove 3.5 support and update eth-abiV2 #1163
- rename w3.middleware_stack so it's not called stack Rename middleware_stack to middleware_onion #1210
- switch to a single provider instead of a list (maybe) Change manager.providers from list to single manager.provider (V5 beta) #1200
- rename
Web3.sha3
toWeb3.keccak
Drop deprecatedweb3.sha3
method #1207 - drop the transact/estimateGas support in
ConciseContract
, and rename to something likeContractReader
- Contract Caller Cleaned up #1227 -
shouldn't be API-breaking changes, or delay the v5 releasew3.async
things - only support standard json-rpc methods in the global Web3 namespace, with geth/parity extensions separated into sandboxed namespaces (for example, some
personal_*
calls are not globally defined or supported and should probably be moved, likepersonal_importRawKey
. Might make sense to have those on something like:w3.geth.personal.importRawKey
) - Stop automatically looking up a testnet connection in
IPCProvider
. Drop auto detect testnets for IPCProvider #1206 - Stop inferring
.eth
as a suffix on ENS names. ENS - Stop inferring .eth TLD #1205 - remove deprecated methods: Remove deprecated methods #1232
- removal of
contract.call()
- removal of
contract.transact()
- removal of
contract.eventFilter()
- removal of
contract.deploy()
- removal of
contract.estimateGas()
- removal of
contract.buildTransaction()
- removal of
- drop
web3.providers.tester.EthereumTesterProvider
andweb3.providers.tester.TestRPCProvider
Drop web3.providers.tester.py (V5 beta) #1199 - drop
contract.eventFilter
Removes depracated Contract.eventFilter. Fixes #1028. #1032 - have
web3.eth.getBlock
andweb3.eth.getTransaction
raise an exception rather than returnNone
Raise exceptions rather than return None in all jsonrpc calls #1218 - drop
web3.utils.*
in favor ofweb3._utils.*
- Remove web3/utils folder #1282
EDIT: I went through this thread and added all the breaking changes I saw so that they are all in one place. I think once we get through this list and do some testing, we can get a beta release out. - KC
Metadata
Metadata
Assignees
Labels
No labels