·
960 commits
to main
since this release
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 thessrExchange
, for instance as a result of mutations by Graphcache. Instead thessrExchange
now serializes data early, by @kitten (See #962)- Omit the
Content-Type: application/json
HTTP header when using GET in thefetchExchange
,persistedFetchExchange
, ormultipartFetchExchange
, by @JoviDeCroock (See #957)