unstale

npm / multiformats

multiformats

What changed in multiformats 10 to 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.

9 breaking1 security3 new APIs and options6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

multiformats 149 changes

Breaking changes 4

  • Varint decoding now rejects non-minimally encoded varints.

    14.0.5release notes

  • Identity bytes are constrained to single characters.

    14.0.3release notes

  • All Hasher types are now MultihashHasher<Code> types, changing the types developers use for hashers.

    14.0.0release notes

  • The identity hash is now typed as SyncMultihashHasher<0>.

    14.0.0release notes

Security 1

  • Verifies the CID hash before decoding in Block.create.

    14.0.2release notes

New APIs and options 2

Fixes and other changes 2

  • Decoding for base16, base32, and base36 is case-insensitive, matching the multibase specification.

    14.0.1release notes

  • Returned Uint8Arrays are now typed as Uint8Array<ArrayBuffer>.

    14.0.0release notes

multiformats 121 changes

Breaking changes 1

multiformats 113 changes

Breaking changes 1

  • link.toJSON now returns a DAG-JSON link, changing its serialized output.

    11.0.0release notes

Fixes and other changes 2

multiformats 106 changes

Breaking changes 3

  • A browser field is added to package metadata for browser consumers.

    10.0.0release notes

  • Deprecated CID properties and methods are removed, so code using them must be updated.

    10.0.0release notes

  • The package main field is removed, changing the package entry-point metadata developers or tools may rely on.

    10.0.0release notes

New APIs and options 1

  • A Link interface is defined for CID, giving developers a type for links.

    10.0.0release notes

Fixes and other changes 2

  • asCID is made a regular, non-enumerable property instead of relying on Object.defineProperties.

    10.0.0release notes

  • Types are distributed in dist/types and properly exported, improving access to the package's types.

    10.0.0release notes