Skip to content

Commit af67cfc

Browse files
OGPoyrazadonesky1jiexiGudahtt
authored andcommitted
Release 78.0.0 (#1708)
See change logs --------- Co-authored-by: Alex Donesky <[email protected]> Co-authored-by: Jiexi Luan <[email protected]> Co-authored-by: Mark Stacey <[email protected]>
1 parent 3d40573 commit af67cfc

File tree

34 files changed

+253
-113
lines changed

34 files changed

+253
-113
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": "77.0.0",
3+
"version": "78.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/accounts-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [2.0.0]
10+
### Changed
11+
- **BREAKING:** Bump peer dependency on `@metamask/keyring-controller` to ^8.0.0
12+
913
## [1.0.0]
1014
### Added
1115
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))
1216

13-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
17+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
18+
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
1419
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]

packages/accounts-controller/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-controller",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "Manages internal accounts",
55
"keywords": [
66
"MetaMask",
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@metamask/auto-changelog": "^3.1.0",
45-
"@metamask/keyring-controller": "^7.5.0",
45+
"@metamask/keyring-controller": "^8.0.0",
4646
"@metamask/snaps-controllers": "^1.0.1",
4747
"@types/jest": "^27.4.1",
4848
"@types/readable-stream": "^2.3.0",
@@ -53,7 +53,7 @@
5353
"typescript": "~4.6.3"
5454
},
5555
"peerDependencies": {
56-
"@metamask/keyring-controller": "^7.5.0"
56+
"@metamask/keyring-controller": "^8.0.0"
5757
},
5858
"engines": {
5959
"node": ">=16.0.0"

packages/address-book-controller/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [3.1.2]
10+
### Changed
11+
- Bump dependency on `@metamask/controller-utils` to ^5.0.0
12+
913
## [3.1.1]
1014
### Changed
1115
- Bump dependency on `@metamask/base-controller` to ^3.2.1
@@ -32,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3236
### Changed
3337
- Add optional `addressType` property to address book entries ([#828](https://github.com/MetaMask/controllers/pull/828), [#1068](https://github.com/MetaMask/core/pull/1068))
3438
- Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031))
35-
- Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
39+
- Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
3640

3741
## [1.0.1]
3842
### Changed
@@ -47,7 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4751

4852
All changes listed after this point were applied to this package following the monorepo conversion.
4953

50-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
54+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
55+
[3.1.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5156
[3.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5257
[3.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5358
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/address-book-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/address-book-controller",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "Manages a list of recipient addresses associated with nicknames",
55
"keywords": [
66
"MetaMask",
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@metamask/base-controller": "^3.2.1",
32-
"@metamask/controller-utils": "^4.3.2",
32+
"@metamask/controller-utils": "^5.0.0",
3333
"@metamask/utils": "^6.2.0"
3434
},
3535
"devDependencies": {

packages/assets-controllers/CHANGELOG.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [13.0.0]
10+
### Changed
11+
- **BREAKING**: `TokensController` now expects `getNetworkClientById` in constructor options ([#1676](https://github.com/MetaMask/core/pull/1676))
12+
- **BREAKING**: `TokensController.addToken` now accepts a single options object ([#1676](https://github.com/MetaMask/core/pull/1676))
13+
```
14+
{
15+
address: string;
16+
symbol: string;
17+
decimals: number;
18+
name?: string;
19+
image?: string;
20+
interactingAddress?: string;
21+
networkClientId?: NetworkClientId;
22+
}
23+
```
24+
- **BREAKING**: Bump peer dependency on `@metamask/network-controller` to ^13.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633))
25+
- **CHANGED**: `TokensController.addToken` will use the chain ID value derived from state for `networkClientId` if provided ([#1676](https://github.com/MetaMask/core/pull/1676))
26+
- **CHANGED**: `TokensController.addTokens` now accepts an optional `networkClientId` as the last parameter ([#1676](https://github.com/MetaMask/core/pull/1676))
27+
- **CHANGED**: `TokensController.addTokens` will use the chain ID value derived from state for `networkClientId` if provided ([#1676](https://github.com/MetaMask/core/pull/1676))
28+
- **CHANGED**: `TokensController.watchAsset` options now accepts optional `networkClientId` which is used to get the ERC-20 token name if provided ([#1676](https://github.com/MetaMask/core/pull/1676))
29+
- Bump dependency on `@metamask/controller-utils` to ^5.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633))
30+
- Bump dependency on `@metamask/preferences-controller` to ^4.4.1 ([#1676](https://github.com/MetaMask/core/pull/1676))
31+
932
## [12.0.0]
1033
### Added
1134
- Add `AssetsContractController` methods `getProvider`, `getChainId`, `getERC721Standard`, and `getERC1155Standard` ([#1638](https://github.com/MetaMask/core/pull/1638))
@@ -78,7 +101,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
78101
- The `getERC20TokenName` method is used to get the token name for tokens added via `wallet_watchAsset`
79102
- The `onTokenListStateChange` method is used to trigger a name update when the token list changes. On each change, token names are copied from the token list if they're missing from token controller state.
80103
- **BREAKING:** The signature of the tokens controller method `addToken` has changed
81-
- The fourth and fifth positional parameters (`image` and `interactingAddress`) have been replaced by an `options` object
104+
- The fourth and fifth positional parameters (`image` and `interactingAddress`) have been replaced by an `options` object
82105
- The new options parameter includes the `image` and `interactingAddress` properties, and a new `name` property
83106
- The token detection controller now sets the token name when new tokens are detected ([#1127](https://github.com/MetaMask/core/pull/1127))
84107
- The `Token` type now includes an optional `name` field ([#1127](https://github.com/MetaMask/core/pull/1127))
@@ -157,7 +180,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
157180
- **BREAKING:** Remove the `networkType` configuration option from the NFT detection controller, NFT controller, and tokens controller ([#1360](https://github.com/MetaMask/core/pull/1360), [#1359](https://github.com/MetaMask/core/pull/1359))
158181
- **BREAKING:** Remove the `SuggestedAssetMeta` and `SuggestedAssetMetaBase` types from the token controller ([#1268](https://github.com/MetaMask/core/pull/1268))
159182
- **BREAKING:** Remove the `acceptWatchAsset` and `rejectWatchAsset` methods from the token controller ([#1268](https://github.com/MetaMask/core/pull/1268))
160-
- Suggested assets can be accepted or rejected using the approval controller instead
183+
- Suggested assets can be accepted or rejected using the approval controller instead
161184

162185
## [7.0.0]
163186
### Changed
@@ -248,7 +271,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
248271
### Changed
249272
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
250273

251-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
274+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
275+
[13.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
252276
[12.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
253277
[11.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
254278
[11.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/assets-controllers/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/assets-controllers",
3-
"version": "12.0.0",
3+
"version": "13.0.0",
44
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
55
"keywords": [
66
"MetaMask",
@@ -36,11 +36,11 @@
3636
"@metamask/approval-controller": "^3.5.1",
3737
"@metamask/base-controller": "^3.2.1",
3838
"@metamask/contract-metadata": "^2.3.1",
39-
"@metamask/controller-utils": "^4.3.2",
39+
"@metamask/controller-utils": "^5.0.0",
4040
"@metamask/eth-query": "^3.0.1",
4141
"@metamask/metamask-eth-abis": "3.0.0",
42-
"@metamask/network-controller": "^12.2.0",
43-
"@metamask/preferences-controller": "^4.4.0",
42+
"@metamask/network-controller": "^13.0.0",
43+
"@metamask/preferences-controller": "^4.4.1",
4444
"@metamask/rpc-errors": "^5.1.1",
4545
"@metamask/utils": "^6.2.0",
4646
"@types/uuid": "^8.3.0",
@@ -69,8 +69,8 @@
6969
},
7070
"peerDependencies": {
7171
"@metamask/approval-controller": "^3.5.1",
72-
"@metamask/network-controller": "^12.2.0",
73-
"@metamask/preferences-controller": "^4.4.0"
72+
"@metamask/network-controller": "^13.0.0",
73+
"@metamask/preferences-controller": "^4.4.1"
7474
},
7575
"engines": {
7676
"node": ">=16.0.0"

packages/controller-utils/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [5.0.0]
10+
### Changed
11+
- **BREAKING**: Rename `NETWORK_ID_TO_ETHERS_NETWORK_NAME_MAP` to `CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP` ([#1633](https://github.com/MetaMask/core/pull/1633))
12+
- Change it to a map of `Hex` chain ID to `BuiltInNetworkName`
13+
14+
### Removed
15+
- **BREAKING**: Remove `NetworkId` constant and type ([#1633](https://github.com/MetaMask/core/pull/1633))
16+
917
## [4.3.2]
1018
### Changed
1119
- There are no consumer-facing changes to this package. This version is a part of a synchronized release across all packages in our monorepo.
@@ -147,7 +155,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
147155

148156
All changes listed after this point were applied to this package following the monorepo conversion.
149157

150-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
158+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
159+
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
151160
[4.3.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
152161
[4.3.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
153162
[4.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/controller-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/controller-utils",
3-
"version": "4.3.2",
3+
"version": "5.0.0",
44
"description": "Data and convenience functions shared by multiple packages",
55
"keywords": [
66
"MetaMask",

packages/ens-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [5.0.0]
10+
### Changed
11+
- **BREAKING**: Bump peer dependency on `@metamask/network-controller` to ^13.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633))
12+
- Use `providerConfig.chainId` instead of `providerConfig.networkId` to determine ENS compatability ([#1633](https://github.com/MetaMask/core/pull/1633))
13+
- Bump dependency on `@metamask/controller-utils` to ^5.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633))
14+
915
## [4.1.1]
1016
### Changed
1117
- Bump dependency on `@metamask/base-controller` to ^3.2.1
@@ -60,7 +66,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6066

6167
All changes listed after this point were applied to this package following the monorepo conversion.
6268

63-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
69+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
70+
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6471
[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6572
[4.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6673
[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

0 commit comments

Comments
 (0)