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

Upcoming Release Changes #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@graphql-yoga/[email protected]

Minor Changes

  • 8947657: ## Correct status code for multipart request errors

    Return correct 413 (Request Entity Too Large) HTTP status code if the given request body is larger then the specified one in multipart options.
    Previously it was returning 400 or 500 which is an incorrect behavior misleading the client.

    Possible to configure the HTTP status code and headers of the response

    Now we add a new http field to GraphQLErrorExtensions that you can set the status code and headers of the response;

    throw new GraphQLError('You are not authorized to access this field', {
      extensions: {
        http: {
          status: 401,
          headers: {
            'WWW-Authenticate': 'Bearer',
          },
        },
      },
    })

@graphql-yoga/[email protected]

Minor Changes

[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

  • 8947657: ## Correct status code for multipart request errors

    Return correct 413 (Request Entity Too Large) HTTP status code if the given request body is larger then the specified one in multipart options.
    Previously it was returning 400 or 500 which is an incorrect behavior misleading the client.

    Possible to configure the HTTP status code and headers of the response

    Now we add a new http field to GraphQLErrorExtensions that you can set the status code and headers of the response;

    throw new GraphQLError('You are not authorized to access this field', {
      extensions: {
        http: {
          status: 401,
          headers: {
            'WWW-Authenticate': 'Bearer',
          },
        },
      },
    })
  • Updated dependencies [8947657]

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

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