Skip to content

graphql-helix@1.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Dec 10:39
· 31 commits to main since this release
3a1c91d

Minor Changes

  • f07a403: Adjust the handling of the accept header.

    • Clients accepting the application/graphql+json header (via the accept header) will receive responses that use Content-Type: application/graphql+json over application/json (which is only for supporting legacy clients).
      Clients that do not specify any accept headers will still receive content-type: application/json. This is not considered a breaking change as clients accepting the application/graphql+json header should also be able to process it.
      Note: When using the application/graphql+json content-type header you need to configure your HTTP server/framework to parse this content-type as JSON.
    • GET text/event-stream requests will now ALWAYS return a PushResponse instead of a MultipartResponse. Previously helix would send a MultipartResponse if the accept header was not a strict equal to accept: text/event-stream.
    • POST requests that try to execute Subscription operations will now receive an error and 405 status code. This is not considered a breaking change as SSE is not doable over POST by the specification and was never officially supported.