Skip to content

Release 906.0.0#8425

Merged
aganglada merged 5 commits intomainfrom
release/906.0.0
Apr 10, 2026
Merged

Release 906.0.0#8425
aganglada merged 5 commits intomainfrom
release/906.0.0

Conversation

@aganglada
Copy link
Copy Markdown
Contributor

@aganglada aganglada commented Apr 10, 2026

Explanation

Release 906.0.0 bumps @metamask/perps-controller from 2.0.0 to 2.1.0.

Changes included

@metamask/perps-controller v2.1.0

  • Extract generate-action-types CLI into @metamask/messenger-cli (#8378)
  • Add generate-action-types CLI tool as subpath export to messenger (#8264)

References

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
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Medium Risk
Primarily version/changelog bookkeeping, but it publishes @metamask/perps-controller as a new major (2.0.0 -> 3.0.0), which can introduce breaking changes for consumers depending on updated exports/APIs.

Overview
Bumps the monorepo release version to 906.0.0 and publishes @metamask/perps-controller 3.0.0 (from 2.0.0).

Updates the perps-controller changelog to add the 3.0.0 release section and adjust compare links accordingly.

Reviewed by Cursor Bugbot for commit 50d9a27. Bugbot is set up for automated code reviews on this repo. Configure here.

@aganglada aganglada marked this pull request as ready for review April 10, 2026 16:03
@aganglada aganglada requested review from a team as code owners April 10, 2026 16:03
- Corresponding action types are available as well.
- Refactor pending withdraw/deposit tracking to FIFO queue design ([#8333](https://github.com/MetaMask/core/pull/8333))
- Add `completeWithdrawalFromHistory` method for FIFO-based withdrawal completion matching ([#8333](https://github.com/MetaMask/core/pull/8333))
- Add `lastCompletedWithdrawalTimestamp` and `lastCompletedWithdrawalTxHashes` state fields ([#8333](https://github.com/MetaMask/core/pull/8333))
Copy link
Copy Markdown
Contributor

@mcmire mcmire Apr 10, 2026

Choose a reason for hiding this comment

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

Will this require a migration on the client side? If so it should be marked as a breaking change and the package should be bumped by a major.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is adding state right? Shouldn't require a migration?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see that you have defaults defined for these properties, so no, no migration should be needed on the client side.

However, sometimes adding state properties causes type errors in the clients, particularly as it relates to the :stateChange event and the messenger type. We may have more guidance on this in future but I would be a bit cautious about this and double-check that this won't cause any type errors when you upgrade to this version on the client side. If you think this is okay then you are free to merge.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh, I see there were other breaking changes in this release anyway. I must have missed those. If this ends up being breaking then it is already partially covered by the major bump anyway, so not as big of a deal anymore.

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 50d9a27. Configure here.

### Changed

- Refactor pending withdraw/deposit tracking to FIFO queue design ([#8333](https://github.com/MetaMask/core/pull/8333))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stray blank line breaks Changed section list continuity

Low Severity

Moving the "Refactor pending withdraw/deposit tracking to FIFO queue design" entry from the Added section to the Changed section introduced a stray blank line (line 72) between that entry and the next one. This splits the ### Changed markdown list into two separate lists, which is inconsistent with every other section in the changelog (e.g., ### Added, ### Fixed, ### Removed all have contiguous list items). This may also cause @metamask/auto-changelog validation to fail.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 50d9a27. Configure here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be ideal to remove the blank line from a formatting perspective, but shouldn't break auto-changelog.

@aganglada aganglada requested a review from mcmire April 10, 2026 17:02

- **BREAKING:** Remove `adaptMarketFromMYX`, `adaptPriceFromMYX`, `adaptMarketDataFromMYX`, `filterMYXExclusiveMarkets`, `isOverlappingMarket`, `buildPoolSymbolMap`, `buildSymbolPoolsMap`, and `extractSymbolFromPoolId` from the public package exports to prevent `@myx-trade/sdk` from being included in the static webpack bundle ([#8398](https://github.com/MetaMask/core/pull/8398))
- These functions are still used internally by `MYXProvider`, which is loaded via dynamic import
- Consumers that imported these utilities directly should instead import from `@metamask/perps-controller/src/utils/myxAdapter` or duplicate the logic locally
Copy link
Copy Markdown
Contributor

@mcmire mcmire Apr 10, 2026

Choose a reason for hiding this comment

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

Heads up that this probably won't work. Arbitrary subpath exports aren't supported in core packages. You would need to add explicit exports to package.json. Is this going to be a problem? Just want to double-check.

Copy link
Copy Markdown
Contributor Author

@aganglada aganglada Apr 10, 2026

Choose a reason for hiding this comment

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

MYX is temporal for now, so no issues here. But good to know it wont work

@mcmire mcmire changed the title Update Release 906.0.0 Release 906.0.0 Apr 10, 2026
Copy link
Copy Markdown
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.

One more comment but this looks good to go otherwise.

Copy link
Copy Markdown
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!

@aganglada aganglada added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 40b4bb3 Apr 10, 2026
341 checks passed
@aganglada aganglada deleted the release/906.0.0 branch April 10, 2026 17:14
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.

2 participants