Skip to content

chore: bump dependents to @metamask/utils@^12.0.0 - #10192

Merged
cryptodev-2s merged 8 commits into
mainfrom
chore/utils-bump-dependents
Sep 11, 2026
Merged

chore: bump dependents to @metamask/utils@^12.0.0#10192
cryptodev-2s merged 8 commits into
mainfrom
chore/utils-bump-dependents

Conversation

@cryptodev-2s

@cryptodev-2s cryptodev-2s commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Explanation

Follow up to #10185, which moved @metamask/utils into packages/. This bumps its dependents to the local version.

  • @metamask/utils bumped from ^11.12.0 to ^12.0.0 in 79 packages and the root
  • Removes the temporary @metamask/utils entry from ALLOWED_INCONSISTENT_DEPENDENCIES in yarn.config.cjs, which chore: integrate @metamask/utils into packages/ #10185 added so that constraints would pass while the dependents were still on the published version
  • Changelog entries recorded for the bump, plus the lockfile dedupe and README dependency graph that follow from it

These two PRs are meant to land together, so the intermediate state where dependents still resolve the published copy never reaches main.

Splitting it this way keeps #10185 reviewable: the move, the config rewiring and the type test change are separate from 79 mechanical version bumps.

References

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 communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Medium Risk
A major-version bump of a shared utility touches most packages; runtime risk is low if v12 is compatible, but consumers and lingering v11 transitive deps (keyring) can cause type or duplicate-package issues until fully aligned.

Overview
This PR aligns the monorepo with the in-repo @metamask/utils v12 after it was moved into packages/ (follow-up to #10185). 79 packages plus the root bump the dependency from ^11.12.0 to ^12.0.0, with matching Unreleased changelog entries and an updated README dependency graph.

Tooling is cleaned up so builds use the workspace package instead of the published copy: tsconfig.packages.json now maps @metamask/utils to local source (the temporary node_modules override is removed), and yarn.config.cjs drops the ALLOWED_INCONSISTENT_DEPENDENCIES exception for @metamask/utils.

There are small TypeScript follow-ups from the version split: network-controller removes a stale @ts-expect-error on Infura middleware now that types match v12, while keyring-controller adds a documented @ts-expect-error when casting legacy keyrings until @metamask/keyring-utils also depends on v12.

Reviewed by Cursor Bugbot for commit 8bd8970. Bugbot is set up for automated code reviews on this repo. Configure here.

@cryptodev-2s
cryptodev-2s added this pull request to stack #10193 September 11, 2026 10:55
@cryptodev-2s
cryptodev-2s force-pushed the chore/utils-bump-dependents branch from f275644 to a439c10 Compare September 11, 2026 11:03
@cryptodev-2s
cryptodev-2s marked this pull request as ready for review September 11, 2026 11:04
@cryptodev-2s
cryptodev-2s requested review from a team as code owners September 11, 2026 11:04
@cryptodev-2s
cryptodev-2s deployed to default-branch September 11, 2026 11:04 — with GitHub Actions Active
@cryptodev-2s
cryptodev-2s force-pushed the chore/utils-bump-dependents branch from a439c10 to 4b34e4d Compare September 11, 2026 11:12
@cryptodev-2s
cryptodev-2s requested a review from a team as a code owner September 11, 2026 11:20
@cryptodev-2s
cryptodev-2s force-pushed the chore/utils-bump-dependents branch from 4b34e4d to 9ecc84e Compare September 11, 2026 11:20
@cryptodev-2s
cryptodev-2s force-pushed the chore/utils-bump-dependents branch from 9ecc84e to e69079c Compare September 11, 2026 12:37
@cryptodev-2s
cryptodev-2s force-pushed the chore/utils-bump-dependents branch 3 times, most recently from d20c121 to 0f22715 Compare September 11, 2026 13:12
mcmire
mcmire previously approved these changes Sep 11, 2026

@mcmire mcmire left a comment

Copy link
Copy Markdown
Collaborator

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 added this pull request to the merge queue Sep 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because a pull request earlier in the stack was removed Sep 11, 2026
@cryptodev-2s
cryptodev-2s added this pull request to the merge queue Sep 11, 2026
Base automatically changed from chore/utils-integrate to main September 11, 2026 14:15
Merged via the queue into main with commit 2720940 Sep 11, 2026
338 checks passed
@cryptodev-2s
cryptodev-2s deleted the chore/utils-bump-dependents branch September 11, 2026 14:21
cryptodev-2s added a commit to MetaMask/utils that referenced this pull request Sep 11, 2026
Step D-3 of the [package migration
process](https://github.com/MetaMask/core/blob/main/docs/processes/package-migration-process-guide.md).

`@metamask/utils` now lives in the core monorepo
([MetaMask/core#10185](MetaMask/core#10185)
moved it,
[MetaMask/core#10192](MetaMask/core#10192)
bumped the dependents), so this swaps the "migration in progress" notice
for the archived one from the guide.

Open issues have been transferred to core and the remaining open PRs are
commented and locked. Archiving the repo is the next step.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Documentation-only README change with no runtime or dependency impact.
> 
> **Overview**
> Updates the **README** migration banner for package migration step
D-3: it no longer warns that migration is in progress or asks
contributors to reopen PRs in **core**, and instead states that
**`@metamask/utils`** has moved to the
[**MetaMask/core**](https://github.com/MetaMask/core) monorepo, **this
repo is archived**, and all future work should happen in **core**.
> 
> The notice is also reformatted from a single-line HTML table into a
multi-line layout; installation and API content are unchanged.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
13e0cdd. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants