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
|
| Latest commit: |
d4f067d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1358a834.web3-js-docs.pages.dev |
| Branch Preview URL: | https://release-4-0-4.web3-js-docs.pages.dev |
mpetrunic
left a comment
There was a problem hiding this comment.
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
RpcErrorMessagesthat contains mapping for standard RPC Errors and their messages. (Fix: 'disconnect' in Eip1193 provider must emit ProviderRpcError #6230)TransactionGasMismatchInnerErrorfor clarity on the error inTransactionGasMismatchError(maxFeePerGas requirement in 4.x #6215)MissingGasInnerErrorfor clarity on the error inMissingGasError(maxFeePerGas requirement in 4.x #6215)web3-eth
rpc_method_wrapper(signTypedData) for the rpc callseth_signTypedDataandeth_signTypedData_v4(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712DataUtil #6286)signTypedDatamethod to theWeb3Ethclass (Implement EIP712 RPC Wrapper Methods andgetEncodedEip712DataUtil #6286)web3-eth-abi
getEncodedEip712Datamethod 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 andgetEncodedEip712DataUtil #6286)web3-rpc-methods
signTypedDatamethod toeth_rpc_methodsfor the rpc callseth_signTypedDataandeth_signTypedData_v4(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712DataUtil #6286)web3-types
eth_signTypedDataandeth_signTypedData_v4toweb3_eth_execution_api(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712DataUtil #6286)Eip712TypeDetailsandEip712TypedDatatoeth_types(Implement EIP712 RPC Wrapper Methods andgetEncodedEip712DataUtil #6286)web3-validator
json-schemaas a main json schema type (6156 find replacement for is my json valid #6264)Fixed
web3-core
connectedevent for subscriptions. #6252". (Enable Custom Event Subscription #6262)web3-errors
web3-eth
estimateGasunless transaction builderoptions.fillGasis false. (Migration from 1.8v to 4v caused Insufficient funds error #6249)blockHeaderSchemaproperties causing some properties to not appear in response ofnewHeadssubscription (Add missingblockHeaderSchemaproperties #6243)blockHeaderSchemaproperties causing some properties to not appear in response ofnewHeadssubscription (Add missingblockHeaderSchemaproperties #6243)web3-providers-ws
"@types/ws": "8.5.3"#6309)Changed
web3-core
CommonSubscriptionEvents &at every child class ofWeb3Subscription(Enable Custom Event Subscription #6262)_processSubscriptionResultand_processSubscriptionErrorhas been written in the base classWeb3Subscriptionand maidpublic. (Enable Custom Event Subscription #6262)formatSubscriptionResultcould be used to customize data formatting instead of re-implementing_processSubscriptionResult. (Enable Custom Event Subscription #6262)CommonSubscriptionEvents &for the first generic parameter ofWeb3Subscriptionwhen inheriting from it. (Enable Custom Event Subscription #6262)web3-eth
MissingGasErrorerror message changed for clarity (maxFeePerGas requirement in 4.x #6215)inputanddataare 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 bothinputanddataproperties (Transactioninputanddatarefactors #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
inputanddataare now optional properties onPopulatedUnsignedBaseTransaction(previouslyinputwas a required property, anddatawas not available) (Transactioninputanddatarefactors #6294)web3-utils
web3-validator
is-my-json-validwithzoddependency. Related code was changed (6156 find replacement for is my json valid #6264)ValidationErrorandJsonSchemawere changed (6156 find replacement for is my json valid #6264)Removed
web3-eth
blockHeaderSchemaproperties causing some properties to not appear in response ofnewHeadssubscription (Add missingblockHeaderSchemaproperties #6243)RawValidationErrorwas removed (6156 find replacement for is my json valid #6264)web3-validator
RawValidationErrorwas removed (6156 find replacement for is my json valid #6264)