Skip to content

Releases: web3/web3.js

v4.13.0

18 Sep 17:11
0799331
Compare
Choose a tag to compare

What's Changed

New Contributors

v4.12.1 Hotfix

23 Aug 08:25
4de0bd1
Compare
Choose a tag to compare

Hot fix

[4.12.1]

Fixed

web3-eth-accounts

  • Revert TransactionFactory.registerTransactionType if there is a version mistatch between web3-eth and web3-eth-accounts and fix nextjs problem. (#7216)

What's Changed

v4.12.0

22 Aug 16:04
283bec7
Compare
Choose a tag to compare

[4.12.0]

Fixed

web3-core

  • setConfig() fix for setMaxListenerWarningThreshold fix (#5079)

web3-eth-accounts

  • Fix TransactionFactory.registerTransactionType not working, if there is a version mistatch between web3-eth and web3-eth-accounts by saving extraTxTypes at globals. (#7197)

Added

web3-eth-accounts

  • Added public function signMessageWithPrivateKey (#7174)

web3-eth-contract

  • Added populateTransaction to the contract.deploy(...) properties. (#7197)

web3-providers-http

  • Added statusCode of response in ResponseError, statusCode is optional property in ResponseError.

web3-rpc-providers

  • Updated rate limit error of QuickNode provider for HTTP transport
  • Added optional HttpProviderOptions | SocketOptions in Web3ExternalProvider and QuickNodeProvider for provider configs

web3-errors

  • Added optional statusCode property of response in ResponseError.

Changed

web3-eth-contract

  • The returnred properties of contract.deploy(...) are structured with a newly created class named DeployerMethodClass. (#7197)
  • Add a missed accepted type for the abi parameter, at dataInputEncodeMethodHelper and getSendTxParams. (#7197)

What's Changed

New Contributors

v4.11.1

24 Jul 15:09
1b9df07
Compare
Choose a tag to compare

[4.11.1]

Fixed

web3-errors

  • Fixed the undefined data in Eip838ExecutionError constructor (#6905)

web3-eth

  • Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#7151)
  • Change method getTransactionReceipt to not be casted as TransactionReceipt to give proper return type (#7159)

web3

  • Remove redundant constructor of contractBuilder (#7150)

What's Changed

New Contributors

Full Changelog: v4.11.0...v4.11.1

v4.11.0

11 Jul 18:15
8c49127
Compare
Choose a tag to compare

[4.11.0]

Fixed

web3-eth-abi

  • fix encodedata in EIP-712 (#7095)

web3-utils

  • _sendPendingRequests will catch unhandled errors from _sendToSocket (#6968)

web3-eth

  • Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)

Changed

web3-eth-accounts

  • baseTransaction method updated (#7095)

web3-providers-ws

  • Update dependancies (#7109)

web3-rpc-providers

  • Change request return type Promise<ResultType> to Promise<JsonRpcResponseWithResult<ResultType>> (#7102)

Added

web3-eth-contract

  • populateTransaction was added to contract methods (#7124)
  • Contract has setTransactionMiddleware and getTransactionMiddleware for automatically passing to sentTransaction for deploy and send functions (#7138)

web3-rpc-providers

  • When error is returned with code 429, throw rate limit error (#7102)

web3

  • web3.eth.Contract will get transaction middleware and use it, if web3.eth has transaction middleware. (#7138)

v4.10.0

13 Jun 15:03
Compare
Choose a tag to compare

[4.10.0]

Added

web3

  • Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)

web3-core

  • Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)

web3-eth

  • sendTransaction in rpc_method_wrappers accepts optional param of TransactionMiddleware (#7088)
  • WebEth has setTransactionMiddleware and getTransactionMiddleware for automatically passing to sentTransaction (#7088)

web3-eth-ens

  • getText now supports first param Address
  • getName has optional second param checkInterfaceSupport

web3-types

  • Added result as optional never and error as optional never in type JsonRpcNotification` (#7091)
  • Added JsonRpcNotfication as a union type in JsonRpcResponse (#7091)

web3-rpc-providers

  • Alpha release

Fixed

web3-eth-ens

  • getName reverse resolution

What's Changed

Full Changelog: v4.9.0...v4.10.0

v4.9.0

23 May 15:00
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.8.0...v4.9.0

v4.8.0

18 Apr 04:14
Compare
Choose a tag to compare

[4.8.0]

Changed

web3-eth-abi

  • Dependencies updated

web3-eth-accounts

  • Dependencies updated

Fixed

web3-eth-contract

  • Fix an issue with smart contract function overloading (#6922)

web3-utils

  • fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
  • fixed isUint8Array not returning true for Buffer (#6957)

Added

web3-eth-contract

  • Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#6942)
  • Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#6950)

web3-eth

  • method getBlock now includes properties of eip 4844, 4895, 4788 when returning block (#6933)
  • update type withdrawalsSchema, blockSchema and blockHeaderSchema schemas to include properties of eip 4844, 4895, 4788 (#6933)

web3-types

  • Added signature to type AbiFunctionFragment (#6922)
  • update type Withdrawals, block and BlockHeaderOutput to include properties of eip 4844, 4895, 4788 (#6933)

New Contributors

v4.7.0

26 Mar 18:03
Compare
Choose a tag to compare

[4.7.0]

added

web3-eth-contract

  • Types ContractDeploySend, ContractMethodSend, Web3PromiEvent was exported (#6883)

web3-eth-ens

  • Added function getText and getName in ENS and resolver classes (#6914)

fixed

web3-validator

  • Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)

web3-utils

  • fixed erroneous parsing of big numbers in the toNumber(...) function (#6880)

Contributors

Thank you to the community who have contributed to this release 😄:
@sgerodes #6882
@EtlesL #6836
@Jouzep #6853
@sarthak1dev #6867
@edison1105 #6885
@gucovip #6886
@testwill #6889
@pengqiseven #6878

v4.6.0

08 Mar 15:36
a7bbd7a
Compare
Choose a tag to compare

[4.6.0]

Added

web3

  • Added EIP-6963 utility function requestEIP6963Providers for multi provider discovery

web3-eth

  • Added eth.getMaxPriorityFeePerGas method (#6748)

web3-eth-ens

  • Added function setAddress in ENS and Resolver classes (#5956)

web3-rpc-methods

  • Added getMaxPriorityFeePerGas method (#6748)

web3-types

  • Type FeeData to be filled by await web3.eth.calculateFeeData() to be used with EIP-1559 transactions (#6795)

Fixed

web3-utils

  • replaced our eventEmitter to EventEmitter3 to support react native builds (#6253)

New Contributors

Thanks for contributions in web3.js lib: