Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 3.42 KB

File metadata and controls

53 lines (34 loc) · 3.42 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • BREAKING: Resolve the user's country, region, and timezone via the v2 geolocation endpoint through new GeolocationController:getGeolocationData and GeolocationApiService:fetchGeolocationData actions that return a GeolocationData object, along with matching GeolocationControllerState fields (#9691)
    • GeolocationController now delegates to GeolocationApiService:fetchGeolocationData; the location code returned by getGeolocation/fetchGeolocation preserves the legacy v1 behavior of appending the region only for the US and Canada (e.g. US-NY, CA-ON) and returning the country alone elsewhere
  • Point GeolocationApiService at API Platform's geolocation-api service instead of the legacy Ramps-owned on-ramp geolocation endpoint, which is slated for deprecation (#9417)
    • UAT temporarily resolves to the production URL since API Platform has not yet provisioned a dedicated UAT deployment for this service
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.3.0 (#8774, #9058, #9083, #9218)
  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#9392)

Changed

  • Bump @metamask/controller-utils from ^11.19.0 to ^12.0.0 (#8344, #8755)
  • Bump @metamask/messenger from ^1.0.0 to ^1.2.0 (#8364, #8373, #8632)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#8457)

Changed

  • Bump @metamask/base-controller from ^9.0.0 to ^9.0.1 (#8317)
  • Bump @metamask/messenger from ^0.3.0 to ^1.0.0 (#8317)

Fixed

  • Accept ISO 3166-2 subdivision codes (e.g. US-NY, CA-ON) from the geolocation API, not just 2-letter country codes (#8137)

Added

  • Initial release (#8037)