@apollo/server@4.3.0
Minor Changes
- #7241
d7e9b9759
Thanks @glasser! - If the cache you provide to thepersistedQueries.cache
option is created withPrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation
(new in@apollo/utils.keyvaluecache@2.1.0
), theapq:
prefix will not be added to cache keys. Providing such a cache tonew ApolloServer()
throws an error.
Patch Changes
-
#7232
3a4823e0d
Thanks @glasser! - Refactor the implementation ofApolloServerPluginDrainHttpServer
's grace period. This is intended to be a no-op. -
#7229
d057e2ffc
Thanks @dnalborczyk! - Improve compatibility with Cloudflare workers by avoiding the use of the Nodeutil
package. This change is intended to be a no-op. -
#7228
f97e55304
Thanks @dnalborczyk! - Improve compatibility with Cloudflare workers by avoiding the use of the Nodeurl
package. This change is intended to be a no-op. -
#7241
d7e9b9759
Thanks @glasser! - For ease of upgrade from the recommended configuration of Apollo Server v3.9+, you can now passnew ApolloServer({ cache: 'bounded' })
, which is equivalent to not providing thecache
option (as a bounded cache is now the default in AS4).