Releases: apollographql/apollo-server
@apollo/[email protected]
Patch Changes
- #6906
115ab2fa8Thanks @trevor-scheer! - Relax message requirement for malformed JSON POST to allow default 'Bad Request'
response. - Updated dependencies [
6b37d169b]:- @apollo/[email protected]
@apollo/[email protected]
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/[email protected]
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/[email protected]
@apollo/[email protected]
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.
@apollo/[email protected]
@apollo/[email protected]
Patch Changes
-
#6841
3320fee92Thanks @glasser! - Upgrade @apollo/server-gateway-interface to have laxer definition of overallCachePolicy. -
#6731
9fc23f799Thanks @trevor-scheer! - Use extensions for all imports to accommodate TS users using moduleResolution: "nodenext" -
#6846
2cab8f785Thanks @trevor-scheer! - Ensure executionDidEnd hooks are only called once (when they throw)
@apollo/[email protected]
Patch Changes
- Updated dependencies [
3320fee92,9fc23f799,2cab8f785]:- @apollo/[email protected]
@apollo/[email protected]
@apollo/[email protected]
@apollo/[email protected]
Patch Changes
-
#6817
eca003fdcThanks @glasser! - Move ApolloServerPluginGraphQLPlayground into its own package. -
Updated dependencies [
eca003fdc]:- @apollo/[email protected]
- @apollo/[email protected]