michaelhettmer / web3-integration-testing

MIT License
1 stars 0 forks source link

fix(deps): update dependency web3 to v4 #70

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
web3 1.2.11 -> 4.12.1 age adoption passing confidence

Release Notes

ChainSafe/web3.js (web3) ### [`v4.12.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#4121) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.12.0...v4.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](https://togithub.com/ChainSafe/web3.js/issues/7216)) ### [`v4.12.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#4120) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.11.1...v4.12.0) ##### Fixed ##### web3-core - `setConfig()` fix for `setMaxListenerWarningThreshold` fix ([#​5079](https://togithub.com/ChainSafe/web3.js/issues/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](https://togithub.com/ChainSafe/web3.js/issues/7197)) ##### Added ##### web3-eth-accounts - Added public function `signMessageWithPrivateKey` ([#​7174](https://togithub.com/ChainSafe/web3.js/issues/7174)) ##### web3-eth-contract - Added `populateTransaction` to the `contract.deploy(...)` properties. ([#​7197](https://togithub.com/ChainSafe/web3.js/issues/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](https://togithub.com/ChainSafe/web3.js/issues/7197)) - Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. ([#​7197](https://togithub.com/ChainSafe/web3.js/issues/7197)) ### [`v4.11.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#4111) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.11.0...v4.11.1) ##### Fixed ##### web3-errors - Fixed the undefined data in `Eip838ExecutionError` constructor ([#​6905](https://togithub.com/ChainSafe/web3.js/issues/6905)) ##### web3-eth - Adds transaction property to be an empty list rather than undefined when no transactions are included in the block ([#​7151](https://togithub.com/ChainSafe/web3.js/issues/7151)) - Change method `getTransactionReceipt` to not be casted as `TransactionReceipt` to give proper return type ([#​7159](https://togithub.com/ChainSafe/web3.js/issues/7159)) ##### web3 - Remove redundant constructor of contractBuilder ([#​7150](https://togithub.com/ChainSafe/web3.js/issues/7150)) ### [`v4.11.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#4110) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.10.0...v4.11.0) ##### Fixed ##### web3-eth-abi - fix encodedata in EIP-712 ([#​7095](https://togithub.com/ChainSafe/web3.js/issues/7095)) ##### web3-utils - `_sendPendingRequests` will catch unhandled errors from `_sendToSocket` ([#​6968](https://togithub.com/ChainSafe/web3.js/issues/6968)) ##### web3-eth - Fixed geth issue when running a new instance, transactions will index when there are no blocks created ([#​7098](https://togithub.com/ChainSafe/web3.js/issues/7098)) ##### Changed ##### web3-eth-accounts - baseTransaction method updated ([#​7095](https://togithub.com/ChainSafe/web3.js/issues/7095)) ##### web3-providers-ws - Update dependancies ([#​7109](https://togithub.com/ChainSafe/web3.js/issues/7109)) ##### web3-plugin-example - Dependencies updated ##### web3-rpc-providers - Change request return type `Promise` to `Promise>` ([#​7102](https://togithub.com/ChainSafe/web3.js/issues/7102)) ##### Added ##### web3-eth-contract - `populateTransaction` was added to contract methods ([#​7124](https://togithub.com/ChainSafe/web3.js/issues/7124)) - Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions ([#​7138](https://togithub.com/ChainSafe/web3.js/issues/7138)) ##### web3-rpc-providers - When error is returned with code 429, throw rate limit error ([#​7102](https://togithub.com/ChainSafe/web3.js/issues/7102)) ##### web3 - `web3.eth.Contract` will get transaction middleware and use it, if `web3.eth` has transaction middleware. ([#​7138](https://togithub.com/ChainSafe/web3.js/issues/7138)) ### [`v4.10.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#4100) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.9.0...v4.10.0) ##### Added ##### web3 - Now when existing packages are added in web3, will be avalible for plugins via context. ([#​7088](https://togithub.com/ChainSafe/web3.js/issues/7088)) ##### web3-core - Now when existing packages are added in web3, will be avalible for plugins via context. ([#​7088](https://togithub.com/ChainSafe/web3.js/issues/7088)) ##### web3-eth - `sendTransaction` in `rpc_method_wrappers` accepts optional param of `TransactionMiddleware` ([#​7088](https://togithub.com/ChainSafe/web3.js/issues/7088)) - WebEth has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` ([#​7088](https://togithub.com/ChainSafe/web3.js/issues/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](https://togithub.com/ChainSafe/web3.js/issues/7091)) - Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` ([#​7091](https://togithub.com/ChainSafe/web3.js/issues/7091)) ##### web3-rpc-providers - RC release ##### Fixed ##### web3-eth-ens - `getName` reverse resolution ### [`v4.9.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#490) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.8.0...v4.9.0) ##### Added ##### web3 - Updated type `Web3EthInterface.accounts` to includes `privateKeyToAccount`,`privateKeyToAddress`,and `privateKeyToPublicKey` ([#​6762](https://togithub.com/ChainSafe/web3.js/issues/6762)) ##### web3-core - `defaultReturnFormat` was added to the configuration options. ([#​6947](https://togithub.com/ChainSafe/web3.js/issues/6947)) ##### web3-errors - Added `InvalidIntegerError` error for fromWei and toWei ([#​7052](https://togithub.com/ChainSafe/web3.js/issues/7052)) ##### web3-eth - `defaultReturnFormat` was added to all methods that have `ReturnType` param. ([#​6947](https://togithub.com/ChainSafe/web3.js/issues/6947)) - `getTransactionFromOrToAttr`, `waitForTransactionReceipt`, `trySendTransaction`, `SendTxHelper` was exported ([#​7000](https://togithub.com/ChainSafe/web3.js/issues/7000)) ##### web3-eth-contract - `defaultReturnFormat` was added to all methods that have `ReturnType` param. ([#​6947](https://togithub.com/ChainSafe/web3.js/issues/6947)) ##### web3-eth-ens - `defaultReturnFormat` was added to all methods that have `ReturnType` param. ([#​6947](https://togithub.com/ChainSafe/web3.js/issues/6947)) ##### web3-net - `defaultReturnFormat` was added to all methods that have `ReturnType` param. ([#​6947](https://togithub.com/ChainSafe/web3.js/issues/6947)) ##### web3-types - Added `signature` to type `AbiFunctionFragment` ([#​6922](https://togithub.com/ChainSafe/web3.js/issues/6922)) - update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 ([#​6933](https://togithub.com/ChainSafe/web3.js/issues/6933)) ##### web3-utils - `toWei` add warning when using large numbers or large decimals that may cause precision loss ([#​6908](https://togithub.com/ChainSafe/web3.js/issues/6908)) - `toWei` and `fromWei` now supports integers as a unit. ([#​7053](https://togithub.com/ChainSafe/web3.js/issues/7053)) ##### Fixed ##### web3-eth - Fixed issue with simple transactions, Within `checkRevertBeforeSending` if there is no data set in transaction, set gas to be `21000` ([#​7043](https://togithub.com/ChainSafe/web3.js/issues/7043)) ##### web3-utils - `toWei` support numbers in scientific notation ([#​6908](https://togithub.com/ChainSafe/web3.js/issues/6908)) - `toWei` and `fromWei` trims according to ether unit successfuly ([#​7044](https://togithub.com/ChainSafe/web3.js/issues/7044)) ##### web3-validator - The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. ([#​6981](https://togithub.com/ChainSafe/web3.js/issues/6981)) - `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` ([#​7015](https://togithub.com/ChainSafe/web3.js/issues/7015)) ##### web3-core - Set a try catch block if processesingError fails ([#​7022](https://togithub.com/ChainSafe/web3.js/issues/7022)) ##### Changed ##### web3-core - Interface `RequestManagerMiddleware` was changed ([#​7003](https://togithub.com/ChainSafe/web3.js/issues/7003)) ##### web3-eth - Added parameter `customTransactionReceiptSchema` into methods `emitConfirmation`, `waitForTransactionReceipt`, `watchTransactionByPolling`, `watchTransactionBySubscription`, `watchTransactionForConfirmations` ([#​7000](https://togithub.com/ChainSafe/web3.js/issues/7000)) - Changed functionality: For networks that returns `baseFeePerGas===0x0` fill `maxPriorityFeePerGas` and `maxFeePerGas` by `getGasPrice` method ([#​7050](https://togithub.com/ChainSafe/web3.js/issues/7050)) ##### web3-eth-abi - Dependencies updated ##### web3-rpc-methods - Change `estimateGas` method to add possibility pass Transaction type ([#​7000](https://togithub.com/ChainSafe/web3.js/issues/7000)) ### [`v4.8.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#480) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.7.0...v4.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](https://togithub.com/ChainSafe/web3.js/issues/6922)) ##### web3-utils - fixed toHex incorrectly hexing Uint8Arrays and Buffer ([#​6957](https://togithub.com/ChainSafe/web3.js/issues/6957)) - fixed isUint8Array not returning true for Buffer ([#​6957](https://togithub.com/ChainSafe/web3.js/issues/6957)) ##### Added ##### web3-eth-contract - Added a console warning in case of an ambiguous call to a solidity method with parameter overloading ([#​6942](https://togithub.com/ChainSafe/web3.js/issues/6942)) - Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI ([#​6950](https://togithub.com/ChainSafe/web3.js/issues/6950)) ##### web3-eth - method `getBlock` now includes properties of eip 4844, 4895, 4788 when returning block ([#​6933](https://togithub.com/ChainSafe/web3.js/issues/6933)) - update type `withdrawalsSchema`, `blockSchema` and `blockHeaderSchema` schemas to include properties of eip 4844, 4895, 4788 ([#​6933](https://togithub.com/ChainSafe/web3.js/issues/6933)) ##### web3-types - Added `signature` to type `AbiFunctionFragment` ([#​6922](https://togithub.com/ChainSafe/web3.js/issues/6922)) - update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 ([#​6933](https://togithub.com/ChainSafe/web3.js/issues/6933)) ### [`v4.7.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#470) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.6.0...v4.7.0) ##### added ##### web3-eth-contract - Types `ContractDeploySend`, `ContractMethodSend`, `Web3PromiEvent` was exported ([#​6883](https://togithub.com/ChainSafe/web3.js/issues/6883)) ##### web3-eth-ens - Added function getText and getName in ENS and resolver classes ([#​6914](https://togithub.com/ChainSafe/web3.js/issues/6914)) ##### fixed ##### web3-validator - Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs ([#​6798](https://togithub.com/ChainSafe/web3.js/issues/6798)) ##### web3-utils - fixed erroneous parsing of big numbers in the `toNumber(...)` function ([#​6880](https://togithub.com/ChainSafe/web3.js/issues/6880)) ### [`v4.6.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#460) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.5.0...v4.6.0) ##### Added ##### web3 - Added EIP-6963 utility function `requestEIP6963Providers` for multi provider discovery ##### web3-eth - Added `eth.getMaxPriorityFeePerGas` method ([#​6748](https://togithub.com/ChainSafe/web3.js/issues/6748)) ##### web3-eth-ens - Added function `setAddress` in ENS and Resolver classes ([#​5956](https://togithub.com/ChainSafe/web3.js/issues/5956)) ##### web3-rpc-methods - Added `getMaxPriorityFeePerGas` method ([#​6748](https://togithub.com/ChainSafe/web3.js/issues/6748)) ##### web3-types - Type `FeeData` to be filled by `await web3.eth.calculateFeeData()` to be used with EIP-1559 transactions ([#​6795](https://togithub.com/ChainSafe/web3.js/issues/6795)) ##### Fixed ##### web3-utils - replaced our eventEmitter to EventEmitter3 to support react native builds ([#​6253](https://togithub.com/ChainSafe/web3.js/issues/6253)) ### [`v4.5.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#450) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.4.0...v4.5.0) ##### Added ##### web3-utils - Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy ([#​6678](https://togithub.com/ChainSafe/web3.js/issues/6678)) ##### web3-types - Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy ([#​6678](https://togithub.com/ChainSafe/web3.js/issues/6678)) ##### Changed ##### web3 - Dependencies updated ### [`v4.4.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#440) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.3.0...v4.4.0) ##### Added ##### web3-eth - Catch `TransactionPollingTimeoutError` was added to send transaction events ([#​6623](https://togithub.com/ChainSafe/web3.js/issues/6623)) ##### Changed ##### web3-eth-abi - Use `AbiError` instead of `Error` for errors at web3-eth-abi ([#​6641](https://togithub.com/ChainSafe/web3.js/issues/6641)). ##### web3-eth-contract - Allow the `deploy` function to accept parameters, even when no ABI was provided to the `Contract`([#​6635](https://togithub.com/ChainSafe/web3.js/issues/6635)) ##### web3 - Dependencies updated ##### Fixed ##### web3-eth-abi - Fixed an issue with detecting Uint8Array ([#​6486](https://togithub.com/ChainSafe/web3.js/issues/6486)) ##### web3-eth-accounts - Send Transaction config used to be ignored if the passed `common` did not have a `copy()` and the `chainId` was not provided ([#​6663](https://togithub.com/ChainSafe/web3.js/issues/6663)) - Fixed an issue with detecting Uint8Array ([#​6486](https://togithub.com/ChainSafe/web3.js/issues/6486)) ##### web3-eth-contract - Fix and error that happen when trying to get past events by calling `contract.getPastEvents` or `contract.events.allEvents()`, if there is no matching events. ([#​6647](https://togithub.com/ChainSafe/web3.js/issues/6647)) - Fixed: The Contract is not using the context wallet passed if context was passed at constructor. ([#​6661](https://togithub.com/ChainSafe/web3.js/issues/6661)) ##### web3-utils - Fixed an issue with detecting Uint8Array ([#​6486](https://togithub.com/ChainSafe/web3.js/issues/6486)) ##### web3-validator - Fixed an issue with detecting Uint8Array ([#​6486](https://togithub.com/ChainSafe/web3.js/issues/6486)) ### [`v4.3.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#430) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.2.2...v4.3.0) ##### Changed ##### web3-core - Web3config `contractDataInputFill` has been defaulted to `data`, instead of `input`. ([#​6622](https://togithub.com/ChainSafe/web3.js/issues/6622)) ##### web3-eth-contracts - By default, contracts will fill `data` instead of `input` within method calls ([#​6622](https://togithub.com/ChainSafe/web3.js/issues/6622)) ##### Added ##### web3-utils - `SocketProvider` now contains public function `getPendingRequestQueueSize`, `getSentRequestsQueueSize` and `clearQueues` ([#​6479](https://togithub.com/ChainSafe/web3.js/issues/6479)) - Added `safeDisconnect` as a `SocketProvider` method to disconnect only when request queue size and send request queue size is 0 ([#​6479](https://togithub.com/ChainSafe/web3.js/issues/6479)) - Add `isContractInitOptions` method ([#​6555](https://togithub.com/ChainSafe/web3.js/issues/6555)) ##### web3 - Added methods (privateKeyToAddress, parseAndValidatePrivateKey, and privateKeyToPublicKey) to web3.eth.accounts ([#​6620](https://togithub.com/ChainSafe/web3.js/issues/6620)) ##### Fixed ##### web3-rpc-methods - Fix web3-types import [#​6590](https://togithub.com/ChainSafe/web3.js/issues/6590) ([#​6589](https://togithub.com/ChainSafe/web3.js/issues/6589)) ##### web3-utils - Fix unnecessary array copy when pack encoding ([#​6553](https://togithub.com/ChainSafe/web3.js/issues/6553)) ### [`v4.2.2`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#422) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.2.1...v4.2.2) ##### Added ##### web3-core - Added `isMetaMaskProvider` function to check if provider is metamask ([#​6534](https://togithub.com/ChainSafe/web3.js/issues/6534)) ##### web3-types - Interface `MetaMaskProvider` added and is part of `SupportedProviders` ([#​6534](https://togithub.com/ChainSafe/web3.js/issues/6534)) - `gasPrice` was added to `Transaction1559UnsignedAPI` type. ([#​6539](https://togithub.com/ChainSafe/web3.js/issues/6539)) ##### Changed ##### web3 - Dependencies updated ##### Fixed ##### web3-errors - Fixed grammar and spelling in `transactionTimeoutHint` ([#​6559](https://togithub.com/ChainSafe/web3.js/issues/6559)) ##### web3-eth-contract - Will populate `data` for transactions in contract for metamask provider instead of `input` ([#​6534](https://togithub.com/ChainSafe/web3.js/issues/6534)) ### [`v4.2.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#421) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.2.0...v4.2.1) ##### Fixed ##### web3-eth-abi - Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI ([#​6535](https://togithub.com/ChainSafe/web3.js/issues/6535)) ##### Changed ##### web3-eth-contract - Dependencies updated ##### web3-eth - Dependencies updated ##### web3-eth-ens - Dependencies updated ##### web3-eth-personal - Dependencies updated ### [`v4.2.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#420) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.1.2...v4.2.0) ##### Added ##### web3 - Various web3 sub packages has new functions details are in root changelog ##### web3-eth - Added `ALL_EVENTS` and `ALL_EVENTS_ABI` constants, `SendTransactionEventsBase` type, `decodeEventABI` method ([#​6410](https://togithub.com/ChainSafe/web3.js/issues/6410)) ##### web3-eth-accounts - Added public function `privateKeyToPublicKey` - Added exporting `BaseTransaction` from the package ([#​6493](https://togithub.com/ChainSafe/web3.js/issues/6493)) - Added exporting `txUtils` from the package ([#​6493](https://togithub.com/ChainSafe/web3.js/issues/6493)) ##### web3-types - Interface `EventLog` was added. ([#​6410](https://togithub.com/ChainSafe/web3.js/issues/6410)) ##### web3-utils - As a replacment of the node EventEmitter, a custom `EventEmitter` has been implemented and exported. ([#​6398](https://togithub.com/ChainSafe/web3.js/issues/6398)) ##### Fixed ##### web3-core - Fix the issue: "Uncaught TypeError: Class extends value undefined is not a constructor or null [#​6371](https://togithub.com/ChainSafe/web3.js/issues/6371)". ([#​6398](https://togithub.com/ChainSafe/web3.js/issues/6398)) ##### web3-errors - Added new SchemaFormatError ([#​6434](https://togithub.com/ChainSafe/web3.js/issues/6434)) ##### web3-eth - Ensure provider.supportsSubscriptions exists before watching by subscription ([#​6440](https://togithub.com/ChainSafe/web3.js/issues/6440)) - Fixed param sent to `checkRevertBeforeSending` in `sendSignedTransaction` - Fixed `defaultTransactionBuilder` for value issue ([#​6509](https://togithub.com/ChainSafe/web3.js/issues/6509)) ##### web3-eth-abi - Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number [#​6187](https://togithub.com/ChainSafe/web3.js/issues/6187)" ([#​6506](https://togithub.com/ChainSafe/web3.js/issues/6506)) ##### web3-eth-accounts - Fixed `recover` function, `v` will be normalized to value 0,1 ([#​6344](https://togithub.com/ChainSafe/web3.js/issues/6344)) ##### web3-providers-http - Fix issue [lquixada/cross-fetch#78](https://togithub.com/lquixada/cross-fetch/issues/78), enabling to run web3.js in service worker ([#​6463](https://togithub.com/ChainSafe/web3.js/issues/6463)) ##### web3-providers-ipc - Fixed bug in chunks processing logic ([#​6496](https://togithub.com/ChainSafe/web3.js/issues/6496)) ##### web3-providers-ws - Fixed bug in chunks processing logic ([#​6496](https://togithub.com/ChainSafe/web3.js/issues/6496)) ##### web3-utils - Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number [#​6187](https://togithub.com/ChainSafe/web3.js/issues/6187)" ([#​6506](https://togithub.com/ChainSafe/web3.js/issues/6506)) - Fixed bug in chunks processing logic ([#​6496](https://togithub.com/ChainSafe/web3.js/issues/6496)) ##### web3-validator - Multi-dimensional arrays are now handled properly when parsing ABIs ([#​6435](https://togithub.com/ChainSafe/web3.js/issues/6435)) - Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number [#​6187](https://togithub.com/ChainSafe/web3.js/issues/6187)" ([#​6506](https://togithub.com/ChainSafe/web3.js/issues/6506)) - Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 <= N <= 256 and N % 8 == 0 ([#​6434](https://togithub.com/ChainSafe/web3.js/issues/6434)) - Will now throw SchemaFormatError when unsupported format is passed to `convertToZod` method ([#​6434](https://togithub.com/ChainSafe/web3.js/issues/6434)) ##### Changed ##### web3 - Dependencies updated ##### web3-core - defaultTransactionType is now type 0x2 instead of 0x0 ([#​6282](https://togithub.com/ChainSafe/web3.js/issues/6282)) - Allows formatter to parse large base fee ([#​6456](https://togithub.com/ChainSafe/web3.js/issues/6456)) - The package now uses `EventEmitter` from `web3-utils` that works in node envrioment as well as in the browser. ([#​6398](https://togithub.com/ChainSafe/web3.js/issues/6398)) ##### web3-eth - Transactions will now default to type 2 transactions instead of type 0, similar to 1.x version. ([#​6282](https://togithub.com/ChainSafe/web3.js/issues/6282)) ##### web3-eth-contract - The `events` property was added to the `receipt` object ([#​6410](https://togithub.com/ChainSafe/web3.js/issues/6410)) ##### web3-eth-ens - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Bump cross-fetch to version 4 ([#​6463](https://togithub.com/ChainSafe/web3.js/issues/6463)). ##### web3-rpc-methods - Dependencies updated ### [`v4.1.2`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#412) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.1.1...v4.1.2) ##### Fixed ##### web3 - Fix of incorrect provider warning behavior ##### web3-eth-accounts - Fixed "The `r` and `s` returned by `sign` to does not always consist of 64 characters" ([#​6411](https://togithub.com/ChainSafe/web3.js/issues/6411)) ##### web3-eth-contract ##### web3-utils - `soliditySha3()` with BigInt support ##### Added ##### web3-core - Added to `Web3Config` property `contractDataInputFill` allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider when creating contracts. ([#​6377](https://togithub.com/ChainSafe/web3.js/issues/6377)) ([#​6400](https://togithub.com/ChainSafe/web3.js/issues/6400)) ##### web3-eth - Added to `Web3Config` property `contractDataInputFill` allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider when creating contracts. ([#​6377](https://togithub.com/ChainSafe/web3.js/issues/6377)) ([#​6400](https://togithub.com/ChainSafe/web3.js/issues/6400)) - Added `ALL_EVENTS` and `ALL_EVENTS_ABI` constants, `SendTransactionEventsBase` type, `decodeEventABI` method ([#​6410](https://togithub.com/ChainSafe/web3.js/issues/6410)) ##### web3-eth-contract - Added `dataInputFill` as a ContractInitOption, allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider. ([#​6355](https://togithub.com/ChainSafe/web3.js/issues/6355)) - Added to `Web3Config` property `contractDataInputFill` allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider when creating contracts. ([#​6377](https://togithub.com/ChainSafe/web3.js/issues/6377)) ##### web3-types - add `asEIP1193Provider` to `Web3BaseProvider` so every inherited class can have the returned value of `request` method, fully compatible with EIP-1193. ([#​6407](https://togithub.com/ChainSafe/web3.js/issues/6407)) ##### Changed ##### web3-core - Dependencies updated ##### web3-errors - Dependencies updated ##### web3-eth-abi - Dependencies updated ##### web3-eth-ens - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Dependencies updated ##### web3-providers-ipc - Dependencies updated ##### web3-providers-ws - Dependencies updated ##### web3-rpc-methods - Dependencies updated ##### web3-validator - Dependencies updated ### [`v4.1.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#411) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.1.0...v4.1.1) ##### Added ##### web3 - To fix issue [#​6190](https://togithub.com/ChainSafe/web3.js/issues/6190), added the functionality to introduce different timeout value for Web3. ([#​6336](https://togithub.com/ChainSafe/web3.js/issues/6336)) ##### web3-core - To fix issue [#​6190](https://togithub.com/ChainSafe/web3.js/issues/6190), added the functionality to introduce different timeout value for Web3. ([#​6336](https://togithub.com/ChainSafe/web3.js/issues/6336)) ##### web3-eth-contract - In case of error events there will be inner error also available for details ##### Fixed ##### web3-eth - Added return type for `formatSubscriptionResult` in class `NewHeadsSubscription` ([#​6368](https://togithub.com/ChainSafe/web3.js/issues/6368)) ##### web3-core - Fixed rpc errors not being sent as an inner error when using the `send` method on request manager ([#​6300](https://togithub.com/ChainSafe/web3.js/issues/6300)). ##### web3-errors - ESM import bug ([#​6359](https://togithub.com/ChainSafe/web3.js/issues/6359)) ##### web3-eth-contract - Fixed bug in `contract.events.allEvents` ##### web3-validator - ESM import bug ([#​6359](https://togithub.com/ChainSafe/web3.js/issues/6359)) ##### Changed ##### web3-eth-abi - Dependencies updated ##### web3-eth-accounts - Dependencies updated ##### web3-eth-ens - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Dependencies updated ##### web3-providers-ipc - Dependencies updated ##### web3-providers-ws - Dependencies updated ##### web3-rpc-methods - Dependencies updated ##### web3-types - Dependencies updated ##### web3-utils - Dependencies updated ### [`v4.1.0`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#410) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.0.3...v4.1.0) ##### Added ##### web3 - Added minimum support of web3.extend function ##### web3-core - Added minimum support of web3.extend function ##### web3-errors - `RpcErrorMessages` that contains mapping for standard RPC Errors and their messages. ([#​6230](https://togithub.com/ChainSafe/web3.js/issues/6230)) - created `TransactionGasMismatchInnerError` for clarity on the error in `TransactionGasMismatchError` ([#​6215](https://togithub.com/ChainSafe/web3.js/issues/6215)) - created `MissingGasInnerError` for clarity on the error in `MissingGasError` ([#​6215](https://togithub.com/ChainSafe/web3.js/issues/6215)) ##### web3-eth - A `rpc_method_wrapper` (`signTypedData`) for the rpc calls `eth_signTypedData` and `eth_signTypedData_v4` ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) - A `signTypedData` method to the `Web3Eth` class ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) ##### web3-eth-abi - A `getEncodedEip712Data` method that takes an EIP-712 typed data object and returns the encoded data with the option to also keccak256 hash it ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) ##### web3-rpc-methods - A `signTypedData` method to `eth_rpc_methods` for the rpc calls `eth_signTypedData` and `eth_signTypedData_v4` ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) ##### web3-types - `eth_signTypedData` and `eth_signTypedData_v4` to `web3_eth_execution_api` ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) - `Eip712TypeDetails` and `Eip712TypedData` to `eth_types` ([#​6286](https://togithub.com/ChainSafe/web3.js/issues/6286)) ##### web3-validator - Added `json-schema` as a main json schema type ([#​6264](https://togithub.com/ChainSafe/web3.js/issues/6264)) ##### Fixed ##### web3-core - Fixed the issue: "Version 4.x does not fire connected event for subscriptions. [#​6252](https://togithub.com/ChainSafe/web3.js/issues/6252)". ([#​6262](https://togithub.com/ChainSafe/web3.js/issues/6262)) ##### web3-errors - Fixed: "'disconnect' in Eip1193 provider must emit ProviderRpcError [#​6003](https://togithub.com/ChainSafe/web3.js/issues/6003)".([#​6230](https://togithub.com/ChainSafe/web3.js/issues/6230)) ##### web3-eth - sendTransaction will have gas filled by default using method `estimateGas` unless transaction builder `options.fillGas` is false. ([#​6249](https://togithub.com/ChainSafe/web3.js/issues/6249)) - Missing `blockHeaderSchema` properties causing some properties to not appear in response of `newHeads` subscription ([#​6243](https://togithub.com/ChainSafe/web3.js/issues/6243)) - Missing `blockHeaderSchema` properties causing some properties to not appear in response of `newHeads` subscription ([#​6243](https://togithub.com/ChainSafe/web3.js/issues/6243)) ##### web3-providers-ws - Ensure a fixed version for "[@​types/ws](https://togithub.com/types/ws)": "8.5.3" ([#​6309](https://togithub.com/ChainSafe/web3.js/issues/6309)) ##### Changed ##### web3-core - No need to pass `CommonSubscriptionEvents &` at every child class of `Web3Subscription` ([#​6262](https://togithub.com/ChainSafe/web3.js/issues/6262)) - Implementation of `_processSubscriptionResult` and `_processSubscriptionError` has been written in the base class `Web3Subscription` and maid `public`. ([#​6262](https://togithub.com/ChainSafe/web3.js/issues/6262)) - A new optional protected method `formatSubscriptionResult` could be used to customize data formatting instead of re-implementing `_processSubscriptionResult`. ([#​6262](https://togithub.com/ChainSafe/web3.js/issues/6262)) - No more needed to pass ` CommonSubscriptionEvents & ` for the first generic parameter of `Web3Subscription` when inheriting from it. ([#​6262](https://togithub.com/ChainSafe/web3.js/issues/6262)) ##### web3-eth - `MissingGasError` error message changed for clarity ([#​6215](https://togithub.com/ChainSafe/web3.js/issues/6215)) - `input` and `data` 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 both `input` and `data` properties ([#​6294](https://togithub.com/ChainSafe/web3.js/issues/6294)) ##### web3-eth-accounts - Dependencies updated ##### web3-eth-contract - Dependencies updated ##### web3-eth-ens - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Dependencies updated ##### web3-providers-ipc - Dependencies updated ##### web3-types - `input` and `data` are now optional properties on `PopulatedUnsignedBaseTransaction` (previously `input` was a required property, and `data` was not available) ([#​6294](https://togithub.com/ChainSafe/web3.js/issues/6294)) ##### web3-utils - Dependencies updated ##### web3-validator - Replace `is-my-json-valid` with `zod` dependency. Related code was changed ([#​6264](https://togithub.com/ChainSafe/web3.js/issues/6264)) - Types `ValidationError` and `JsonSchema` were changed ([#​6264](https://togithub.com/ChainSafe/web3.js/issues/6264)) ##### Removed ##### web3-eth - Missing `blockHeaderSchema` properties causing some properties to not appear in response of `newHeads` subscription ([#​6243](https://togithub.com/ChainSafe/web3.js/issues/6243)) - Type `RawValidationError` was removed ([#​6264](https://togithub.com/ChainSafe/web3.js/issues/6264)) ##### web3-validator - Type `RawValidationError` was removed ([#​6264](https://togithub.com/ChainSafe/web3.js/issues/6264)) ### [`v4.0.3`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#403) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.0.2...v4.0.3) ##### Fixed ##### web3 - Fixed bug [#​6236](https://togithub.com/ChainSafe/web3.js/issues/6236) by adding personal type in web3.eth ([#​6245](https://togithub.com/ChainSafe/web3.js/issues/6245)) ##### web3-rpc-methods - Rpc method `getPastLogs` accept blockHash as a parameter https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs ([#​6181](https://togithub.com/ChainSafe/web3.js/issues/6181)) ##### web3-types - type `Filter` includes `blockHash` ([#​6206](https://togithub.com/ChainSafe/web3.js/issues/6206)) ##### web3-utils - BigInts pass validation within the method `numberToHex` ([#​6206](https://togithub.com/ChainSafe/web3.js/issues/6206)) ##### Changed ##### web3-core - Dependencies updated ##### web3-errors - Dependencies updated ##### web3-eth - Dependencies updated ##### web3-eth-abi - Dependencies updated ##### web3-eth-accounts - Dependencies updated ##### web3-eth-contract - Dependencies updated ##### web3-eth-ens - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Dependencies updated ##### web3-providers-ipc - Dependencies updated ##### web3-providers-ws - Dependencies updated ##### web3-validator - Dependencies updated ### [`v4.0.2`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#402) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v4.0.1...v4.0.2) ##### Fixed ##### web3 - Fixed bug [#​6185](https://togithub.com/ChainSafe/web3.js/issues/6185), now web3.js compiles on typescript v5 ([#​6195](https://togithub.com/ChainSafe/web3.js/issues/6195)) - Fixed [#​6162](https://togithub.com/ChainSafe/web3.js/issues/6162) [@​types/ws](https://togithub.com/types/ws) issue ([#​6205](https://togithub.com/ChainSafe/web3.js/issues/6205)) ##### web3-core - Fixed Batch requests erroring out on one request ([#​6164](https://togithub.com/ChainSafe/web3.js/issues/6164)) - Fixed the issue: Subscribing to multiple blockchain events causes every listener to be fired for every registered event ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) - Fixed the issue: Unsubscribe at a Web3Subscription class will still have the id of the subscription at the Web3SubscriptionManager ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) - Fixed the issue: A call to the provider is made for every subscription object ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) ##### web3-eth-abi - Support for "decoding" indexed string event arguments (returns the keccak256 hash of the string value instead of the actual string value) ([#​6167](https://togithub.com/ChainSafe/web3.js/issues/6167)) ##### web3-eth-accounts - Fixed "The `r` and `s` returned by `signTransaction` to does not always consist of 64 characters [#​6207](https://togithub.com/ChainSafe/web3.js/issues/6207)" ([#​6216](https://togithub.com/ChainSafe/web3.js/issues/6216)) ##### web3-eth-contract - Event filtering using non-indexed and indexed string event arguments ([#​6167](https://togithub.com/ChainSafe/web3.js/issues/6167)) ##### web3-eth-ens - Fixed bug [#​6185](https://togithub.com/ChainSafe/web3.js/issues/6185), now web3.js compiles on typescript v5 ([#​6195](https://togithub.com/ChainSafe/web3.js/issues/6195)) ##### web3-providers-ws - Fixed [#​6162](https://togithub.com/ChainSafe/web3.js/issues/6162) [@​types/ws](https://togithub.com/types/ws) issue ([#​6205](https://togithub.com/ChainSafe/web3.js/issues/6205)) ##### web3-types - Fixed bug [#​6185](https://togithub.com/ChainSafe/web3.js/issues/6185), now web3.js compiles on typescript v5 ([#​6195](https://togithub.com/ChainSafe/web3.js/issues/6195)) ##### Added ##### web3 - Exported `Web3Context`, `Web3PluginBase`, `Web3EthPluginBase` from `'web3-core'`, and `Web3Validator` from `'web3-validator'` ([#​6165](https://togithub.com/ChainSafe/web3.js/issues/6165)) ##### web3-core - Web3Subscription constructor accept a Subscription Manager (as an alternative to accepting Request Manager that is now marked marked as deprecated) ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) ##### web3-types - Added the `SimpleProvider` interface which has only `request(args)` method that is compatible with EIP-1193 ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) - Added the `Eip1193EventName` type that contains the possible events names according to EIP-1193 ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) ##### Changed ##### web3-core - Web3Subscription constructor overloading that accept a Request Manager is marked as deprecated ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) ##### web3-errors - Dependencies updated ##### web3-eth - Dependencies updated ##### web3-eth-iban - Dependencies updated ##### web3-eth-personal - Dependencies updated ##### web3-net - Dependencies updated ##### web3-providers-http - Dependencies updated ##### web3-providers-ipc - Dependencies updated ##### web3-rpc-methods - Dependencies updated ##### web3-types - The `EIP1193Provider` class has now all the events (for `on` and `removeListener`) according to EIP-1193 ([#​6210](https://togithub.com/ChainSafe/web3.js/issues/6210)) ##### web3-utils - Dependencies updated ##### web3-validator - Dependencies updated ### [`v4.0.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#401-alpha0) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.10.4...v4.0.1) ##### Fixed - Dependency tree cannot be resolved by Yarn due to old deprecated packages picked by yarn - fixed ([#​5382](https://togithub.com/ChainSafe/web3.js/issues/5382)) ### [`v1.10.4`](https://togithub.com/web3/web3.js/releases/tag/v1.10.4) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.10.3...v1.10.4) ##### Security - Updated dependencies ([#​6731](https://togithub.com/ChainSafe/web3.js/issues/6731)) *** ##### Maintenance Countdown: Commencing from January 1, 2024, a 90-day countdown has been initiated, signaling the transition of Web3.js version 1.x into an end-of-maintenance phase. ##### Timeline of Changes: 90-Day Countdown (1/1/24 - 3/31/24): During this period, we strongly encourage users to plan accordingly and initiate the [upgrade to Web3.js version 4.x](https://docs.web3js.org/guides/web3\_upgrade_guide/x/) ##### No New Bug Fixes (4/1/24 onwards): Starting April 1, 2024, new bug fixes for Web3.js version 1.x will no longer be provided. To benefit from continued support and access to new features, we recommend [upgrading to Web3.js version 4.x](https://docs.web3js.org/guides/web3\_upgrade_guide/x/) ##### End of Security Fixes (7/1/24): Security fixes for Web3.js version 1.x will be discontinued from July 1, 2024. [Upgrading to Web3.js version 4.x](https://docs.web3js.org/guides/web3\_upgrade_guide/x/) is crucial to ensure the security of your applications. ### [`v1.10.3`](https://togithub.com/web3/web3.js/releases/tag/v1.10.3) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.10.2...v1.10.3) ##### Security - `web3-eth-accounts`: Bumped `@ethereumjs` dependencies ([#​6457](https://togithub.com/ChainSafe/web3.js/issues/6457)) - Updated dependencies ([#​6491](https://togithub.com/ChainSafe/web3.js/issues/6491)) ### [`v1.10.2`](https://togithub.com/web3/web3.js/releases/tag/v1.10.2) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.10.1...v1.10.2) ##### Fixed - Fixed broken fetch for Node.js > 18.x and fixed double callback ([#​6381](https://togithub.com/ChainSafe/web3.js/issues/6381)) ### [`v1.10.1`](https://togithub.com/web3/web3.js/releases/tag/v1.10.1) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.10.0...v1.10.1) ##### Fixed - Builds fixed by updating all typescript versions to 4.9.5 ([#​6238](https://togithub.com/ChainSafe/web3.js/issues/6238)) - ABI encoding for large negative `int`s ([#​6239](https://togithub.com/ChainSafe/web3.js/issues/6239)) - Updated type file for `submitWork` parameters, accepts 3 parameters instead of an array ([#​5200](https://togithub.com/ChainSafe/web3.js/issues/5200)) ##### Changed - Replace ethereumjs-util with [@​ethereumjs/util](https://togithub.com/ethereumjs/util) ([#​6283](https://togithub.com/ChainSafe/web3.js/issues/6283)) ### [`v1.10.0`](https://togithub.com/web3/web3.js/releases/tag/v1.10.0) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.9.0...v1.10.0) ##### Fixed - Improved the error propagation in `web3-providers-http` package to effectively propagate useful error infomation about failed HTTP connections ([#​5955](https://togithub.com/ChainSafe/web3.js/issues/5955)) - Fixed "Uncaught TypeError" calling a contract function that revert using MetaMask ([#​4454](https://togithub.com/ChainSafe/web3.js/issues/4454)) and related "n.data.substring is not a function", that is raised when there is a revert and `web.eth.handleRevert = true` ([#​6000](https://togithub.com/ChainSafe/web3.js/issues/6000)) ##### Changed - `transaction.type` is now formatted to a hex string before being send to provider ([#​5979](https://togithub.com/ChainSafe/web3.js/issues/5979)) - When sending a transaction, if `transaction.type === '0x1' && transaction.accessList === undefined`, then `transaction.accessList` is set to `[]` ([#​5979](https://togithub.com/ChainSafe/web3.js/issues/5979)) - Removed an unnecessary `chainId` parameter from `toChecksumAddress()` function types ([#​5888](https://togithub.com/ChainSafe/web3.js/issues/5888)) ##### Added - Added support for `getPastEvents` method to filter `allEvents` and specific event ([#​6015](https://togithub.com/ChainSafe/web3.js/issues/6015)) ##### Security - Updated dependencies ([#​6044](https://togithub.com/ChainSafe/web3.js/issues/6044)) ### [`v1.9.0`](https://togithub.com/web3/web3.js/releases/tag/v1.9.0) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.8.2...v1.9.0) ##### Fixed - Fixed skipped ws-ganache tests ([#​5759](https://togithub.com/ChainSafe/web3.js/issues/5759)) - Fixed "provider started to reconnect error" in web3-provider-ws ([#​5820](https://togithub.com/ChainSafe/web3.js/issues/5820)) - Fixed Error: Number can only safely store up to 53 bits ([#​5845](https://togithub.com/ChainSafe/web3.js/issues/5845)) - Fixed types for packages which have default exports but not declared default export in .d.ts ([#​5866](https://togithub.com/ChainSafe/web3.js/issues/5866)) - Fixed Transaction type by adding missing properties ([#​5856](https://togithub.com/ChainSafe/web3.js/issues/5856)) ##### Changed - Add optional `hexFormat` param to `getTransaction` and `getBlock` that accepts the value `'hex'` ([#​5845](https://togithub.com/ChainSafe/web3.js/issues/5845)) - `utils.toNumber` and `utils.hexToNumber` can now return the large unsafe numbers as `BigInt`, if `true` was passed to a new optional parameter called `bigIntOnOverflow` ([#​5845](https://togithub.com/ChainSafe/web3.js/issues/5845)) - Updated [@​types/bn](https://togithub.com/types/bn).js dependency to 5.1.1 in web3, web3-core and web3-eth-contract as reason mentioned in [#​5640](https://togithub.com/ChainSafe/web3.js/issues/5640) ([#​5885](https://togithub.com/ChainSafe/web3.js/issues/5885)) - Add description to error for failed connection on websocket ([#​5884](https://togithub.com/ChainSafe/web3.js/issues/5884)) ##### Security - Updated dependencies ([#​5885](https://togithub.com/ChainSafe/web3.js/issues/5885)) ### [`v1.8.2`](https://togithub.com/web3/web3.js/releases/tag/v1.8.2) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.8.1...v1.8.2) ##### Changed - Updated Webpack 4 to Webpack 5, more details at ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) - `crypto-browserify` module is now used only in webpack builds for polyfilling browsers ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) - Updated `ethereumjs-util` to `7.1.5` ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) - Updated `lerna` 4 to version 6 ([#​5680](https://togithub.com/ChainSafe/web3.js/issues/5680)) - Bump utils 0.12.0 to 0.12.5 ([#​5691](https://togithub.com/ChainSafe/web3.js/issues/5691)) ##### Fixed - Fixed types for `web3.utils._jsonInterfaceMethodToString` ([#​5550](https://togithub.com/ChainSafe/web3.js/issues/5550)) - Fixed Next.js builds failing on Node.js v16, Abortcontroller added if it doesn't exist globally ([#​5601](https://togithub.com/ChainSafe/web3.js/issues/5601)) - Builds fixed by updating all typescript versions to 4.1 ([#​5675](https://togithub.com/ChainSafe/web3.js/issues/5675)) ##### Removed - `clean-webpack-plugin` has been removed from dev-dependencies ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) ##### Added - `https-browserify`, `process`, `stream-browserify`, `stream-http`, `crypto-browserify` added to dev-dependencies for polyfilling ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) - Add `readable-stream` to dev-dependancies for webpack ([#​5629](https://togithub.com/ChainSafe/web3.js/issues/5629)) ##### Security - `npm audit fix` for libraries update ([#​5726](https://togithub.com/ChainSafe/web3.js/issues/5726)) ### [`v1.8.1`](https://togithub.com/web3/web3.js/releases/tag/v1.8.1) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.8.0...v1.8.1) ##### Fixed - Fixed types for getPastEvents ([#​4955](https://togithub.com/ChainSafe/web3.js/issues/4955)) ([#​5260](https://togithub.com/ChainSafe/web3.js/issues/5260)) - Fix Log type by adding missing `removed` property ([#​4877](https://togithub.com/ChainSafe/web3.js/issues/4877)) ##### Changed - Updated dependencies ([#​5529](https://togithub.com/ChainSafe/web3.js/issues/5529)) ### [`v1.8.0`](https://togithub.com/web3/web3.js/releases/tag/v1.8.0) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.5...v1.8.0) ##### Changed - Updated `sha3` and `sha3Raw` type definition to accept `Buffer` ([#​5357](https://togithub.com/ChainSafe/web3.js/issues/5357)) - Removing legacy field in lerna.json ([#​5403](https://togithub.com/ChainSafe/web3.js/issues/5403)) - Correct `eth_sendSignedTransaction` code example ([#​5402](https://togithub.com/ChainSafe/web3.js/issues/5402)) ##### Fixed - Browser builds support polyfills ([#​5031](https://togithub.com/ChainSafe/web3.js/issues/5031)) ([#​5053](https://togithub.com/ChainSafe/web3.js/issues/5053)) ([#​4659](https://togithub.com/ChainSafe/web3.js/issues/4659)) ([#​4767](https://togithub.com/ChainSafe/web3.js/issues/4767)) - Update node version on actions to fix breaking mosaic test ([#​5354](https://togithub.com/ChainSafe/web3.js/issues/5354)) - Start incrementing jsonrpc.id from random number ([#​5327](https://togithub.com/ChainSafe/web3.js/issues/5327)) - `web3-eth-contract`'s `call` and `send` methods no longer mutate `options` argument ([#​5394](https://togithub.com/ChainSafe/web3.js/issues/5394)) - Improvement using provided gas options in web3-eth-accounts for eip-1559 transactions ([#​5012](https://togithub.com/ChainSafe/web3.js/issues/5012)) ##### Added - Add missing function type "receive" in `AbiType` ([#​5165](https://togithub.com/ChainSafe/web3.js/issues/5165)) - Support of `safe` and `finalized` block tags added ([#​5410](https://togithub.com/ChainSafe/web3.js/issues/5410)) ### [`v1.7.5`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#175) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.4...v1.7.5) ##### Changed - Replace xhr2-cookies deps to cross-fetch for web3-providers-http ([#​5085](https://togithub.com/ChainSafe/web3.js/issues/5085)) ##### Added - Documentation details about `maxFeePerGas` and `maxPriorityFeePerGas` ([#​5121](https://togithub.com/ChainSafe/web3.js/issues/5121)) - Added `createAccessList` types in web3.eth ([#​5146](https://togithub.com/ChainSafe/web3.js/issues/5146)) ##### Fixed - Improving `AbstractProvider` interface ([#​5150](https://togithub.com/ChainSafe/web3.js/issues/5150)) - Fix typos in web3-eth-accounts.rst & TESTING.md ([#​5047](https://togithub.com/ChainSafe/web3.js/issues/5047)) - Fix remove wallet using an index when an account address and address lowercase are equal ([#​5049](https://togithub.com/ChainSafe/web3.js/issues/5049)) - Improve README.md & Fix typos ([#​4848](https://togithub.com/ChainSafe/web3.js/issues/4848)) - Add optional hex formatting parameter for getTransactionReceipt ([#​5153](https://togithub.com/ChainSafe/web3.js/issues/5153)) - Fix transactionRoot -> transactionsRoot in BlockHeader ([#​5083](https://togithub.com/ChainSafe/web3.js/issues/5083)) - Fix Promise in Accounts.signTransaction() throwing errors that cannot be caught ([#​4724](https://togithub.com/ChainSafe/web3.js/issues/4724)) - Fixed unit tests & removed dead code for web3-providers-http ([#​5228](https://togithub.com/ChainSafe/web3.js/issues/5228)) ##### Security - Updated `got` lib version and fixed other libs using npm audit fix ([#​5178](https://togithub.com/ChainSafe/web3.js/issues/5178)) ([#​5254](https://togithub.com/ChainSafe/web3.js/issues/5254)) ### [`v1.7.4`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#174) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.3...v1.7.4) ##### Fixed - Fix dead link in web3-eth.rst ([#​4916](https://togithub.com/ChainSafe/web3.js/issues/4916)) - Fix web3-core-method throws on `f.call = this.call` when intrinsic is frozen ([#​4918](https://togithub.com/ChainSafe/web3.js/issues/4918)) ([#​4938](https://togithub.com/ChainSafe/web3.js/issues/4938)) - Fix static tuple encoding ([#​4673](https://togithub.com/ChainSafe/web3.js/issues/4673)) ([#​4884](https://togithub.com/ChainSafe/web3.js/issues/4884)) - Fix bug in handleRevert logic for eth_sendRawTransaction ([#​4902](https://togithub.com/ChainSafe/web3.js/issues/4902)) - Fix resolve type of getBlock function ([#​4911](https://togithub.com/ChainSafe/web3.js/issues/4911)) - Web3-utils BN fix ([#​5132](https://togithub.com/ChainSafe/web3.js/issues/5132)) ##### Changed - Replace deprecated String.prototype.substr() ([#​4855](https://togithub.com/ChainSafe/web3.js/issues/4855)) - Exporting AbiCoder as coder ([#​4937](https://togithub.com/ChainSafe/web3.js/issues/4937)) - Github build workflow updated min build for node.js 12 and tests for 12, 14 and 16 ([#​5014](https://togithub.com/ChainSafe/web3.js/issues/5014)) - Updated libraries using BN and the BN library ([#​5072](https://togithub.com/ChainSafe/web3.js/issues/5072)) ##### Added - Exposing `web3.eth.Contract.setProvider()` as per public documentation ([#​4822](https://togithub.com/ChainSafe/web3.js/issues/4822)) ([#​5001](https://togithub.com/ChainSafe/web3.js/issues/5001)) - Improve npm script commands for development purposes ([#​4848](https://togithub.com/ChainSafe/web3.js/issues/4848)) ##### Security - `npm audit fix` to address vulnerabilities and update libraries ([#​5014](https://togithub.com/ChainSafe/web3.js/issues/5014)) ### [`v1.7.3`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#173) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.2...v1.7.3) ##### Fixed - Fixed build issues of 1.7.2 ### [`v1.7.2`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#172) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.1...v1.7.2) ##### Changed - Remove deprecated `close` event listener ([#​4825](https://togithub.com/ChainSafe/web3.js/issues/4825)) ([#​4839](https://togithub.com/ChainSafe/web3.js/issues/4839)) ##### Security - `npm audit fix` to update libraries ([#​4860](https://togithub.com/ChainSafe/web3.js/issues/4860)) ##### Fixed - Fix jsonrpc payload and response types ([#​4743](https://togithub.com/ChainSafe/web3.js/issues/4743)) ([#​4761](https://togithub.com/ChainSafe/web3.js/issues/4761)) - Allowed more flexibility in typing the overly constrained `provider.disconnect` function ([#​4833](https://togithub.com/ChainSafe/web3.js/issues/4833)) ### [`v1.7.1`](https://togithub.com/ChainSafe/web3.js/blob/HEAD/CHANGELOG.md#171) [Compare Source](https://togithub.com/ChainSafe/web3.js/compare/v1.7.0...v1.7.1) ##### Added - `transactionPollingInterval` added to web3, contract and method constructor options. defaults to 1 second. ([#​4584](https://togithub.com/ChainSafe/web3.js/issues/4584)) - Add example import for package level types ([#​4611](https://togithub.com/ChainSafe/web3.js/issues/4611)) ##### Fixed - Fix a typo in the documentation for `methods.myMethod.send` ([#​4599](https://togithub.com/ChainSafe/web3.js/issues/4599)) - Use globalThis to locate global object if possible ([#​4613](https://togithub.com/ChainSafe/web3.js/issues/4613)) - Fix typos in web3-utils.rst ([#​4662](https://togithub.com/ChainSafe/web3.js/

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.