Skip to content

chore(deps): bump graphql-yoga from 5.18.1 to 5.21.0 - #120

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-yoga-5.21.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-yoga-5.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 6, 2026

Copy link
Copy Markdown
Contributor

Bumps graphql-yoga from 5.18.1 to 5.21.0.

Changelog

Sourced from graphql-yoga's changelog.

5.21.0

Minor Changes

  • #4430 e263f7e Thanks @​ardatan! - Short-circuit response in onRequestParse hook

    In the onRequestParse hook, if a response is sent using endResponse, we should short-circuit the request parsing and return that response immediately. This allows users to handle certain requests entirely within the onRequestParse hook without needing to go through the rest of the request processing pipeline.

    const plugin = {
      onRequestParse({ endResponse }) {
        if (/* some condition */) {
          endResponse(new Response('Short-circuited response'));
        }
      },
    };

    Or you can also short-circuit the response inside the request parser:

    const plugin = {
      onRequestParse({ setRequestParser }) {
        setRequestParser(req => {
          if (req.url === '/short-circuit') {
            return new Response('Short-circuited response')
          }
          // Otherwise, return the parsed parameters as usual
          return parseRequestNormally(req)
        })
      }
    }

5.20.0

Minor Changes

  • #4428 93f1dc0 Thanks @​ardatan! - Support changing graphqlEndpoint after initialization;

    const yoga = createYoga({

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [graphql-yoga](https://github.com/graphql-hive/graphql-yoga/tree/HEAD/packages/graphql-yoga) from 5.18.1 to 5.21.0.
- [Release notes](https://github.com/graphql-hive/graphql-yoga/releases)
- [Changelog](https://github.com/graphql-hive/graphql-yoga/blob/main/packages/graphql-yoga/CHANGELOG.md)
- [Commits](https://github.com/graphql-hive/graphql-yoga/commits/graphql-yoga@5.21.0/packages/graphql-yoga)

---
updated-dependencies:
- dependency-name: graphql-yoga
  dependency-version: 5.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@vercel

vercel Bot commented Apr 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
panoptes Ready Ready Preview, Comment Apr 6, 2026 0:27am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants