fix(ramps-controller): drop unused headless minimumVersion helper - #9668
Merged
saustrie-consensys merged 2 commits intoJul 27, 2026
Conversation
2 tasks
saustrie-consensys
marked this pull request as ready for review
July 27, 2026 19:52
saustrie-consensys
temporarily deployed
to
default-branch
July 27, 2026 19:52 — with
GitHub Actions
Inactive
saustrie-consensys
enabled auto-merge
July 27, 2026 20:03
amitabh94
approved these changes
Jul 27, 2026
pull Bot
pushed a commit
to dmrazzy/core
that referenced
this pull request
Jul 27, 2026
## Explanation This release bumps: - `@metamask/ramps-controller` 17.2.0 to **18.0.0** (major) - removes `getHeadlessAllProvidersMinimumVersion`, which was made redundant when version gating was moved to the LaunchDarkly `versions` wrapper owned by `RemoteFeatureFlagController`. See MetaMask#9668 for context. - `@metamask/transaction-pay-controller` 26.0.0 to **26.0.1** (patch) - updates its `ramps-controller` dep to `^18.0.0` and picks up two previously unreleased dep bumps (ramps-controller and assets-controller). ## References * Related to MetaMask#9668 ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] 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) - [x] 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 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > The ramps-controller major drops a public helper; any client still calling `getHeadlessAllProvidersMinimumVersion` must migrate to RemoteFeatureFlagController version gating before upgrading. > > **Overview** > **Release 1150.0.0** publishes version bumps for `@metamask/ramps-controller` and `@metamask/transaction-pay-controller`, plus matching root and lockfile updates. > > `@metamask/ramps-controller` moves to **18.0.0** with a **breaking** removal of `getHeadlessAllProvidersMinimumVersion`; minimum app version for `moneyHeadlessAllProviders` is expected to come from LaunchDarkly’s `versions` wrapper via `RemoteFeatureFlagController` instead of a flag payload field. `@metamask/transaction-pay-controller` is patched to **26.0.1**, raising its `ramps-controller` dependency to `^18.0.0` and recording dependency bumps (including `assets-controller`). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 2296213. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
Removes
getHeadlessAllProvidersMinimumVersionfrom@metamask/ramps-controller. App-version gating formoneyHeadlessAllProvidersis owned by the LaunchDarklyversionswrapper (processed byRemoteFeatureFlagController), not a payloadminimumVersionfield.featureVersionfail-closed enablement andproviderIdsallowlisting are unchanged.Supersedes #9658 (fork PR with CI issues). Changes are identical; this PR is from the org repo so the merge-queue CI can resolve the branch correctly.
References
moneyHeadlessAllProviderspayload carrying provider allowlists #9524Checklist
Note
Medium Risk
Breaking public API removal; consumers importing the helper must update, though runtime headless enablement and allowlisting behavior in this package is unchanged.
Overview
Breaking: Drops the exported
getHeadlessAllProvidersMinimumVersionhelper from@metamask/ramps-controller(implementation, package export, and unit tests). The unreleased changelog records that app-version gating formoneyHeadlessAllProvidersis expected to come from the LaunchDarklyversionswrapper handled byRemoteFeatureFlagController, not from aminimumVersionfield on the flag object payload.isHeadlessAllProvidersEnabled,getHeadlessProviderAllowlist, andfeatureVersionfail-closed behavior are unchanged.Reviewed by Cursor Bugbot for commit aa04b15. Bugbot is set up for automated code reviews on this repo. Configure here.