Skip to content
Compare
Choose a tag to compare
@kitten kitten released this 08 Sep 09:59
· 960 commits to main since this release
a1252da

Please note that this release changes the data structure of the ssrExchange's
output. We don't treat this as a breaking change, since this data is considered
a private structure, but if your tests or other code relies on this, please check
the type changes and update it.

Minor Changes

  • Adds an error exchange to urql-core. This allows tapping into all graphql errors within the urql client. Useful for logging, debugging, handling authentication errors etc, by @kadikraman (See #947)

Patch Changes

  • ⚠️ Fix condition where mutated result data would be picked up by the ssrExchange, for instance as a result of mutations by Graphcache. Instead the ssrExchange now serializes data early, by @kitten (See #962)
  • Omit the Content-Type: application/json HTTP header when using GET in the fetchExchange, persistedFetchExchange, or multipartFetchExchange, by @JoviDeCroock (See #957)