github urql-graphql/urql @urql/core@4.3.0

latest releases: @urql/next@1.1.3, @urql/vue@1.4.2, @urql/svelte@4.2.2...
8 months ago

Minor Changes

  • Support Apollo Federation's format for subscription results in multipart/mixed responses (result properties essentially are namespaced on a payload key)
    Submitted by @JoviDeCroock (See #3499)
  • Add support for sending persisted documents. Any DocumentNode with no/empty definitions and a documentId property is considered a persisted document. When this is detected a documentId parameter rather than a query string is sent to the GraphQL API, similar to Automatic Persisted Queries (APQs). However, APQs are only supported via @urql/exchange-persisted, while support for documentId 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 with preferGetMethod
    Submitted by @akrantz01 (See #3514)
  • Correctly support the Headers class being used in fetchOptions
    Submitted by @JoviDeCroock (See #3505)

Don't miss a new urql release

NewReleases is sending notifications on new releases.