github apollographql/apollo-server @apollo/server@4.3.0

latest releases: @apollo/server@4.11.0, @apollo/server-integration-testsuite@4.11.0, @apollo/server@4.10.5...
21 months ago

Minor Changes

  • #7241 d7e9b9759 Thanks @glasser! - If the cache you provide to the persistedQueries.cache option is created with PrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation (new in @apollo/utils.keyvaluecache@2.1.0), the apq: prefix will not be added to cache keys. Providing such a cache to new ApolloServer() throws an error.

Patch Changes

  • #7232 3a4823e0d Thanks @glasser! - Refactor the implementation of ApolloServerPluginDrainHttpServer'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 Node util 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 Node url 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 pass new ApolloServer({ cache: 'bounded' }), which is equivalent to not providing the cache option (as a bounded cache is now the default in AS4).

Don't miss a new apollo-server release

NewReleases is sending notifications on new releases.