From 4e26526d6cc77170ed5d031b8920f2d7642eeaca Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Mon, 21 Mar 2022 16:45:17 -0400 Subject: [PATCH 1/3] Add `removed` property to `Log` type Fixes https://github.com/ChainSafe/web3.js/issues/4747#issue-1119059382 --- packages/web3-core/types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web3-core/types/index.d.ts b/packages/web3-core/types/index.d.ts index 3015bf288a3..1391a84d6d1 100644 --- a/packages/web3-core/types/index.d.ts +++ b/packages/web3-core/types/index.d.ts @@ -242,6 +242,7 @@ export interface Log { transactionHash: string; blockHash: string; blockNumber: number; + removed: boolean; } // had to move `web3-net` due to other modules in `1.x` not referencing From 66f2177a1d5b2333594a0ae03f8dce86ff1e58c1 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Wed, 30 Mar 2022 17:53:37 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md added this upon jdevcs' [request](https://github.com/ChainSafe/web3.js/pull/4877#discussion_r838765331) --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbcd4be7472..401f7c730dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -534,3 +534,7 @@ Released with 1.0.0-beta.37 code base. ### Fixed - Fix jsonrpc payload and response types (#4743) (#4761) +## [1.7.3] + +### Fixed +- Fix Log type by adding missing `removed` property From 0f9c70e6d9f57aef4dc8a2e14a6a8818ce5bb100 Mon Sep 17 00:00:00 2001 From: Junaid <86780488+jdevcs@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:31:02 +0500 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 68 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69940115c4c..edcd7e78ceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -536,9 +536,7 @@ Released with 1.0.0-beta.37 code base. ### Fixed -- fixed build issues of 1.7.2 - -## [Unreleased] +- Fixed build issues of 1.7.2 ## [1.7.4] @@ -546,5 +544,72 @@ Released with 1.0.0-beta.37 code base. - 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) + +## [1.7.5] + +### 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 getTransactionrReceipt (#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) + +## [1.8.0] + +### Changed +- Updated `sha3` and `sha3Raw` type definition to accept `Buffer` +- 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) + +## [Unreleased] + +## [1.8.1] + +### Fixed + +- Fixed types for getPastEvents (#4955) (#5260) - Fix Log type by adding missing `removed` property (#4877) +### Changed + +- Updated dependencies (#5529)