Skip to content

34.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 23:58
· 5570 commits to main since this release
c340ab0

@metamask/address-book-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/user/AddressBookController.ts
      • src/user/AddressBookController.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/announcement-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/announcement

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/approval-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/approval

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/assets-controllers

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/assets
      • Asset-related functions from src/util.ts and accompanying tests

      All changes listed after this point were applied to this package following the monorepo conversion.

Changed

  • Use Ethers for AssetsContractController (#845)

@metamask/base-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/BaseController.ts
      • src/BaseController.test.ts
      • src/BaseControllerV2.ts
      • src/BaseControllerV2.test.ts
      • src/ComposableController.ts
      • src/ComposableController.test.ts
      • src/ControllerMessenger.ts
      • src/ControllerMessenger.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/composable-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/ComposableController.ts
      • src/ComposableController.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/controller-utils

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/constants.ts (but see below)
      • src/util.ts (but see below)
      • src/util.test.ts (but see below)
      • NetworkType and NetworkChainsId from src/network/NetworkController.ts (via types.ts)
    • ESTIMATE_GAS_ERROR, which used to be exported by src/constants.ts, is now available via the @metamask/gas-fee-controller package.

    • A number of functions and types that were previously exported by src/util.ts are now available via other packages. Here's a breakdown of these exports and their new locations:

      • @metamask/assets-controllers:
        • SupportedTokenDetectionNetworks
        • addUrlProtocolPrefix
        • getFormattedIpfsUrl
        • getIpfsCIDv1AndPath
        • isTokenDetectionSupportedForNetwork
        • isTokenListSupportedForNetwork
        • removeIpfsProtocolPrefix
        • validateTokenToWatch
      • @metamask/message-manager:
        • normalizeMessageData
        • validateSignMessageData
        • validateTypedSignMessageDataV1
        • validateTypedSignMessageDataV3
      • @metamask/transaction-controller:
        • getEtherscanApiUrl
        • getIncreasedPriceFromExisting
        • getIncreasedPriceHex
        • handleTransactionFetch
        • isEIP1559Transaction
        • isFeeMarketEIP1559Values
        • isGasPriceValue
        • normalizeTransaction
        • validateGasValues
        • validateMinimumIncrease
        • validateTransaction

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/ens-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/third-party/EnsController.ts
      • src/third-party/EnsController.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/gas-fee-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/gas

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/keyring-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/keyring

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/message-manager

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/message-manager
      • Message manager-related functions in src/util.ts and accompanying tests

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/network-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/network (minus NetworkType and NetworksChainId, which were placed in @metamask/controller-utils)

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/notification-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/notification

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/permission-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/permissions

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/phishing-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/third-party/PhishingController.ts
      • src/third-party/PhishingController.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/preferences-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • src/user/PreferencesController.ts (plus ContactEntry copied from src/user/AddressBookController.ts)
      • src/user/PreferencesController.test.ts

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/rate-limit-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/ratelimit

      All changes listed after this point were applied to this package following the monorepo conversion.

@metamask/subject-metadata-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/subject-metadata

      All changes listed after this point were applied to this package following the monorepo conversion.

  • Add method to get subject metadata by origin (#950)

@metamask/transaction-controller

Added

  • Initial release
    • As a result of converting our shared controllers repo into a monorepo (#831), we've created this package from select parts of @metamask/controllers v33.0.0, namely:

      • Everything in src/transaction
      • Transaction-related functions from src/util.ts and accompanying tests

      All changes listed after this point were applied to this package following the monorepo conversion.