Skip to content

Release 1119.0.0#9491

Merged
saustrie-consensys merged 3 commits into
mainfrom
release/1119.0.0
Jul 13, 2026
Merged

Release 1119.0.0#9491
saustrie-consensys merged 3 commits into
mainfrom
release/1119.0.0

Conversation

@saustrie-consensys

@saustrie-consensys saustrie-consensys commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Explanation

Releases @metamask/ramps-controller 17.0.0.

  • BREAKING: RampsController now reads the moneyHeadlessAllProviders boolean remote feature flag itself, through the RemoteFeatureFlagController:getState messenger action resolved on each auto-selection getQuotes call. This replaces the getProviderScope constructor option and the exported ProviderScope type. Consumers should delegate that action to the controller's messenger; when it is missing, the read fails closed and quoting stays native-only.
  • When the flag is true, the auto-selection quote path (autoSelectProvider / restrictToKnownOrNativeProviders) widens to every supporting provider class (native, in-app WebView aggregator, and external-browser / custom-action) and returns the best quote at success[0], enforcing per-provider fiat limits.
  • Adds exported pure helpers so consumers resolve gating and classification exactly like the controller: MONEY_HEADLESS_ALL_PROVIDERS_FLAG_KEY / isHeadlessAllProvidersEnabled, provider-availability helpers (providerServesAsset, getProvidersServingAsset, regionHasProviderForAsset, isFiatDepositAvailable), quote-classification helpers (isExternalBrowserQuote, isCustomActionQuote, isInAppOnlyQuote), and error-normalization helpers (getErrorMessage, extractExplicitTypedError, normalizeToTypedError).
  • Adds @metamask/remote-feature-flag-controller ^4.2.2 as a runtime dependency.

@metamask/transaction-pay-controller is intentionally not released here. Everything it consumes from this package (Quote, RampsOrder, RampsOrderStatus) is unchanged since 16.0.0, and its runtime interaction goes through the messenger to the client-instantiated controller. Its workspace dependency range moves to ^17.0.0 in this PR via yarn constraints, with no version bump; the published range update ships with its next release.

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
The published ramps-controller major is breaking for hosts that still pass getProviderScope or rely on in-app scope; this PR only versions and documents that release, with limited direct runtime change in-repo beyond dependency ranges.

Overview
Monorepo release 1119.0.0 cuts @metamask/ramps-controller 17.0.0 (from 16.0.0) and records that release in its changelog. The diff itself is versioning and lockfile alignment, not new controller logic.

@metamask/transaction-pay-controller is updated only as a workspace consumer: dependency range moves to ^17.0.0 with an Unreleased changelog note; its package version stays 24.0.3 (no TPC publish in this PR).

What ships in ramps-controller 17.0.0 (documented in the new changelog section): breaking removal of getProviderScope / ProviderScope in favor of the moneyHeadlessAllProviders remote feature flag via RemoteFeatureFlagController:getState; auto-selection widens to all provider classes when the flag is true; plus exported pure helpers for flag resolution, provider availability, quote classification, and error normalization, and a remote-feature-flag-controller runtime dependency.

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

@metamask-ci

metamask-ci Bot commented Jul 13, 2026

Copy link
Copy Markdown

✅ Changelogs updated and pushed.

@saustrie-consensys saustrie-consensys added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit 60bb56c Jul 13, 2026
421 checks passed
@saustrie-consensys saustrie-consensys deleted the release/1119.0.0 branch July 13, 2026 15:28
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.

3 participants