Skip to content

Commit 3566113

Browse files
dawnseeker8cursoragentccharly
authored
release: 117.0.0 (#587)
<!-- 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 issues or other links reviewers should consult to understand this pull request better? For instance: * Fixes #12345 * See: #67890 --> This pull request updates several MetaMask packages, primarily to bump versions and align dependencies, especially around the `@metamask/hw-wallet-sdk` package. It also includes changelog updates and minor fixes to changelog formatting and references. **Version and Dependency Updates:** * Bumped `@metamask/hw-wallet-sdk` to version `0.10.0` and updated its dependency in both `@metamask/eth-ledger-bridge-keyring` and `@metamask/eth-trezor-keyring` to `^0.10.0`. [[1]](diffhunk://#diff-520f49b2a096a5d5dc9ea60b166b9aa629e2348ef06845d40bb9f70579698e60L3-R3) [[2]](diffhunk://#diff-422d092f31b0cec71e2c5a44c22c79044df06edf685834dce0c54c743a7c71f2L80-R80) [[3]](diffhunk://#diff-b4a8bf42be4c31658b0943ac7879f00006784fcb714b601f7714dc7d82964194L74-R74) * Updated the root monorepo version to `117.0.0` in `package.json`. * Updated `@metamask/eth-ledger-bridge-keyring` to `12.3.0` and `@metamask/eth-trezor-keyring` to `10.2.0`. [[1]](diffhunk://#diff-422d092f31b0cec71e2c5a44c22c79044df06edf685834dce0c54c743a7c71f2L3-R3) [[2]](diffhunk://#diff-b4a8bf42be4c31658b0943ac7879f00006784fcb714b601f7714dc7d82964194L3-R3) **Changelog and Documentation Improvements:** * Added release notes for `@metamask/hw-wallet-sdk@0.10.0`, including build/tooling improvements and new features, and updated changelog comparison links. [[1]](diffhunk://#diff-e3f3e066ec821ff37bdf34094ed1f48984e95252f728d5e10c3079f5068338e6R10-R17) [[2]](diffhunk://#diff-e3f3e066ec821ff37bdf34094ed1f48984e95252f728d5e10c3079f5068338e6L77-R86) * Added release notes for `@metamask/eth-ledger-bridge-keyring@12.3.0` and `@metamask/eth-trezor-keyring@10.2.0` and fixed changelog PR grouping and references. [[1]](diffhunk://#diff-97c3a763508b9100094cdf0804f0027905a42fd645aef5c62d51dbdb5588d4aaR10-R11) [[2]](diffhunk://#diff-97c3a763508b9100094cdf0804f0027905a42fd645aef5c62d51dbdb5588d4aaL140-R142) [[3]](diffhunk://#diff-97c3a763508b9100094cdf0804f0027905a42fd645aef5c62d51dbdb5588d4aaL358-R360) [[4]](diffhunk://#diff-97c3a763508b9100094cdf0804f0027905a42fd645aef5c62d51dbdb5588d4aaL471-R474) [[5]](diffhunk://#diff-a117eb87f1e05edfd53820704ccd9edcf18d7d96b7c017bc0ee4d4402ef57c05R10-R15) [[6]](diffhunk://#diff-a117eb87f1e05edfd53820704ccd9edcf18d7d96b7c017bc0ee4d4402ef57c05L299-R306) <!-- Are there any examples of this change being used in another repository? When considering changes to the MetaMask module template, it's strongly preferred that the change be experimented with in another repository first. This gives reviewers a better sense of how the change works, making it less likely the change will need to be reverted or adjusted later. --> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Breaking `@metamask/eth-snap-keyring@23.0.0` inheritance change affects snap integrators; bundled hardware-wallet error and typed-data behavior changes touch signing flows but this PR is primarily version/changelog alignment. > > **Overview** > **Monorepo release 117.0.0** — bumps the root version and publishes coordinated package releases with dependency alignment across workspaces (mostly `package.json`, `CHANGELOG.md`, and `yarn.lock`). > > **`@metamask/keyring-api@23.5.0`** is rolled out and referenced as `^23.5.0` from account and ETH keyring packages. Release notes document **`resolveAccountAddress`** on v2 `KeyringSnapRpc` plus a **`@metamask/superstruct`** bump. > > **Snap stack:** `@metamask/keyring-snap-client` and `@metamask/keyring-snap-sdk` go to **9.2.0** (client/SDK wiring for `resolveAccountAddress`); `@metamask/keyring-internal-snap-client` to **10.0.5**. **`@metamask/eth-snap-keyring@23.0.0`** is called out as **breaking**: v2 `SnapKeyring` no longer extends `SnapKeyringV1` — consumers use the **`.v1`** getter instead. > > **Hardware wallets:** `@metamask/hw-wallet-sdk@0.10.0` is adopted by Ledger (**12.3.0**) and Trezor (**10.1.1**) keyrings. Changelogs note Ledger **non-V4 `signTypedData`** → `DeviceStateOnlyV4Supported` and Trezor user cancel/reject mapped to **`UserCancelled`/`UserRejected`** via the SDK. > > Several other packages only bump **`@metamask/keyring-api`** to `^23.5.0` in `[Unreleased]` changelog lines without their own version bumps in this diff. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 948aeae. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Charly Chevalier <charlyy.chevalier@gmail.com> Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
1 parent 3619298 commit 3566113

32 files changed

Lines changed: 110 additions & 68 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-monorepo",
3-
"version": "116.0.0",
3+
"version": "117.0.0",
44
"private": true,
55
"description": "Monorepo for MetaMask accounts related packages",
66
"repository": {

packages/account-api/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Bump `@metamask/keyring-utils` from `^3.2.0` to `^3.3.1` ([#544](https://github.com/MetaMask/accounts/pull/544), [#546](https://github.com/MetaMask/accounts/pull/546))
13-
- Bump `@metamask/keyring-api` from `^23.1.0` to `^23.4.0` ([#562](https://github.com/MetaMask/accounts/pull/562), [#569](https://github.com/MetaMask/accounts/pull/569), [#583](https://github.com/MetaMask/accounts/pull/583))
13+
- Bump `@metamask/keyring-api` from `^23.1.0` to `^23.5.0` ([#562](https://github.com/MetaMask/accounts/pull/562), [#569](https://github.com/MetaMask/accounts/pull/569), [#583](https://github.com/MetaMask/accounts/pull/583), [#587](https://github.com/MetaMask/accounts/pull/587))
1414

1515
## [1.0.4]
1616

packages/account-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
6767
},
6868
"dependencies": {
69-
"@metamask/keyring-api": "^23.4.0",
69+
"@metamask/keyring-api": "^23.5.0",
7070
"@metamask/keyring-utils": "^3.3.1",
7171
"uuid": "^9.0.1"
7272
},

packages/hw-wallet-sdk/CHANGELOG.md

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

88
## [Unreleased]
99

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

1214
- Add `KEYRING_ERROR_MAPPINGS` with `DeviceStateOnlyV4Supported` for keyring-level typed data version validation ([#575](https://github.com/MetaMask/accounts/pull/575))
@@ -74,7 +76,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7476
- Add hardware related error mappings and custom hardware error ([#421](https://github.com/MetaMask/accounts/pull/421))
7577
- Add BLE and mobile error mappings with new error codes for Bluetooth permissions, connection states, and mobile support ([#433](https://github.com/MetaMask/accounts/pull/433))
7678

77-
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.8.0...HEAD
79+
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.10.0...HEAD
80+
[0.10.0]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.8.0...@metamask/hw-wallet-sdk@0.10.0
7881
[0.8.0]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.7.0...@metamask/hw-wallet-sdk@0.8.0
7982
[0.7.0]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.6.0...@metamask/hw-wallet-sdk@0.7.0
8083
[0.6.0]: https://github.com/MetaMask/accounts/compare/@metamask/hw-wallet-sdk@0.5.0...@metamask/hw-wallet-sdk@0.6.0

packages/hw-wallet-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/hw-wallet-sdk",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"description": "MetaMask Hardware Device SDK",
55
"keywords": [
66
"hardware-wallet",

packages/keyring-api/CHANGELOG.md

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

88
## [Unreleased]
99

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

1214
- Add `resolveAccountAddress` to `KeyringSnapRpc` (v2) ([#585](https://github.com/MetaMask/accounts/pull/585))
1315
- Add `snap.resolveAccountAddress` boolean flag to `KeyringCapabilities` to declare support for this method.
1416

17+
### Changed
18+
19+
- Bump `@metamask/superstruct` from `^3.1.0` to `^3.3.0` ([#580](https://github.com/MetaMask/accounts/pull/580))
20+
1521
## [23.4.0]
1622

1723
### Added
@@ -786,7 +792,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
786792
- SnapController keyring client. It is intended to be used by MetaMask to talk to the snap.
787793
- Helper functions to create keyring handler in the snap.
788794

789-
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.4.0...HEAD
795+
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.5.0...HEAD
796+
[23.5.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.4.0...@metamask/keyring-api@23.5.0
790797
[23.4.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.3.0...@metamask/keyring-api@23.4.0
791798
[23.3.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.2.0...@metamask/keyring-api@23.3.0
792799
[23.2.0]: https://github.com/MetaMask/accounts/compare/@metamask/keyring-api@23.1.0...@metamask/keyring-api@23.2.0

packages/keyring-api/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-api",
3-
"version": "23.4.0",
3+
"version": "23.5.0",
44
"description": "MetaMask Keyring API",
55
"keywords": [
66
"keyring",

packages/keyring-eth-hd/CHANGELOG.md

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

1212
- Bump `@metamask/keyring-sdk` from `^2.0.2` to `^2.2.0` ([#544](https://github.com/MetaMask/accounts/pull/544), [#546](https://github.com/MetaMask/accounts/pull/546), [#562](https://github.com/MetaMask/accounts/pull/562))
1313
- Bump `@metamask/keyring-utils` from `^3.2.0` to `^3.3.1` ([#544](https://github.com/MetaMask/accounts/pull/544), [#546](https://github.com/MetaMask/accounts/pull/546))
14-
- Bump `@metamask/keyring-api` from `^23.1.0` to `^23.4.0` ([#562](https://github.com/MetaMask/accounts/pull/562), [#569](https://github.com/MetaMask/accounts/pull/569), [#583](https://github.com/MetaMask/accounts/pull/583))
14+
- Bump `@metamask/keyring-api` from `^23.1.0` to `^23.5.0` ([#562](https://github.com/MetaMask/accounts/pull/562), [#569](https://github.com/MetaMask/accounts/pull/569), [#583](https://github.com/MetaMask/accounts/pull/583), [#587](https://github.com/MetaMask/accounts/pull/587))
1515

1616
## [14.1.1]
1717

packages/keyring-eth-hd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@ethereumjs/util": "^9.1.0",
7171
"@metamask/eth-sig-util": "^8.2.0",
7272
"@metamask/key-tree": "^10.0.2",
73-
"@metamask/keyring-api": "^23.4.0",
73+
"@metamask/keyring-api": "^23.5.0",
7474
"@metamask/keyring-sdk": "^2.2.0",
7575
"@metamask/keyring-utils": "^3.3.1",
7676
"@metamask/scure-bip39": "^2.1.1",

packages/keyring-eth-ledger-bridge/CHANGELOG.md

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

88
## [Unreleased]
99

10-
### Changed
11-
12-
- Bump `@metamask/hw-wallet-sdk` from `^0.8.0` to `^0.9.0` ([#576](https://github.com/MetaMask/accounts/pull/576))
13-
- Bump `@metamask/keyring-api` from `^23.3.0` to `^23.4.0` ([#583](https://github.com/MetaMask/accounts/pull/583))
10+
## [12.3.0]
1411

15-
### Fixed
12+
### Changed
1613

1714
- Throw `HardwareWalletError` with `DeviceStateOnlyV4Supported` when `signTypedData` is called with a non-V4 version ([#575](https://github.com/MetaMask/accounts/pull/575))
15+
- Bump `@metamask/hw-wallet-sdk` from `^0.8.0` to `^0.10.0` ([#576](https://github.com/MetaMask/accounts/pull/576), [#587](https://github.com/MetaMask/accounts/pull/587))
16+
- Bump `@metamask/keyring-api` from `^23.3.0` to `^23.5.0` ([#583](https://github.com/MetaMask/accounts/pull/583), [#587](https://github.com/MetaMask/accounts/pull/587))
1817

1918
## [12.2.0]
2019

@@ -468,7 +467,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
468467

469468
- Support new versions of ethereumjs/tx ([#68](https://github.com/MetaMask/eth-ledger-bridge-keyring/pull/68))
470469

471-
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.2.0...HEAD
470+
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.3.0...HEAD
471+
[12.3.0]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.2.0...@metamask/eth-ledger-bridge-keyring@12.3.0
472472
[12.2.0]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.1.0...@metamask/eth-ledger-bridge-keyring@12.2.0
473473
[12.1.0]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.0.3...@metamask/eth-ledger-bridge-keyring@12.1.0
474474
[12.0.3]: https://github.com/MetaMask/accounts/compare/@metamask/eth-ledger-bridge-keyring@12.0.2...@metamask/eth-ledger-bridge-keyring@12.0.3

0 commit comments

Comments
 (0)