- #337
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.
- Updated dependencies [
e02f708
]:- @apollo/utils.keyvaluecache@3.1.0
- #271
4e85af0
Thanks @trevor-scheer! - Drop support for Node.js v14
-
#266
ba46d81
Thanks @renovate! - Start building packages with TypeScript v5, which should have no effect for consumers -
Updated dependencies [
ba46d81
]:- @apollo/utils.keyvaluecache@2.1.1
-
#260
957493f
Thanks @trevor-scheer! - Fix issue with KeyvAdapter whereKeyv.getMany
returnsundefined
, causingKeyvAdapter
to violate theDataLoader
contract.DataLoader always expects a
Promise<Array<V>>
having the same length as thekeys
that were given to it. This problem stems from a shortcoming of theKeyv
typings, since it doesn't declare that aget([...keys])
can return a singularundefined
(but it can in the case of errors /Store.getMany
can return a singularundefined
).
- #216
7d89c43
Thanks @trevor-scheer! - Drop support for Node.js v12; all packages now require Node.js version >=14.
- Updated dependencies [
7d89c43
]:- @apollo/utils.keyvaluecache@2.0.0
- #189
191572b
Thanks @trevor-scheer! - Upgrade keyv dependency which incorporates a bugfix for getMany
- #122
ed4c0a1
Thanks @trevor-scheer! - Support batch reads via Keyv's multi-keyget
function overload. Allow for users to opt out of this behavior via thedisableBatchReads
option.
-
#106
0b3fe0a
Thanks @trevor-scheer! - Add missing entry points for new caching packages -
Updated dependencies [
0b3fe0a
]:- @apollo/utils.keyvaluecache@1.0.1
- #93
7ce10c7
Thanks @trevor-scheer! - Introduce package which extractsKeyValueCache
,PrefixingKeyValueCache
, andInMemoryLRUCache
from Apollo Server and adds a separate Keyv adapter which implements theKeyValueCache
interface. This also introduces anErrorsAreMissesCache
for adding tolerance and logging to errors when using caching clients which might be susceptible to connection failures or other types of errors.
- Updated dependencies [
7ce10c7
]:- @apollo/utils.keyvaluecache@1.0.0