Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 254.0.0 #4956

Merged
merged 16 commits into from
Nov 21, 2024
Merged

Release 254.0.0 #4956

merged 16 commits into from
Nov 21, 2024

Conversation

ccharly
Copy link
Contributor

@ccharly ccharly commented Nov 21, 2024

Major release for accounts-related packages (mostly due to peer dependency updates).

Mostly to align versions of the keyring-api to enable Solana support in the extension.

Related PR

@ccharly ccharly changed the title Release/254.0.0 Release 254.0.0 Nov 21, 2024
@ccharly ccharly marked this pull request as ready for review November 21, 2024 10:43
@ccharly ccharly requested review from a team as code owners November 21, 2024 10:43
zone-live
zone-live previously approved these changes Nov 21, 2024
gantunesr
gantunesr previously approved these changes Nov 21, 2024
matthewwalsh0
matthewwalsh0 previously approved these changes Nov 21, 2024

### Changed

- Bump `@metamask/keyring-api` from `^8.1.3` to `^10.1.0` ([#4948](https://github.com/MetaMask/core/pull/4948))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@metamask/keyring-api v10 ships with a @metamask/providers (peer dependency) major version update that consumers of this package will have to update to, to avoid things breaking. I think this should be a major release for keyring-controller as well - what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are right yes... I did some digging yesterday about this, and the versions seem ok using yarn why, see:

However, I still think we should have bump the direct dependencies to snaps-* in the keyring-api to "align" the minimum dependency on @metamask/providers...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will re-release all packages and update the changelogs accordingly. I'm on it now.

Copy link
Contributor

@mcmire mcmire Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted in another comment but is this right? The @metamask/providers peer dependency tells me that the thing that depends on @metamask/keyring-api should also depend on @metamask/providers, not the client. Or am I understanding this wrong? See other thread. We can resolve this conversation.

Copy link

socket-security bot commented Nov 21, 2024

packages/accounts-controller/CHANGELOG.md Outdated Show resolved Hide resolved
packages/accounts-controller/CHANGELOG.md Outdated Show resolved Hide resolved
packages/assets-controllers/package.json Show resolved Hide resolved
packages/chain-controller/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Elliot Winkler <[email protected]>
ccharly added a commit that referenced this pull request Nov 21, 2024
…o `^9.7.0` (#4959)

## Explanation

This change was not required, and bumping peer dependency does require
the "consumer" of that packages to potentially update his packages too,
which would result in a breaking change for the `accounts-controller`
here.

## References

- #4956 (comment)

## Changelog

N/A (since we would revert to the state of the last release of the
`accounts-controller` for that specific line).

## 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
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more things but otherwise this looks good.

packages/chain-controller/CHANGELOG.md Outdated Show resolved Hide resolved
packages/keyring-controller/CHANGELOG.md Outdated Show resolved Hide resolved
packages/user-operation-controller/CHANGELOG.md Outdated Show resolved Hide resolved
packages/transaction-controller/package.json Outdated Show resolved Hide resolved
packages/assets-controllers/CHANGELOG.md Show resolved Hide resolved
packages/chain-controller/CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ccharly ccharly merged commit b831256 into main Nov 21, 2024
120 checks passed
@ccharly ccharly deleted the release/254.0.0 branch November 21, 2024 20:43
github-merge-queue bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Nov 22, 2024
…1` (#28545)

## **Description**

Updating the `keyring-api` and Snap keyring alongside other controllers
that depend on those versions too.

Some controllers from [this
release](MetaMask/core#4956) were left out from
this PR mainly because the current major version being used in the
extension is not updated yet.

The current included controllers do have a peer dependency to either the
`keyring-controller` or the `accounts-controller` which is why they are
being included in this PR.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28545?quickstart=1)

## **Related issues**

- MetaMask/core#4956

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

### **Before**

### **After**

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants