Skip to content

fix!: update multiformats to 14.x.x#147

Merged
achingbrain merged 1 commit into
masterfrom
deps/update-multiformats-to-14
May 12, 2026
Merged

fix!: update multiformats to 14.x.x#147
achingbrain merged 1 commit into
masterfrom
deps/update-multiformats-to-14

Conversation

@achingbrain
Copy link
Copy Markdown
Member

Releasing as a major as nested Uint8Array properties of the CID class can cause issues where consuming code hasn't also updated to the latest multiformats like:

Error: test-e2e/first-hit.test.ts(123,11): error TS2322: Type 'CID<unknown, 85, 0, 1>' is not assignable to type 'CID<unknown, number, number, Version>'.
  The types of 'multihash.digest' are incompatible between these types.
    Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
      Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
        Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength

BREAKING CHANGE: CIDs returned from this module are from multiformats@14.x.x

Releasing as a major as nested `Uint8Array` properties of the CID
class can cause issues where consuming code hasn't also updated to
the latest multiformats like:

```
Error: test-e2e/first-hit.test.ts(123,11): error TS2322: Type 'CID<unknown, 85, 0, 1>' is not assignable to type 'CID<unknown, number, number, Version>'.
  The types of 'multihash.digest' are incompatible between these types.
    Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
      Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
        Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength
```

BREAKING CHANGE: CIDs returned from this module are from  multiformats@14.x.x
@achingbrain achingbrain merged commit 27522f2 into master May 12, 2026
20 checks passed
@achingbrain achingbrain deleted the deps/update-multiformats-to-14 branch May 12, 2026 12:33
github-actions Bot pushed a commit that referenced this pull request May 12, 2026
## [11.0.0](v10.2.9...v11.0.0) (2026-05-12)

### ⚠ BREAKING CHANGES

* CIDs returned from this module are from  multiformats@14.x.x

### Bug Fixes

* update multiformats to 14.x.x ([#147](#147)) ([27522f2](27522f2))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 11.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant