From 33326c293f8c7486be76c77b428712cacead6e28 Mon Sep 17 00:00:00 2001 From: Wyatt Barnes Date: Tue, 29 Nov 2022 14:10:44 -1000 Subject: [PATCH 1/3] Update CHANGELOG version headers --- CHANGELOG.md | 4 +++- packages/web3-core/CHANGELOG.md | 4 +++- packages/web3-eth-accounts/CHANGELOG.md | 4 +++- packages/web3-eth-contract/CHANGELOG.md | 4 +++- packages/web3-types/CHANGELOG.md | 4 +++- packages/web3-utils/CHANGELOG.md | 4 +++- tools/web3-plugin-example/CHANGELOG.md | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd4aa45dcd3..81300af4435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -891,7 +891,7 @@ should use 4.0.1-alpha.0 for testing. - Removed direct function `toJSON()` in `Web3ValidatorError` class as its available via base class (#5435) -## [Unreleased] +## [4.0.1-alpha.2] ### Added @@ -923,3 +923,5 @@ should use 4.0.1-alpha.0 for testing. #### web3-eth-accounts - These types were moved from `web3-eth-accounts` to `web3-types` package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 ) + +## [Unreleased] diff --git a/packages/web3-core/CHANGELOG.md b/packages/web3-core/CHANGELOG.md index 2580bde736b..39e1c0244c4 100644 --- a/packages/web3-core/CHANGELOG.md +++ b/packages/web3-core/CHANGELOG.md @@ -52,8 +52,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added validation when `defaultChain` and `defaultCommon.basechain` are different in web3config - Added a new configuration variable `enableExperimentalFeatures`. (#5481) -## [Unreleased] +## [4.0.1-alpha.2] ### Fixed - Make the `request` method of `EIP1193Provider` class, compatible with EIP 1193 (#5591) + +## [Unreleased] diff --git a/packages/web3-eth-accounts/CHANGELOG.md b/packages/web3-eth-accounts/CHANGELOG.md index 962e40acf42..ceb00df42ab 100644 --- a/packages/web3-eth-accounts/CHANGELOG.md +++ b/packages/web3-eth-accounts/CHANGELOG.md @@ -41,8 +41,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `signTransaction` and `privateKeyToAccount` will throw `TransactionSigningError` instead of `SignerError` now (#5462) -## [Unreleased] +## [4.0.1-alpha.2] ### Removed - These types were moved to `web3-types` package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581) + +## [Unreleased] diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index 7b75e845291..6b8e8ad0446 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -182,9 +182,11 @@ const transactionHash = receipt.transactionHash; - According to the latest change in `web3-eth-abi`, the decoded values of the large numbers, returned from function calls or events, are now available as `BigInt`. (#5435) -## [Unreleased] +## [4.0.1-alpha.2] ### Fixed - Emit past contract events based on `fromBlock` when passed to `contract.events.someEventName` (#5201) - Use different types for `ContractOptions` -> `jsonInterface` setter and getter (#5474) + +## [Unreleased] diff --git a/packages/web3-types/CHANGELOG.md b/packages/web3-types/CHANGELOG.md index 160e4e1add2..a9d00e08735 100644 --- a/packages/web3-types/CHANGELOG.md +++ b/packages/web3-types/CHANGELOG.md @@ -47,7 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Web3APISpec`, `Web3APIMethod`, and `Web3APIParams` now supports `unknown` APIs (#5393) -## [Unreleased] +## [0.1.1-alpha.2] ### Added @@ -56,3 +56,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Make the `request` method of `EIP1193Provider` class, compatible with EIP 1193 (#5591) + +## [Unreleased] diff --git a/packages/web3-utils/CHANGELOG.md b/packages/web3-utils/CHANGELOG.md index fb6a67553e5..3fa02bc9003 100644 --- a/packages/web3-utils/CHANGELOG.md +++ b/packages/web3-utils/CHANGELOG.md @@ -41,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added and exported three reusable utility functions: `pollTillDefined`, `rejectIfTimeout` and `rejectIfConditionAtInterval` which are useful when dealing with promises that involves polling, rejecting after timeout or rejecting if a condition was met when calling repeatably at every time intervals. -## [Unreleased] +## [4.0.1-alpha.2] ### Added @@ -50,3 +50,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Use Uuid for the response id, to fix the issue "Responses get mixed up due to conflicting payload IDs" (#5373). + +## [Unreleased] diff --git a/tools/web3-plugin-example/CHANGELOG.md b/tools/web3-plugin-example/CHANGELOG.md index ce08237f327..08619f1559e 100644 --- a/tools/web3-plugin-example/CHANGELOG.md +++ b/tools/web3-plugin-example/CHANGELOG.md @@ -35,9 +35,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --> -## [Unreleased] +## [0.1.0-alpha.1] ### Added - Example plugin for wrapping contract methods to provide custom functionality (#5393) - Example plugin for custom RPC methods using the `requestManager` (#5393) + +## [Unreleased] From 6c89208347464f4e018ac1b5ad784c9d05b5adbb Mon Sep 17 00:00:00 2001 From: Wyatt Barnes Date: Thu, 8 Dec 2022 08:37:30 -1000 Subject: [PATCH 2/3] Remove merge conflict markers --- packages/web3-eth-contract/CHANGELOG.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index 378f0a231ac..4a4783aad5f 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -184,27 +184,16 @@ const transactionHash = receipt.transactionHash; ## [4.0.1-alpha.2] -# <<<<<<< HEAD - ### Added - Decoding error data, using Error ABI if available, if error was returned from a smart contract function call (#5662). - `SpecialOutput` type was added as a generic type into the call function to support reassigning output types (#5631) - Overloaded functions types (`ContractOverloadedMethodInputs`, `ContractOverloadedMethodOutputs`) was added (#5631) - > > > > > > > 8aa45957702eedd59fadc230771c2655f53ab89a ### Fixed - Emit past contract events based on `fromBlock` when passed to `contract.events.someEventName` (#5201) - Use different types for `ContractOptions` -> `jsonInterface` setter and getter (#5474) - <<<<<<< HEAD - -## [Unreleased] - -======= - - An issue within the `Contract` constructor where `provider` wasn't being set when provided within the `optionsOrContextOrReturnFormat` argument (#5669) ## [Unreleased] - -> > > > > > > 8aa45957702eedd59fadc230771c2655f53ab89a From 3fbdc674254efe12217351ebf9bf587ebe0a08bd Mon Sep 17 00:00:00 2001 From: Wyatt Barnes Date: Thu, 8 Dec 2022 08:38:58 -1000 Subject: [PATCH 3/3] Remove double CHANGELOG entry --- packages/web3-eth-abi/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web3-eth-abi/CHANGELOG.md b/packages/web3-eth-abi/CHANGELOG.md index ef28a7883bf..70c2cd6b8cc 100644 --- a/packages/web3-eth-abi/CHANGELOG.md +++ b/packages/web3-eth-abi/CHANGELOG.md @@ -45,7 +45,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Return `BigInt` instead of `string` when decoding function parameters for large numbers, such as `uint256`. (#5435) -- Fix `ContractMethodOutputParameters` type to support output object types by index and string key. Also, it returns void if ABI doesn't have outputs and returns exactly one type if the output array has only one element. (#5631) ## [4.0.1-alpha.2]