@helia/unixfs breaking changes
@helia/unixfs 8.0.0 (June 29, 2026) is its newest release with breaking changes, 3 of them. The first: PeerId fields replaced with CIDs in @helia/unixfs 8.0.0. Every breaking API change we have recorded in @helia/unixfs on npm: 15 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.0.9, released September 29, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 7.0.0 to 8.0.0: 3 breaking changes in 1 version.
- From 4.0.0 to 8.0.0: 14 breaking changes in 4 versions.
@helia/unixfs 8.0.0 breaking changes
- Behavior changed
Fields that held PeerIds now hold CIDs using sha-256 or libp2p-key multihashes. github.com - Behavior changed
libp2p capabilities are no longer included by default. Add them to a node through the @helia/libp2p module. github.com - Behavior changed
CID and MultihashDigest instances returned by the package come from the multiformats@14.x.x module, so code relying on the older module's types may need updating. github.com
@helia/unixfs 7.0.0 breaking changes
- Behavior changed
fs.ls
Entries returned by fs.ls now contain only CID, name and path. To get metadata, call fs.stat or a similar method. github.com - Signature changed
UnixFS.ls
Was ls(cid: CID, options: Partial<LsOptions> & {extended: false;}): AsyncIterable<UnixFSBasicEntry> ls(cid: CID, options?: Partial<LsOptions>): AsyncIterable<UnixFSEntry>; now ls(cid: CID, options?: Partial<LsOptions>)... npmjs.com
@helia/unixfs 6.0.0 breaking changes
- Behavior changed
The package now uses libp2p v3 and newer block and data stores, which the release marks as breaking. Check code that passes libp2p or store objects into this package and update it to match. github.com
@helia/unixfs 5.0.0 breaking changes
- Removed
UnixFSStats
UnixFSStats was removed in @helia/unixfs 5.0.0 npmjs.com - Behavior changed
fs.stat
Fields that required DAG traversal are no longer returned by fs.stat unless the extended option is passed. github.com - Signature changed
UnixFS.addBytes
Was addBytes(bytes: Uint8Array, options?: Partial<AddOptions>): Promise<CID>; now addBytes(bytes: Uint8Array, options?: Partial<AddFileOptions>): Promise<CID>. npmjs.com - Signature changed
UnixFS.addByteStream
Was addByteStream(bytes: ByteStream, options?: Partial<AddOptions>): Promise<CID>; now addByteStream(bytes: ByteStream, options?: Partial<AddFileOptions>): Promise<CID>. npmjs.com - Signature changed
UnixFS.addDirectory
Was addDirectory(dir?: Partial<DirectoryCandidate>, options?: Partial<AddOptions>): Promise<CID>; now addDirectory(dir?: Partial<DirectoryCandidate>, options?: Partial<AddFileOptions>): Promise<CID>. npmjs.com - Signature changed
UnixFS.addFile
The import candidate passed to addFile must now include path and content, and the returned CID resolves to a directory. npmjs.com - Signature changed
UnixFS.stat
Was stat(cid: CID, options?: Partial<StatOptions>): Promise<UnixFSStats>; now stat(cid: CID, options?: ExtendedStatOptions): Promise<ExtendedFileStats | ExtendedDirectoryStats | ExtendedRawStats> stat(cid: CID, options?: StatOptions)... npmjs.com - Signature changed
urlSource
Was function urlSource(url: URL, options?: RequestInit): FileCandidate<AsyncGenerator<Uint8Array, void, unknown>>; now function urlSource(url: URL | string, options?: RequestInit): FileCandidate<AsyncGenerator<Uint8Array, void, unknown>>. npmjs.com
@helia/unixfs 4.0.0 breaking changes
- Behavior changed
The package now uses libp2p 2.x instead of 1.x, so code that relies on libp2p 1.x behavior or types may need updating. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.