Releases: apollographql/apollo-server
@apollo/[email protected]
Patch Changes
-
#7314
f246ddb71
Thanks @trevor-scheer! - Add an__identity
property toHeaderMap
class to disallow standardMap
s (in TypeScript).This ensures that typechecking occurs on fields which are declared to accept a
HeaderMap
(notably, thehttpGraphQLRequest.headers
option to
ApolloServer.executeHTTPGraphQLRequest
and thehttp.headers
option to
ApolloServer.executeOperation
). This might be a breaking change for
integration authors, but should be easily fixed by switching fromnew Map<string, string>()
tonew HeaderMap()
. -
#7326
e25cb58ff
Thanks @trevor-scheer! - Pinnode-abort-controller
version to avoid breaking change. Apollo Server users can enter a broken state if they update their package-lock.json due to a breaking change in a minor release of the mentioned package. -
Updated dependencies [
e0f959a63
]:- @apollo/[email protected]
@apollo/[email protected]
@apollo/[email protected]
Minor Changes
- #7325
e0f959a63
Thanks @trevor-scheer! - Add optionalnonFtv1ErrorPaths
to Gateway metrics data. This change is a prerequisite to:
@apollo/[email protected]
Patch Changes
-
#7313
ec28b4b33
Thanks @vtipparam! - Allow case insensitive lookup on headers. Use HeaderMap instead of plain Map for headers in expressMiddleware. -
#7311
322b5ebbc
Thanks @axe-me! - Export intermediate ApolloServerOptions* types -
#7274
3b0ec8529
Thanks @patrick91! - The subgraph spec has evolved in Federation v2 such that the type of
_Service.sdl
(formerly nullable) is now non-nullable. Apollo Server now
detects both cases correctly in order to determine whether to:- install / enable the
ApolloServerPluginInlineTrace
plugin - throw on startup if
ApolloServerPluginSchemaReporting
should not be installed - warn when
ApolloServerPluginUsageReporting
is installed and configured with the__onlyIfSchemaIsNotSubgraph
option
- install / enable the
@apollo/[email protected]
Patch Changes
-
#7285
35fa72bdd
Thanks @glasser! - Adds an integration test verifying that Rover's introspection query works. This should not break any integration that passes other tests. -
#7276
15c912f4c
Thanks @renovate! - Update graphql-http dependency -
Updated dependencies [
ec28b4b33
,322b5ebbc
,3b0ec8529
]:- @apollo/[email protected]
@apollo/[email protected]
Minor Changes
- #7241
d7e9b9759
Thanks @glasser! - If the cache you provide to thepersistedQueries.cache
option is created withPrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation
(new in@apollo/[email protected]
), 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).
@apollo/[email protected]
Minor Changes
- #7241
d7e9b9759
Thanks @glasser! - If the cache you provide to thecache
option is created withPrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation
(new in@apollo/[email protected]
), thefqc:
prefix will not be added to cache keys.
@apollo/[email protected]
Patch Changes
-
#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. -
Updated dependencies [
3a4823e0d
,d057e2ffc
,f97e55304
,d7e9b9759
,d7e9b9759
]:- @apollo/[email protected]