NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4601 most downloaded on npm
Minimal key-value cache interface
Last release 1 years ago
21 May 2025
Release timing varies
gaps range from 2 weeks to 1.7 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
10 releases · first in 2022
One column per quarter.
### Major Changes - #452 `8cfba84` Thanks @renovate! - Require Node v20; upgrade lru-cache to v11.
### Minor Changes - #376 `7af650b` Thanks @rportugal! - Add redirect to FetcherRequestInit
7af650b Thanks @rportugal! - Add redirect to FetcherRequestInite02f708 Thanks @HishamAli81! - Updated the KeyValueCache.KeyValueCacheSetOptions type to be configurable, to be able to support custom key value caches that require additional cache set options.e02f708 Thanks @HishamAli81! - Updated the KeyValueCache.KeyValueCacheSetOptions type to be configurable, to be able to support custom key value caches that require additional cache set options.e02f708]:
a4c17b2 Thanks @trevor-scheer! - Update usage reporting protobuf which introduces support for the ConditionNode in query planning.### Major Changes - #271 `4e85af0` Thanks @trevor-scheer! - Drop support for Node.js v14
4e85af0 Thanks @trevor-scheer! - Drop support for Node.js v144e85af0 Thanks @trevor-scheer! - Drop support for Node.js v144e85af0]:
4e85af0 Thanks @trevor-scheer! - Drop support for Node.js v14#271 4e85af0 Thanks @trevor-scheer! - Update lru-cache dependency from v7.x to v9.x
The InMemoryLRUCache constructor accepts an LRUCache.Options object. This type has changed since v8.x, so you may need to update your usages accordingly.
The changes in the options typings aren't documented in the changelog; please look at the source below for specifics.
v7 options can be derived here. v8-9 options can be derived here.
Updated dependencies [4e85af0]:
Updated dependencies \[`ba46d81`]:
### Minor Changes - #298 `cfa5dd4` Thanks @trevor-scheer! - Update usage reporting protobuf which introduces support for the ConditionNode in query pl
cfa5dd4 Thanks @trevor-scheer! - Update usage reporting protobuf which introduces support for the ConditionNode in query planning.### Patch Changes - #266 `ba46d81` Thanks @renovate! - Start building packages with TypeScript v5, which should have no effect for consumers
#266 ba46d81 Thanks @renovate! - Start building packages with TypeScript v5, which should have no effect for consumers
Updated dependencies [ba46d81]:
#260 957493f Thanks @trevor-scheer! - Fix issue with KeyvAdapter where Keyv.getMany returns undefined,
causing KeyvAdapter to violate the DataLoader contract.
DataLoader always expects a Promise<Array<V>> having the same length
as the keys that were given to it. This problem stems from a
shortcoming of the Keyv typings, since it doesn't declare that a
get([...keys]) can return a singular undefined (but it can in
the case of errors / Store.getMany can return a singular undefined).
bcf0981 Thanks @trevor-scheer! - Fix the version range specified for lru-cache which was previously invalid. Unpin the range now that we've dropped support for node@12
and this was originally a @types/node@12 issue.### Major Changes - #216 `7d89c43` Thanks @trevor-scheer! - Drop support for Node.js v12; all packages now require Node.js version >=14.
7d89c43 Thanks @trevor-scheer! - Drop support for Node.js v12; all packages now require Node.js version >=14.7d89c43 Thanks @trevor-scheer! - Drop support for Node.js v12; all packages now require Node.js version >=14.7d89c43]:
### Patch Changes - #228 `7a33d34` Thanks @trevor-scheer! - Fix lru-cache dependency version range (previously invalid)
7a33d34 Thanks @trevor-scheer! - Fix lru-cache dependency version range (previously invalid)### Patch Changes - #219 `e8f8188` Thanks @SimenB! - Migrate from apollo-reporting-protobuf to @apollo/usage-reporting-protobuf
4d97c16 Thanks @trevor-scheer! - Support ESM for types-only packages0b3fe0a Thanks @trevor-scheer! - Add missing entry points for new caching packages#106 0b3fe0a Thanks @trevor-scheer! - Add missing entry points for new caching packages
Updated dependencies [0b3fe0a]:
### Major Changes - #287 `1a64dfa` Thanks @glasser! - Initial release
7ce10c7 Thanks @trevor-scheer! - Introduce package which extracts KeyValueCache, PrefixingKeyValueCache, and InMemoryLRUCache from Apollo Server and adds a separate Keyv adapter which implements the KeyValueCache interface. This also introduces an ErrorsAreMissesCache for adding tolerance and logging to errors when using caching clients which might be susceptible to connection failures or other types of errors.7ce10c7 Thanks @trevor-scheer! - Introduce package which extracts KeyValueCache, PrefixingKeyValueCache, and InMemoryLRUCache from Apollo Server and adds a separate Keyv adapter which implements the KeyValueCache interface. This also introduces an ErrorsAreMissesCache for adding tolerance and logging to errors when using caching clients which might be susceptible to connection failures or other types of errors.7ce10c7]:
0d9db54 Thanks @trevor-scheer! - Initial release of usage reporting signature (and its components)
Initial release of calculateReferencedFieldsByType0d9db54]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →