memfs breaking changes
Updated December 4, 2026
On this page
Latest version 4.80.1, released November 12, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
memfs 4.71.0 breaking changes
- 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
memfs 4.70.0 breaking changes
- 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
memfs 4.57.7 breaking changes
- Behavior changed
Snapshot restoration no longer accepts relative paths. Code that restores snapshots with relative paths must switch to absolute paths. github.com
memfs 4.57.0 breaking changes
- 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
memfs 4.56.1 breaking changes
- Removed
DirectoryJSON.__index
DirectoryJSON.__index was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume._core
IFsWithVolume._core was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.access
IFsWithVolume.access was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.accessSync
IFsWithVolume.accessSync was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.appendFile
IFsWithVolume.appendFile was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.appendFileSync
IFsWithVolume.appendFileSync was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.chmod
IFsWithVolume.chmod was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.chmodSync
IFsWithVolume.chmodSync was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.chown
IFsWithVolume.chown was removed in memfs 4.56.1 npmjs.com - Removed
IFsWithVolume.chownSync
IFsWithVolume.chownSync was removed in memfs 4.56.1 npmjs.com
And 243 more in this version. Sign up to see every change
memfs 4.45.0 breaking changes
- 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
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
memfs 4.38.3 breaking changes
- 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
memfs 4.36.3 breaking changes
- 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
memfs 4.34.0 breaking changes
- 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
memfs 4.30.0 breaking changes
- Signature changed
IFsWithVolume.openAsBlob
Was openAsBlob: FsCallbackApi['openAsBlob']; now openAsBlob: (path: PathLike, options?: opts.IOpenAsBlobOptions) => Promise<Blob>. npmjs.com - Signature changed
IFsWithVolume.statfs
Was statfs: FsCallbackApi['statfs']; now statfs(path: PathLike, callback: misc.TCallback<StatFs>): void. npmjs.com
And 4 more in this version.
memfs 4.28.1 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 - 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
And 4 more in this version.
memfs 4.25.0 breaking changes
- Removed
IFsWithVolume.createLink
IFsWithVolume.createLink was removed in memfs 4.25.0 npmjs.com - Removed
IFsWithVolume.createNode
IFsWithVolume.createNode was removed in memfs 4.25.0 npmjs.com
And 195 more in this version.
memfs 4.22.0 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 - 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
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, 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.