Skip to content

Commit 1e5b340

Browse files
Cal-Lccharlycryptodev-2s
authored
Release 299.0.0 (#5318)
## Explanation <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> This is a controller release that includes the first version of the `MultichainNetworkController`, which also include `AccountController` updates. The other version bumps are related to updating their peer dependency version of accounts controller. ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> Related to: [#804](MetaMask/accounts-planning#804) ## Changelog <!-- If you're making any consumer-facing changes, list those changes here as if you were updating a changelog, using the template below as a guide. (CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or FIXED. For security-related issues, follow the Security Advisory process.) Please take care to name the exact pieces of the API you've added or changed (e.g. types, interfaces, functions, or methods). If there are any breaking changes, make sure to offer a solution for consumers to follow once they upgrade to the changes. Finally, if you're only making changes to development scripts or tests, you may replace the template below with "None". --> ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --------- Co-authored-by: Charly Chevalier <[email protected]> Co-authored-by: cryptodev-2s <[email protected]>
1 parent 3f8fd98 commit 1e5b340

File tree

22 files changed

+155
-60
lines changed

22 files changed

+155
-60
lines changed

package.json

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

packages/accounts-controller/CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [24.0.0]
11+
12+
### Added
13+
14+
- **BREAKING:** Now requires `MultichainNetworkController:didNetworkChange` event to be registered on the messenger ([#5215](https://github.com/MetaMask/core/pull/5215))
15+
- This will be used to keep accounts in sync with EVM and non-EVM network changes.
16+
17+
### Changed
18+
19+
- **BREAKING:** Add `@metamask/network-controller@^22.0.0` peer dependency ([#5215](https://github.com/MetaMask/core/pull/5215)), ([#5327](https://github.com/MetaMask/core/pull/5327))
20+
1021
## [23.1.0]
1122

1223
### Added
@@ -444,7 +455,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
444455

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

447-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
458+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
459+
[24.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
448460
[23.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
449461
[23.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
450462
[23.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/accounts-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-controller",
3-
"version": "23.1.0",
3+
"version": "24.0.0",
44
"description": "Manages internal accounts",
55
"keywords": [
66
"MetaMask",

packages/assets-controllers/CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [50.0.0]
11+
12+
### Changed
13+
14+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^23.0.1` to `^24.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
15+
- Removed legacy poll function to prevent redundant polling ([#5321](https://github.com/MetaMask/core/pull/5321))
16+
17+
### Fixed
18+
19+
- Ensure that the polling is not triggered on the constructor with the initialisation of the controller ([#5321](https://github.com/MetaMask/core/pull/5321))
20+
1021
## [49.0.0]
1122

1223
### Added
@@ -1394,7 +1405,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13941405
13951406
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
13961407
1397-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
1408+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
1409+
[50.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
13981410
[49.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
13991411
[48.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
14001412
[47.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/assets-controllers/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/assets-controllers",
3-
"version": "49.0.0",
3+
"version": "50.0.0",
44
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
55
"keywords": [
66
"MetaMask",
@@ -77,7 +77,7 @@
7777
},
7878
"devDependencies": {
7979
"@babel/runtime": "^7.23.9",
80-
"@metamask/accounts-controller": "^23.1.0",
80+
"@metamask/accounts-controller": "^24.0.0",
8181
"@metamask/approval-controller": "^7.1.3",
8282
"@metamask/auto-changelog": "^3.4.4",
8383
"@metamask/ethjs-provider-http": "^0.3.0",
@@ -105,7 +105,7 @@
105105
"webextension-polyfill": "^0.12.0"
106106
},
107107
"peerDependencies": {
108-
"@metamask/accounts-controller": "^23.0.1",
108+
"@metamask/accounts-controller": "^24.0.0",
109109
"@metamask/approval-controller": "^7.0.0",
110110
"@metamask/keyring-controller": "^19.0.0",
111111
"@metamask/network-controller": "^22.0.0",

packages/bridge-controller/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Initial release
1313

14+
### Changed
15+
16+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^23.0.0` to `^24.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
17+
- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency from `^45.0.0` to `^46.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
18+
1419
[Unreleased]: https://github.com/MetaMask/core/

packages/bridge-controller/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
"ethers": "^6.12.0"
5656
},
5757
"devDependencies": {
58-
"@metamask/accounts-controller": "^23.1.0",
58+
"@metamask/accounts-controller": "^24.0.0",
5959
"@metamask/auto-changelog": "^3.4.4",
6060
"@metamask/eth-json-rpc-provider": "^4.1.8",
6161
"@metamask/json-rpc-engine": "^10.0.3",
6262
"@metamask/network-controller": "^22.2.1",
63-
"@metamask/transaction-controller": "^45.1.0",
63+
"@metamask/transaction-controller": "^46.0.0",
6464
"@types/jest": "^27.4.1",
6565
"deepmerge": "^4.2.2",
6666
"jest": "^27.5.1",
@@ -73,9 +73,9 @@
7373
"typescript": "~5.2.2"
7474
},
7575
"peerDependencies": {
76-
"@metamask/accounts-controller": "^23.0.0",
76+
"@metamask/accounts-controller": "^24.0.0",
7777
"@metamask/network-controller": "^22.0.0",
78-
"@metamask/transaction-controller": "^45.0.0"
78+
"@metamask/transaction-controller": "^46.0.0"
7979
},
8080
"engines": {
8181
"node": "^18.18 || >=20"

packages/earn-controller/CHANGELOG.md

+8-1
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.3.0]
11+
12+
### Changed
13+
14+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^23.0.0` to `^24.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
15+
1016
## [0.2.1]
1117

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

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

29-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
35+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
36+
[0.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
3037
[0.2.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
3138
[0.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
3239
[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]

packages/earn-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/earn-controller",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"description": "Manages state for earning features and coordinates interactions between staking services, SDK integrations, and other controllers to enable users to participate in various earning opportunities",
55
"keywords": [
66
"MetaMask",
@@ -53,7 +53,7 @@
5353
"@metamask/stake-sdk": "^1.0.0"
5454
},
5555
"devDependencies": {
56-
"@metamask/accounts-controller": "^23.1.0",
56+
"@metamask/accounts-controller": "^24.0.0",
5757
"@metamask/auto-changelog": "^3.4.4",
5858
"@metamask/network-controller": "^22.2.1",
5959
"@types/jest": "^27.4.1",
@@ -65,7 +65,7 @@
6565
"typescript": "~5.2.2"
6666
},
6767
"peerDependencies": {
68-
"@metamask/accounts-controller": "^23.0.0",
68+
"@metamask/accounts-controller": "^24.0.0",
6969
"@metamask/network-controller": "^22.1.1"
7070
},
7171
"engines": {

packages/multichain-network-controller/CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
[Unreleased]: https://github.com/MetaMask/core/
10+
## [0.1.0]
11+
12+
### Added
13+
14+
- Initial release ([#5215](https://github.com/MetaMask/core/pull/5215))
15+
- Handle both EVM and non-EVM network and account switching for the associated network.
16+
- Act as a proxy for the `NetworkController` (for EVM network changes).
17+
18+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
19+
[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]

packages/multichain-network-controller/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/multichain-network-controller",
3-
"version": "0.0.0",
3+
"version": "0.1.0",
44
"description": "Multichain network controller",
55
"keywords": [
66
"MetaMask",
@@ -68,7 +68,7 @@
6868
"typescript": "~5.2.2"
6969
},
7070
"peerDependencies": {
71-
"@metamask/accounts-controller": "^23.0.0",
71+
"@metamask/accounts-controller": "^24.0.0",
7272
"@metamask/network-controller": "^22.0.0"
7373
},
7474
"engines": {

packages/multichain-transactions-controller/CHANGELOG.md

+8-1
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.4.0]
11+
12+
### Changed
13+
14+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^23.0.0` to `^24.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
15+
1016
## [0.3.0]
1117

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

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

49-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
55+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
56+
[0.4.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5057
[0.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5158
[0.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5259
[0.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/multichain-transactions-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/multichain-transactions-controller",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "This package is responsible for getting transactions from our Bitcoin and Solana snaps",
55
"keywords": [
66
"MetaMask",
@@ -61,7 +61,7 @@
6161
"uuid": "^8.3.2"
6262
},
6363
"devDependencies": {
64-
"@metamask/accounts-controller": "^23.1.0",
64+
"@metamask/accounts-controller": "^24.0.0",
6565
"@metamask/auto-changelog": "^3.4.4",
6666
"@metamask/keyring-controller": "^19.1.0",
6767
"@types/jest": "^27.4.1",
@@ -73,7 +73,7 @@
7373
"typescript": "~5.2.2"
7474
},
7575
"peerDependencies": {
76-
"@metamask/accounts-controller": "^23.0.0",
76+
"@metamask/accounts-controller": "^24.0.0",
7777
"@metamask/snaps-controllers": "^9.19.0"
7878
},
7979
"engines": {

packages/notification-services-controller/CHANGELOG.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.21.0]
11+
12+
### Added
13+
14+
- Lock conditional checks when initializing accounts inside the `NotificationServicesController` ([#5323](https://github.com/MetaMask/core/pull/5323))
15+
- Accounts initialize call when the wallet is unlocked ([#5323](https://github.com/MetaMask/core/pull/5323))
16+
17+
### Changed
18+
19+
- **BREAKING:** Bump `@metamask/profile-sync-controller` peer dependency from `^7.0.0` to `^8.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
20+
1021
## [0.20.1]
1122

1223
### Changed
@@ -308,7 +319,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
308319

309320
- Initial release
310321

311-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
322+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
323+
[0.21.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
312324
[0.20.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
313325
[0.20.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
314326
[0.19.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/notification-services-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/notification-services-controller",
3-
"version": "0.20.1",
3+
"version": "0.21.0",
44
"description": "Manages New MetaMask decentralized Notification system",
55
"keywords": [
66
"MetaMask",
@@ -113,7 +113,7 @@
113113
"@lavamoat/preinstall-always-fail": "^2.1.0",
114114
"@metamask/auto-changelog": "^3.4.4",
115115
"@metamask/keyring-controller": "^19.1.0",
116-
"@metamask/profile-sync-controller": "^7.0.1",
116+
"@metamask/profile-sync-controller": "^8.0.0",
117117
"@types/jest": "^27.4.1",
118118
"@types/readable-stream": "^2.3.0",
119119
"contentful": "^10.15.0",
@@ -128,7 +128,7 @@
128128
},
129129
"peerDependencies": {
130130
"@metamask/keyring-controller": "^19.0.0",
131-
"@metamask/profile-sync-controller": "^7.0.0"
131+
"@metamask/profile-sync-controller": "^8.0.0"
132132
},
133133
"engines": {
134134
"node": "^18.18 || >=20"

packages/profile-sync-controller/CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [8.0.0]
11+
12+
### Added
13+
14+
- Add `perform{BatchSetStorage,DeleteStorage,BatchDeleteStorage}` as messenger actions ([#5311](https://github.com/MetaMask/core/pull/5311))
15+
- Add optional `validateAgainstSchema` option when creating user storage entry paths ([#5326](https://github.com/MetaMask/core/pull/5326))
16+
17+
### Changed
18+
19+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^23.0.0` to `^24.0.0` ([#5318](https://github.com/MetaMask/core/pull/5318))
20+
- Change `maxNumberOfAccountsToAdd` default value from `100` to `Infinity` ([#5322](https://github.com/MetaMask/core/pull/5322))
21+
22+
### Removed
23+
24+
- Removed unused events from `UserStorageController` ([#5324](https://github.com/MetaMask/core/pull/5324))
25+
1026
## [7.0.1]
1127

1228
### Changed
@@ -467,7 +483,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
467483

468484
- Initial release
469485

470-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
486+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
487+
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
471488
[7.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
472489
[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
473490
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/profile-sync-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/profile-sync-controller",
3-
"version": "7.0.1",
3+
"version": "8.0.0",
44
"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",
55
"keywords": [
66
"MetaMask",
@@ -115,7 +115,7 @@
115115
"devDependencies": {
116116
"@lavamoat/allow-scripts": "^3.0.4",
117117
"@lavamoat/preinstall-always-fail": "^2.1.0",
118-
"@metamask/accounts-controller": "^23.1.0",
118+
"@metamask/accounts-controller": "^24.0.0",
119119
"@metamask/auto-changelog": "^3.4.4",
120120
"@metamask/keyring-internal-api": "^4.0.1",
121121
"@metamask/providers": "^18.1.1",
@@ -133,7 +133,7 @@
133133
"webextension-polyfill": "^0.12.0"
134134
},
135135
"peerDependencies": {
136-
"@metamask/accounts-controller": "^23.0.0",
136+
"@metamask/accounts-controller": "^24.0.0",
137137
"@metamask/keyring-controller": "^19.0.0",
138138
"@metamask/network-controller": "^22.0.0",
139139
"@metamask/providers": "^18.1.0",

0 commit comments

Comments
 (0)