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
-
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-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)This discussion was created from the release v4.1.0-rc.0.
Beta Was this translation helpful? Give feedback.
All reactions