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-utils to v1.10.4 #60

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 2, 2021

This PR contains the following updates:

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

Release Notes

ChainSafe/web3.js (web3-utils)

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)

Configuration

📅 Schedule: Branch creation - "before 4am" in timezone America/Los_Angeles, 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.

@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 54edd2a to 78feb26 Compare October 19, 2021 01:52
@renovate renovate bot changed the title Update dependency web3-utils to v1.4.0 Update dependency web3-utils to v1.6.0 Oct 19, 2021
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 78feb26 to f9ac87b Compare March 7, 2022 14:55
@renovate renovate bot changed the title Update dependency web3-utils to v1.6.0 Update dependency web3-utils to v1.7.1 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from f9ac87b to 3fed942 Compare April 24, 2022 18:27
@renovate renovate bot changed the title Update dependency web3-utils to v1.7.1 Update dependency web3-utils to v1.7.3 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 3fed942 to bb53348 Compare June 23, 2022 21:10
@renovate renovate bot changed the title Update dependency web3-utils to v1.7.3 Update dependency web3-utils to v1.7.4 Jun 23, 2022
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from bb53348 to 725890c Compare September 25, 2022 19:14
@renovate renovate bot changed the title Update dependency web3-utils to v1.7.4 Update dependency web3-utils to v1.8.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 725890c to 073f19a Compare November 20, 2022 15:22
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 073f19a to a33ebd6 Compare March 19, 2023 03:59
@renovate renovate bot changed the title Update dependency web3-utils to v1.8.0 Update dependency web3-utils to v1.8.2 Mar 19, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from a33ebd6 to 883924e Compare March 25, 2023 00:07
@renovate renovate bot changed the title Update dependency web3-utils to v1.8.2 Update dependency web3-utils to v1.9.0 Mar 25, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 883924e to 8cb3926 Compare May 28, 2023 09:34
@renovate renovate bot changed the title Update dependency web3-utils to v1.9.0 Update dependency web3-utils to v1.10.0 May 28, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 8cb3926 to 09e134d Compare August 14, 2023 14:45
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.0 Update dependency web3-utils to v1.10.1 Aug 14, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 09e134d to 190392a Compare August 28, 2023 14:38
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.1 Update dependency web3-utils to v1.10.2 Aug 28, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 190392a to 44ca7f6 Compare October 18, 2023 15:19
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.2 Update dependency web3-utils to v1.10.3 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/web3-utils-1.x branch from 44ca7f6 to e4ad8bd Compare February 5, 2024 16:59
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.3 Update dependency web3-utils to v1.10.4 Feb 5, 2024
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.4 Update dependency web3-utils to v1.10.4 - autoclosed Mar 25, 2024
@renovate renovate bot closed this Mar 25, 2024
@renovate renovate bot deleted the renovate/web3-utils-1.x branch March 25, 2024 22:10
@renovate renovate bot changed the title Update dependency web3-utils to v1.10.4 - autoclosed Update dependency web3-utils to v1.10.4 Mar 28, 2024
@renovate renovate bot reopened this Mar 28, 2024
@renovate renovate bot restored the renovate/web3-utils-1.x branch March 28, 2024 00:53
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