Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency graphql-yoga to v5.6.1 #11007

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-yoga (source) 5.3.1 -> 5.6.1 age adoption passing confidence

Release Notes

dotansimha/graphql-yoga (graphql-yoga)

v5.6.1

Compare Source

Patch Changes

v5.6.0

Compare Source

Minor Changes
  • #​3333
    9f3f945
    Thanks @​ardatan! - By default, Yoga does not allow extra parameters
    in the request body other than query, operationName, extensions, and variables, then
    throws 400 HTTP Error. This change adds a new option called extraParamNames to allow extra
    parameters in the request body.

    import { createYoga } from 'graphql-yoga'
    
    const yoga = createYoga({
      /* other options */
      extraParamNames: ['extraParam1', 'extraParam2']
    })
    
    const res = await yoga.fetch('/graphql', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        query: 'query { __typename }',
        extraParam1: 'value1',
        extraParam2: 'value2'
      })
    })
    
    console.assert(res.status === 200)

v5.5.0

Compare Source

Minor Changes
  • #​3332
    0208024
    Thanks @​ardatan! - Customize the landing page by passing a custom
    renderer that returns Response to the landingPage option

    import { createYoga } from 'graphql-yoga'
    
    const yoga = createYoga({
      landingPage: ({ url, fetchAPI }) => {
        return new fetchAPI.Response(
          /* HTML */ `
            <!doctype html>
            <html>
              <head>
                <title>404 Not Found</title>
              </head>
              <body>
                <h1>404 Not Found</h1>
                <p>Sorry, the page (${url.pathname}) you are looking for could not be found.</p>
              </body>
            </html>
          `,
          {
            status: 404,
            headers: {
              'Content-Type': 'text/html'
            }
          }
        )
      }
    })

v5.4.0

Compare Source

Minor Changes
  • #​3314
    d5dfe99
    Thanks @​EmrysMyrddin! - Allow for full customization of the
    GraphiQL page.

    Props from the YogaGraphiQL are now forwarded to the underlying GraphiQL components.

    The graphiql option field type of the Yoga server as also been updated to document which options
    are configurable from the server side. Only serializable options are available.

  • #​3255
    7335a82
    Thanks @​nissy-dev! - support shouldPersistHeaders option in
    GraphiQL plugin

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) July 20, 2024 15:55
@Josh-Walker-GM Josh-Walker-GM added this to the next-release milestone Jul 20, 2024
@Josh-Walker-GM Josh-Walker-GM added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Jul 20, 2024
@renovate renovate bot merged commit 36e8346 into main Jul 20, 2024
50 of 56 checks passed
@renovate renovate bot deleted the renovate/graphql-yoga-5.x branch July 20, 2024 16:34
dac09 added a commit to dac09/redwood that referenced this pull request Jul 21, 2024
…-dual-pkg

* 'main' of github.com:redwoodjs/redwood: (74 commits)
  chore(deps): Remove webpack related packages (redwoodjs#11028)
  fix(deps): update dependency pino to v9 (redwoodjs#11030)
  fix(deps): update dependency lru-cache to v11 (redwoodjs#11029)
  fix(deps): update dependency @sdl-codegen/node to v1 (redwoodjs#11027)
  chore(deps): update yarn to v4.3.1 (redwoodjs#11026)
  chore(deps): update dependency vitest to v2 (redwoodjs#11021)
  fix(deps): update dependency @react-email/render to v0.0.16 (redwoodjs#11025)
  chore(deps): update dependency rimraf to v6 (redwoodjs#11024)
  chore(deps): update dependency make-dir-cli to v4 (redwoodjs#11023)
  chore(deps): update dependency glob to v11 (redwoodjs#11022)
  chore(deps): update dependency type-fest to v4 (redwoodjs#11020)
  fix(deps): update dependency @whatwg-node/fetch to v0.9.18 (redwoodjs#11016)
  chore(deps): update dependency @supabase/ssr to v0.4.0 (redwoodjs#11017)
  fix(deps): update dependency @joshwooding/vite-plugin-react-docgen-typescript to v0.4.0 (redwoodjs#11018)
  fix(deps): update dependency esbuild to v0.23.0 (redwoodjs#11015)
  fix(deps): update dependency @swc/core to v1.7.0 (redwoodjs#11012)
  chore(storybook): Pin versions and update them (redwoodjs#11011)
  fix(deps): update dependency eslint-plugin-prettier to v5.2.1 (redwoodjs#11010)
  fix(deps): update dependency @vitejs/plugin-react to v4.3.1 (redwoodjs#11013)
  fix(deps): update dependency graphql-yoga to v5.6.1 (redwoodjs#11007)
  ...
@Josh-Walker-GM Josh-Walker-GM added release:dependency This PR only updates dependencies and removed release:chore This PR is a chore (means nothing for users) labels Jul 31, 2024
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:dependency This PR only updates dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant