This repository was archived by the owner on Mar 5, 2025. It is now read-only.
v4.0.1-rc.2 #6157
jdevcs
announced in
Announcements
v4.0.1-rc.2
#6157
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-errors
InvalidPropertiesForTransactionTypeErrorwith error code429(defaultTransactionTypeParserRefactor #6102)web3-eth-contract
getPastEventsmethod to filterallEventsand specific event (getPastEvents doesn't support filter #6010)maxPriorityFeePerGasandmaxFeePerGasinContractOptionstype and updated function using it in utils (Contract options fix #6118)web3-types
filtersparam to theFiltertype (getPastEvents doesn't support filter #6010)JsonRpcSubscriptionResultOld,Web3ProviderMessageEventCallback. Added.on('data')type support for old providers (Listening events on v4 is not working #6082)HardforksOrderedenum (defaultTransactionTypeParserRefactor #6102)Web3ValidationErrorObjecttype (defaultTransactionTypeParserRefactor #6102)web3-utils
hexstrictparameter added to numberToHex (Replace Buffer with uint8array #6004)Fixed
web3-eth
ignoreGasPricingbug with wallet in context (transaction integration tests #6071)web3-eth-accounts
Changed
web3-core
web3-errors
Eip838ExecutionErrorconstructor and the nested error is set atinnerError(Parse nested error for Smartcontract errors #6045)web3-eth
formatTransactionno longer throws aTransactionDataAndInputErrorif it's passed a transaction object with bothdataandinputproperties set (as long as they are the same value) (UpdateformatTransactionto handle Nethermind edge case #6064)rpc_method_wrappersto point to the previously duplicated documentation found under theWeb3Ethclass documentation (Refactorrpc_method_wrapperdocs to point toWeb3Ethdocs #6054)defaultTransactionTypeParserto return correct EIP-2718 types, prior implementation was prioritizingtransaction.hardforkand ignoring the use oftransaction.gasLimit.defaultTransactionTypeParserwill now throwInvalidPropertiesForTransactionTypeErrors for properties are used that are incompatible withtransaction.type(defaultTransactionTypeParserRefactor #6102)prepareTransactionForSigninganddefaultTransactionBuildernow accepts optionalfillGasPriceflag and by default will not fill gas(transaction integration tests #6071)web3-eth-abi
web3-eth-accounts
BufferforUint8Array(Replace Buffer with uint8array #6004)recover,encrypt,privateKeyToAddressdoes not support typeBufferbut supports typeUint8Array(Replace Buffer with uint8array #6004)parseAndValidatePrivateKeyreturns a typeUint8Arrayinstead of typeBuffer(Replace Buffer with uint8array #6004)web3-providers-ipc
web3-types
FMT_BYTES.BUFFER,BytesandFormatTypeand encryption option types forsaltandivhas replaced support forBufferforUint8Array(Replace Buffer with uint8array #6004)internalTypeproperty to theAbiParametertype.web3-utils
hexToBytes,randomBytesdoes not return typeBufferbut typeUint8Array(Replace Buffer with uint8array #6004)sha3andkeccak256Wrapperdoes not accept typeBufferbut typeUint8Array(Replace Buffer with uint8array #6004)bytesToBufferhas been removed for the usage ofbytesToUint8Array(Replace Buffer with uint8array #6004)web3-validator
Removed
web3-eth-ens
web3-validator
Web3ValidationErrorObjecttype is now exported fromweb3-typespackage (defaultTransactionTypeParserRefactor #6102)This discussion was created from the release v4.0.1-rc.2.
Beta Was this translation helpful? Give feedback.
All reactions