Skip to content

Releases: apollographql/apollo-server

@apollo/server@4.0.0-alpha.13

26 Sep 17:28
0ddf04f

Choose a tag to compare

Pre-release

Patch Changes

  • #6936 a404bf17e Thanks @trevor-scheer! - Update executeOperation second parameter to be an optional options object which includes an optional contextValue.

  • #6936 a404bf17e Thanks @trevor-scheer! - HTTPGraphQLRequest now uses a specific HeaderMap class which we export instead of allowing a standard Map. The HeaderMap downcases all incoming keys, as header names are not case-sensitive.

  • #6936 a404bf17e Thanks @trevor-scheer! - Update validationRules typing for correctness. This is sort of a breaking change for TS users in that the types were more permissive than they should have been. All validationRules list items should conform to the graphql-js ValidationRule type.

@apollo/server-integration-testsuite@4.0.0-alpha.13

26 Sep 17:28
0ddf04f

Choose a tag to compare

Patch Changes

@apollo/server@4.0.0-alpha.12

24 Sep 00:06
cbb142a

Choose a tag to compare

Pre-release

Patch Changes

  • #6827 0c2909aa1 Thanks @glasser! - Experimental support for incremental delivery (@defer/@stream) when combined with a prerelease of graphql-js.

  • #6827 0c2909aa1 Thanks @glasser! - Support application/graphql-response+json content-type if requested via Accept header, as per graphql-over-http spec.
    Include charset=utf-8 in content-type headers.

@apollo/server-plugin-response-cache@4.0.0-alpha.5

24 Sep 00:06
cbb142a

Choose a tag to compare

Patch Changes

  • #6827 0c2909aa1 Thanks @glasser! - Experimental support for incremental delivery (@defer/@stream) when combined with a prerelease of graphql-js.

  • Updated dependencies [0c2909aa1, 0c2909aa1]:

    • @apollo/server@4.0.0-alpha.12

@apollo/server-integration-testsuite@4.0.0-alpha.12

24 Sep 00:06
cbb142a

Choose a tag to compare

Patch Changes

  • #6827 0c2909aa1 Thanks @glasser! - Experimental support for incremental delivery (@defer/@stream) when combined with a prerelease of graphql-js.

  • #6850 256f2424b Thanks @renovate! - Expand jest peer deps to include v29

  • #6910 6541f92c9 Thanks @trevor-scheer! - Update snapshot format to future jest v29 default

  • #6827 0c2909aa1 Thanks @glasser! - Support application/graphql-response+json content-type if requested via Accept header, as per graphql-over-http spec.
    Include charset=utf-8 in content-type headers.

  • Updated dependencies [0c2909aa1, 0c2909aa1]:

    • @apollo/server@4.0.0-alpha.12

@apollo/server@4.0.0-alpha.11

14 Sep 22:33
e9084af

Choose a tag to compare

Pre-release

Patch Changes

@apollo/server-integration-testsuite@4.0.0-alpha.11

14 Sep 22:33
e9084af

Choose a tag to compare

Patch Changes

  • #6906 115ab2fa8 Thanks @trevor-scheer! - Relax message requirement for malformed JSON POST to allow default 'Bad Request'
    response.
  • Updated dependencies [6b37d169b]:
    • @apollo/server@4.0.0-alpha.11

@apollo/server@4.0.0-alpha.10

29 Aug 23:41
0895111

Choose a tag to compare

Pre-release

Patch Changes

  • #6857 15b1cb2e9 Thanks @glasser! - Errors thrown in resolvers and context functions can use extensions.http to affect the response status code and headers. The default behavior when a context function throws is now to always use status code 500 rather than comparing extensions.code to INTERNAL_SERVER_ERROR.

@apollo/server-integration-testsuite@4.0.0-alpha.10

29 Aug 23:41
0895111

Choose a tag to compare

Patch Changes

  • #6857 15b1cb2e9 Thanks @glasser! - Errors thrown in resolvers and context functions can use extensions.http to affect the response status code and headers. The default behavior when a context function throws is now to always use status code 500 rather than comparing extensions.code to INTERNAL_SERVER_ERROR.

  • Updated dependencies [15b1cb2e9]:

    • @apollo/server@4.0.0-alpha.10

@apollo/server@4.0.0-alpha.9

26 Aug 21:52
3689880

Choose a tag to compare

Pre-release

Patch Changes

  • #6855 3e4ab3fca Thanks @glasser! - New usage reporting option sendTraces: false to only send usage reports as aggregated statistics, not per-request traces.

  • #6855 3e4ab3fca Thanks @glasser! - Remove Apollo-internal internal_includeTracesContributingToStats. This should not have been used other than inside Apollo's own servers.

  • #6855 3e4ab3fca Thanks @glasser! - The usage reporting option debugPrintReports now displays reports via logger.info rather than logger.warn.

  • #6855 3e4ab3fca Thanks @glasser! - Rename usage reporting option sendErrorsInTraces (added in 4.0.0-alpha.4) to sendErrors, as it also affects error statistics outside of traces.