This repository was archived by the owner on Mar 5, 2025. It is now read-only.
v4.1.0-rc.0 #6343
jdevcs
announced in
Announcements
v4.1.0-rc.0
#6343
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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-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)This discussion was created from the release v4.1.0-rc.0.
Beta Was this translation helpful? Give feedback.
All reactions