Releases: apollographql/apollo-server
@apollo/[email protected]
Patch Changes
-
#7118
c835637beThanks @glasser! - Provide newGraphQLRequestContext.requestIsBatchedfield to gateways, because we did add it in a backport to AS3 and the gateway interface is based on AS3. -
Updated dependencies [
c835637be]:- @apollo/[email protected]
@apollo/[email protected]
Patch Changes
- Updated dependencies [
c835637be]:- @apollo/[email protected]
@apollo/[email protected]
@apollo/[email protected]
Minor Changes
-
2a2d1e3b4Thanks @glasser! - Thecache-controlHTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write thecache-controlresponse header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see advisory GHSA-8r69-3cvp-wxc3. -
2a2d1e3b4Thanks @glasser! - Plugins processing multiple operations in a batched HTTP request now have a sharedrequestContext.request.httpobject. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. -
2a2d1e3b4Thanks @glasser! - New fieldGraphQLRequestContext.requestIsBatchedavailable to plugins.
@apollo/[email protected]
Minor Changes
-
2a2d1e3b4Thanks @glasser! - Thecache-controlHTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write thecache-controlresponse header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see advisory GHSA-8r69-3cvp-wxc3. -
2a2d1e3b4Thanks @glasser! - Plugins processing multiple operations in a batched HTTP request now have a sharedrequestContext.request.httpobject. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. -
2a2d1e3b4Thanks @glasser! - New fieldGraphQLRequestContext.requestIsBatchedavailable to plugins. -
#7114
c1651bfacThanks @trevor-scheer! - Directly depend on Apollo Server rather than as a peer
Patch Changes
- Updated dependencies [
2a2d1e3b4,2a2d1e3b4,2a2d1e3b4]:- @apollo/[email protected]
@apollo/[email protected]
Patch Changes
-
#7104
15d8d65e0Thanks @glasser! - NewApolloServerPluginSchemaReportingDisabledplugin which can override theAPOLLO_SCHEMA_REPORTINGenvironment variable. -
#7101
e4e7738beThanks @glasser! - Manage memory more efficiently in the usage reporting plugin by allowing large objects to be garbage collected more quickly. -
#7101
e4e7738beThanks @glasser! - The usage reporting plugin now defaults to a 30 second timeout for each attempt to send reports to Apollo Server instead of no timeout; the timeout can be adjusted with the newrequestTimeoutMsoption toApolloServerPluginUsageReporting. (Apollo's servers already enforced a 30 second timeout, so this is unlikely to break any existing use cases.) -
#7104
15d8d65e0Thanks @glasser! - It is now an error to combine a "disabled" plugin such asApolloServerPluginUsageReportingDisabledwith its enabled counterpart such asApolloServerPluginUsageReporting.
@apollo/[email protected]
Patch Changes
- Updated dependencies [
15d8d65e0,e4e7738be,e4e7738be,15d8d65e0]:- @apollo/[email protected]
@apollo/[email protected]
Patch Changes
- #7095
72111f970Thanks @alex-statsig! - Includemainandmodulefields in package.json for build tools that look for them instead ofexports.
@apollo/[email protected]
This version has no changes; @apollo/server and @apollo/server-integration-test are published with matching version numbers and we published a new version of @apollo/server-integration-test.
@apollo/[email protected]
Patch Changes
-
#7080
540f3d97cThanks @martinnabhan! - Recognize malformed JSON error messages from Next.js. -
Updated dependencies []:
- @apollo/[email protected]