urql-ci
released this
24 May 18:37
·
528 commits
to main
since this release
Minor Changes
- Add
Accept
header to GraphQL HTTP requests. This complies to the specification but doesn't go as far as sendingContent-Type
which would throw a lot of APIs off. Instead, we'll now be sending an accept header forapplication/graphql+json, application/json
to indicate that we comply with the GraphQL over HTTP protocol.
This also fixes headers merging to allow overridingAccept
andContent-Type
regardless of the user options' casing, by @kitten (See #2457)
Patch Changes
- Support aborting in
withPromise
cases, by @JoviDeCroock (See #2446) - Passthrough responses with content type of
text/*
as error messages, by @kitten (See #2456)