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: Upgrade core packages to release 159.0.0 #26138

Merged
merged 48 commits into from
Aug 30, 2024

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Jul 25, 2024

Upgrade core packages to release 159.0.0.

Upgraded packages:

  • @metamask/address-book-controller (4.0.2 -> 5.0.0)
  • @metamask/announcement-controller (6.1.0-> 7.0.0)
  • @metamask/base-controller (5.0.1 -> 6.0.2)
  • @metamask/message-manager (7.3.0 -> 10.0.0)
  • @metamask/notification-controller (5.0.1 -> 6.0.0)
  • @metamask/rate-limit-controller (5.0.1 -> 6.0.0)
  • @metamask/phishing-warning: (3.0.3 -> 4.0.0),
  • @metamask/build-utils (1.0.0 -> 3.0.0)

Description

Open in GitHub Codespaces

Related issues

Fixes: #25401

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 requested a review from a team July 25, 2024 17:04
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner July 25, 2024 17:04
Copy link
Contributor

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.

Copy link

socket-security bot commented Jul 25, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/helper-annotate-as-pure@7.24.7 None 0 52.4 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.24.7 None 0 98.6 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.24.7 None 0 58.5 kB nicolo-ribaudo
npm/@mantine/core@7.10.2 None 0 10.7 MB rtivital
npm/@mantine/hooks@7.10.2 environment, network 0 1.02 MB rtivital
npm/@metamask/address-book-controller@5.0.0 None 0 82.7 kB metamaskbot
npm/@metamask/announcement-controller@7.0.0 None 0 76.2 kB metamaskbot
npm/@metamask/build-utils@3.0.0 None 0 120 kB metamaskbot
npm/@metamask/message-manager@10.0.2 None 0 288 kB metamaskbot
npm/@metamask/notification-controller@6.0.0 None 0 78.9 kB metamaskbot
npm/@metamask/phishing-warning@4.0.0 None 0 1.77 MB danfinlay, gudahtt, kumavis, ...8 more
npm/@metamask/rate-limit-controller@6.0.0 None 0 93 kB metamaskbot
npm/caniuse-lite@1.0.30001643 None 0 2.08 MB caniuse-lite
npm/globalthis@1.0.3 None 0 22.4 kB ljharb

🚮 Removed packages: npm/@babel/helper-annotate-as-pure@7.22.5), npm/@babel/helper-replace-supers@7.24.1), npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5), npm/@mantine/core@7.8.0), npm/@mantine/hooks@7.8.0), npm/@metamask/address-book-controller@4.0.1), npm/@metamask/announcement-controller@6.1.0), npm/@metamask/base-controller@5.0.2), npm/@metamask/build-utils@1.0.0), npm/@metamask/message-manager@7.3.9), npm/@metamask/notification-controller@5.0.2), npm/@metamask/phishing-warning@3.0.3), npm/@metamask/rate-limit-controller@5.0.1), npm/caniuse-lite@1.0.30001600), npm/escalade@3.1.1), npm/globalthis@1.0.1), npm/picocolors@1.0.0)

View full report↗︎

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@metamaskbot metamaskbot requested review from a team as code owners July 25, 2024 17:20
@cryptodev-2s cryptodev-2s force-pushed the chore/update-core-packages-release-159 branch from 803d024 to 977b628 Compare July 30, 2024 12:52
@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@MajorLift
Copy link
Contributor

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.10%. Comparing base (be04ca8) to head (32ecf59).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
app/scripts/metamask-controller.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #26138   +/-   ##
========================================
  Coverage    70.10%   70.10%           
========================================
  Files         1416     1416           
  Lines        49396    49396           
  Branches     13802    13802           
========================================
  Hits         34628    34628           
  Misses       14768    14768           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cryptodev-2s cryptodev-2s requested a review from Gudahtt August 29, 2024 17:46
@metamaskbot
Copy link
Collaborator

Builds ready [41070b2]
Page Load Metrics (1795 ± 75 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint22721861721375180
domContentLoaded15992147177214972
load16122187179515675
domInteractive126632147
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -164.82 KiB (-4.72%)
  • ui: 0 Bytes (0.00%)
  • common: -140.4 KiB (-1.71%)

@metamaskbot
Copy link
Collaborator

Builds ready [cc5b68e]
Page Load Metrics (1770 ± 119 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint152825681774246118
domContentLoaded149425571739246118
load150225721770248119
domInteractive195931105
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -164.82 KiB (-4.72%)
  • ui: 0 Bytes (0.00%)
  • common: -140.4 KiB (-1.71%)

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

Copy link

@cryptodev-2s cryptodev-2s requested a review from MajorLift August 29, 2024 21:29
@metamaskbot
Copy link
Collaborator

Builds ready [32ecf59]
Page Load Metrics (1706 ± 76 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint25621671575466224
domContentLoaded15482121169115374
load15562130170615876
domInteractive228637209
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -177.42 KiB (-5.07%)
  • ui: 0 Bytes (0.00%)
  • common: -140.4 KiB (-1.71%)

@@ -10,7 +10,7 @@ describe('isBlockedUrl', () => {
allowedEvents: [],
});
const phishingController = new PhishingController({
// @ts-expect-error TODO: Resolve/patch mismatch between messenger types
// @ts-expect-error TODO: Resolve mismatch between base-controller versions.
Copy link
Contributor

@MajorLift MajorLift Aug 30, 2024

Choose a reason for hiding this comment

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

Note: @metamask/phishing-controller@12.0.1 is now on @metamask/base-controller@7.0.0, while the rest of extension is using @metamask/base-controller@6.0.2.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes exactly

Copy link
Contributor

@MajorLift MajorLift left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@montelaidev montelaidev left a comment

Choose a reason for hiding this comment

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

Accounts changes LGTM

@cryptodev-2s cryptodev-2s merged commit 5c34c85 into develop Aug 30, 2024
78 checks passed
@cryptodev-2s cryptodev-2s deleted the chore/update-core-packages-release-159 branch August 30, 2024 12:05
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Aug 30, 2024
@gauthierpetetin gauthierpetetin added release-12.5.0 Issue or pull request that will be included in release 12.5.0 and removed release-12.6.0 Issue or pull request that will be included in release 12.6.0 labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.5.0 Issue or pull request that will be included in release 12.5.0 team-wallet-framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade core packages to release 159.0.0
7 participants