Skip to content

Latest commit

 

History

History
163 lines (98 loc) · 9.35 KB

File metadata and controls

163 lines (98 loc) · 9.35 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/messenger from ^1.2.0 to ^2.0.0 (#9392)
  • Bump @metamask/authenticated-user-storage from ^3.0.0 to ^3.0.1 (#9458)

Changed

  • Bump @metamask/network-controller from ^33.0.0 to ^34.0.0 (#9349)

Changed

  • Bump @metamask/authenticated-user-storage from ^2.0.0 to ^3.0.0 (#9220, #9348)

Added

  • Add MoneyAccountUpgradeStepError (and the isMoneyAccountUpgradeStepError type guard). upgradeAccount now wraps any error thrown by a step in this error, exposing the failing step's name as step and preserving the original error as cause, so consumers can attribute failures to a specific step when reporting to Sentry). (#9204)

Changed

  • Bump @metamask/keyring-controller from ^27.0.0 to ^27.1.0 (#9129)
  • Bump @metamask/network-controller from ^32.0.0 to ^33.0.0 (#9218)

Changed

  • Bump @metamask/utils from ^11.9.0 to ^11.11.0 (#9074)

Fixed

  • Scope the register-intents step to the currently-configured token addresses (deposit mUSD / withdrawal vmUSD) so that stale delegations for previously-configured tokens are no longer registered as intents (#9075)

Changed

  • Bump @metamask/delegation-controller from ^3.0.1 to ^3.0.2 (#9058)
  • Bump @metamask/keyring-controller from ^26.0.0 to ^27.0.0 (#9058)

Changed

  • Bump @metamask/delegation-core from ^2.0.0 to ^2.2.1 (#8823)
  • Bump @metamask/delegation-deployments from ^1.3.0 to ^1.4.0 (#8823)
  • Bump @metamask/keyring-controller from ^25.5.0 to ^26.0.0 (#8912)
  • Bump @metamask/delegation-controller from ^3.0.0 to ^3.0.1 (#8912)

Changed

  • Bump @metamask/authenticated-user-storage from ^1.0.1 to ^2.0.0 (#8802)

Changed

  • Bump @metamask/network-controller from ^31.1.0 to ^32.0.0 (#8774)

Added

  • Add remaining steps in money account upgrade process (#8621)

Changed

  • BREAKING: The controller messenger now requires access to six additional allowed actions: AuthenticatedUserStorageService:listDelegations, AuthenticatedUserStorageService:createDelegation, ChompApiService:verifyDelegation, ChompApiService:getIntentsByAddress, ChompApiService:createIntents, and DelegationController:signDelegation. Delegation signing is now delegated to @metamask/delegation-controller rather than calling KeyringController:signTypedMessage directly; consumers must instantiate DelegationController and update their messenger configuration accordingly. (#8621)
  • BREAKING: init() now takes a { chainId, boringVaultAddress } object instead of an InitConfig. The EIP-7702 delegator implementation and caveat enforcer addresses are resolved from @metamask/delegation-deployments for the target chain; init() throws if the chain is not supported by Delegation Framework 1.3.0. The InitConfig type is no longer exported. (#8621)
  • Add @metamask/authenticated-user-storage, @metamask/delegation-controller, @metamask/delegation-core, and @metamask/delegation-deployments as dependencies. (#8621)
  • Bump @metamask/network-controller from ^31.0.0 to ^31.1.0 (#8765)
  • Bump @metamask/chomp-api-service from ^3.0.1 to ^3.1.0 (#8769)

Fixed

  • Build-delegation step no longer emits a redundant duplicate ValueLteEnforcer caveat; the Delegation Framework treats both as equivalent, but the duplicate was inadvertently inherited from @metamask/smart-accounts-kit's erc20TransferAmount scope helper. (#8621)
  • EIP-7702 authorization step now treats a 409 response from POST /v1/account-upgrade as already-done instead of a fatal error, making the step retry-safe when a prior submission was accepted by CHOMP but has not yet been observed on-chain. (#8621)

Changed

  • Bump @metamask/keyring-controller from ^25.4.0 to ^25.5.0 (#8722)
  • Bump @metamask/chomp-api-service from ^3.0.0 to ^3.0.1 (#8755)
  • Bump @metamask/network-controller from ^30.1.0 to ^31.0.0 (#8755)

Changed

  • Bump @metamask/keyring-controller from ^25.3.0 to ^25.4.0 (#8665)

Fixed

  • Fix the ChompApiService:createUpgrade call in the EIP-7702 auth step, pasing correct arguments (#8657)

Changed

  • Bump @metamask/chomp-api-service from ^2.0.0 to ^3.0.0 (#8651)
  • Bump @metamask/messenger from ^1.1.1 to ^1.2.0 (#8632)
  • Bump @metamask/keyring-controller from ^25.2.0 to ^25.3.0 (#8634)
  • Bump @metamask/network-controller from ^30.0.1 to ^30.1.0 (#8636)

Fixed

  • Fix the associate-address step to detect the already-associated case via status: 'active'. (#8635)

Changed

  • Bump @metamask/chomp-api-service from ^1.0.0 to ^2.0.0 (#8618)

Fixed

  • Send the CHOMP authentication timestamp as a number instead of a string in the associate-address step. (#8610)

Added

  • Add EIP-7702 authorization step to the upgrade sequence. (#8565)

Added

  • Add MoneyAccountUpgradeController with upgradeAccount method (#8426)