Update dependency web3 to v1.10.4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| web3 | 1.7.4 -> 1.10.4 |
Release Notes
ChainSafe/web3.js (web3)
v1.10.4
Security
- Updated dependencies (#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
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
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 is crucial to ensure the security of your applications.
v1.10.3
Security
v1.10.2
Fixed
- Fixed broken fetch for Node.js > 18.x and fixed double callback (#6381)
v1.10.1
Fixed
- Builds fixed by updating all typescript versions to 4.9.5 (#6238)
- ABI encoding for large negative
ints (#6239) - Updated type file for
submitWorkparameters, accepts 3 parameters instead of an array (#5200)
Changed
- Replace ethereumjs-util with @ethereumjs/util (#6283)
v1.10.0
Fixed
- Improved the error propagation in
web3-providers-httppackage to effectively propagate useful error infomation about failed HTTP connections (#5955) - Fixed "Uncaught TypeError" calling a contract function that revert using MetaMask (#4454) and related "n.data.substring is not a function", that is raised when there is a revert and
web.eth.handleRevert = true(#6000)
Changed
-
transaction.typeis now formatted to a hex string before being send to provider (#5979) - When sending a transaction, if
transaction.type === '0x1' && transaction.accessList === undefined, thentransaction.accessListis set to[](#5979) - Removed an unnecessary
chainIdparameter fromtoChecksumAddress()function types (#5888)
Added
- Added support for
getPastEventsmethod to filterallEventsand specific event (#6015)
Security
- Updated dependencies (#6044)
v1.9.0
Fixed
- Fixed skipped ws-ganache tests (#5759)
- Fixed "provider started to reconnect error" in web3-provider-ws (#5820)
- Fixed Error: Number can only safely store up to 53 bits (#5845)
- Fixed types for packages which have default exports but not declared default export in .d.ts (#5866)
- Fixed Transaction type by adding missing properties (#5856)
Changed
- Add optional
hexFormatparam togetTransactionandgetBlockthat accepts the value'hex'(#5845) -
utils.toNumberandutils.hexToNumbercan now return the large unsafe numbers asBigInt, iftruewas passed to a new optional parameter calledbigIntOnOverflow(#5845) - Updated @types/bn.js dependency to 5.1.1 in web3, web3-core and web3-eth-contract as reason mentioned in #5640 (#5885)
- Add description to error for failed connection on websocket (#5884)
Security
- Updated dependencies (#5885)
v1.8.2
Changed
- Updated Webpack 4 to Webpack 5, more details at (#5629)
-
crypto-browserifymodule is now used only in webpack builds for polyfilling browsers (#5629) - Updated
ethereumjs-utilto7.1.5(#5629) - Updated
lerna4 to version 6 (#5680) - Bump utils 0.12.0 to 0.12.5 (#5691)
Fixed
- Fixed types for
web3.utils._jsonInterfaceMethodToString(#5550) - Fixed Next.js builds failing on Node.js v16, Abortcontroller added if it doesn't exist globally (#5601)
- Builds fixed by updating all typescript versions to 4.1 (#5675)
Removed
-
clean-webpack-pluginhas been removed from dev-dependencies (#5629)
Added
-
https-browserify,process,stream-browserify,stream-http,crypto-browserifyadded to dev-dependencies for polyfilling (#5629) - Add
readable-streamto dev-dependancies for webpack (#5629)
Security
-
npm audit fixfor libraries update (#5726)
v1.8.1
Fixed
- Fixed types for getPastEvents (#4955) (#5260)
- Fix Log type by adding missing
removedproperty (#4877)
Changed
- Updated dependencies (#5529)
v1.8.0
Changed
- Updated
sha3andsha3Rawtype definition to acceptBuffer(#5357) - Removing legacy field in lerna.json (#5403)
- Correct
eth_sendSignedTransactioncode example (#5402)
Fixed
- Browser builds support polyfills (#5031) (#5053) (#4659) (#4767)
- Update node version on actions to fix breaking mosaic test (#5354)
- Start incrementing jsonrpc.id from random number (#5327)
-
web3-eth-contract'scallandsendmethods no longer mutateoptionsargument (#5394) - Improvement using provided gas options in web3-eth-accounts for eip-1559 transactions (#5012)
Added
- Add missing function type "receive" in
AbiType(#5165) - Support of
safeandfinalizedblock tags added (#5410)
v1.7.5
Changed
- Replace xhr2-cookies deps to cross-fetch for web3-providers-http (#5085)
Added
- Documentation details about
maxFeePerGasandmaxPriorityFeePerGas(#5121) - Added
createAccessListtypes in web3.eth (#5146)
Fixed
- Improving
AbstractProviderinterface (#5150) - Fix typos in web3-eth-accounts.rst & TESTING.md (#5047)
- Fix remove wallet using an index when an account address and address lowercase are equal (#5049)
- Improve README.md & Fix typos (#4848)
- Add optional hex formatting parameter for getTransactionReceipt (#5153)
- Fix transactionRoot -> transactionsRoot in BlockHeader (#5083)
- Fix Promise in Accounts.signTransaction() throwing errors that cannot be caught (#4724)
- Fixed unit tests & removed dead code for web3-providers-http (#5228)
Security
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.