-
Notifications
You must be signed in to change notification settings - Fork 5k
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.4 RC #6331
Release 4.0.4 RC #6331
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 No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 4.x #6331 +/- ##
=======================================
Coverage 88.88% 88.88%
=======================================
Files 199 199
Lines 7717 7717
Branches 2124 2124
=======================================
Hits 6859 6859
Misses 858 858
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Deploying with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's stick to semver, this is obviously minor version as we are adding new features
I created a new branch ( and new PR ) instead of renaming current branch to 4.1.0 and bumped some packages minor. |
Added
web3
web3-core
web3-errors
RpcErrorMessages
that contains mapping for standard RPC Errors and their messages. (Fix: 'disconnect' in Eip1193 provider must emit ProviderRpcError #6230)TransactionGasMismatchInnerError
for clarity on the error inTransactionGasMismatchError
(maxFeePerGas requirement in 4.x #6215)MissingGasInnerError
for clarity on the error inMissingGasError
(maxFeePerGas requirement in 4.x #6215)web3-eth
rpc_method_wrapper
(signTypedData
) for the rpc callseth_signTypedData
andeth_signTypedData_v4
(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)signTypedData
method to theWeb3Eth
class (Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)web3-eth-abi
getEncodedEip712Data
method that takes an EIP-712 typed data object and returns the encoded data with the option to also keccak256 hash it (Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)web3-rpc-methods
signTypedData
method toeth_rpc_methods
for the rpc callseth_signTypedData
andeth_signTypedData_v4
(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)web3-types
eth_signTypedData
andeth_signTypedData_v4
toweb3_eth_execution_api
(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)Eip712TypeDetails
andEip712TypedData
toeth_types
(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712Data
Util #6286)web3-validator
json-schema
as a main json schema type (6156 find replacement for is my json valid #6264)Fixed
web3-core
connected
event for subscriptions. #6252". (Enable Custom Event Subscription #6262)web3-errors
web3-eth
estimateGas
unless transaction builderoptions.fillGas
is false. (Migration from 1.8v to 4v caused Insufficient funds error #6249)blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (Add missingblockHeaderSchema
properties #6243)blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (Add missingblockHeaderSchema
properties #6243)web3-providers-ws
"@types/ws": "8.5.3"
#6309)Changed
web3-core
CommonSubscriptionEvents &
at every child class ofWeb3Subscription
(Enable Custom Event Subscription #6262)_processSubscriptionResult
and_processSubscriptionError
has been written in the base classWeb3Subscription
and maidpublic
. (Enable Custom Event Subscription #6262)formatSubscriptionResult
could be used to customize data formatting instead of re-implementing_processSubscriptionResult
. (Enable Custom Event Subscription #6262)CommonSubscriptionEvents &
for the first generic parameter ofWeb3Subscription
when inheriting from it. (Enable Custom Event Subscription #6262)web3-eth
MissingGasError
error message changed for clarity (maxFeePerGas requirement in 4.x #6215)input
anddata
are no longer auto populated for transaction objects if they are not present. Instead, whichever property is provided by the user is formatted and sent to the RPC provider. Transaction objects returned from RPC responses are still formatted to contain bothinput
anddata
properties (Transactioninput
anddata
refactors #6294)web3-eth-accounts
web3-eth-contract
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-rpc-methods
web3-types
input
anddata
are now optional properties onPopulatedUnsignedBaseTransaction
(previouslyinput
was a required property, anddata
was not available) (Transactioninput
anddata
refactors #6294)web3-utils
web3-validator
is-my-json-valid
withzod
dependency. Related code was changed (6156 find replacement for is my json valid #6264)ValidationError
andJsonSchema
were changed (6156 find replacement for is my json valid #6264)Removed
web3-eth
blockHeaderSchema
properties causing some properties to not appear in response ofnewHeads
subscription (Add missingblockHeaderSchema
properties #6243)RawValidationError
was removed (6156 find replacement for is my json valid #6264)web3-validator
RawValidationError
was removed (6156 find replacement for is my json valid #6264)