Decentralized_eCom
Decentralized_eCom copied to clipboard
Update dependency web3 to v1.10.4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
web3 | 1.7.3 -> 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
int
s (#6239) - Updated type file for
submitWork
parameters, 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-http
package 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.type
is now formatted to a hex string before being send to provider (#5979) - When sending a transaction, if
transaction.type === '0x1' && transaction.accessList === undefined
, thentransaction.accessList
is set to[]
(#5979) - Removed an unnecessary
chainId
parameter fromtoChecksumAddress()
function types (#5888)
Added
- Added support for
getPastEvents
method to filterallEvents
and 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
hexFormat
param togetTransaction
andgetBlock
that accepts the value'hex'
(#5845) -
utils.toNumber
andutils.hexToNumber
can now return the large unsafe numbers asBigInt
, iftrue
was 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-browserify
module is now used only in webpack builds for polyfilling browsers (#5629) - Updated
ethereumjs-util
to7.1.5
(#5629) - Updated
lerna
4 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-plugin
has been removed from dev-dependencies (#5629)
Added
-
https-browserify
,process
,stream-browserify
,stream-http
,crypto-browserify
added to dev-dependencies for polyfilling (#5629) - Add
readable-stream
to dev-dependancies for webpack (#5629)
Security
-
npm audit fix
for libraries update (#5726)
v1.8.1
Fixed
- Fixed types for getPastEvents (#4955) (#5260)
- Fix Log type by adding missing
removed
property (#4877)
Changed
- Updated dependencies (#5529)
v1.8.0
Changed
- Updated
sha3
andsha3Raw
type definition to acceptBuffer
(#5357) - Removing legacy field in lerna.json (#5403)
- Correct
eth_sendSignedTransaction
code 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
'scall
andsend
methods no longer mutateoptions
argument (#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
safe
andfinalized
block tags added (#5410)
v1.7.5
Changed
- Replace xhr2-cookies deps to cross-fetch for web3-providers-http (#5085)
Added
- Documentation details about
maxFeePerGas
andmaxPriorityFeePerGas
(#5121) - Added
createAccessList
types in web3.eth (#5146)
Fixed
- Improving
AbstractProvider
interface (#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
v1.7.4
Fixed
- Fix dead link in web3-eth.rst (#4916)
- Fix web3-core-method throws on
f.call = this.call
when intrinsic is frozen (#4918) (#4938) - Fix static tuple encoding (#4673) (#4884)
- Fix bug in handleRevert logic for eth_sendRawTransaction (#4902)
- Fix resolve type of getBlock function (#4911)
- Web3-utils BN fix (#5132)
Changed
- Replace deprecated String.prototype.substr() (#4855)
- Exporting AbiCoder as coder (#4937)
- Github build workflow updated min build for node.js 12 and tests for 12, 14 and 16 (#5014)
- Updated libraries using BN and the BN library (#5072)
Added
- Exposing
web3.eth.Contract.setProvider()
as per public documentation (#4822) (#5001) - Improve npm script commands for development purposes (#4848)
Security
-
npm audit fix
to address vulnerabilities and update libraries (#5014)
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 becomes conflicted, 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.