Skip to content

Conversation

@montelaidev
Copy link
Contributor

@montelaidev montelaidev commented Jun 25, 2024

Explanation

This PR create a new release for

  • @metamask/accounts-controller to ^17.1.0
  • @metamask/assets-controllers to ^34.0.0
  • @metamask/transaction-controller to ^13.1.0
  • @metamask/user-operation-controller to ^12.1.0

References

Fixes https://github.com/MetaMask/accounts-planning/issues/481

Changelog

@metamask/accounts-controller

  • ADDED: Add listMultichainAccounts action (#4426)
  • CHANGED: Refactored getSelectedAccount to handle case when there are no accounts to return. The logic was previously contained in getAccountExpect has been transferred to getSelectedAccount. (#4322)
  • CHANGED: Updated handleAccountRemoved to automatically select the most recent account if the removed account was the currently selected account. (#4322)
  • CHANGED: Enable resetMocks Jest configuration option (#4417)
  • FIXED: Move @metamask/keyring-controller to dependency in @metamask/accounts-controller (#4425)

@metamask/assets-controller

  • CHANGED: Enable resetMocks Jest configuration option (#4417)
  • BREAKING: Update Assets Controllers (#4219)
    • TokenBalancesController messenger must allow the action AccountsController:getSelectedAccount and remove PreferencesController:getState.
    • TokenDetectionController messenger must allow the action AccountsController:getAccount.
    • TokenDetectionController messenger must allow the event AccountsController:selectedEvmAccountChange and remove AccountsController:selectedAccountChange.
    • TokenDetectionController removes selectedAddress constructor argument.
    • TokenRatesController messenger must allow the action AccountsController:getAccount, AccountsController:getSelectedAccount and remove PreferencesController:getState.
    • TokenRatesController messenger must allow the event AccountsController:selectedEvmAccountChange and remove PreferencesController:stateChange.
    • TokensController messenger must allow the action AccountsController:getAccount, AccountsController:getSelectedAccount.
    • TokensController messenger must allow the event AccountsController:selectedEvmAccountChange.
    • TokensController removes selectedAddress constructor argument.
  • CHANGED: Upgrade AccountTrackerController to BaseControllerV2 (#4407)

@metamask/transaction-controller

  • CHANGED: Disable some transaction controller integration tests (#4429)
  • CHANGED: Enable resetMocks Jest configuration option (#4417)
  • CHANGED: Document TransactionStatus enum (#4380)

@metamask/user-operation-controller

  • CHANGED: Enable resetMocks Jest configuration option (#4417)

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@montelaidev montelaidev marked this pull request as ready for review June 25, 2024 14:47
@montelaidev montelaidev requested a review from a team June 25, 2024 14:47
@montelaidev montelaidev requested a review from mcmire June 26, 2024 16:25
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting close!

@montelaidev montelaidev requested a review from mcmire June 26, 2024 17:18
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your patience :) Looks good!

@gantunesr gantunesr merged commit 4fe6141 into main Jun 26, 2024
@gantunesr gantunesr deleted the release/166.0.0 branch June 26, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants