Skip to content

Version Packages (alpha) - #206

Merged
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
changeset-release/prerelease/v2-alpha
Oct 26, 2026
Merged

brunomenezes merged 1 commit into
prerelease/v2-alphafrom
changeset-release/prerelease/v2-alpha

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to prerelease/v2-alpha, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

prerelease/v2-alpha is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on prerelease/v2-alpha.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@cartesi/codec@1.0.0-alpha.6

Minor Changes

  • c39662d: Build on ox instead of viem.

    decodeInput and decodeOutput now raise ox's AbiItem.NotFoundError where
    they raised viem's AbiFunctionSignatureNotFoundError, for data whose leading
    four bytes match no function of the Inputs/Outputs interface. Both the hex
    and the byte array path raise it, as before, and the message still carries the
    offending selector; code matching the old class with instanceof has to
    change. Data that starts with a known selector but is too short to decode
    likewise raises ox's error rather than viem's.

    viem is no longer a peer dependency, so there is nothing to install alongside
    this package. Every exported type is unchanged: ox's Hex.Hex, Bytes.Bytes
    and Address.Address are the types viem exposes as Hex, ByteArray and
    Address, so code that types codec values with viem's types still compiles.

    The package now requires Node 22.12 or newer. ox publishes no CommonJS build,
    so the require entry point reaches it through require(esm), which is
    unflagged from that version on; the ESM entry point is unaffected.

@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cartesi-playground Ready Ready Preview Oct 26, 2026 10:00am UTC

Request Review

@github-project-automation github-project-automation Bot moved this to 👍 Waiting Merge in Rollups Tooling Oct 26, 2026
@brunomenezes
brunomenezes merged commit cd73ffe into prerelease/v2-alpha Oct 26, 2026
6 checks passed
@brunomenezes
brunomenezes deleted the changeset-release/prerelease/v2-alpha branch October 26, 2026 11:42
@github-project-automation github-project-automation Bot moved this from 👍 Waiting Merge to 📦 Done in Rollups Tooling Oct 26, 2026

This branch was successfully deployed

1 active deployment
Preview — 7fb86041 Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📦 Done

Development

Successfully merging this pull request may close these issues.

1 participant