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

# lru-cache breaking changes

lru-cache 11.5.1 (May 27, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed LRUCache.FetchOptionsNoContext.context. Every breaking API change we have recorded in lru-cache on npm: 114 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `11.5.4`, released November 29, 2026. [Source repository](https://github.com/isaacs/node-lru-cache)

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

- From [10.0.0](#v-10-0-0) to [11.5.1](#v-11-5-1): 39 breaking changes in 5 versions.
- From [8.0.0](#v-8-0-0) to [11.5.1](#v-11-5-1): 43 breaking changes in 7 versions.

## lru-cache 11.5.1 breaking changes

lru-cache 11.5.1, released May 27, 2026: 2 breaking changes.

- **Signature changed** `LRUCache.FetchOptionsNoContext.context`  

Was context?: undefined; now context?: FC. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.5.1)
- **Signature changed** `LRUCache.MemoOptionsNoContext.context`  

Was context?: undefined; now context?: FC. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.5.1)

## lru-cache 11.4.0 breaking changes

lru-cache 11.4.0, released May 18, 2026: 13 breaking changes.

- **Signature changed** `LRUCache.fetch`  

Was fetch(k: K, fetchOptions: unknown extends FC ? LRUCache.FetchOptions\<K, V, FC> : FC extends undefined | void ? LRUCache.FetchOptionsNoContext\<K, V> : LRUCache.FetchOptionsWithContext\<K, V, FC>): Promise\<undefined | V> fetch(k: unknown... [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.FetcherFetchOptions.status`  

Was status?: Status\<K, V>; now status?: Status\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.FetchOptionsNoContext`  

Was interface FetchOptionsNoContext\<K, V> extends FetchOptions\<K, V, undefined>; now interface FetchOptionsNoContext\<K, V, FC extends undefined | void = undefined> extends FetchOptions\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.forceFetch`  

Was forceFetch(k: K, fetchOptions: unknown extends FC ? LRUCache.FetchOptions\<K, V, FC> : FC extends undefined | void ? LRUCache.FetchOptionsNoContext\<K, V> : LRUCache.FetchOptionsWithContext\<K, V, FC>): Promise\<V> forceFetch(k: unknown... [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.GetOptions.status`  

Was status?: Status\<K, V>; now status?: Status\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.HasOptions.status`  

Was status?: Status\<K, V>; now status?: Status\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.memo`  

Was memo(k: K, memoOptions: unknown extends FC ? LRUCache.MemoOptions\<K, V, FC> : FC extends undefined | void ? LRUCache.MemoOptionsNoContext\<K, V> : LRUCache.MemoOptionsWithContext\<K, V, FC>): V memo(k: unknown extends FC ? K : FC extends... [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.MemoizerMemoOptions.status`  

Was status?: Status\<K, V>; now status?: Status\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.MemoOptions.status`  

Was status?: Status\<K, V>; now status?: Status\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)
- **Signature changed** `LRUCache.MemoOptionsNoContext`  

Was interface MemoOptionsNoContext\<K, V> extends MemoOptions\<K, V, undefined>; now interface MemoOptionsNoContext\<K, V, FC extends undefined | void = undefined> extends MemoOptions\<K, V, FC>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.4.0)

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

## lru-cache 11.3.1 breaking changes

lru-cache 11.3.1, released April 6, 2026: 1 breaking change.

- **Signature changed** `LRUCache.Status.get`  

Was get?: 'stale' | 'hit' | 'miss'; now get?: 'stale' | 'hit' | 'miss' | 'fetching' | 'stale-fetching'. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.1)

## lru-cache 11.3.0 breaking changes

lru-cache 11.3.0, released April 6, 2026: 12 breaking changes.

- **Signature changed** `LRUCache.FetcherFetchOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.forEach`  

Was forEach(fn: (v: V, k: K, self: LRUCache\<K, V, FC>) => any, thisp?: any): void; now forEach(fn: (v: V, k: K, self: LRUCache\<K, V, FC>) => unknown, thisp?: unknown): void. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.GetOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.HasOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.MemoizerMemoOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.MemoOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.rforEach`  

Was rforEach(fn: (v: V, k: K, self: LRUCache\<K, V, FC>) => any, thisp?: any): void; now rforEach(fn: (v: V, k: K, self: LRUCache\<K, V, FC>) => unknown, thisp?: unknown): void. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.set`  

Was set(k: K, v: V | BackgroundFetch\<V> | undefined, setOptions?: LRUCache.SetOptions\<K, V, FC>): this; now set(k: K, v: V | undefined, setOptions?: LRUCache.SetOptions\<K, V, FC>): this. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.SetOptions.status`  

Was status?: Status\<V>; now status?: Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)
- **Signature changed** `LRUCache.Status`  

Was interface Status\<V>; now interface Status\<K, V>. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.3.0)

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

## lru-cache 11.2.6 breaking changes

lru-cache 11.2.6, released February 10, 2026: 11 breaking changes.

- **Renamed** `min:BackgroundFetch`  

Use BackgroundFetch instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:DisposeTask`  

Use DisposeTask instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:Index`  

Use Index instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:LRUCache`  

Use LRUCache instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:NumberArray`  

Use NumberArray instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:Perf`  

Use Perf instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:PosInt`  

Use PosInt instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:Stack`  

Use Stack instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:StackLike`  

Use StackLike instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)
- **Renamed** `min:UintArray`  

Use UintArray instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/11.2.6)

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

## lru-cache 10.0.0 breaking changes

lru-cache 10.0.0, released June 15, 2023: 3 breaking changes.

- **Signature changed** `BackgroundFetch`  

Was type BackgroundFetch\<V> = Promise\<V | undefined | void> & {\_\_returned: BackgroundFetch\<V> | undefined; \_\_abortController: AbortController; \_\_staleWhileFetching: V | undefined;}; now type BackgroundFetch\<V> = Promise\<V | undefined> &... [npmjs.com](https://www.npmjs.com/package/lru-cache/v/10.0.0)
- **Signature changed** `LRUCache.fetch`  

The public method type signature changed so fetch resolves to undefined instead of void; code relying on the old type may need updating. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/10.0.0)
- **Signature changed** `LRUCache.Fetcher`  

Was type Fetcher\<K, V, FC = unknown> = (key: K, staleValue: V | undefined, options: FetcherOptions\<K, V, FC>) => Promise\<V | void | undefined> | V | void | undefined; now type Fetcher\<K, V, FC = unknown> = (key: K, staleValue: V |... [npmjs.com](https://www.npmjs.com/package/lru-cache/v/10.0.0)

## Older versions

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

### lru-cache 9.0.0 breaking changes

lru-cache 9.0.0, released April 9, 2023: 1 breaking change.

- **Removed** `default`  

The package no longer has a default export, so code that imports the default must switch to a named import. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/9.0.0)

### lru-cache 8.0.0 breaking changes

lru-cache 8.0.0, released March 12, 2023: 71 breaking changes.

- **Removed**  

The AbortController/AbortSignal polyfill is gone, so the runtime must provide these natively. [github.com](https://github.com/isaacs/node-lru-cache/blob/v8.0.0/CHANGELOG.md)
- **Removed** `default.del`  

Use delete instead. [npmjs.com](https://www.npmjs.com/package/lru-cache/v/8.0.0)

And 69 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.
