PackageTrack
Sign in Get early access

multiformats

Core library for parsing IPFS-related things. This package is mainly used by https://atprotodart.com packages.

1.4.0 4.2K downloads/mo #4103 most downloaded on pub.dev myConsciousness/atproto.dart

What this package is like to depend on

Last release 28 days ago

26 Jul 2026

Ships unpredictably

gaps range from 9 days to 1.4 years

Nearly every release is documented

notes for 18 of 18 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

20 releases · first in 2023

5 releases in the last 12 months

see the full history below

Release timeline

20 releases · Jun 2023 to Jul 2026
2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 1.4.0 26 Jul 2026
    Release notes
    • fix: dagCborEncode keeps its documented ArgumentError/InvalidCidError contract for a sole-$bytes map whose value is not valid base64, which previously leaked a raw FormatException — reachable from user-supplied $unknown data.
    • fix: a sole-$link or sole-$bytes map whose value is not a String now throws ArgumentError instead of being silently encoded as an ordinary one-entry map, which turned a typo into a valid-looking but wrong CID.
    • fix: encoding a value nested deeper than 1024 containers throws ArgumentError instead of blowing the stack with a StackOverflowError that callers do not catch.
    Open source →
  2. 1.3.0 22 Jul 2026
    Release notes
    • feat: added dagCborEncode, a canonical DAG-CBOR encoder (length-first map-key ordering, minimal-length integers, tag-42 CID links, and the atproto $link/$bytes map forms). Its output is exact on both the Dart VM and the web, so a record's bytes — and therefore its CID — can be computed locally.
    Open source →
  3. 1.2.0 16 Jul 2026
    Release notes
    • feat: CID.toAtprotoJson() emits the atproto data-model {$link: ...} form (toJson continues to emit DAG-JSON {/: ...}; fromJson accepts both).
    • fix: the bytes getter returns an unmodifiable view, so external mutation can no longer corrupt a CID or desync its cached hashCode.
    • fix: CID.parse rejects uppercase base32 bodies, and invalid base32 characters raise InvalidCidError instead of a raw FormatException.
    Open source →
  4. 1.1.0 13 Jul 2026
    Release notes
    • fix: the dag-pb multicodec was wrong (0x55, which is actually raw). Added correct raw(0x55), dagPb2(0x70) and dagCbor(0x71) entries and fixed isDagPb/format checks so atproto blob CIDs are classified correctly and real dag-pb is no longer rejected.
    • chore: deprecated the incorrect dagPb/dabCbor enum values (kept for a deprecation cycle).
    • feat: added CID.createFromBytes (binary overload) and a single-decode parse.
    • feat: CID.fromJson now accepts the atproto {"$link": <cid>} shape in addition to the DAG-JSON {"/": <cid>} shape, so atproto JSON round-trips (toJson still emits /). A missing/non-string value now throws a typed InvalidCidError instead of a TypeError.
    • perf: cache normalized bytes and hashCode instead of recomputing on every access.
    Open source →
  5. 1.0.3 10 Jul 2026
    Release notes
    • fix: CID == now returns false for different-length or non-CID operands instead of throwing a RangeError/TypeError.
    Open source →
  6. 1.0.2 30 Jul 2025
    Release notes
    • Fix SDK constraint to '">=3.8.0 <4.0.0"'.
    Open source →
  7. 1.0.1 28 Jul 2025
    Release notes
    • chore: optimized docs.
    Open source →
  8. 1.0.1-legacy 28 Jul 2025 pre-release

    Nothing published for this version

  9. 1.0.0 18 Jul 2025
    Release notes
    • Bump SDK constraint to '^3.8.0'.
    Open source →
  10. 1.0.0-legacy 24 Jul 2025 pre-release

    Nothing published for this version

  11. 0.2.3 22 Feb 2024
    Release notes
    • Bump SDK constraint to '^3.3.0'.
    Open source →
  12. 0.2.2 19 Dec 2023
    Release notes
    • Very minor change. (#1112)
    Open source →
  13. 0.2.1 18 Aug 2023
    Release notes
    • Improved documents. (#677)
    Open source →
  14. 0.2.0 13 Aug 2023
    Release notes
    • Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
    • Dart3 modifier applied.
    Open source →
  15. 0.1.4 27 Jun 2023
    Release notes
    • Added homepage in pubspec.yaml. (#549)
    Open source →
  16. 0.1.3 06 Jun 2023
    Release notes
    • Improved generation of CID hash codes, allowing CID objects to be specified as keys for Maps, etc. (#490)
    Open source →
  17. 0.1.2 04 Jun 2023
    Release notes
    • Supported dag-cbor. (#484)
    Open source →
  18. 0.1.1 04 Jun 2023
    Release notes
    • Fixed a bug in CID. (#482)
    Open source →
  19. 0.1.0 03 Jun 2023
    Release notes
    • Added CID.create factory. Now you can create CID from specific text. (#477)
    • Added validation in CID.parse factory. (#479)
    Open source →
  20. 0.0.1 02 Jun 2023
    Release notes
    • First Release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive