github urql-graphql/urql @urql/core@2.5.0

latest releases: @urql/solid@0.1.0, @urql/next@1.1.2, @urql/exchange-graphcache@7.1.3...
2 years ago

Minor Changes

  • Add Accept header to GraphQL HTTP requests. This complies to the specification but doesn't go as far as sending Content-Type which would throw a lot of APIs off. Instead, we'll now be sending an accept header for application/graphql+json, application/json to indicate that we comply with the GraphQL over HTTP protocol.
    This also fixes headers merging to allow overriding Accept and Content-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)

Don't miss a new urql release

NewReleases is sending notifications on new releases.