release-1711751967019
版本发布时间: 2024-03-30 06:39:27
dotansimha/graphql-yoga最新发布版本:release-1711751967019(2024-03-30 06:39:27)
graphql-yoga-cloud-run-guide@3.3.0
Patch Changes
@graphql-yoga/apollo-link@3.3.0
@graphql-yoga/urql-exchange@3.3.0
graphql-yoga@5.3.0
Minor Changes
-
#3197
f775b341
Thanks @n1ru4l! - Experimental support for aborting GraphQL execution when the HTTP request is canceled.The execution of subsequent GraphQL resolvers is now aborted if the incoming HTTP request is canceled from the client side. This reduces the load of your API in case incoming requests with deep GraphQL operation selection sets are canceled.
import { createYoga, useExecutionCancellation } from 'graphql-yoga' const yoga = createYoga({ plugins: [useExecutionCancellation()] })
Action Required In order to benefit from this new feature, you need to update your integration setup for Fastify, Koa and Hapi.
- const response = await yoga.handleNodeRequest(req, { ... }) + const response = await yoga.handleNodeRequestAndResponse(req, res, { ... })
Please refer to the corresponding integration guides for examples.
Patch Changes
-
#3197
f775b341
Thanks @n1ru4l! - dependencies updates:- Updated dependency
@graphql-tools/executor@^1.2.5
↗︎ (from^1.2.2
, independencies
) - Updated dependency
@whatwg-node/fetch@^0.9.17
↗︎ (from^0.9.7
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.32
↗︎ (from^0.9.1
, independencies
)
- Updated dependency
-
#3214
f89a1aa2
Thanks @n1ru4l! - Always include empty data payload for finalcomplete
event of SSE stream responses to ensureEventSource
compatibility. See the GraphQL over SSE protocol for more information.
@graphql-yoga/nestjs@3.3.0
Patch Changes
@graphql-yoga/nestjs-federation@3.3.0
Patch Changes
- Updated dependencies
[
f775b341
]:- @graphql-yoga/plugin-apollo-inline-trace@3.3.0
- @graphql-yoga/nestjs@3.3.0
@graphql-yoga/plugin-apollo-inline-trace@3.3.0
Patch Changes
-
#3197
f775b341
Thanks @n1ru4l! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.9.17
↗︎ (from^0.9.7
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[
f775b341
,f775b341
,f89a1aa2
]: