Skip to content

Release 1149.0.0#9657

Merged
saustrie-consensys merged 4 commits into
mainfrom
release/1149.0.0
Jul 24, 2026
Merged

Release 1149.0.0#9657
saustrie-consensys merged 4 commits into
mainfrom
release/1149.0.0

Conversation

@saustrie-consensys

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

Copy link
Copy Markdown
Contributor

Explanation

Releases @metamask/ramps-controller@17.2.0 (minor bump).

Changes in this release:

  • Adds getHeadlessProviderAllowlist(remoteFeatureFlagState) helper resolving the provider-id allowlist from the moneyHeadlessAllProviders flag's object payload.
  • Adds HEADLESS_ALL_PROVIDERS_FEATURE_VERSION constant ('1') and getHeadlessAllProvidersMinimumVersion(remoteFeatureFlagState) helper for version gating.
  • Widens the moneyHeadlessAllProviders flag value contract to accept { enabled: true, featureVersion: "1", providerIds?: string[] } alongside the existing boolean form. Old clients coerce the object payload to false (native-only), so serving it cannot turn widening on for a client that cannot parse it.

Also includes a housekeeping fix to the CHANGELOG and a JSDoc correction (stale surface/HEADLESS_ALLOWLIST_SURFACES/HeadlessAllowlistSurface references that were in the original #9524 merge before those were removed).

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

Low Risk
Version bumps and documentation/changelog fixes only; no new logic in the diff.

Overview
Release cut for @metamask/ramps-controller@17.2.0 and the monorepo at 1149.0.0, with transaction-pay-controller and the lockfile bumped to depend on ramps-controller ^17.2.0.

The 17.2.0 changelog is finalized and corrected so it matches the shipped API: object-form moneyHeadlessAllProviders is documented as { enabled, featureVersion: "1", providerIds? } with helpers getHeadlessProviderAllowlist and getHeadlessAllProvidersMinimumVersion, and stale references to per-surface allowlists (surfaces, HEADLESS_ALLOWLIST_SURFACES, getQuotes surface option) are removed. featureFlags.ts JSDoc is updated the same way. No runtime code changes appear in this diff beyond version numbers and docs.

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

…9524

The `surface` param, `HEADLESS_ALLOWLIST_SURFACES`, `HeadlessAllowlistSurface`
type, and the `surfaces?` payload field were removed before #9524 merged but the
CHANGELOG [Unreleased] entries and the key-constant JSDoc still referenced them.
Update both to reflect the actual shipped API.
The create-release-branch tool picked up the housekeeping fix commit and
added it as an Uncategorized entry in the 17.2.0 section. Remove it since
it is not a consumer-facing change.
@metamask-ci

metamask-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

❌ Changelog validation failed. Check the workflow run for details.

@amitabh94 amitabh94 Jul 24, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this file change belongs to the release PR but approving since this is just a comment change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're only docstrings that were not updated.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't block on this, but yes, ideally release PRs should only bump versions and dependencies and update changelogs, they should not update anything else.

@saustrie-consensys saustrie-consensys self-assigned this Jul 24, 2026

@mcmire mcmire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't block on this, but yes, ideally release PRs should only bump versions and dependencies and update changelogs, they should not update anything else.

@saustrie-consensys
saustrie-consensys added this pull request to the merge queue Jul 24, 2026
Merged via the queue into main with commit 3664420 Jul 24, 2026
54 of 55 checks passed
@saustrie-consensys
saustrie-consensys deleted the release/1149.0.0 branch July 24, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants