Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency web3 to v1.10.4 #590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
web3 1.3.0 -> 1.10.4 age adoption passing confidence

Release Notes

ChainSafe/web3.js (web3)

v1.10.4

Compare 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.3

Compare Source

Security
  • web3-eth-accounts: Bumped @ethereumjs dependencies (#​6457)

  • Updated dependencies (#​6491)

v1.10.2

Compare Source

Fixed
  • Fixed broken fetch for Node.js > 18.x and fixed double callback (#​6381)

v1.10.1

Compare Source

Fixed
  • Builds fixed by updating all typescript versions to 4.9.5 (#​6238)
  • ABI encoding for large negative ints (#​6239)
  • Updated type file for submitWork parameters, accepts 3 parameters instead of an array (#​5200)
Changed

v1.10.0

Compare Source

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, then transaction.accessList is set to [] (#​5979)
  • Removed an unnecessary chainId parameter from toChecksumAddress() function types (#​5888)
Added
  • Added support for getPastEvents method to filter allEvents and specific event (#​6015)
Security

v1.9.0

Compare Source

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 to getTransaction and getBlock that accepts the value 'hex' (#​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)
  • 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

v1.8.2

Compare Source

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 to 7.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

Compare Source

Fixed
Changed

v1.8.0

Compare Source

Changed
  • Updated sha3 and sha3Raw type definition to accept Buffer (#​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's call and send methods no longer mutate options 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 and finalized block tags added (#​5410)

v1.7.5

Compare Source

Changed
  • Replace xhr2-cookies deps to cross-fetch for web3-providers-http (#​5085)
Added
  • Documentation details about maxFeePerGas and maxPriorityFeePerGas (#​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
  • Updated got lib version and fixed other libs using npm audit fix (#​5178) (#​5254)

v1.7.4

Compare Source

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)

v1.7.3

Compare Source

Fixed
  • Fixed build issues of 1.7.2

v1.7.2

Compare Source

Changed
Security
  • npm audit fix to update libraries (#​4860)
Fixed
  • Fix jsonrpc payload and response types (#​4743) (#​4761)
  • Allowed more flexibility in typing the overly constrained provider.disconnect function (#​4833)

v1.7.1

Compare Source

Added
  • transactionPollingInterval added to web3, contract and method constructor options. defaults to 1 second. (#​4584)
  • Add example import for package level types (#​4611)
Fixed
  • Fix a typo in the documentation for methods.myMethod.send (#​4599)
  • Use globalThis to locate global object if possible (#​4613)
  • Fix typos in web3-utils.rst (#​4662)
  • Added effectiveGasPrice to TransactionReceipt (#​4692)
  • Correction in documentation for web3.eth.accounts.signTransaction (#​4576)
  • Updated README to include Webpack 5 create-react-app support instructions (#​4173)
  • Update the documentation for methods.myMethod.estimateGas (#​4702)
  • Fix typos in REVIEW.md and TESTING.md (#​4691)
  • Fix encoding for "0x" string values (#​4512)
Changed
  • Muted E2E gnosis dex tests in CI until fix for issue #​4436 is applied (#​4701)
Removed
  • Removed deprecated Morden testnet code (#​4339)
Security
  • Ran npm audit fix to address vulnerabilities and update libraries (#​4719) (#​4728)

v1.7.0

Compare Source

Added
  • maxPriorityFeePerGas and maxFeePerGas added to Transaction and TransactionConfig interfaces (#​4232) (#​4585)
Fixed
  • Fix readthedoc's build for web3js documentation (#​4425)
  • Fix response sorting for batch requests (#​4250)
Changed
  • Changed getFeeHistory first parameter type from number to hex according to the spec (#​4529)

v1.6.1

Compare Source

Added
  • Support for eth_createAccessList as both an rpc call (web3.eth.createAccessList) and property of contract method wrappers (contractInstance.methods.getValue().createAccessList) (#​4332)
Changed
  • Not considering tx.chainId if tx.common.customChain.chainId is provided for web3.eth.accounts.signTransaction function (#​4293)
  • Added missing PromiEvent handler types (#​4194)
  • Updated README to include webpack 5 angular support instructions (#​4174)
  • Updated the documentation for the Web3.utils, removed context for _ (underscore lib) (#​4403)
  • Emit subscription id with connect event when creating a subscription (#​4300)
  • Introduced new configuration "blockHeaderTimeout" for waiting of block headers for transaction receipt (#​3891)
  • Format block.baseFeePerGas to number (#​4330)
  • Correct web3-eth-personal.sendTransaction example in documentation (#​4409)
  • Updated README to include webpack 5 angular support instructions (#​4174)
Fixed
  • Fix 1.6.1 build size issue with removing static asset files (#​4506)
  • Correct web3.rst example in documentation (#​4511)
  • Correct BlockHeader typing (receiptRoot -> receiptsRoot) (#​4452)

v1.6.0

Compare Source

Changed

v1.5.3

Compare Source

Fixed
  • Unable to send legacy transaction if network supported EIP-1559 (#​4277)
  • Fixed bug in sending transaction with providers not support "newBlockHeaders" event (#​3891)
Changed
  • ethers from 5.1.4 to 5.4.4 (#​4231)
  • karma from 5.2.3 to 6.3.4 (#​4231)
  • lerna from 3.22.1 to 4.0.0 (#​4231)
  • Dropped build tests in CI for Node v8 and v10, and added support for Node v14 (#​4231)
  • Change default value for maxPriorityFeePerGas from 1 Gwei to 2.5 Gwei (#​4284)
  • Fixed bug in signTransaction (#​4295)

v1.5.2

Compare Source

Fixed
  • Remove transaction type defaulting for eth.sendTransaction, eth.sendRawTransaction (#​4241)
  • type: 0x0 was being added to legacy transaction when using eth.signTransaction (#​4241)

v1.5.1

Compare Source

Added
  • maxPriorityFeePerGas and maxFeePerGas now included in _txInputFormatter (#​4217)
  • If maxPriorityFeePerGas of maxFeePerGas present _txInputFormatter deletes tx.gasPrice (fixes #​4211) (#​4217)
  • Add block tag support (e.g. latest, pending, earliest) to getFeeHistory (#​4224)
  • Support for EIP-1559 to web3.eth.sendTransaction (#​4220)

v1.5.0

Compare Source

Added
  • London transaction support (#​4155)
  • RPC support eth_feehistory call (#​4191)
  • Add toNumber method to web3.utils (#​4191)
Changed
  • Grammar fix (#​4088) and updated Swarm (#​4151)and Whisper doc links (#​4170)
  • Removed deprecation notice for HttpProvider (#​4008)
  • Nonce added to send options in documentation and types (#​4052)
  • Updated Solidity example to modern syntax (#​4147)
  • Changing web3 connection example from lets to const (#​3967)
  • Updated the documentation for the transaction object to include EIP-2718 and EIP-1559 options (#​4188)

v1.4.0

Compare Source

Added
  • Berlin Transaction Support (#​4083)
  • When signing a transaction, common object now defaults to berlin instead of petersburg
Changed
  • Changed Geth Docker verision from stable to 1.10.3 in e2e.geth.instamine.sh and scripts/e2e.geth.automine.sh (#​4154)

v1.3.6

Compare Source

Changes
  • Bump underscore package from 1.9.1 to 1.12.1 (#​4051)
  • Bump @ensdomains/ens package from ^0.4.5 to ^0.6.0 (#​4059)
  • Bump ethers package from ^5.0.18 to ^5.1.4 (#​4059)
Removes
  • Accidental commit (yarn-error.log) (#​4062)

v1.3.5

Compare Source

Added
  • GitHub action for running tests for web3-eth2-core and web3-eth2-beaconchain packages (#​3892)
  • Added description to documentation on how to connect using a remote node provider (#​3884)
  • Added Security risk warning to docs for web3.utils.soliditySha3 (#​3908)
  • .nvmrc file using Node.js version v.14.15.1 (#​3817)
  • Add commitment to semantic versioning since version 1.3.0 and onwards (#​3961)
Changed
  • Unified babel compiler for web3-eth2-core and web3-eth2-beaconchain (#​3892)
  • Renamed the tsc script in all packages to compile; updates the corresponding lerna run usage in the main package.json (#​3894)
  • moved deprecation warnings to postinstall scripts (#​3917)
  • Upgrade @chainsafe/geth-dev-assistant from 0.1.5 to 0.1.9 (#​3950)
  • Replaced hardcoded infura link with GitHub Secret for some tests (#​3943)
  • Bump elliptic from 6.5.3 to 6.5.4 for web3-eth-accounts (#​3941)
  • Bump elliptic from 6.5.3 to 6.5.4 for web3-bzz (#​3940)
  • Bump elliptic from 6.5.3 to 6.5.4 for web3-core-requestmanager (#​3945)
  • Rewrite web3-eth-iban in ES6 (#​3955)

v1.3.4

Compare Source

Changed
  • Fixed mutation of inputs to encoding and decoding functions (#​3748)
  • Fix default value for fromBlock option for logs subscriptions (defaults to latest) (#​3883)
  • ethjs-signer test (#​3876)
  • Rename web3-eth2-base to web3-eth2-core and web3-eth2-beacon to web3-eth2-beaconchain (#​3833)
  • Bump ts-node from version ^8.10.2 to ^9.0.0 (#​3856)
  • Ran npm audit fix which fixed 4 vulnerabilities (#​3856)
  • Correct web3-eth2-beaconchain type declarations (#​3859) and (#​3865)
  • Move interfaces IBaseAPISchema and IBaseAPIMethodSchema to index.d.ts for web3-eth2-core (#​3878)
  • Update dependencies for web3-eth2-core (#​3878)
Removed
  • Remove notImplemented flag from ETH2 Beacon Chain package methods schema (#​3861)
  • Removes IETH2BeaconChain interface in favor of exporting a class type: ETH2BeaconChain (#​3878)
  • Remove index.d.ts files in favor of types.ts for web3-eth2-core and web3-eth2-beaconchain (#​3878)
  • schema.ts from web3-eth2-core (#​3878)
  • dtslint npm command from web3-eth2-core and web3-eth2-beaconchain as index.d.ts files were removed (#​3878)
Added
  • Add ETH2Core class export to index.d.ts for web3-eth2-core (#​3878)
  • Deprecation of bzz warning (#​3872)
  • Deprecation of shh warning (#​3888)

v1.3.3

Compare Source

Fixed
  • Update dist to latest release (1.3.2) (#​3875)

v1.3.2

Compare Source

Fixed
  • Fix EIP-1193 provider subscriptions (#​3864)

v1.3.1

Compare Source

Added
  • Add web3-eth2-core package (#​3743) (renamed to web3-eth2-base)
  • Add web3-eth2-beaconchain package (#​3743) (renamed to web3-eth2-beacon)
  • Add stripHexPrefix method to web3-utils package (#​3776)
Changed
  • bump utils 0.10.0^ -> 0.12.0 (#​3733)
Removed
  • Removed post-install script in packages/web3. Added documentation to root README (#​3717)
Fixed
  • Fix possible unhandled promise rejection when sending a transaction (#​3708)
  • Fixed decoding bytes and string parameters for logs emitted with solc 0.4.x (#​3724, #​3738)
  • Grammar changes to inputAddressFormatter error message
  • Fixed vulnerable dependencies

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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/web3-1.x branch from 0457b08 to 1531c0d Compare June 23, 2022 23:13
@renovate renovate bot changed the title Update dependency web3 to v1.7.3 Update dependency web3 to v1.7.4 Jun 23, 2022
@renovate renovate bot force-pushed the renovate/web3-1.x branch from 1531c0d to bdcd3b5 Compare September 25, 2022 18:39
@renovate renovate bot changed the title Update dependency web3 to v1.7.4 Update dependency web3 to v1.8.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/web3-1.x branch from bdcd3b5 to ecc2727 Compare November 20, 2022 14:45
@renovate renovate bot changed the title Update dependency web3 to v1.8.0 Update dependency web3 to v1.8.1 Nov 20, 2022
@renovate renovate bot changed the title Update dependency web3 to v1.8.1 Update dependency web3 to v1.8.2 Mar 18, 2023
@renovate renovate bot force-pushed the renovate/web3-1.x branch from ecc2727 to dfcebac Compare March 18, 2023 21:56
@renovate renovate bot changed the title Update dependency web3 to v1.8.2 Update dependency web3 to v1.9.0 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/web3-1.x branch from dfcebac to a85b22a Compare March 23, 2023 23:26
@renovate renovate bot changed the title Update dependency web3 to v1.9.0 Update dependency web3 to v1.10.0 May 28, 2023
@renovate renovate bot force-pushed the renovate/web3-1.x branch from a85b22a to d3ffc1c Compare May 28, 2023 11:22
@renovate renovate bot force-pushed the renovate/web3-1.x branch from d3ffc1c to 6504b43 Compare August 14, 2023 14:16
@renovate renovate bot changed the title Update dependency web3 to v1.10.0 Update dependency web3 to v1.10.1 Aug 14, 2023
@renovate renovate bot changed the title Update dependency web3 to v1.10.1 Update dependency web3 to v1.10.2 Aug 28, 2023
@renovate renovate bot force-pushed the renovate/web3-1.x branch from 6504b43 to bba5b4d Compare August 28, 2023 13:07
@renovate renovate bot force-pushed the renovate/web3-1.x branch from bba5b4d to 0224111 Compare October 18, 2023 13:35
@renovate renovate bot changed the title Update dependency web3 to v1.10.2 Update dependency web3 to v1.10.3 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/web3-1.x branch from 0224111 to 108f4db Compare February 5, 2024 16:03
@renovate renovate bot changed the title Update dependency web3 to v1.10.3 Update dependency web3 to v1.10.4 Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants