Release/5.0.0 - #119
Conversation
This comment has been minimized.
This comment has been minimized.
Add .worktrees/ to .gitignore to prevent local worktrees from being tracked.
c0caaf4 to
9d1ee2b
Compare
Removed uncategorized section and refactored changelog entries for clarity.
f54b34d to
3b4d6fc
Compare
|
✅ No changelog changes needed. |
dd9e3b6 to
42fc036
Compare
42fc036 to
383696d
Compare
…t in networkService (#119) ## 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? --> ## 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 --> ## 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 communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] I've introduced [breaking changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md) in this PR and have prepared draft pull requests for clients and consumer packages to resolve them
Update snap.manifest.json version and shasum fields for all three wallet snaps to match the bumped package versions. Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
|
@metamaskbot publish-preview |
|
Preview builds have been published. Learn how to use preview builds in other projects. Expand for full list of packages and versions. |
| ### Added | ||
|
|
||
| - **BREAKING** Implement Keyring API v2 (`KeyringSnapRpc` interface): rename `listAccounts` → `getAccounts`, `listAccountAssets` → `getAccountAssets`, `listAccountTransactions` → `getAccountTransactions`; `getAccount` now throws instead of returning `undefined`; add `exportAccount` with hexadecimal private key export using `sensitive()` for redaction; remove v1-only methods `createAccount`, `discoverAccounts`, `filterAccountChains`, and `updateAccount`. ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) | ||
| - Add `bip44:discover` support to `createAccounts`: checks on-chain activity across all Tron networks before persisting; returns `[]` if no activity to signal end-of-discovery to the client. ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) |
There was a problem hiding this comment.
Is there a particular reason why this line has been removed ?
There was a problem hiding this comment.
Yeah, we felt these changes were all part of the implementation of Keyring v2 so even though they had multiple PRs, for whoever is installing this package, all of it will happen at the same time under one big implementation
|
Tested Solana preview build with the extension. accounts addresses - ok |
| - **BREAKING** Implement Keyring API v2 (`KeyringSnapRpc` interface): rename `listAccounts` → `getAccounts`, `listAccountAssets` → `getAccountAssets`, `listAccountTransactions` → `getAccountTransactions`; `getAccount` now throws instead of returning `undefined`; add `exportAccount` with hexadecimal private key export using `sensitive()` for redaction; remove v1-only methods `createAccount`, `discoverAccounts`, `filterAccountChains`, and `updateAccount`. ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) | ||
| - Add `bip44:discover` support to `createAccounts`: checks on-chain activity across all Tron networks before persisting; returns `[]` if no activity to signal end-of-discovery to the client. ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) | ||
| - Add `endowment:keyring` capabilities to manifest declaring the `tron:728126428` scope, hexadecimal private key export, and BIP-44 derivation strategies. ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) | ||
| - **BREAKING** Implement Keyring API v2 (`KeyringSnapRpc` interface) ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) |
There was a problem hiding this comment.
The fixes should also be mentionned here IMO:
| - **BREAKING** Implement Keyring API v2 (`KeyringSnapRpc` interface) ([#56](https://github.com/MetaMask/internal-snaps/pull/56)) | |
| - **BREAKING** Implement Keyring API v2 (`KeyringSnapRpc` interface) ([#56](https://github.com/MetaMask/internal-snaps/pull/56), [#101](https://github.com/MetaMask/internal-snaps/pull/101), [#105](https://github.com/MetaMask/internal-snaps/pull/105)) |
There was a problem hiding this comment.
Nit: but I feel like this should not be committed alongside a release 😅
|
@cursoragent implement ccharly's comments |
|
Implemented both of ccharly's review comments in commit
CI is green on the updated commit. The |
- Add PR references for Keyring API v2 fixes to tron changelog - Remove .worktrees/ gitignore entry (to land in a separate PR) Co-authored-by: Ulisses Ferreira <ulisses@hey.com>


Explanation
This release publishes accumulated changes across the three first-party wallet snaps since their last releases.
Monorepo
4.0.0→5.0.0@metamask/bitcoin-wallet-snap2.0.0→2.0.1@metamask/solana-wallet-snap4.0.0→5.0.0@metamask/tron-wallet-snap2.0.0→3.0.0@metamask/bitcoin-wallet-snap@2.0.1onKeyringRequestresponses to returnJsondirectly (Keyring API v2 protocol) instead of the v1{ pending: false, result }envelope (#100)@metamask/solana-wallet-snap@5.0.0@metamask/tron-wallet-snap@3.0.0KeyringSnapRpcinterface): renamelistAccounts→getAccounts,listAccountAssets→getAccountAssets,listAccountTransactions→getAccountTransactions;getAccountnow throws instead of returningundefined; addexportAccountwith hexadecimal private key export; remove v1-only methods (#56)bip44:discoversupport and keyring manifest capabilities (#56)bip44:discoverfailing due to bidirectionalNetworkenum compilation (#101)submitRequestreturning a v1KeyringResponseenvelope instead of rawJson(#105)WitnessCreateContractaccount-upgrade burn on confirmation (#73)This PR also adds
.worktrees/to.gitignoreto prevent local git worktrees from being accidentally committed.References
yarn create-release-branch -iChecklist