-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/4.0.1 rc.0 #5912
Release/4.0.1 rc.0 #5912
Conversation
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded
Removed No assets were removed Bigger
Smaller
Unchanged
|
Deploying with
|
Latest commit: |
e7d290c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://b3966e7f.web3-js-docs.pages.dev |
Branch Preview URL: | https://release-4-0-1-rc-0.web3-js-docs.pages.dev |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 4.x #5912 +/- ##
=======================================
Coverage 81.00% 81.00%
=======================================
Files 137 137
Lines 5981 5981
Branches 1573 1573
=======================================
Hits 4845 4845
Misses 1136 1136
Flags with carried forward coverage won't be shown. Click here to find out more.
|
[4.0.1-rc.0]
Added
web3
registeredSubscriptions
was added by default in web3 constructor (5704 memory leak in web3.eth.contract #5792)web3-types
,web3-errors
andweb3
. (Enable the user to use only web3 as dependency #5771)new Web3().eth.contract
(Fix few issues with new Web3().eth.contract #5824)web3-core
useRpcCallSpecification
atenableExperimentalFeatures
istrue
) (Nikos/5430/validator unit test coverage #5525)safe
andfinalized
block tags (5811 merge block tags #5823)web3-errors
InvalidMethodParamsError
and error codeERR_INVALID_METHOD_PARAMS = 207
(Fix few issues with new Web3().eth.contract #5824)request
property toResponseError
(sendTransaction
andsendSignedTransaction
Error Refactors #5854)data
property toTransactionRevertInstructionError
(sendTransaction
andsendSignedTransaction
Error Refactors #5854)TransactionRevertWithCustomError
was added to handle custom solidity errors (sendTransaction
andsendSignedTransaction
Error Refactors #5854)web3-eth
createAccessList
functionality ( 5488 create access list #5780 )safe
andfinalized
block tags (5811 merge block tags #5823)contractAbi
option toSendTransactionOptions
andSendSignedTransactionOptions
to added the ability to parse custom solidity errors (sendTransaction
andsendSignedTransaction
Error Refactors #5854)web3-eth-abi
decodeErrorData
fromweb3-eth-contract
is now exported from this package and was renamed todecodeContractErrorData
(RefactorgetRevertReason
and add tests #5844)web3-eth-contract
createAccessList
for contracts ( 5488 create access list #5780 )Contract
willsubscribeToContextEvents
upon instantiation ifsyncWithContext
is set totrue
and the constructor is passed an instance ofWeb3Context
(Subscribe to context events ifcontractContext instanceof Web3Context
#5833)safe
andfinalized
block tags (5811 merge block tags #5823)web3-providers-http
HttpProvider
(Enable the user to use only web3 as dependency #5771)web3-providers-ipc
IpcProvider
(Enable the user to use only web3 as dependency #5771)_socketOptions
fromIpcProvider
constructor to the underlyingSocket
(A fix atIpcProvider
and few changes atSocketProvider
and its descendants #5891)SocketConnection
inIpcProvider
(inherited fromSocketProvider
) returnsnet.Socket
(A fix atIpcProvider
and few changes atSocketProvider
and its descendants #5891)web3-providers-ws
WebSocketProvider
(Enable the user to use only web3 as dependency #5771)SocketConnection
inWebSocketProvider
(inherited fromSocketProvider
) returns isomorphicWebSocket
(A fix atIpcProvider
and few changes atSocketProvider
and its descendants #5891)web3-rpc-methods
createAccessList
functionality ( 5488 create access list #5780 )safe
andfinalized
block tags (5811 merge block tags #5823)web3-types
web3-eth-abi
andTypedArray
from (Enable the user to use only web3 as dependency #5771)TypedArray
fromweb3-utils
andweb3-validator
(it was defined twice) (Enable the user to use only web3 as dependency #5771)safe
andfinalized
block tags inBlockTags
andBlockTag
types (5811 merge block tags #5823)web3-utils
safe
andfinalized
block tags (5811 merge block tags #5823)web3-validator
safe
andfinalized
block tags inisBlockTag
method (5811 merge block tags #5823)Changed
web3
require('web3')
will now return all web3 exported-objects organized in namespaces . (Enable the user to use only web3 as dependency #5771)web3-errors
Web3Error
is renamed toBaseWeb3Error
(Enable the user to use only web3 as dependency #5771)MaxAttemptsReachedOnReconnectingError
with the same message for 1.x but also adding themaxAttempts
(UseMaxAttemptsReachedOnReconnectingError
similar to v1.x #5894)web3-eth
sendTransaction
andsendSignedTransaction
now errors with (anderror
event emits) the following possible errors:TransactionRevertedWithoutReasonError
,TransactionRevertInstructionError
,TransactionRevertWithCustomError
,InvalidResponseError
, orContractExecutionError
(sendTransaction
andsendSignedTransaction
Error Refactors #5854)web3-eth-accounts
web3-eth-contract
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-utils
compareBlockNumbers
function now only supports comparison of both blocktags params ( exceptearliest
vs number) or both block number params (5836compare blocks #5842)SocketProvider
abstract class now resolves JSON RPC response errors instead of rejecting them (RefactorgetRevertReason
and add tests #5844)SocketConnection
inSocketProvider
(A fix atIpcProvider
and few changes atSocketProvider
and its descendants #5891)Removed
web3
_contracts:Contract[]
and staticsetProvider
function was removed (5704 memory leak in web3.eth.contract #5792)web3-eth
getRevertReason
is no longer exported (RefactorgetRevertReason
and add tests #5844)web3-eth-abi
web3-types
(Enable the user to use only web3 as dependency #5771)web3-eth-contract
decodeErrorData
is no longer exported (method was moved toweb3-eth-abi
and renameddecodeContractErrorData
) (RefactorgetRevertReason
and add tests #5844)web3-utils
TypedArray
toweb3-types
(was also duplicated atweb3-validator
) (Enable the user to use only web3 as dependency #5771)genesis
tag incompareBlockNumbers
function (5811 merge block tags #5823)web3-validator
TypedArray
toweb3-types
(was also duplicated atweb3-utils
) (Enable the user to use only web3 as dependency #5771)Fixed
web3-eth-contract