Skip to content

Conversation

@Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Feb 7, 2024

Description

The package @metamask/signature-controller has been updated from v6 to v12. Despite the large number of major version bumps, no code changes were required. All breaking changes were due to changes in peer dependencies, and to type changes.

The package @metamask/approval-controller needed a patch bump to satisfy the peer dependency requirements of
@metamask-signature-controller, and @metamask/logging-controller needed a major bump for the same reason. The only LoggingController breaking change was to the types, so again no changes required.

Here are all of the changelogs for these bumps:

Related issues

N/A

Manual testing steps

N/A

Screenshots/Recordings

N/A

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

The package `@metamask/signature-controller` has been updated from v6
to v12. Despite the large number of major version bumps, no code
changes were required. All breaking changes were due to changes in peer
dependencies, and to type changes.

The package `@metamask/approval-controller` needed a patch bump to
satisfy the peer dependency requirements of
`@metamask-signature-controller`, and `@metamask/logging-controller`
needed a major bump for the same reason. The only `LoggingController`
breaking change was to the types, so again no changes required.

Here are all of the changelogs for these bumps:

* https://github.com/MetaMask/core/blob/main/packages/signature-controller/CHANGELOG.md
* https://github.com/MetaMask/core/blob/main/packages/logging-controller/CHANGELOG.md#202
* https://github.com/MetaMask/core/blob/main/packages/approval-controller/CHANGELOG.md#512
@Gudahtt Gudahtt added the team-extension-platform Extension Platform team label Feb 7, 2024
@Gudahtt
Copy link
Member Author

Gudahtt commented Feb 7, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@codecov
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1d4a666) 68.48% compared to head (a96d5c8) 68.47%.
Report is 3 commits behind head on develop.

❗ Current head a96d5c8 differs from pull request most recent head 0b313e3. Consider uploading reports for the commit 0b313e3 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #22861      +/-   ##
===========================================
- Coverage    68.48%   68.47%   -0.01%     
===========================================
  Files         1088     1088              
  Lines        42897    42902       +5     
  Branches     11425    11424       -1     
===========================================
- Hits         29378    29377       -1     
- Misses       13519    13525       +6     

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

@Gudahtt Gudahtt marked this pull request as ready for review February 7, 2024 20:50
@Gudahtt Gudahtt requested review from a team as code owners February 7, 2024 20:50
@metamaskbot
Copy link
Collaborator

Builds ready [3a91e24]
Page Load Metrics (756 ± 19 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint9112210284
domContentLoaded9311742
load6908667563919
domInteractive9311742
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -33.72 KiB (-0.99%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 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.

@socket-security
Copy link

socket-security bot commented Feb 8, 2024

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

Package New capabilities Transitives Size Publisher
npm/@metamask/logging-controller@2.0.2 Transitive: environment, filesystem, network +60 14.5 MB brad.decker, danfinlay, gudahtt, ...9 more
npm/@metamask/signature-controller@12.0.0 Transitive: environment, eval, filesystem, network +152 26.6 MB brad.decker, danfinlay, gudahtt, ...9 more

🚮 Removed packages: npm/@metamask/logging-controller@1.0.4, npm/@metamask/signature-controller@6.1.3

View full report↗︎

@metamaskbot
Copy link
Collaborator

Builds ready [a96d5c8]
Page Load Metrics (773 ± 28 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint86144104157
domContentLoaded10291642
load7159367735828
domInteractive10291642
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -33.72 KiB (-0.99%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [0b313e3]
Page Load Metrics (758 ± 18 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint8312697105
domContentLoaded8351674
load7138587583718
domInteractive8351674
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -33.72 KiB (-0.98%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@Gudahtt Gudahtt merged commit 423268c into develop Feb 8, 2024
@Gudahtt Gudahtt deleted the update-signature-controller-and-related branch February 8, 2024 19:21
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
@metamaskbot metamaskbot added the release-11.12.0 Issue or pull request that will be included in release 11.12.0 label Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-11.12.0 Issue or pull request that will be included in release 11.12.0 team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants