Skip to content

Latest commit

 

History

History
94 lines (53 loc) · 5.27 KB

CHANGELOG.md

File metadata and controls

94 lines (53 loc) · 5.27 KB

@apollo/utils.keyvadapter

3.1.0

Minor Changes

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

Patch Changes

  • Updated dependencies [e02f708]:
    • @apollo/utils.keyvaluecache@3.1.0

3.0.0

Major Changes

Patch Changes

  • Updated dependencies [4e85af0, 4e85af0]:
    • @apollo/utils.keyvaluecache@3.0.0

2.0.2

Patch Changes

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

2.0.1

Patch Changes

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

2.0.0

Major Changes

Patch Changes

  • Updated dependencies [7d89c43]:
    • @apollo/utils.keyvaluecache@2.0.0

1.1.2

Patch Changes

1.1.1

Patch Changes

  • #153 4a7a886 Thanks @hoonoh! - Adds typescript class generics to match Keyv class generics.

1.1.0

Minor Changes

  • #122 ed4c0a1 Thanks @trevor-scheer! - Support batch reads via Keyv's multi-key get function overload. Allow for users to opt out of this behavior via the disableBatchReads option.

1.0.1

Patch Changes

1.0.0

Major Changes

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

Patch Changes

  • Updated dependencies [7ce10c7]:
    • @apollo/utils.keyvaluecache@1.0.0