Skip to content

Commit

Permalink
Release 270.0.0 (#5058)
Browse files Browse the repository at this point in the history
## Explanation

Use the new Keyring API layout in related controllers. Some peer
dependencies have been removed on the `keyring-controller` (but they
remain here for the `accounts-controller` for now).

## References

N/A

## Changelog

N/A

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes

---------

Co-authored-by: Elliot Winkler <[email protected]>
  • Loading branch information
ccharly and mcmire authored Dec 11, 2024
1 parent 811ee6a commit 5cba6b1
Show file tree
Hide file tree
Showing 17 changed files with 88 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "269.0.0",
"version": "270.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down
13 changes: 12 additions & 1 deletion packages/accounts-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [20.0.2]

### Changed

- Use new `@metamask/keyring-internal-api@^1.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- This package has been split out from the Keyring API.
- Bump `@metamask/keyring-api` from `^10.1.0` to `^12.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- Bump `@metamask/eth-snap-keyring` from `^5.0.1` to `^7.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- ESM/CommonJS support.

## [20.0.1]

### Fixed
Expand Down Expand Up @@ -368,7 +378,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[20.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[20.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/accounts-controller",
"version": "20.0.1",
"version": "20.0.2",
"description": "Manages internal accounts",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -62,7 +62,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/providers": "^18.1.1",
"@metamask/snaps-controllers": "^9.10.0",
"@types/jest": "^27.4.1",
Expand Down
12 changes: 11 additions & 1 deletion packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [45.1.2]

### Changed

- Remove use of `@metamask/keyring-api` ([#4695](https://github.com/MetaMask/core/pull/4695))
- `@metamask/providers` and `webextension-polyfill` peer dependencies are no longer required.
- Use new `@metamask/keyring-internal-api@^1.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- This package has been split out from the Keyring API. Its types are compatible with the `@metamask/keyring-api` package used previously.

## [45.1.1]

### Changed
Expand Down Expand Up @@ -1291,7 +1300,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[45.1.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[45.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[45.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[45.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/assets-controllers",
"version": "45.1.1",
"version": "45.1.2",
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -75,11 +75,11 @@
},
"devDependencies": {
"@babel/runtime": "^7.23.9",
"@metamask/accounts-controller": "^20.0.1",
"@metamask/accounts-controller": "^20.0.2",
"@metamask/approval-controller": "^7.1.1",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/keyring-internal-api": "^1.0.0",
"@metamask/network-controller": "^22.1.1",
"@metamask/preferences-controller": "^15.0.1",
Expand Down
13 changes: 12 additions & 1 deletion packages/chain-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.2]

### Changed

- Remove use of `@metamask/keyring-api` ([#4695](https://github.com/MetaMask/core/pull/4695))
- `@metamask/providers` and `webextension-polyfill` peer dependencies are no longer required.
- Use new `@metamask/keyring-internal-api@^1.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- This package has been split out from the Keyring API. Its types are compatible with the `@metamask/keyring-api` package used previously.
- Use new `@metamask/keyring-utils@^1.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))

## [0.2.1]

### Fixed
Expand Down Expand Up @@ -79,7 +89,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[0.2.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[0.2.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[0.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[0.1.3]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/chain-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/chain-controller",
"version": "0.2.1",
"version": "0.2.2",
"description": "Manages chain-agnostic providers",
"keywords": [
"MetaMask",
Expand Down
13 changes: 12 additions & 1 deletion packages/keyring-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [19.0.2]

### Changed

- Remove use of `@metamask/keyring-api` ([#4695](https://github.com/MetaMask/core/pull/4695))
- `@metamask/providers` and `webextension-polyfill` peer depedencies are no longer required.
- Use new `@metamask/keyring-internal-api@^1.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))
- This package has been split out from the Keyring API. Its types are compatible with the `@metamask/keyring-api` package used previously.
- Bump `@metamask/message-manager` from `^11.0.2` to `^11.0.3` ([#5048](https://github.com/MetaMask/core/pull/5048))

## [19.0.1]

### Changed
Expand Down Expand Up @@ -608,7 +618,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/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[19.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[19.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[18.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/keyring-controller",
"version": "19.0.1",
"version": "19.0.2",
"description": "Stores identities seen in the wallet and manages interactions such as signing",
"keywords": [
"MetaMask",
Expand Down
4 changes: 2 additions & 2 deletions packages/notification-services-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
"@lavamoat/allow-scripts": "^3.0.4",
"@lavamoat/preinstall-always-fail": "^2.1.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/profile-sync-controller": "^3.1.0",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/profile-sync-controller": "^3.1.1",
"@types/jest": "^27.4.1",
"@types/readable-stream": "^2.3.0",
"contentful": "^10.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/preferences-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
Expand Down
11 changes: 10 additions & 1 deletion packages/profile-sync-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.1.1]

### Changed

- Use new `@metamask/keyring-internal-api@^1.0.0`( [#4695](https://github.com/MetaMask/core/pull/4695))
- This package has been split out from the Keyring API.
- Bump `@metamask/keyring-api` from `^10.1.0` to `^12.0.0` ([#4695](https://github.com/MetaMask/core/pull/4695))

## [3.1.0]

### Changed
Expand Down Expand Up @@ -370,7 +378,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[3.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[3.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions packages/profile-sync-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/profile-sync-controller",
"version": "3.1.0",
"version": "3.1.1",
"description": "The profile sync helps developers synchronize data across multiple clients and devices in a privacy-preserving way. All data saved in the user storage database is encrypted client-side to preserve privacy. The user storage provides a modular design, giving developers the flexibility to construct and manage their storage spaces in a way that best suits their needs",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -102,7 +102,7 @@
"dependencies": {
"@metamask/base-controller": "^7.0.2",
"@metamask/keyring-api": "^12.0.0",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/network-controller": "^22.1.1",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
Expand All @@ -115,7 +115,7 @@
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
"@lavamoat/preinstall-always-fail": "^2.1.0",
"@metamask/accounts-controller": "^20.0.1",
"@metamask/accounts-controller": "^20.0.2",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-internal-api": "^1.0.0",
"@metamask/providers": "^18.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/signature-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"devDependencies": {
"@metamask/approval-controller": "^7.1.1",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/logging-controller": "^6.0.3",
"@metamask/network-controller": "^22.1.1",
"@types/jest": "^27.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"devDependencies": {
"@babel/runtime": "^7.23.9",
"@metamask/accounts-controller": "^20.0.1",
"@metamask/accounts-controller": "^20.0.2",
"@metamask/approval-controller": "^7.1.1",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eth-block-tracker": "^11.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eth-block-tracker": "^11.0.3",
"@metamask/gas-fee-controller": "^22.0.2",
"@metamask/keyring-controller": "^19.0.1",
"@metamask/keyring-controller": "^19.0.2",
"@metamask/network-controller": "^22.1.1",
"@metamask/transaction-controller": "^42.0.0",
"@types/jest": "^27.4.1",
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ __metadata:
languageName: node
linkType: hard

"@metamask/accounts-controller@npm:^20.0.1, @metamask/accounts-controller@workspace:packages/accounts-controller":
"@metamask/accounts-controller@npm:^20.0.2, @metamask/accounts-controller@workspace:packages/accounts-controller":
version: 0.0.0-use.local
resolution: "@metamask/accounts-controller@workspace:packages/accounts-controller"
dependencies:
Expand All @@ -2043,7 +2043,7 @@ __metadata:
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/eth-snap-keyring": "npm:^7.0.0"
"@metamask/keyring-api": "npm:^12.0.0"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/keyring-internal-api": "npm:^1.0.0"
"@metamask/providers": "npm:^18.1.1"
"@metamask/snaps-controllers": "npm:^9.10.0"
Expand Down Expand Up @@ -2154,15 +2154,15 @@ __metadata:
"@ethersproject/contracts": "npm:^5.7.0"
"@ethersproject/providers": "npm:^5.7.0"
"@metamask/abi-utils": "npm:^2.0.3"
"@metamask/accounts-controller": "npm:^20.0.1"
"@metamask/accounts-controller": "npm:^20.0.2"
"@metamask/approval-controller": "npm:^7.1.1"
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/contract-metadata": "npm:^2.4.0"
"@metamask/controller-utils": "npm:^11.4.4"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/ethjs-provider-http": "npm:^0.3.0"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/keyring-internal-api": "npm:^1.0.0"
"@metamask/metamask-eth-abis": "npm:^3.1.1"
"@metamask/network-controller": "npm:^22.1.1"
Expand Down Expand Up @@ -2962,7 +2962,7 @@ __metadata:
languageName: node
linkType: hard

"@metamask/keyring-controller@npm:^19.0.1, @metamask/keyring-controller@workspace:packages/keyring-controller":
"@metamask/keyring-controller@npm:^19.0.2, @metamask/keyring-controller@workspace:packages/keyring-controller":
version: 0.0.0-use.local
resolution: "@metamask/keyring-controller@workspace:packages/keyring-controller"
dependencies:
Expand Down Expand Up @@ -3209,8 +3209,8 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/controller-utils": "npm:^11.4.4"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/profile-sync-controller": "npm:^3.1.0"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/profile-sync-controller": "npm:^3.1.1"
"@metamask/utils": "npm:^10.0.0"
"@types/jest": "npm:^27.4.1"
"@types/readable-stream": "npm:^2.3.0"
Expand Down Expand Up @@ -3377,7 +3377,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/controller-utils": "npm:^11.4.4"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@types/jest": "npm:^27.4.1"
deepmerge: "npm:^4.2.2"
jest: "npm:^27.5.1"
Expand All @@ -3391,17 +3391,17 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/profile-sync-controller@npm:^3.1.0, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller":
"@metamask/profile-sync-controller@npm:^3.1.1, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller":
version: 0.0.0-use.local
resolution: "@metamask/profile-sync-controller@workspace:packages/profile-sync-controller"
dependencies:
"@lavamoat/allow-scripts": "npm:^3.0.4"
"@lavamoat/preinstall-always-fail": "npm:^2.1.0"
"@metamask/accounts-controller": "npm:^20.0.1"
"@metamask/accounts-controller": "npm:^20.0.2"
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/keyring-api": "npm:^12.0.0"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/keyring-internal-api": "npm:^1.0.0"
"@metamask/network-controller": "npm:^22.1.1"
"@metamask/providers": "npm:^18.1.1"
Expand Down Expand Up @@ -3588,7 +3588,7 @@ __metadata:
"@metamask/base-controller": "npm:^7.0.2"
"@metamask/controller-utils": "npm:^11.4.4"
"@metamask/eth-sig-util": "npm:^8.0.0"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/logging-controller": "npm:^6.0.3"
"@metamask/network-controller": "npm:^22.1.1"
"@metamask/utils": "npm:^10.0.0"
Expand Down Expand Up @@ -3752,7 +3752,7 @@ __metadata:
"@ethersproject/abi": "npm:^5.7.0"
"@ethersproject/contracts": "npm:^5.7.0"
"@ethersproject/providers": "npm:^5.7.0"
"@metamask/accounts-controller": "npm:^20.0.1"
"@metamask/accounts-controller": "npm:^20.0.2"
"@metamask/approval-controller": "npm:^7.1.1"
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.2"
Expand Down Expand Up @@ -3806,7 +3806,7 @@ __metadata:
"@metamask/eth-block-tracker": "npm:^11.0.3"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/gas-fee-controller": "npm:^22.0.2"
"@metamask/keyring-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^19.0.2"
"@metamask/network-controller": "npm:^22.1.1"
"@metamask/polling-controller": "npm:^12.0.2"
"@metamask/rpc-errors": "npm:^7.0.1"
Expand Down

0 comments on commit 5cba6b1

Please sign in to comment.