This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Releases: contra/graphql-helix
Releases · contra/graphql-helix
Release list
graphql-helix@1.13.0
graphql-helix@1.12.0
Minor Changes
- baf0b15: Enable to configure allowed HTTP methods for subscriptions.
graphql-helix@1.11.0
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
graphql-helix@1.10.3
Patch Changes
- d6071a1: Set content-length header on sendResponseResult
graphql-helix@1.10.2
Patch Changes
- ea28821: fix missing context in subscribe function
graphql-helix@1.10.1
Patch Changes
-
b6eff48: Handle errors thrown by subscribe handlers.
Previously any error raised with a
subscribehandler on theSubscriptionroot type was not handled and forwarded toformatPayload, which could potentially lead to error message leaking to clients.
graphql-helix@1.10.0
Minor Changes
- d50e833: graphiql: allow to store headers in localStorage (false by default)
graphql-helix@1.9.1
Patch Changes
- a52d40b: fix(processRequest): pass context as contextValue correctly