From 8c09b16090f094b3d7a541a5137868e8d665cded Mon Sep 17 00:00:00 2001 From: Vinicius Stevam <45455812+vinistevam@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:20:46 +0000 Subject: [PATCH] Release 113.0.0 (#3864) --- package.json | 2 +- packages/transaction-controller/CHANGELOG.md | 10 +++++++++- packages/transaction-controller/package.json | 2 +- packages/user-operation-controller/CHANGELOG.md | 15 ++++++++++++++- packages/user-operation-controller/package.json | 6 +++--- yarn.lock | 6 +++--- 6 files changed, 31 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e48b50a9d8..54b911ba37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "112.0.0", + "version": "113.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index c8cf894817..f602ba30ad 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [21.0.1] + +### Fixed + +- Resolves transaction custodian promise when setting transaction status to `submitted` or `failed` ([#3845](https://github.com/MetaMask/core/pull/3845)) +- Fix normalizer ensuring property `type` is always present in `TransactionParams` ([#3817](https://github.com/MetaMask/core/pull/3817)) + ## [21.0.0] ### Changed @@ -457,7 +464,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.1...HEAD +[21.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.0...@metamask/transaction-controller@21.0.1 [21.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@20.0.0...@metamask/transaction-controller@21.0.0 [20.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@19.0.1...@metamask/transaction-controller@20.0.0 [19.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@19.0.0...@metamask/transaction-controller@19.0.1 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 59b9d6629a..a0ce0efdc7 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "21.0.0", + "version": "21.0.1", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index 49189a875f..2088375cee 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0] + +### Changed + +- **BREAKING**: Add required `from` property to `PrepareUserOperationRequest` ([#3844](https://github.com/MetaMask/core/pull/3844)) +- **BREAKING**: Add required `from` property to `AddUserOperationRequest` ([#3844](https://github.com/MetaMask/core/pull/3844)) +- **BREAKING**: Make `smartContractAccount` optional in `AddUserOperationOptions` ([#3844](https://github.com/MetaMask/core/pull/3844)) + - Use current account snap by default if not provided ([#3844](https://github.com/MetaMask/core/pull/3844)) +- Delete user operation if rejected during approval ([#3844](https://github.com/MetaMask/core/pull/3844)) +- Set `userFeeLevel` to `custom` in transaction event if using a paymaster ([#3844](https://github.com/MetaMask/core/pull/3844)) +- Validate arguments when calling `addUserOperationFromTransaction` ([#3844](https://github.com/MetaMask/core/pull/3844)) + ## [2.0.0] ### Changed @@ -31,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release ([#3749](https://github.com/MetaMask/core/pull/3749)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@2.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@3.0.0...HEAD +[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@2.0.0...@metamask/user-operation-controller@3.0.0 [2.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@1.0.0...@metamask/user-operation-controller@2.0.0 [1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/user-operation-controller@1.0.0 diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 4de078b001..cb6d93ec0e 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/user-operation-controller", - "version": "2.0.0", + "version": "3.0.0", "description": "Creates user operations and manages their life cycle", "keywords": [ "MetaMask", @@ -41,7 +41,7 @@ "@metamask/network-controller": "^17.2.0", "@metamask/polling-controller": "^5.0.0", "@metamask/rpc-errors": "^6.1.0", - "@metamask/transaction-controller": "^21.0.0", + "@metamask/transaction-controller": "^21.0.1", "@metamask/utils": "^8.3.0", "ethereumjs-util": "^7.0.10", "immer": "^9.0.6", @@ -64,7 +64,7 @@ "@metamask/gas-fee-controller": "^13.0.0", "@metamask/keyring-controller": "^12.2.0", "@metamask/network-controller": "^17.2.0", - "@metamask/transaction-controller": "^21.0.0" + "@metamask/transaction-controller": "^21.0.1" }, "engines": { "node": ">=16.0.0" diff --git a/yarn.lock b/yarn.lock index 1acff7ebc7..d8115ffc6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2893,7 +2893,7 @@ __metadata: languageName: node linkType: hard -"@metamask/transaction-controller@^21.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": +"@metamask/transaction-controller@^21.0.1, @metamask/transaction-controller@workspace:packages/transaction-controller": version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: @@ -2950,7 +2950,7 @@ __metadata: "@metamask/network-controller": ^17.2.0 "@metamask/polling-controller": ^5.0.0 "@metamask/rpc-errors": ^6.1.0 - "@metamask/transaction-controller": ^21.0.0 + "@metamask/transaction-controller": ^21.0.1 "@metamask/utils": ^8.3.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -2969,7 +2969,7 @@ __metadata: "@metamask/gas-fee-controller": ^13.0.0 "@metamask/keyring-controller": ^12.2.0 "@metamask/network-controller": ^17.2.0 - "@metamask/transaction-controller": ^21.0.0 + "@metamask/transaction-controller": ^21.0.1 languageName: unknown linkType: soft