Update dependency web3 to v1.10.4 #590
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.0→1.10.4Release Notes
ChainSafe/web3.js (web3)
v1.10.4Compare Source
Security
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.3Compare Source
Security
web3-eth-accounts: Bumped@ethereumjsdependencies (#6457)Updated dependencies (#6491)
v1.10.2Compare Source
Fixed
v1.10.1Compare Source
Fixed
ints (#6239)submitWorkparameters, accepts 3 parameters instead of an array (#5200)Changed
v1.10.0Compare Source
Fixed
web3-providers-httppackage to effectively propagate useful error infomation about failed HTTP connections (#5955)web.eth.handleRevert = true(#6000)Changed
transaction.typeis now formatted to a hex string before being send to provider (#5979)transaction.type === '0x1' && transaction.accessList === undefined, thentransaction.accessListis set to[](#5979)chainIdparameter fromtoChecksumAddress()function types (#5888)Added
getPastEventsmethod to filterallEventsand specific event (#6015)Security
v1.9.0Compare Source
Fixed
Changed
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)Security
v1.8.2Compare Source
Changed
crypto-browserifymodule is now used only in webpack builds for polyfilling browsers (#5629)ethereumjs-utilto7.1.5(#5629)lerna4 to version 6 (#5680)Fixed
web3.utils._jsonInterfaceMethodToString(#5550)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)readable-streamto dev-dependancies for webpack (#5629)Security
npm audit fixfor libraries update (#5726)v1.8.1Compare Source
Fixed
removedproperty (#4877)Changed
v1.8.0Compare Source
Changed
sha3andsha3Rawtype definition to acceptBuffer(#5357)eth_sendSignedTransactioncode example (#5402)Fixed
web3-eth-contract'scallandsendmethods no longer mutateoptionsargument (#5394)Added
AbiType(#5165)safeandfinalizedblock tags added (#5410)v1.7.5Compare Source
Changed
Added
maxFeePerGasandmaxPriorityFeePerGas(#5121)createAccessListtypes in web3.eth (#5146)Fixed
AbstractProviderinterface (#5150)Security
gotlib version and fixed other libs using npm audit fix (#5178) (#5254)v1.7.4Compare Source
Fixed
f.call = this.callwhen intrinsic is frozen (#4918) (#4938)Changed
Added
web3.eth.Contract.setProvider()as per public documentation (#4822) (#5001)Security
npm audit fixto address vulnerabilities and update libraries (#5014)v1.7.3Compare Source
Fixed
v1.7.2Compare Source
Changed
closeevent listener (#4825) (#4839)Security
npm audit fixto update libraries (#4860)Fixed
provider.disconnectfunction (#4833)v1.7.1Compare Source
Added
transactionPollingIntervaladded to web3, contract and method constructor options. defaults to 1 second. (#4584)Fixed
methods.myMethod.send(#4599)web3.eth.accounts.signTransaction(#4576)methods.myMethod.estimateGas(#4702)Changed
Removed
Security
npm audit fixto address vulnerabilities and update libraries (#4719) (#4728)v1.7.0Compare Source
Added
maxPriorityFeePerGasandmaxFeePerGasadded toTransactionandTransactionConfiginterfaces (#4232) (#4585)Fixed
Changed
numbertohexaccording to the spec (#4529)v1.6.1Compare Source
Added
eth_createAccessListas both an rpc call (web3.eth.createAccessList) and property of contract method wrappers (contractInstance.methods.getValue().createAccessList) (#4332)Changed
tx.chainIdiftx.common.customChain.chainIdis provided forweb3.eth.accounts.signTransactionfunction (#4293)Web3.utils, removed context for_(underscore lib) (#4403)block.baseFeePerGasto number (#4330)web3-eth-personal.sendTransactionexample in documentation (#4409)Fixed
web3.rstexample in documentation (#4511)BlockHeadertyping (receiptRoot->receiptsRoot) (#4452)v1.6.0Compare Source
Changed
v1.5.3Compare Source
Fixed
Changed
maxPriorityFeePerGasfrom1 Gweito2.5 Gwei(#4284)v1.5.2Compare Source
Fixed
typedefaulting foreth.sendTransaction,eth.sendRawTransaction(#4241)type: 0x0was being added to legacy transaction when usingeth.signTransaction(#4241)v1.5.1Compare Source
Added
maxPriorityFeePerGasandmaxFeePerGasnow included in_txInputFormatter(#4217)maxPriorityFeePerGasofmaxFeePerGaspresent_txInputFormatterdeletestx.gasPrice(fixes #4211) (#4217)latest,pending,earliest) togetFeeHistory(#4224)web3.eth.sendTransaction(#4220)v1.5.0Compare Source
Added
eth_feehistorycall (#4191)toNumbermethod toweb3.utils(#4191)Changed
v1.4.0Compare Source
Added
Changed
stableto1.10.3ine2e.geth.instamine.shandscripts/e2e.geth.automine.sh(#4154)v1.3.6Compare Source
Changes
underscorepackage from1.9.1to1.12.1(#4051)@ensdomains/enspackage from^0.4.5to^0.6.0(#4059)etherspackage from^5.0.18to^5.1.4(#4059)Removes
v1.3.5Compare Source
Added
web3-eth2-coreandweb3-eth2-beaconchainpackages (#3892)web3.utils.soliditySha3(#3908).nvmrcfile using Node.js versionv.14.15.1(#3817)1.3.0and onwards (#3961)Changed
web3-eth2-coreandweb3-eth2-beaconchain(#3892)tscscript in all packages tocompile; updates the correspondinglerna runusage in the mainpackage.json(#3894)@chainsafe/geth-dev-assistantfrom0.1.5to0.1.9(#3950)ellipticfrom6.5.3to6.5.4forweb3-eth-accounts(#3941)ellipticfrom6.5.3to6.5.4forweb3-bzz(#3940)ellipticfrom6.5.3to6.5.4forweb3-core-requestmanager(#3945)web3-eth-ibanin ES6 (#3955)v1.3.4Compare Source
Changed
fromBlockoption forlogssubscriptions (defaults tolatest) (#3883)web3-eth2-basetoweb3-eth2-coreandweb3-eth2-beacontoweb3-eth2-beaconchain(#3833)ts-nodefrom version^8.10.2to^9.0.0(#3856)npm audit fixwhich fixed 4 vulnerabilities (#3856)web3-eth2-beaconchaintype declarations (#3859) and (#3865)IBaseAPISchemaandIBaseAPIMethodSchematoindex.d.tsforweb3-eth2-core(#3878)web3-eth2-core(#3878)Removed
notImplementedflag from ETH2 Beacon Chain package methods schema (#3861)IETH2BeaconChaininterface in favor of exporting a class type:ETH2BeaconChain(#3878)index.d.tsfiles in favor oftypes.tsforweb3-eth2-coreandweb3-eth2-beaconchain(#3878)schema.tsfromweb3-eth2-core(#3878)dtslintnpm command fromweb3-eth2-coreandweb3-eth2-beaconchainasindex.d.tsfiles were removed (#3878)Added
ETH2Coreclass export toindex.d.tsforweb3-eth2-core(#3878)v1.3.3Compare Source
Fixed
distto latest release (1.3.2) (#3875)v1.3.2Compare Source
Fixed
v1.3.1Compare Source
Added
web3-eth2-corepackage (#3743) (renamed toweb3-eth2-base)web3-eth2-beaconchainpackage (#3743) (renamed toweb3-eth2-beacon)stripHexPrefixmethod toweb3-utilspackage (#3776)Changed
Removed
packages/web3. Added documentation to root README (#3717)Fixed
Configuration
📅 Schedule: Branch creation - "on sunday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.