Skip to content

March 29, 2024

Compare
Choose a tag to compare
@theguild-bot theguild-bot released this 29 Mar 22:39
· 19 commits to main since this release
0c95e90

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()]
    })

    Learn more in our docs

    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

@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

@graphql-yoga/plugin-apq@3.3.0

Patch Changes

@graphql-yoga/plugin-csrf-prevention@3.3.0

Patch Changes

@graphql-yoga/plugin-defer-stream@3.3.0

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.3.0

Patch Changes

@graphql-yoga/plugin-graphql-sse@3.3.0

Patch Changes

@graphql-yoga/plugin-jwt@2.3.0

Patch Changes

@graphql-yoga/plugin-persisted-operations@3.3.0

Patch Changes

@graphql-yoga/plugin-prometheus@4.2.0

Patch Changes

@graphql-yoga/plugin-response-cache@3.5.0

Patch Changes

@graphql-yoga/plugin-sofa@3.3.0

Patch Changes

@graphql-yoga/render-graphiql@5.3.0

Patch Changes