---
title: "memfs 4.71.0 Breaking Changes on npm | Since.dev"
description: "What each memfs release removed, renamed or changed: 474 breaking changes in 13 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/memfs
last_updated: 2026-12-04
---

# memfs breaking changes

memfs 4.71.0 (September 4, 2026) is its newest release with breaking changes. The first: Filesystem errors are normalized to be more like Node.js errors in memfs 4.71.0. Every breaking API change we have recorded in memfs on npm: 474 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.80.1`, released November 12, 2026. [Source repository](https://github.com/streamich/memfs)

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

- From [4.22.0](#v-4-22-0) to [4.71.0](#v-4-71-0): 470 breaking changes in 12 versions.

## memfs 4.71.0 breaking changes

memfs 4.71.0, released September 4, 2026: 1 breaking change.

- **Behavior changed**  

Error objects thrown by the package now follow Node.js error conventions more closely. Code that matches on error messages or codes may need to be checked. [github.com](https://github.com/streamich/memfs/releases/tag/v4.71.0)

## memfs 4.70.0 breaking changes

memfs 4.70.0, released September 4, 2026: 1 breaking change.

- **Behavior changed**  

Symlink resolution now stops after 40 hops and applies to every open call, so code that follows deeper symlink chains will now fail instead of resolving. [github.com](https://github.com/streamich/memfs/releases/tag/v4.70.0)

## memfs 4.57.7 breaking changes

memfs 4.57.7, released June 10, 2026: 1 breaking change.

- **Behavior changed**  

Snapshot restoration no longer accepts relative paths. Code that restores snapshots with relative paths must switch to absolute paths. [github.com](https://github.com/streamich/memfs/releases/tag/v4.57.7)

## memfs 4.57.0 breaking changes

memfs 4.57.0, released March 21, 2026: 1 breaking change.

- **Signature changed** `memfs`  

Was const memfs: (json?: NestedDirectoryJSON, cwd?: string) => {fs: IFs; vol: Volume;}; now const memfs: (json?: NestedDirectoryJSON, cwdOrOpts?: string | MemfsOptions) => {fs: IFs; vol: Volume;}. [npmjs.com](https://www.npmjs.com/package/memfs/v/4.57.0)

## memfs 4.56.1 breaking changes

memfs 4.56.1, released January 19, 2026: 253 breaking changes.

- **Removed** `DirectoryJSON.__index`  

DirectoryJSON.\_\_index was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume._core`  

IFsWithVolume.\_core was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.access`  

IFsWithVolume.access was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.accessSync`  

IFsWithVolume.accessSync was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.appendFile`  

IFsWithVolume.appendFile was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.appendFileSync`  

IFsWithVolume.appendFileSync was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.chmod`  

IFsWithVolume.chmod was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.chmodSync`  

IFsWithVolume.chmodSync was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.chown`  

IFsWithVolume.chown was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)
- **Removed** `IFsWithVolume.chownSync`  

IFsWithVolume.chownSync was removed in memfs 4.56.1 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.56.1)

And 243 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## memfs 4.45.0 breaking changes

memfs 4.45.0, released September 24, 2025: 1 breaking change.

- **Behavior changed**  

The fs type definitions are now inlined so the package no longer depends on node:fs types. Code that relied on importing those types from node:fs through memfs may need to adjust. [github.com](https://github.com/streamich/memfs/releases/tag/v4.45.0)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### memfs 4.38.3 breaking changes

memfs 4.38.3, released September 9, 2025: 1 breaking change.

- **Behavior changed** `fs.readFile`  

readFile now leaves a file's ctime unchanged when it only reads the file. Code that relied on the old ctime update after reads should check its logic. [github.com](https://github.com/streamich/memfs/releases/tag/v4.38.3)

### memfs 4.36.3 breaking changes

memfs 4.36.3, released August 18, 2025: 1 breaking change.

- **Removed**  

The release removed the CRUD and CAS fs implementations, so code that uses them will no longer work. The notes list this under bug fixes and do not name a replacement. [github.com](https://github.com/streamich/memfs/releases/tag/v4.36.3)

### memfs 4.34.0 breaking changes

memfs 4.34.0, released August 1, 2025: 1 breaking change.

- **Behavior changed**  

Paths to files that end with a trailing slash now fail with ENOTDIR instead of being accessed. Code that relied on the old behavior must drop the trailing slash. [github.com](https://github.com/streamich/memfs/releases/tag/v4.34.0)

### memfs 4.30.0 breaking changes

memfs 4.30.0, released August 1, 2025: 6 breaking changes.

- **Signature changed** `IFsWithVolume.openAsBlob`  

Was openAsBlob: FsCallbackApi\['openAsBlob'\]; now openAsBlob: (path: PathLike, options?: opts.IOpenAsBlobOptions) => Promise\<Blob>. [npmjs.com](https://www.npmjs.com/package/memfs/v/4.30.0)
- **Signature changed** `IFsWithVolume.statfs`  

Was statfs: FsCallbackApi\['statfs'\]; now statfs(path: PathLike, callback: misc.TCallback\<StatFs>): void. [npmjs.com](https://www.npmjs.com/package/memfs/v/4.30.0)

And 4 more in this version.

### memfs 4.28.1 breaking changes

memfs 4.28.1, released August 1, 2025: 6 breaking changes.

- **Signature changed** `IFsWithVolume.readvSync`  

Was readvSync: (fd: number, buffers: ArrayBufferView\[\], position: number | null) => number; now readvSync: (fd: number, buffers: ArrayBufferView\[\], position?: number | null) => number. [npmjs.com](https://www.npmjs.com/package/memfs/v/4.28.1)
- **Signature changed** `IFsWithVolume.writeSync`  

Was writeSync: {(fd: number, buffer: Buffer | ArrayBufferView | DataView, offset?: number, length?: number, position?: number): number; (fd: number, str: string, position?: number, encoding?: BufferEncoding): number;}; now writeSync: {(fd... [npmjs.com](https://www.npmjs.com/package/memfs/v/4.28.1)

And 4 more in this version.

### memfs 4.25.0 breaking changes

memfs 4.25.0, released July 31, 2025: 197 breaking changes.

- **Removed** `IFsWithVolume.createLink`  

IFsWithVolume.createLink was removed in memfs 4.25.0 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.25.0)
- **Removed** `IFsWithVolume.createNode`  

IFsWithVolume.createNode was removed in memfs 4.25.0 [npmjs.com](https://www.npmjs.com/package/memfs/v/4.25.0)

And 195 more in this version.

### memfs 4.22.0 breaking changes

memfs 4.22.0, released July 27, 2025: 4 breaking changes.

- **Signature changed** `IFsWithVolume.realpath`  

Was realpath(path: PathLike, callback: TCallback\<TDataOut>): any; now realpath: {(path: PathLike, callback: TCallback\<TDataOut>): void; (path: PathLike, options: opts.IRealpathOptions | string, callback: TCallback\<TDataOut>): void; native... [npmjs.com](https://www.npmjs.com/package/memfs/v/4.22.0)
- **Signature changed** `IFsWithVolume.realpathSync`  

Was realpathSync(path: PathLike, options?: opts.IRealpathOptions | string): TDataOut; now realpathSync: {(path: PathLike, options?: opts.IRealpathOptions | string): TDataOut; native: (path: PathLike, options?: opts.IRealpathOptions |... [npmjs.com](https://www.npmjs.com/package/memfs/v/4.22.0)

And 2 more in this version.

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