Skip to content

Commit 9f686b3

Browse files
authored
Release/754.0.0 (#7653)
## Explanation <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## 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](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] 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] > Releases monorepo `754.0.0` and `@metamask/ramps-controller` `4.0.0`. > > - `@metamask/[email protected]`: adds `preferredProvider` state/mutator, `providers` state with `getProviders()` (auto-fetched on init/region change), `defaultAmount`/`quickAmounts` on `Country`, `getApiPath()` helper, and exports `UserRegion` type > - Breaking: `userRegion` type changes from `string | null` to `UserRegion | null` (use `userRegion.regionCode`), and removes eligibility (`eligibility` state, `updateEligibility()`, `getEligibility()`, related types/actions) > - Switches `getCountries()` to v2 API (`v2/regions/countries`) and updates changelog links > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4f55762. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 915a340 commit 9f686b3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "753.0.0",
3+
"version": "754.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/ramps-controller/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.0.0]
11+
1012
### Added
1113

1214
- Add `preferredProvider` state and `setPreferredProvider()` method to RampsController ([#7617](https://github.com/MetaMask/core/pull/7617))
@@ -77,7 +79,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7779
- Add `OnRampService` for interacting with the OnRamp API
7880
- Add geolocation detection via IP address lookup
7981

80-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
82+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
83+
[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
8184
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
8285
[2.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
8386
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/ramps-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/ramps-controller",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "A controller for managing cryptocurrency on/off ramps functionality",
55
"keywords": [
66
"MetaMask",

0 commit comments

Comments
 (0)