v3.6.3
版本发布时间: 2022-05-17 07:05:17
apollographql/apollo-client最新发布版本:v3.12.0-alpha.0(2024-10-02 04:16:11)
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 https://github.com/apollographql/apollo-client/pull/9665 - Docs: fix typo in subscriptions.mdx by @pobch in https://github.com/apollographql/apollo-client/pull/9663
- Update
ts-invariant
to version 0.10.2 to fix source map warnings by @benjamn in https://github.com/apollographql/apollo-client/pull/9672 - Update queries.mdx by @anilpai in https://github.com/apollographql/apollo-client/pull/5466
- Fix failing regression test for skipped SSR
useQuery
stuck in standby by @benjamn in https://github.com/apollographql/apollo-client/pull/9677 - Add a comment about a new use of the content-type header by @glasser in https://github.com/apollographql/apollo-client/pull/9683
- Add missing assumeImmutableResults documentation by @henryqdineen in https://github.com/apollographql/apollo-client/pull/9680
- Prevent
useLazyQuery
from making duplicate requests when execution function first called by @benjamn in https://github.com/apollographql/apollo-client/pull/9684 - Fix issue with
useQuery
returningloading: true
state during server-side rendering withskip: true
by @nathanmarks in https://github.com/apollographql/apollo-client/pull/9679 - Add description & example of how to handle multiple parameters in read() when declaring typePolicies. by @Moristotle in https://github.com/apollographql/apollo-client/pull/6755
- Add link to ts-transform-graphql-tag in the performance docs by @hcharley in https://github.com/apollographql/apollo-client/pull/5608
New Contributors
- @anilpai made their first contribution in https://github.com/apollographql/apollo-client/pull/5466
- @nathanmarks made their first contribution in https://github.com/apollographql/apollo-client/pull/9679
- @Moristotle made their first contribution in https://github.com/apollographql/apollo-client/pull/6755
- @hcharley made their first contribution in https://github.com/apollographql/apollo-client/pull/5608
Full Changelog: https://github.com/apollographql/apollo-client/compare/v3.6.2...v3.6.3