Skip to content

Commit 7290a6d

Browse files
authored
Release 290.0.0 (#5218)
Introducing new `AccountsController` events that will be required to implement the new `MultichainAssetsController`. Those events are coming from Account Snaps and will allow to get information from them without relying on polling from them (or at least, drastically relax the polling mechanism). Also bumping `@metamask/eth-snap-keyring` to `9.1.1`. This new version is required for SIP-26 support. Lastly, the CAIP namespace support has been dropped for accounts `scopes`. For EVM EOA, we now use `eip155:0` to reference any EVM chains.
1 parent 9703d4d commit 7290a6d

File tree

20 files changed

+131
-61
lines changed

20 files changed

+131
-61
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "289.0.0",
3+
"version": "290.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/accounts-controller/CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [22.0.0]
11+
12+
### Added
13+
14+
- Add `AccountsController:account{AssetList,Balances,Transactions}Updated` events ([#5190](https://github.com/MetaMask/core/pull/5190))
15+
- Those events are being sent from Account Snaps (through the Snap keyring) and are being re-published by the `AccountController`.
16+
17+
### Changed
18+
19+
- **BREAKING:** Now requires `SnapKeyring:account{AssetList,Balances,Transactions}Updated` events to be registered on the messenger ([#5190](https://github.com/MetaMask/core/pull/5190))
20+
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
21+
- Bump `@metamask/keyring-internal-api` from `^2.0.1` to `^4.0.1` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
22+
- Bump `@metamask/eth-snap-keyring` from `^8.1.1` to `^9.1.1` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
23+
1024
## [21.0.2]
1125

1226
### Changed
@@ -402,7 +416,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
402416

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

405-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@21.0.2...HEAD
419+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@22.0.0...HEAD
420+
[22.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@21.0.2...@metamask/accounts-controller@22.0.0
406421
[21.0.2]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@21.0.1...@metamask/accounts-controller@21.0.2
407422
[21.0.1]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@21.0.0...@metamask/accounts-controller@21.0.1
408423
[21.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@20.0.2...@metamask/accounts-controller@21.0.0

packages/accounts-controller/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-controller",
3-
"version": "21.0.2",
3+
"version": "22.0.0",
44
"description": "Manages internal accounts",
55
"keywords": [
66
"MetaMask",
@@ -62,7 +62,7 @@
6262
},
6363
"devDependencies": {
6464
"@metamask/auto-changelog": "^3.4.4",
65-
"@metamask/keyring-controller": "^19.0.4",
65+
"@metamask/keyring-controller": "^19.0.5",
6666
"@metamask/providers": "^18.1.1",
6767
"@metamask/snaps-controllers": "^9.10.0",
6868
"@types/jest": "^27.4.1",

packages/assets-controllers/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [47.0.0]
11+
1012
### Added
1113

1214
- Add `onBreak` and `onDegraded` methods to `CodefiTokenPricesServiceV2` ([#5109](https://github.com/MetaMask/core/pull/5109))
1315
- These serve the same purpose as the `onBreak` and `onDegraded` constructor options, but align more closely with the Cockatiel policy API.
1416

1517
### Changed
1618

19+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^21.0.0` to `^22.0.0` ([#5218](https://github.com/MetaMask/core/pull/5218))
1720
- Deprecate `ClientConfigApiService` constructor options `onBreak` and `onDegraded` in favor of methods ([#5109](https://github.com/MetaMask/core/pull/5109))
1821
- Add `@metamask/controller-utils@^11.4.5` as a dependency ([#5109](https://github.com/MetaMask/core/pull/5109))
1922
- `cockatiel` should still be in the dependency tree because it's now a dependency of `@metamask/controller-utils`
23+
- Re-introduce `@metamask/keyring-api` as a runtime dependency ([#5206](https://github.com/MetaMask/core/pull/5206))
24+
- This was required since the introduction of the `MultichainBalancesController`.
25+
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
26+
- Bump `@metamask/keyring-internal-api` from `^2.0.1` to `^4.0.1` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
27+
- Bump `@metamask/keyring-snap-client` from `^3.0.0` to `^3.0.3` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
2028

2129
## [46.0.1]
2230

@@ -1349,7 +1357,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13491357
13501358
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
13511359
1352-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@46.0.1...HEAD
1360+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@47.0.0...HEAD
1361+
[47.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@46.0.1...@metamask/assets-controllers@47.0.0
13531362
[46.0.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@46.0.0...@metamask/assets-controllers@46.0.1
13541363
[46.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.1.2...@metamask/assets-controllers@46.0.0
13551364
[45.1.2]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.1.1...@metamask/assets-controllers@45.1.2

packages/assets-controllers/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/assets-controllers",
3-
"version": "46.0.1",
3+
"version": "47.0.0",
44
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
55
"keywords": [
66
"MetaMask",
@@ -77,11 +77,11 @@
7777
},
7878
"devDependencies": {
7979
"@babel/runtime": "^7.23.9",
80-
"@metamask/accounts-controller": "^21.0.2",
80+
"@metamask/accounts-controller": "^22.0.0",
8181
"@metamask/approval-controller": "^7.1.2",
8282
"@metamask/auto-changelog": "^3.4.4",
8383
"@metamask/ethjs-provider-http": "^0.3.0",
84-
"@metamask/keyring-controller": "^19.0.4",
84+
"@metamask/keyring-controller": "^19.0.5",
8585
"@metamask/keyring-internal-api": "^4.0.1",
8686
"@metamask/keyring-snap-client": "^3.0.3",
8787
"@metamask/network-controller": "^22.1.1",
@@ -104,7 +104,7 @@
104104
"webextension-polyfill": "^0.12.0"
105105
},
106106
"peerDependencies": {
107-
"@metamask/accounts-controller": "^21.0.0",
107+
"@metamask/accounts-controller": "^22.0.0",
108108
"@metamask/approval-controller": "^7.0.0",
109109
"@metamask/keyring-controller": "^19.0.0",
110110
"@metamask/network-controller": "^22.0.0",

packages/keyring-controller/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [19.0.5]
11+
12+
### Changed
13+
14+
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
15+
1016
## [19.0.4]
1117

1218
### Changed
@@ -640,7 +646,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
640646

641647
All changes listed after this point were applied to this package following the monorepo conversion.
642648

643-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.4...HEAD
649+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.5...HEAD
650+
[19.0.5]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.4...@metamask/keyring-controller@19.0.5
644651
[19.0.4]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.3...@metamask/keyring-controller@19.0.4
645652
[19.0.3]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.2...@metamask/keyring-controller@19.0.3
646653
[19.0.2]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@19.0.1...@metamask/keyring-controller@19.0.2

packages/keyring-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/keyring-controller",
3-
"version": "19.0.4",
3+
"version": "19.0.5",
44
"description": "Stores identities seen in the wallet and manages interactions such as signing",
55
"keywords": [
66
"MetaMask",

packages/multichain-transactions-controller/CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.0]
11+
12+
### Changed
13+
14+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^21.0.0` to `^22.0.0` ([#5218](https://github.com/MetaMask/core/pull/5218))
15+
- Bump `@metamask/keyring-api` from `^14.0.0` to `^16.1.0` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
16+
- Bump `@metamask/keyring-internal-api` from `^2.0.1` to `^4.0.1` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
17+
- Bump `@metamask/keyring-snap-client` from `^3.0.0` to `^3.0.3` ([#5190](https://github.com/MetaMask/core/pull/5190)), ([#5208](https://github.com/MetaMask/core/pull/5208))
18+
1019
## [0.0.1]
1120

1221
### Added
1322

1423
- Initial release ([#5133](https://github.com/MetaMask/core/pull/5133)), ([#5177](https://github.com/MetaMask/core/pull/5177))
1524

16-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/multichain-transactions-controller@0.0.1...HEAD
25+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/multichain-transactions-controller@0.1.0...HEAD
26+
[0.1.0]: https://github.com/MetaMask/core/compare/@metamask/multichain-transactions-controller@0.0.1...@metamask/multichain-transactions-controller@0.1.0
1727
[0.0.1]: https://github.com/MetaMask/core/releases/tag/@metamask/multichain-transactions-controller@0.0.1

packages/multichain-transactions-controller/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/multichain-transactions-controller",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "This package is responsible for getting transactions from our Bitcoin and Solana snaps",
55
"keywords": [
66
"MetaMask",
@@ -61,9 +61,9 @@
6161
"uuid": "^8.3.2"
6262
},
6363
"devDependencies": {
64-
"@metamask/accounts-controller": "^21.0.2",
64+
"@metamask/accounts-controller": "^22.0.0",
6565
"@metamask/auto-changelog": "^3.4.4",
66-
"@metamask/keyring-controller": "^19.0.4",
66+
"@metamask/keyring-controller": "^19.0.5",
6767
"@types/jest": "^27.4.1",
6868
"deepmerge": "^4.2.2",
6969
"jest": "^27.5.1",
@@ -73,7 +73,7 @@
7373
"typescript": "~5.2.2"
7474
},
7575
"peerDependencies": {
76-
"@metamask/accounts-controller": "^21.0.0",
76+
"@metamask/accounts-controller": "^22.0.0",
7777
"@metamask/snaps-controllers": "^9.10.0"
7878
},
7979
"engines": {

packages/notification-services-controller/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.18.0]
11+
12+
### Changed
13+
14+
- **BREAKING:** Bump peer dependency `@metamask/profile-sync-controller` from `^4.0.0` to `^5.0.0` ([#5218](https://github.com/MetaMask/core/pull/5218))
15+
1016
## [0.17.0]
1117

1218
### Changed
@@ -282,7 +288,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
282288

283289
- Initial release
284290

285-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.17.0...HEAD
291+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.18.0...HEAD
292+
[0.18.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.17.0...@metamask/notification-services-controller@0.18.0
286293
[0.17.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.16.0...@metamask/notification-services-controller@0.17.0
287294
[0.16.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.15.0...@metamask/notification-services-controller@0.16.0
288295
[0.15.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@0.14.0...@metamask/notification-services-controller@0.15.0

0 commit comments

Comments
 (0)