github-actions
released this
31 Mar 14:57
·
285 commits
to main
since this release
Major Changes
- Remove dependence on
graphql
package and replace it with@0no-co/graphql.web
, which reduces the default bundlesize impact ofurql
packages to a minimum. All types should remain compatible, even if you usegraphql
elsewhere in your app, and if other dependencies are usinggraphql
you may alias it tographql-web-lite
Submitted by @kitten (See #3097) - Update
OperationResult.hasNext
andOperationResult.stale
to be required fields. If you have a custom exchange creating results, you'll have to add these fields or use themakeResult
,mergeResultPatch
, ormakeErrorResult
helpers
Submitted by @kitten (See #3061)
Minor Changes
- Update exchanges to drop redundant
share
calls, since@urql/core
’scomposeExchanges
utility now automatically does so for us
Submitted by @kitten (See #3082)
Patch Changes
⚠️ Fix source maps included with recently published packages, which lost theirsourcesContent
, including additional source files, and had incorrect paths in some of them
Submitted by @kitten (See #3053)- Upgrade to
wonka@^6.3.0
Submitted by @kitten (See #3104) - Restore variables correctly on mutations
Submitted by @JoviDeCroock (See #3046) - Use
stringifyDocument
inofflineExchange
rather thanprint
and serializeoperation.extensions
as needed
Submitted by @kitten (See #3094) - Add missing
hasNext
andstale
passthroughs on caching exchanges
Submitted by @kitten (See #3059) - Add TSDocs for all exchanges, documenting API internals
Submitted by @kitten (See #3072) - Updated dependencies (See #3101, #3033, #3054, #3053, #3060, #3081, #3039, #3104, #3082, #3097, #3061, #3055, #3085, #3079, #3087, #3059, #3055, #3057, #3050, #3062, #3051, #3043, #3063, #3054, #3102, #3097, #3106, #3058, and #3062)
- @urql/[email protected]