Release 1119.0.0#9491
Merged
Merged
Conversation
|
✅ Changelogs updated and pushed. |
amitabh94
approved these changes
Jul 13, 2026
Mrtenz
approved these changes
Jul 13, 2026
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
Releases
@metamask/ramps-controller17.0.0.RampsControllernow reads themoneyHeadlessAllProvidersboolean remote feature flag itself, through theRemoteFeatureFlagController:getStatemessenger action resolved on each auto-selectiongetQuotescall. This replaces thegetProviderScopeconstructor option and the exportedProviderScopetype. Consumers should delegate that action to the controller's messenger; when it is missing, the read fails closed and quoting stays native-only.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 atsuccess[0], enforcing per-provider fiat limits.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).@metamask/remote-feature-flag-controller^4.2.2as a runtime dependency.@metamask/transaction-pay-controlleris 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.0in this PR via yarn constraints, with no version bump; the published range update ships with its next release.References
Checklist
Note
Medium Risk
The published ramps-controller major is breaking for hosts that still pass
getProviderScopeor rely onin-appscope; 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-controller17.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-controlleris updated only as a workspace consumer: dependency range moves to^17.0.0with 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/ProviderScopein favor of themoneyHeadlessAllProvidersremote feature flag viaRemoteFeatureFlagController: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 aremote-feature-flag-controllerruntime dependency.Reviewed by Cursor Bugbot for commit 26ff4f0. Bugbot is set up for automated code reviews on this repo. Configure here.