Bug Fixes (from CHANGELOG.md
)
-
Simplify
useQuery(query, { defaultOptions })
default options processing in order to fix bug whereskip: true
queries failed to execute upon switching toskip: false
.
@benjamn in #9665 -
Add tests of skipping/unskipping and
useLazyQuery
withdefaultOptions
, and fix a bug causing duplicate requests.
@benjamn in #9666 -
Update
ts-invariant
to version 0.10.2 to fix source map warnings.
@benjamn in #9672 -
Test that
useQuery
queries withskip: true
do not stall server-side rendering.
@nathanmarks and @benjamn in #9677 -
Prevent
useLazyQuery
from making duplicate requests when its execution function is first called, and stop rejecting thePromise
it returns whenresult.error
is defined.
@benjamn in #9684 -
Fix issue with
useQuery
returningloading: true
state during server-side rendering withskip: true
.
@nathanmarks in #9679
What's Changed (auto-generated by GitHub)
- Drastically simplify
useQuery
default options processing by @benjamn in #9665 - Docs: fix typo in subscriptions.mdx by @pobch in #9663
- Update
ts-invariant
to version 0.10.2 to fix source map warnings by @benjamn in #9672 - Update queries.mdx by @anilpai in #5466
- Fix failing regression test for skipped SSR
useQuery
stuck in standby by @benjamn in #9677 - Add a comment about a new use of the content-type header by @glasser in #9683
- Add missing assumeImmutableResults documentation by @henryqdineen in #9680
- Prevent
useLazyQuery
from making duplicate requests when execution function first called by @benjamn in #9684 - Fix issue with
useQuery
returningloading: true
state during server-side rendering withskip: true
by @nathanmarks in #9679 - Add description & example of how to handle multiple parameters in read() when declaring typePolicies. by @Moristotle in #6755
- Add link to ts-transform-graphql-tag in the performance docs by @hcharley in #5608
New Contributors
- @anilpai made their first contribution in #5466
- @nathanmarks made their first contribution in #9679
- @Moristotle made their first contribution in #6755
- @hcharley made their first contribution in #5608
Full Changelog: v3.6.2...v3.6.3