Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump {gas-fee,network,selected-network,notification-services,profile-sync,signature}-controller #12577

Merged
merged 10 commits into from
Dec 9, 2024

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Dec 5, 2024

Description

We want to ensure that mobile is using the latest versions of all controllers.

  • Bump @metamask/ppom-validator from 0.35.1 to 0.36.0 (view changes)
    • There are no notable changes between these versions.
  • Bump @metamask/gas-fee-controller from 21.0.0 to 22.0.1 (view changes)
    • There are no notable changes between these versions.
  • Bump @metamask/signature-controller from 22.0.0 to 23.1.0 (view changes)
    • There are no notable changes between these versions.
  • Bump @metamask/profile-sync-controller from 1.0.0 to 2.0.0 (view changes)
    • There are no notable changes between these versions.
  • Bump @metamask/selected-network-controller from 18.0.2 to 19.0.0 (view changes)
    • There are no notable changes between these versions.
  • Bump @metamask/network-controller from 21.0.0 to 22.1.0 (view changes)
    • Notable changes in 22.1.0:
      • The NetworkController:networkRemoved messenger event will now be emitted when a network is removed.
      • New messenger actions NetworkController:addNetwork, NetworkController:removeNetwork, and NetworkController:updateNetwork which call the respective controller methods.
      • New lastUpdatedAtproperty to network configurations which will be set to the current time on addition or update
    • Notable changes in 22.0.2:
      • getDefaultNetworkConfigurationsByChainId returns the updated display names for mainnet and linea. Ethereum Mainnet instead of Mainnet, and Linea instead of Linea Mainnet.
  • Bump @metamask/notification-services-controller from 0.11.0 to 0.14.0 (view changes)
    • Notable changes in 0.12.0:
      • deleteNotificationsById now publishes NotificationServicesController:notificationsListUpdated
    • Notable changes in 0.12.1:
      • When notifications are disabled, list is now repopulated with Snap notifications

Related issues

Completes https://github.com/MetaMask/MetaMask-planning/issues/3698 (and does more to satisfy peer dependency warnings).
#12383

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@cryptodev-2s cryptodev-2s self-assigned this Dec 5, 2024
@cryptodev-2s cryptodev-2s requested review from a team as code owners December 5, 2024 17:25
@cryptodev-2s cryptodev-2s marked this pull request as draft December 5, 2024 17:25
Copy link
Contributor

github-actions bot commented Dec 5, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@cryptodev-2s cryptodev-2s changed the title chore: bump packages to core release 244 chore: bump packages up to core release 244 Dec 5, 2024
@cryptodev-2s cryptodev-2s added the Run Smoke E2E Triggers smoke e2e on Bitrise label Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 1ab7128
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/9d46231b-e5be-4ea4-8a4b-bde2a8639f4b

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@Gudahtt
Copy link
Member

Gudahtt commented Dec 6, 2024

Looks like there is another draft for this as well: #12565

@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2024
@MetaMask MetaMask unlocked this conversation Dec 6, 2024
@cryptodev-2s cryptodev-2s added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 6, 2024
@cryptodev-2s cryptodev-2s reopened this Dec 6, 2024
@MetaMask MetaMask locked and limited conversation to collaborators Dec 6, 2024
@MetaMask MetaMask unlocked this conversation Dec 6, 2024
@cryptodev-2s cryptodev-2s added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 6, 2024
Copy link
Contributor

github-actions bot commented Dec 6, 2024

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: c8feff7
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/864963a6-79dc-42b1-a6a2-4dc2e6dbc345

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@cryptodev-2s cryptodev-2s added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 6, 2024
Copy link
Contributor

github-actions bot commented Dec 6, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 2446b55
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/664aff2f-84f5-4a6f-a875-387a2fde1d91

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@cryptodev-2s cryptodev-2s marked this pull request as ready for review December 6, 2024 22:16
@cryptodev-2s cryptodev-2s added the Run Smoke E2E Triggers smoke e2e on Bitrise label Dec 6, 2024
@cryptodev-2s cryptodev-2s added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 6, 2024
Copy link
Contributor

github-actions bot commented Dec 6, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 260c9ff
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/cbb252bc-ba9b-4959-a146-b6e48ff07dcd

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@cryptodev-2s cryptodev-2s added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 9, 2024
Copy link
Contributor

github-actions bot commented Dec 9, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: bd37878
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/904c0ae5-a354-4633-b2c7-9c48640c1f94

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@cryptodev-2s cryptodev-2s changed the title chore: bump {gas-fee,network,selected-network,notification-services}-controller chore: bump {gas-fee,network,selected-network,notification-services,profile-sync,signature}-controller Dec 9, 2024
Copy link

sonarqubecloud bot commented Dec 9, 2024

@Gudahtt
Copy link
Member

Gudahtt commented Dec 9, 2024

It looks like this PR only introduces two new peer dependency warnings:

warning " > @metamask/[email protected]" has incorrect peer dependency "@metamask/gas-fee-controller@^21.0.0".
warning " > @metamask/[email protected]" has incorrect peer dependency "@metamask/network-controller@^21.1.0".

I see that @metamask/[email protected] would address those two warnings, but it involved a number of breaking changes that maybe would be better handled in a separate PR.

I can confirm that these peer dependency mismatches won't cause any problems. For the gas-fee-controller one, none of the types used by the swaps-controller were changed, and the fetchGasFeeEstimates function used has not changed. For network-controller, the swaps-controller was actually using a deprecated release with those breaking changes already present, so there is in fact no additional breaking change here.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@cryptodev-2s cryptodev-2s removed the request for review from mcmire December 9, 2024 16:08
@cryptodev-2s cryptodev-2s disabled auto-merge December 9, 2024 16:28
@cryptodev-2s cryptodev-2s added this pull request to the merge queue Dec 9, 2024
@cryptodev-2s cryptodev-2s disabled auto-merge December 9, 2024 16:43
Merged via the queue into main with commit bf126d0 Dec 9, 2024
52 checks passed
@cryptodev-2s cryptodev-2s deleted the cryptodev2s/bump-packages-core-release-244 branch December 9, 2024 16:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
@metamaskbot metamaskbot added the release-7.38.0 Issue or pull request that will be included in release 7.38.0 label Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.38.0 Issue or pull request that will be included in release 7.38.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-wallet-framework
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants