---
title: "@helia/unixfs 8.0.0 Breaking Changes on npm | Since.dev"
description: "What each @helia/unixfs release removed, renamed or changed: 15 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@helia/unixfs
last_updated: 2026-12-04
---

# @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

Latest version `8.0.9`, released September 29, 2026. [Source repository](https://github.com/ipfs/helia)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 3 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [8.0.0](#v-8-0-0): 14 breaking changes in 4 versions.

## @helia/unixfs 8.0.0 breaking changes

@helia/unixfs 8.0.0, released June 29, 2026: 3 breaking changes.

- **Behavior changed**  

Fields that held PeerIds now hold CIDs using sha-256 or libp2p-key multihashes. [github.com](https://github.com/ipfs/helia/commit/4b2aea6f6111ba12590384f80c1bc18650ea5d8e)
- **Behavior changed**  

libp2p capabilities are no longer included by default. Add them to a node through the @helia/libp2p module. [github.com](https://github.com/ipfs/helia/commit/4b2aea6f6111ba12590384f80c1bc18650ea5d8e)
- **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](https://github.com/ipfs/helia/commit/f6cc7640840b77757c09d9463539b41e6ea33099)

## @helia/unixfs 7.0.0 breaking changes

@helia/unixfs 7.0.0, released January 12, 2026: 2 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](https://github.com/ipfs/helia/releases/tag/unixfs-v7.0.0)
- **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](https://www.npmjs.com/package/@helia/unixfs/v/7.0.0)

## @helia/unixfs 6.0.0 breaking changes

@helia/unixfs 6.0.0, released October 9, 2025: 1 breaking change.

- **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](https://github.com/ipfs/helia/releases/tag/unixfs-v6.0.0)

## @helia/unixfs 5.0.0 breaking changes

@helia/unixfs 5.0.0, released March 21, 2025: 8 breaking changes.

- **Removed** `UnixFSStats`  

UnixFSStats was removed in @helia/unixfs 5.0.0 [npmjs.com](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **Behavior changed** `fs.stat`  

Fields that required DAG traversal are no longer returned by fs.stat unless the extended option is passed. [github.com](https://github.com/ipfs/helia/releases/tag/unixfs-v5.0.0)
- **Signature changed** `UnixFS.addBytes`  

Was addBytes(bytes: Uint8Array, options?: Partial\<AddOptions>): Promise\<CID>; now addBytes(bytes: Uint8Array, options?: Partial\<AddFileOptions>): Promise\<CID>. [npmjs.com](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **Signature changed** `UnixFS.addByteStream`  

Was addByteStream(bytes: ByteStream, options?: Partial\<AddOptions>): Promise\<CID>; now addByteStream(bytes: ByteStream, options?: Partial\<AddFileOptions>): Promise\<CID>. [npmjs.com](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **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](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **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](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **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](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)
- **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](https://www.npmjs.com/package/@helia/unixfs/v/5.0.0)

## @helia/unixfs 4.0.0 breaking changes

@helia/unixfs 4.0.0, released October 7, 2024: 1 breaking change.

- **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](https://github.com/ipfs/helia/releases/tag/unixfs-v4.0.0)

## Related packages

- [helia](https://since.dev/packages/npm/helia.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
