This repository was archived by the owner on Dec 20, 2024. It is now read-only.
graphql-helix@1.11.0
·
31 commits
to main
since this release
Minor Changes
-
f07a403: Adjust the handling of the
acceptheader.- Clients accepting the
application/graphql+jsonheader (via theacceptheader) will receive responses that useContent-Type: application/graphql+jsonoverapplication/json(which is only for supporting legacy clients).
Clients that do not specify anyacceptheaders will still receivecontent-type: application/json. This is not considered a breaking change as clients accepting theapplication/graphql+jsonheader should also be able to process it.
Note: When using theapplication/graphql+jsoncontent-type header you need to configure your HTTP server/framework to parse this content-type as JSON. - GET
text/event-streamrequests will now ALWAYS return aPushResponseinstead of aMultipartResponse. Previously helix would send aMultipartResponseif the accept header was not a strict equal toaccept: 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.
- Clients accepting the