Skip to content

Release 1478.0.0 - #11924

Open
vinnyhoward wants to merge 2 commits into
mainfrom
release/1478.0.0
Open

vinnyhoward wants to merge 2 commits into
mainfrom
release/1478.0.0

Conversation

@vinnyhoward

@vinnyhoward vinnyhoward commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Explanation

Release 1478.0.0 with a minor version bump for:

  • @metamask/client-utils 3.4.1 → 3.5.0

@metamask/client-utils@3.5.0

Added:

  • NumberFormatPresets with a compact preset ($1.5M, 2.5K USDC) to pass to formatCurrency, formatToken and formatNumber.
  • A minThreshold option on formatCurrency and formatToken, so tiny non-zero amounts show as <$0.01.
  • An opt-in trailingZeroDisplay option, so whole currency amounts can show as $28 instead of $28.00.
  • Exports the FormatOptions, FormatCurrencyOptions, FormatterValue and TrailingZeroDisplay types.

Fixed:

  • Currencies and numbers format the same on Hermes (React Native) as on V8. Only the Intl.NumberFormat options Hermes gets wrong are rebuilt.
  • Tiny values keep their sign and use the right threshold (-<$0.01, <¥1, <0.01%).

Changed:

  • Dependency bumps already released elsewhere (transaction-controller, utils, eth-chainlist).

Skipped dependencies

controller-utils, core-backend, transaction-controller and utils have unreleased changes, but client-utils doesn't rely on them. Its ranges for all four (^13.0.0, ^15.0.0, ^74.6.0, ^12.1.0) match versions already on npm, so they are marked intentionally-skip.

References

  • #11854: work around Hermes Intl.NumberFormat gaps
  • #11857: keep the sign and use the right threshold for tiny values
  • #11863: add NumberFormatPresets and a minThreshold option
  • #11895: add an opt-in trailingZeroDisplay for whole currency amounts
  • Epic: TMCU-386, shared formatters across mobile and extension

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

Low Risk
Version and changelog-only release PR; behavioral changes ship under the new package version rather than being introduced here.

Overview
Cuts monorepo release 1478.0.0 and publishes @metamask/client-utils 3.5.0 by bumping root and package versions and moving the existing Unreleased changelog into a [3.5.0] section with updated compare links. No application source changes appear in this diff.

That release tag documents formatter work already on main: NumberFormatPresets (including compact notation), minThreshold on currency/token formatters, optional trailingZeroDisplay via createFormatters, extra public types, Hermes Intl.NumberFormat parity fixes, and corrected sign/threshold display for tiny values, plus routine dependency bumps listed in the changelog.

Reviewed by Cursor Bugbot for commit ffb3e98. Configure here.

@vinnyhoward
vinnyhoward requested review from a team as code owners December 4, 2026 00:53
@vinnyhoward
vinnyhoward deployed to default-branch December 4, 2026 00:56 — with GitHub Actions Active
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🛑 Files requiring codeowner review

To merge this PR, you'll need to get approvals from the following owner groups.

(Note: For files with multiple owners, approval from one owner is sufficient.)

@MetaMask/core-extension-ux or @MetaMask/mobile-core-ux (2 files)
  • packages/client-utils/CHANGELOG.md
  • packages/client-utils/package.json

ℹ️ Files co-owned by @MetaMask/core-platform

For convenience in maintaining this repo, this team co-owns the following files and thus may approve changes to them.

Note

You do not need to get approval from @MetaMask/core-platform to merge this PR.

(Expand to view list of files)
  • packages/client-utils/CHANGELOG.md
  • packages/client-utils/package.json

@vinnyhoward
vinnyhoward deployed to default-branch December 4, 2026 00:58 — with GitHub Actions Active
@metamask-ci

metamask-ci Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

✅ No changelog changes needed.

This branch was successfully deployed

1 active deployment
default-branch — ffb3e987 Deployed Dec 4, 2026 by vinnyhoward via Update changelogs #7972
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.

2 participants