Releases: apollographql/apollo-server
@apollo/server@4.0.0-alpha.13
Patch Changes
-
#6936
a404bf17eThanks @trevor-scheer! - Update executeOperation second parameter to be an optional options object which includes an optionalcontextValue. -
#6936
a404bf17eThanks @trevor-scheer! -HTTPGraphQLRequestnow uses a specificHeaderMapclass which we export instead of allowing a standardMap. TheHeaderMapdowncases all incoming keys, as header names are not case-sensitive. -
#6936
a404bf17eThanks @trevor-scheer! - UpdatevalidationRulestyping for correctness. This is sort of a breaking change for TS users in that the types were more permissive than they should have been. AllvalidationRuleslist items should conform to thegraphql-jsValidationRuletype.
@apollo/server-integration-testsuite@4.0.0-alpha.13
@apollo/server@4.0.0-alpha.12
Patch Changes
-
#6827
0c2909aa1Thanks @glasser! - Experimental support for incremental delivery (@defer/@stream) when combined with a prerelease ofgraphql-js. -
#6827
0c2909aa1Thanks @glasser! - Support application/graphql-response+json content-type if requested via Accept header, as per graphql-over-http spec.
Includecharset=utf-8in content-type headers.
@apollo/server-plugin-response-cache@4.0.0-alpha.5
@apollo/server-integration-testsuite@4.0.0-alpha.12
Patch Changes
-
#6827
0c2909aa1Thanks @glasser! - Experimental support for incremental delivery (@defer/@stream) when combined with a prerelease ofgraphql-js. -
#6850
256f2424bThanks @renovate! - Expand jest peer deps to include v29 -
#6910
6541f92c9Thanks @trevor-scheer! - Update snapshot format to future jest v29 default -
#6827
0c2909aa1Thanks @glasser! - Support application/graphql-response+json content-type if requested via Accept header, as per graphql-over-http spec.
Includecharset=utf-8in content-type headers. -
Updated dependencies [
0c2909aa1,0c2909aa1]:- @apollo/server@4.0.0-alpha.12
@apollo/server@4.0.0-alpha.11
@apollo/server-integration-testsuite@4.0.0-alpha.11
Patch Changes
- #6906
115ab2fa8Thanks @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
Patch Changes
- #6857
15b1cb2e9Thanks @glasser! - Errors thrown in resolvers and context functions can useextensions.httpto 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 comparingextensions.codetoINTERNAL_SERVER_ERROR.
@apollo/server-integration-testsuite@4.0.0-alpha.10
Patch Changes
-
#6857
15b1cb2e9Thanks @glasser! - Errors thrown in resolvers and context functions can useextensions.httpto 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 comparingextensions.codetoINTERNAL_SERVER_ERROR. -
Updated dependencies [
15b1cb2e9]:- @apollo/server@4.0.0-alpha.10
@apollo/server@4.0.0-alpha.9
Patch Changes
-
#6855
3e4ab3fcaThanks @glasser! - New usage reporting optionsendTraces: falseto only send usage reports as aggregated statistics, not per-request traces. -
#6855
3e4ab3fcaThanks @glasser! - Remove Apollo-internalinternal_includeTracesContributingToStats. This should not have been used other than inside Apollo's own servers. -
#6855
3e4ab3fcaThanks @glasser! - The usage reporting optiondebugPrintReportsnow displays reports vialogger.inforather thanlogger.warn. -
#6855
3e4ab3fcaThanks @glasser! - Rename usage reporting optionsendErrorsInTraces(added in 4.0.0-alpha.4) tosendErrors, as it also affects error statistics outside of traces.