Skip to content

Releases: apollographql/apollo-server

@apollo/[email protected]

25 Jan 21:21
f5607bf
Compare
Choose a tag to compare

Patch Changes

  • #7314 f246ddb71 Thanks @trevor-scheer! - Add an __identity property to HeaderMap class to disallow standard Maps (in TypeScript).

    This ensures that typechecking occurs on fields which are declared to accept a
    HeaderMap (notably, the httpGraphQLRequest.headers option to
    ApolloServer.executeHTTPGraphQLRequest and the http.headers option to
    ApolloServer.executeOperation). This might be a breaking change for
    integration authors, but should be easily fixed by switching from new Map<string, string>() to new HeaderMap().

  • #7326 e25cb58ff Thanks @trevor-scheer! - Pin node-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.

    Ref: southpolesteve/node-abort-controller#39

  • Updated dependencies [e0f959a63]:

@apollo/[email protected]

25 Jan 21:21
f5607bf
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

25 Jan 21:21
f5607bf
Compare
Choose a tag to compare

Minor Changes

@apollo/[email protected]

19 Jan 18:26
f329139
Compare
Choose a tag to compare

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:

    1. install / enable the ApolloServerPluginInlineTrace plugin
    2. throw on startup if ApolloServerPluginSchemaReporting should not be installed
    3. warn when ApolloServerPluginUsageReporting is installed and configured with the __onlyIfSchemaIsNotSubgraph option

@apollo/[email protected]

19 Jan 18:26
f329139
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

12 Dec 18:45
4be6c46
Compare
Choose a tag to compare

Minor Changes

  • #7241 d7e9b9759 Thanks @glasser! - If the cache you provide to the persistedQueries.cache option is created with PrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation (new in @apollo/[email protected]), 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).

@apollo/[email protected]

12 Dec 18:45
4be6c46
Compare
Choose a tag to compare

Minor Changes

  • #7241 d7e9b9759 Thanks @glasser! - If the cache you provide to the cache option is created with PrefixingKeyValueCache.cacheDangerouslyDoesNotNeedPrefixesForIsolation (new in @apollo/[email protected]), the fqc: prefix will not be added to cache keys.

@apollo/[email protected]

12 Dec 18:45
4be6c46
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

28 Nov 18:54
c27c2a9
Compare
Choose a tag to compare

Patch Changes

  • #7203 2042ee761 Thanks @glasser! - Fix v4.2.0 (#7171) regression where "operationName": null, "variables": null, and "extensions": null in POST bodies were improperly rejected.

@apollo/[email protected]

28 Nov 18:54
c27c2a9
Compare
Choose a tag to compare

Patch Changes