Skip to content

Latest commit

 

History

History
181 lines (116 loc) · 10.5 KB

File metadata and controls

181 lines (116 loc) · 10.5 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: Bump @metamask/assets-controllers peer dependency to ^59.0.0 (#5712)
  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^18.0.0 (#5712)

Added

  • BREAKING: Add analytics tracking for post-tx submission events (#5684)
  • Add optional isStxEnabled property to BridgeHistoryItem to indicate whether the transaction was submitted as a smart transaction (#5684)

Changed

  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^17.0.0 (#5700)

Fixed

  • Fixes missing EVM native exchange rates by not lowercasing the symbol used for lookups (#5696)
  • Fixes occasional snap handleRequest errors by setting the request scope to SolScope.Mainnet instead of reading it from the account metadata (#5696)

Fixed

  • Add optional approvalTxId to BridgeHistoryItem to prevent transaction metadata corruption (#5670)
    • Fixes issue where updateTransaction was overwriting transaction metadata when associating approvals
    • Stores approval transaction ID in bridge history instead of modifying transaction metadata
    • Reduces duplicate quote data in state

Added

  • BREAKING: Add @metamask/snaps-controllers peer dependency at ^11.0.0 (#5634, #5639)
  • BREAKING: Add @metamask/gas-fee-controller peer dependency at ^23.0.0 (#5643)
  • BREAKING: Add @metamask/assets-controllers peer dependency at ^58.0.0 (#5643, #5672)
  • Add @metamask/user-operation-controller dependency at ^33.0.0 (#5643)
  • Add uuid dependency at ^8.3.2 (#5634)
  • Add @metamask/keyring-api dependency at ^17.4.0 (#5643)
  • Add bignumber.js dependency at ^9.1.2 (#5643)
  • Add submitTx handler that submits cross-chain swaps transactions and triggers polling for destination transaction status (#5634)
  • Enable submitting EVM transactions using submitTx (#5643)
  • Add functionality for importing tokens from transaction after successful confirmation (#5643)

Changed

  • BREAKING Change @metamask/bridge-controller from dependency to peer dependency and bump to ^16.0.0 (#5657, #5665, #5643 #5672)
  • Add optional config.customBridgeApiBaseUrl constructor arg to set the bridge-api base URL (#5634)
  • Add required addTransactionFn and estimateGasFeeFn args to the BridgeStatusController constructor to enable calling TransactionController's methods from submitTx (#5643)
  • Add optional addUserOperationFromTransactionFn arg to the BridgeStatusController constructor to enable submitting txs from smart accounts using the UserOperationController's addUserOperationFromTransaction method (#5643)

Fixed

  • Update validators to accept any bridge string in the StatusResponse (#5634)

Fixed

  • Add relay to the list of bridges in the BridgeId enum to prevent validation from failing (#5623)

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^54.0.0 (#5615)

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^53.0.0 (#5585)
  • Bump @metamask/bridge-controller dependency to ^11.0.0 (#5525)
  • BREAKING: Change controller to fetch multichain address instead of EVM (#5554)

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^52.0.0 (#5513)
  • Bump @metamask/bridge-controller peer dependency to ^10.0.0 (#5513)

Changed

  • BREAKING: Bump peer dependency @metamask/accounts-controller to ^27.0.0 (#5507)
  • BREAKING: Bump peer dependency @metamask/network-controller to ^23.0.0 (#5507)
  • BREAKING: Bump peer dependency @metamask/transaction-controller to ^51.0.0 (#5507)
  • Bump @metamask/bridge-controller to ^9.0.0 (#5507)
  • Bump @metamask/polling-controller to ^13.0.0 (#5507)

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^50.0.0 (#5496)

Changed

  • Bump @metamask/accounts-controller dev dependency to ^26.1.0 (#5481)
  • BREAKING: Allow changing the Bridge API url through the config param in the constructor. Remove previous method of doing it through process.env. (#5465)

Fixed

  • @metamask/bridge-controller dependency is no longer a peer dependency, just a direct dependency (#5464)

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^49.0.0 (#5471)

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency to ^26.0.0 (#5439)
  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^48.0.0 (#5439)
  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^5.0.0 (#5439)

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency to ^25.0.0 (#5426)
  • BREAKING: Bump @metamask/transaction-controller peer dependency to ^47.0.0 (#5426)
  • BREAKING: Bump @metamask/bridge-controller peer dependency to ^4.0.0 (#5426)

Changed

  • BREAKING: Bump @metamask/bridge-controller to v3.0.0
  • Improve BridgeStatusController API response validation readability by using @metamask/superstruct (#5408)

Changed

  • BREAKING: Change BridgeStatusController state structure to have all fields at root of state (#5406)
  • BREAKING: Redundant type BridgeStatusState removed from exports (#5406)

Added

  • Initial release (#5317)