Skip to content

Latest commit

 

History

History
225 lines (152 loc) · 16.4 KB

File metadata and controls

225 lines (152 loc) · 16.4 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

  • Bump @metamask/transaction-controller from ^68.2.0 to ^69.0.0 (#9337, #9349, #9421, #9456, #9470)
  • Bump @metamask/accounts-controller from ^39.0.3 to ^39.0.5 (#9349, #9470)
  • Bump @metamask/polling-controller from ^16.0.7 to ^16.0.8 (#9349)
  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#9392)
  • Bump @metamask/profile-sync-controller from ^28.2.0 to ^28.3.0 (#9463)

Changed

  • Bump @metamask/accounts-controller from ^39.0.2 to ^39.0.3 (#9231)
  • Bump @metamask/transaction-controller from ^68.1.1 to ^68.2.0 (#9253)

Fixed

  • Skip proof-of-ownership signing for accounts with no entropy source (#9286)
    • They are still submitted to the metrics endpoint, just without a proof field.

Added

  • BREAKING: Add chain-native proof-of-ownership signing for accounts, with profile-metric submissions now carrying a proof per account (#9016, #9190)
    • New ProofOfOwnershipService:sign({ account, nonce }) action, dispatching to KeyringController:signPersonalMessage for EVM accounts and to the account's snap (via the signProofOfOwnership JSON-RPC method) for Solana, Tron, and Bitcoin.
    • ProfileMetricsController._executePoll signs a proof for each queued account and submits it alongside the canonicalized address (EIP-55 for eip155, lowercase bech32 / bech32m for bip122). Consumers must delegate ProofOfOwnershipService:sign onto the controller's messenger.
    • Adds a profileMetricsServiceName alias for the existing serviceName export to disambiguate it from the new proofOfOwnershipServiceName.
    • Re-enqueues all known accounts on the first unlock after upgrading so previously-synced records get a proof attached, gated by a new proofBackfillEnqueued state flag (fresh installs flip the flag on their initial sync).

Changed

  • Bump @metamask/utils from ^11.9.0 to ^11.11.0 (#9074)
  • Bump @metamask/controller-utils from ^12.1.1 to ^12.3.0 (#9083, #9218)
  • Bump @metamask/transaction-controller from ^67.0.0 to ^68.1.1 (#9066, #9089, #9177, #9203, #9218)
  • Bump @metamask/profile-sync-controller from ^28.1.1 to ^28.2.0 (#9119)
  • Bump @metamask/keyring-controller from ^27.0.0 to ^27.1.0 (#9129)
  • Bump @metamask/accounts-controller from ^39.0.1 to ^39.0.2 (#9218)
  • Bump @metamask/polling-controller from ^16.0.6 to ^16.0.7 (#9218)

Added

  • Add proof of ownership API wiring pre-requisites (#8974)
    • Add ProfileMetricsService:fetchNonces messenger action wrapping POST /api/v2/nonce/batch.
    • Add optional proof field on accounts submitted via ProfileMetricsService:submitMetrics so that the auth API can use it to mark accounts as verified: true.

Changed

  • Bump @metamask/transaction-controller from ^66.0.1 to ^67.0.0 (#9021)
  • Bump @metamask/accounts-controller from ^39.0.0 to ^39.0.1 (#9058)
  • Bump @metamask/controller-utils from ^12.1.0 to ^12.1.1 (#9058)
  • Bump @metamask/keyring-controller from ^26.0.0 to ^27.0.0 (#9058)

Changed

  • Bump @metamask/accounts-controller from ^38.1.2 to ^39.0.0 (#8999)
  • Bump @metamask/transaction-controller from ^66.0.0 to ^66.0.1 (#8999)

Changed

  • Bump @metamask/accounts-controller from ^38.1.0 to ^38.1.2 (#8774, #8912)
  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)
  • Bump @metamask/profile-sync-controller from ^28.0.2 to ^28.1.1 (#8783, #8912)
  • Bump @metamask/transaction-controller from ^65.3.0 to ^66.0.0 (#8796, #8848)
  • Bump @metamask/polling-controller from ^16.0.5 to ^16.0.6 (#8834)
  • Bump @metamask/keyring-controller from ^25.5.0 to ^26.0.0 (#8912)

Changed

  • Bump @metamask/accounts-controller from ^37.1.1 to ^38.1.0 (#8363, #8665, #8755)
  • Bump @metamask/keyring-controller from ^25.1.1 to ^25.5.0 (#8363, #8634, #8665, #8722)
  • Bump @metamask/messenger from ^1.0.0 to ^1.2.0 (#8364, #8373, #8632)
  • Bump @metamask/transaction-controller from ^64.0.0 to ^65.3.0 (#8432, #8447, #8482, #8585, #8613, #8691, #8722, #8755)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#8457)
  • Bump @metamask/controller-utils from ^11.20.0 to ^12.0.0 (#8755)
  • Bump @metamask/polling-controller from ^16.0.4 to ^16.0.5 (#8755)

Changed

  • Bump @metamask/transaction-controller from ^63.3.1 to ^64.0.0 (#8359)
  • Bump @metamask/accounts-controller from ^37.1.0 to ^37.1.1 (#8325)
  • Bump @metamask/profile-sync-controller from ^28.0.1 to ^28.0.2 (#8325)
  • Bump @metamask/controller-utils from ^11.19.0 to ^11.20.0 (#8344)

Changed

  • Bump @metamask/accounts-controller from ^37.0.0 to ^37.1.0 (#8317)
  • Bump @metamask/base-controller from ^9.0.0 to ^9.0.1 (#8317)
  • Bump @metamask/keyring-controller from ^25.1.0 to ^25.1.1 (#8317)
  • Bump @metamask/messenger from ^0.3.0 to ^1.0.0 (#8317)
  • Bump @metamask/polling-controller from ^16.0.3 to ^16.0.4 (#8317)
  • Bump @metamask/profile-sync-controller from ^28.0.0 to ^28.0.1 (#8317)
  • Bump @metamask/transaction-controller from ^63.0.0 to ^63.3.1 (#8272, #8301, #8313, #8317)

Changed

  • Bump @metamask/transaction-controller from ^62.22.0 to ^63.0.0 (#8225)

Changed

  • Reduce default initial delay duration from 10 minutes to 1 minute (#8216)
  • Bump @metamask/transaction-controller from ^62.21.0 to ^62.22.0 (#8217)

Fixed

  • Strip cookies from ProfileMetricsService fetch requests preventing 431 Request Header Fields Too Large errors caused by cookies being forwarded to the authentication API (#8209)

Changed

  • Bump @metamask/profile-sync-controller from ^27.1.0 to ^28.0.0 (#8162)

Fixed

  • Move bearer token acquisition inside the retry loop in ProfileMetricsService.submitMetrics so each retry attempt fetches a fresh token instead of reusing a potentially stale one (#8144)

Changed

  • Bump @metamask/accounts-controller from ^36.0.0 to ^37.0.0 (#7996, #8140)
  • Bump @metamask/polling-controller from ^16.0.2 to ^16.0.3 (#7996)
  • Bump @metamask/transaction-controller from ^62.17.0 to ^62.21.0 (#7996, #8005, #8031, #8104, #8140)
  • Bump @metamask/controller-utils from ^11.18.0 to ^11.19.0 (#7995)

Changed

  • Bump @metamask/accounts-controller from ^35.0.2 to ^36.0.0 (#7897)
  • Bump @metamask/profile-sync-controller from ^27.0.0 to ^27.1.0 (#7849)
  • Bump @metamask/transaction-controller from ^62.9.2 to ^62.17.0 (#7737, #7760, #7775, #7802, #7832, #7854, #7872, #7897)
  • Bump @metamask/keyring-controller from ^25.0.0 to ^25.1.0 (#7713)

Added

  • ProfileMetricsController contructor now accepts an optional initialDelayDuration parameter (#7624)
    • The parameter can be used to override the default time-based delay for the first data collection after opt-in
  • Add skipInitialDelay() method to ProfileMetricsController (#7624)
    • The method can be also called through the ProfileMetricsController:skipInitialDelay action via messenger

Changed

  • BREAKING: ProileMetricsControllerMessenger now requires the TransactionController:transactionSubmitted action to be allowed (#7624)
  • Set time-based delay for first ProfileMetricsController data collection after opt-in (#7624)
  • Upgrade @metamask/utils from ^11.8.1 to ^11.9.0 (#7511)
  • Bump @metamask/controller-utils from ^11.16.0 to ^11.18.0 (#7534, #7583)
  • Bump @metamask/accounts-controller from ^35.0.0 to ^35.0.2 (#7604, #7642)
  • Bump @metamask/polling-controller from ^16.0.0 to ^16.0.2 (#7604, #7642)

Changed

  • BREAKING: ProfileMetricsController now requires the AccountsController:getState action to be allowed (#7471)
    • The controller messenger does not require AccountsController:listAccounts action anymore.

Fixed

  • Collect EVM and non-EVM accounts during initial sync (#7471)

Changed

  • Polling only starts on KeyringController:unlock if the user has opted in (#7450)

Added