Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove
apollo-server-caching
,apollo-server-cache-redis
, andapollo-server-cache-memcached
packages. We will continue to offer bugfixes for these packages as needed but don't intend to continue active development on them. Our recommendation going forward will be to use thekeyv
package along with ourKeyvAdapter
from the@apollo/utils.keyvadapter
package. Docs updates to come in a following PR (but coupled with this release).The
KeyValueCache
interface andInMemoryLRUCache
wrapper aroundlru-cache
(as well as a few useful cache wrappers likePrefixingKeyValueCache
) will continue to exist in the@apollo/utils.keyvaluecache
package. It's worth mentioning thatInMemoryLRUCache
is on a newer major version oflru-cache
which doesn't permit the unbounded behavior which we've had by default. In AS 3.9 you can opt into the bounded cache, and in AS4 it will be the default.