Skip to content

chore: mark cancelled-STX failure change as breaking#9420

Merged
cloudonshore merged 1 commit into
mainfrom
chore/stx-failtransaction-breaking-changelog
Jul 7, 2026
Merged

chore: mark cancelled-STX failure change as breaking#9420
cloudonshore merged 1 commit into
mainfrom
chore/stx-failtransaction-breaking-changelog

Conversation

@cloudonshore

@cloudonshore cloudonshore commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Explanation

Follow-up to #9400 (already merged). That PR changed the smart-transactions-controller messenger requirement from TransactionController:updateTransaction to TransactionController:failTransaction. Adding/removing a required allowed action is a breaking change for consumers — they must delegate the new action to the controller messenger on the client side (extension/mobile) or they get a type error.

The changelog entry was filed under ### Fixed, which would have the package cut as a patch release and silently break consumers on upgrade. This recategorizes it under ### Changed with a **BREAKING:** marker so the next release is correctly a major version bump (24.2.425.0.0), consistent with how allowed-action changes are documented elsewhere in the monorepo (e.g. AssetsControllerMessenger now requires ... in assets-controller, NftController allowed actions in assets-controllers).

No code changes — changelog only.

References

Changelog

@metamask/smart-transactions-controller

Checklist

  • I've updated the test suite for new or updated code as appropriate (N/A — changelog only)
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate (changelog)
  • I've highlighted breaking changes using the 'BREAKING' category above as appropriate

Note

Low Risk
Documentation-only changelog edit with no code, tests, or runtime behavior changes.

Overview
Updates @metamask/smart-transactions-controller Unreleased changelog only: the #9400 note about using TransactionController:failTransaction instead of TransactionController:updateTransaction when a smart transaction is cancelled moves from ### Fixed to ### Changed and is labeled BREAKING:, with explicit guidance that consumers must delegate the new allowed action.

The separate ### Fixed section is removed and the @metamask/messenger bump stays under ### Changed. No runtime or API code changes in this PR—only semver/documentation so the next release is treated as major for the messenger requirement change from #9400.

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

The #9400 change swaps the smart transactions controller's messenger
requirement from TransactionController:updateTransaction to
TransactionController:failTransaction. Adding/removing a required allowed
action is a breaking change for consumers (they must delegate the new
action to the controller messenger), so recategorize the entry from Fixed
to Changed with a BREAKING marker. This ensures the package is released as
a major version bump.
@cloudonshore cloudonshore requested review from a team as code owners July 7, 2026 20:55
@cloudonshore cloudonshore added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit 9047286 Jul 7, 2026
421 checks passed
@cloudonshore cloudonshore deleted the chore/stx-failtransaction-breaking-changelog branch July 7, 2026 21:04
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