Minor Changes
- Support Apollo Federation's format for subscription results in
multipart/mixed
responses (result properties essentially are namespaced on apayload
key)
Submitted by @JoviDeCroock (See #3499) - Add support for sending persisted documents. Any
DocumentNode
with no/empty definitions and adocumentId
property is considered a persisted document. When this is detected adocumentId
parameter rather than aquery
string is sent to the GraphQL API, similar to Automatic Persisted Queries (APQs). However, APQs are only supported via@urql/exchange-persisted
, while support fordocumentId
is now built-in
Submitted by @kitten (See #3515)
Patch Changes
- Allow
url
to be a plain, non-URL pathname (i.e./api/graphql
) to be used withpreferGetMethod
Submitted by @akrantz01 (See #3514) - Correctly support the
Headers
class being used infetchOptions
Submitted by @JoviDeCroock (See #3505)