Skip to content

docs: deprecate human-readable ABI utilities#309

Open
tmm wants to merge 7 commits into
mainfrom
tmm/deprecate-human-readable-ox
Open

docs: deprecate human-readable ABI utilities#309
tmm wants to merge 7 commits into
mainfrom
tmm/deprecate-human-readable-ox

Conversation

@tmm

@tmm tmm commented Jun 22, 2026

Copy link
Copy Markdown
Member

Companion to wevm/ox#231 (wevm/ox#274 and wevm/ox#292)

Deprecates ABIType surfaces that have moved to Ox:

  • Human-readable ABI runtime and type-level utilities now point users to Ox's Abi, AbiItem, AbiParameter, and AbiParameters modules.
  • abitype/zod ABI and EIP-712 Typed Data schemas now point users to Ox's ox/zod entrypoint.

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5249b04

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
abitype Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
abitype Ready Ready Preview, Comment Jul 9, 2026 10:15pm

Request Review

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Size Change: +2.29 kB (+1.87%)

Total Size: 125 kB

Filename Size Change
packages/abitype/dist/cjs/register.js 12 kB -2 B (-0.02%)
packages/abitype/dist/esm/exports/index.js 638 B +397 B (+164.73%) 🆘
packages/abitype/dist/esm/human-readable/errors/struct.js 371 B +100 B (+36.9%) 🚨
packages/abitype/dist/esm/human-readable/formatAbi.js 501 B +97 B (+24.01%) 🚨
packages/abitype/dist/esm/human-readable/formatAbiItem.js 660 B +91 B (+15.99%) ⚠️
packages/abitype/dist/esm/human-readable/formatAbiParameter.js 473 B +96 B (+25.46%) 🚨
packages/abitype/dist/esm/human-readable/formatAbiParameters.js 576 B +97 B (+20.25%) 🚨
packages/abitype/dist/esm/human-readable/parseAbi.js 687 B +94 B (+15.85%) ⚠️
packages/abitype/dist/esm/human-readable/parseAbiItem.js 653 B +93 B (+16.61%) ⚠️
packages/abitype/dist/esm/human-readable/parseAbiParameter.js 729 B +93 B (+14.62%) ⚠️
packages/abitype/dist/esm/register.js 13.4 kB +6 B (+0.04%)
packages/abitype/dist/esm/version.js 2.42 kB -87 B (-3.48%)
packages/abitype/dist/types/exports/index.d.ts 641 B +397 B (+162.7%) 🆘
packages/abitype/dist/types/human-readable/errors/struct.d.ts 432 B +118 B (+37.58%) 🚨
packages/abitype/dist/types/human-readable/formatAbi.d.ts 756 B +116 B (+18.13%) ⚠️
packages/abitype/dist/types/human-readable/formatAbiItem.d.ts 779 B +116 B (+17.5%) ⚠️
packages/abitype/dist/types/human-readable/formatAbiParameter.d.ts 568 B +116 B (+25.66%) 🚨
packages/abitype/dist/types/human-readable/formatAbiParameters.d.ts 757 B +116 B (+18.1%) ⚠️
packages/abitype/dist/types/human-readable/parseAbi.d.ts 876 B +120 B (+15.87%) ⚠️
packages/abitype/dist/types/human-readable/parseAbiItem.d.ts 853 B +118 B (+16.05%) ⚠️
packages/abitype/dist/types/human-readable/parseAbiParameter.d.ts 1.11 kB +121 B (+12.22%) ⚠️
packages/abitype/dist/types/version.d.ts 2.01 kB -121 B (-5.68%)
ℹ️ View Unchanged
Filename Size Change
packages/abitype/dist 0 B 0 B 🆕
packages/abitype/dist/cjs 123 B 0 B
packages/abitype/dist/cjs/abi.js 0 B 0 B 🆕
packages/abitype/dist/cjs/abis 3.59 kB 0 B
packages/abitype/dist/cjs/abis/human-readable.js 5.91 kB 0 B
packages/abitype/dist/cjs/abis/json.js 575 B 0 B
packages/abitype/dist/cjs/errors.js 0 B 0 B 🆕
packages/abitype/dist/cjs/exports 588 B 0 B
packages/abitype/dist/cjs/exports/abis.js 744 B 0 B
packages/abitype/dist/cjs/exports/index.js 567 B 0 B
packages/abitype/dist/cjs/exports/zod.js 127 B 0 B
packages/abitype/dist/cjs/generated.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/errors 531 B 0 B
packages/abitype/dist/cjs/human-readable/errors/abiItem.js 801 B 0 B
packages/abitype/dist/cjs/human-readable/errors/abiParameter.js 425 B 0 B
packages/abitype/dist/cjs/human-readable/errors/signature.js 403 B 0 B
packages/abitype/dist/cjs/human-readable/errors/splitParameters.js 336 B 0 B
packages/abitype/dist/cjs/human-readable/errors/struct.js 286 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbi.js 410 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiItem.js 477 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiParameter.js 300 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiParameters.js 339 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbi.js 429 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiItem.js 460 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiParameter.js 519 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiParameters.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/runtime 749 B 0 B
packages/abitype/dist/cjs/human-readable/runtime/cache.js 759 B 0 B
packages/abitype/dist/cjs/human-readable/runtime/signatures.js 1.02 kB 0 B
packages/abitype/dist/cjs/human-readable/runtime/structs.js 2.23 kB 0 B
packages/abitype/dist/cjs/human-readable/runtime/utils.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/types 127 B 0 B
packages/abitype/dist/cjs/human-readable/types/signatures.js 125 B 0 B
packages/abitype/dist/cjs/human-readable/types/structs.js 124 B 0 B
packages/abitype/dist/cjs/human-readable/types/utils.js 160 B 0 B
packages/abitype/dist/cjs/narrow.js 40 B 0 B
packages/abitype/dist/cjs/package.json 369 B 0 B
packages/abitype/dist/cjs/regex.js 125 B 0 B
packages/abitype/dist/cjs/tsconfig.build.tsbuildinfo 124 B 0 B
packages/abitype/dist/cjs/types.js 124 B 0 B
packages/abitype/dist/cjs/utils.js 149 B 0 B
packages/abitype/dist/cjs/version.js 2.14 kB 0 B
packages/abitype/dist/cjs/zod.js 0 B 0 B 🆕
packages/abitype/dist/esm 62 B 0 B
packages/abitype/dist/esm/abi.js 0 B 0 B 🆕
packages/abitype/dist/esm/abis 3.95 kB 0 B
packages/abitype/dist/esm/abis/human-readable.js 6.26 kB 0 B
packages/abitype/dist/esm/abis/json.js 522 B 0 B
packages/abitype/dist/esm/errors.js 0 B 0 B 🆕
packages/abitype/dist/esm/exports 258 B 0 B
packages/abitype/dist/esm/exports/abis.js 363 B 0 B
packages/abitype/dist/esm/exports/zod.js 68 B 0 B
packages/abitype/dist/esm/generated.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/errors 448 B 0 B
packages/abitype/dist/esm/human-readable/errors/abiItem.js 670 B 0 B
packages/abitype/dist/esm/human-readable/errors/abiParameter.js 338 B 0 B
packages/abitype/dist/esm/human-readable/errors/signature.js 343 B 0 B
packages/abitype/dist/esm/human-readable/errors/splitParameters.js 280 B 0 B
packages/abitype/dist/esm/human-readable/parseAbiParameters.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/runtime 1.06 kB 0 B
packages/abitype/dist/esm/human-readable/runtime/cache.js 629 B 0 B
packages/abitype/dist/esm/human-readable/runtime/signatures.js 1.01 kB 0 B
packages/abitype/dist/esm/human-readable/runtime/structs.js 2.29 kB 0 B
packages/abitype/dist/esm/human-readable/runtime/utils.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/types 69 B 0 B
packages/abitype/dist/esm/human-readable/types/signatures.js 66 B 0 B
packages/abitype/dist/esm/human-readable/types/structs.js 64 B 0 B
packages/abitype/dist/esm/human-readable/types/utils.js 264 B 0 B
packages/abitype/dist/esm/narrow.js 58 B 0 B
packages/abitype/dist/esm/package.json 504 B 0 B
packages/abitype/dist/esm/regex.js 67 B 0 B
packages/abitype/dist/esm/tsconfig.build.tsbuildinfo 64 B 0 B
packages/abitype/dist/esm/types.js 64 B 0 B
packages/abitype/dist/esm/utils.js 82 B 0 B
packages/abitype/dist/esm/zod.js 0 B 0 B 🆕
packages/abitype/dist/types 1.84 kB 0 B
packages/abitype/dist/types/abi.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/abis 3.88 kB 0 B
packages/abitype/dist/types/abis/human-readable.d.ts 5.96 kB 0 B
packages/abitype/dist/types/abis/json.d.ts 273 B 0 B
packages/abitype/dist/types/errors.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/exports 260 B 0 B
packages/abitype/dist/types/exports/abis.d.ts 655 B 0 B
packages/abitype/dist/types/exports/zod.d.ts 9.52 kB 0 B
packages/abitype/dist/types/generated.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/errors 227 B 0 B
packages/abitype/dist/types/human-readable/errors/abiItem.d.ts 376 B 0 B
packages/abitype/dist/types/human-readable/errors/abiParameter.d.ts 245 B 0 B
packages/abitype/dist/types/human-readable/errors/signature.d.ts 203 B 0 B
packages/abitype/dist/types/human-readable/errors/splitParameters.d.ts 174 B 0 B
packages/abitype/dist/types/human-readable/parseAbiParameters.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/runtime 575 B 0 B
packages/abitype/dist/types/human-readable/runtime/cache.d.ts 379 B 0 B
packages/abitype/dist/types/human-readable/runtime/signatures.d.ts 155 B 0 B
packages/abitype/dist/types/human-readable/runtime/structs.d.ts 710 B 0 B
packages/abitype/dist/types/human-readable/runtime/utils.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/types 1.83 kB 0 B
packages/abitype/dist/types/human-readable/types/signatures.d.ts 725 B 0 B
packages/abitype/dist/types/human-readable/types/structs.d.ts 2.16 kB 0 B
packages/abitype/dist/types/human-readable/types/utils.d.ts 422 B 0 B
packages/abitype/dist/types/narrow.d.ts 161 B 0 B
packages/abitype/dist/types/regex.d.ts 1.14 kB 0 B
packages/abitype/dist/types/register.d.ts 1.9 kB 0 B
packages/abitype/dist/types/types.d.ts 2.77 kB 0 B
packages/abitype/dist/types/utils.d.ts 92 B 0 B
packages/abitype/dist/types/zod.d.ts 0 B 0 B 🆕

compressed-size-action

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.13%. Comparing base (4b27a23) to head (5249b04).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #309   +/-   ##
=======================================
  Coverage   99.13%   99.13%           
=======================================
  Files          23       23           
  Lines         464      464           
  Branches      120      120           
=======================================
  Hits          460      460           
  Partials        4        4           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pkg-pr-new

pkg-pr-new Bot commented Jun 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/abitype@309

commit: 5249b04

@tmm tmm force-pushed the tmm/deprecate-human-readable-ox branch from 7f6291c to cd88b2d Compare July 9, 2026 20:14
@tmm tmm marked this pull request as ready for review July 9, 2026 20:46
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.

1 participant