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]