Skip to content

Release/1368.0.0 - #11143

Merged
OGPoyraz merged 4 commits into
mainfrom
release/1368.0.0
Oct 27, 2026
Merged

OGPoyraz merged 4 commits into
mainfrom
release/1368.0.0

Conversation

@OGPoyraz

@OGPoyraz OGPoyraz commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Explanation

Release 1368.0.0 with a major version bump for:

  • @metamask/transaction-pay-middleware 1.0.0 → 2.0.0

@metamask/transaction-pay-middleware@2.0.0

Breaking: wallet_pay now selects the requested account before adding the transaction, once the request has passed every check (#11109)

  • The messenger must now allow AccountsController:getAccountByAddress, AccountsController:getSelectedAccount and AccountTreeController:setSelectedAccountGroupByAccountId.
  • A request whose from is not a known account is rejected with 4100.

Other changes:

  • Add support for Node.js 26 (#10981)
  • Accept a zero amount for perpsWithdraw, which opens the confirmation without a prefilled amount; adds optional allowZeroAmount to WalletPayFlow (#11114)
  • Add dependencies @metamask/accounts-controller (^40.1.0) and @metamask/account-tree-controller (^11.2.0) (#11109)
  • Bump @metamask/perps-controller from ^21.0.0 to ^22.0.0 (#11029)
  • Bump @metamask/utils from ^12.0.0 to ^12.0.1 (#11107)

Dependency updates

No packages in the monorepo depend on @metamask/transaction-pay-middleware, so there are no downstream range updates. All upstream dependencies are already at their released versions and were marked intentionally-skip.

References

  • #11109 — select the requested account for wallet_pay
  • #11114 — accept a zero amount for perpsWithdraw

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

Low Risk
Version and changelog edits only; no application code changes in this diff.

Overview
Cuts monorepo release 1368.0.0 and publishes @metamask/transaction-pay-middleware@2.0.0 by bumping root and package versions and moving unreleased changelog entries into a [2.0.0] section with updated compare links.

The documented 2.0.0 behavior (already merged elsewhere) includes a breaking change: wallet_pay selects the from account before enqueueing the transaction, with new messenger actions and 4100 for unknown accounts; plus Node 26 support, optional zero amount for perpsWithdraw via allowZeroAmount, and dependency bumps. No other monorepo packages declare a dependency on this middleware, so this PR does not update downstream version ranges.

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

@OGPoyraz
OGPoyraz requested review from a team as code owners October 27, 2026 19:36
@OGPoyraz
OGPoyraz enabled auto-merge October 27, 2026 19:39
@metamask-ci

metamask-ci Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

✅ No changelog changes needed.

@OGPoyraz
OGPoyraz added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 1a343d2 Oct 27, 2026
46 checks passed
@OGPoyraz
OGPoyraz deleted the release/1368.0.0 branch October 27, 2026 19:49
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