v3.6.4
版本发布时间: 2022-05-17 07:08:31
apollographql/apollo-client最新发布版本:v3.12.0-alpha.0(2024-10-02 04:16:11)
Bug Fixes (from CHANGELOG.md
)
-
Guarantee
Concast
cleanup withoutObservable cancelled prematurely
rejection, potentially solving long-standing issues involving that error. @benjamn in #9701 -
Ensure
useSubscription
subscriptions are properly restarted after unmounting/remounting by React 18 in<StrictMode>
. @kazekyo in #9707
Improvements (from CHANGELOG.md
)
-
Internalize
useSyncExternalStore
shim, for more control thanuse-sync-external-store
provides, fixing some React Native issues. @benjamn in #9675 and #9709 -
Provide
@apollo/client/**/*.cjs.native.js
versions of every@apollo/client/**/*.cjs
bundle (including dependenciests-invariant
andzen-observable-ts
) to help React Native's Metro bundler automatically resolve CommonJS entry point modules. These changes should render unnecessary the advice we gave in the v3.5.4 section below aboutmetro.config.js
. @benjamn in #9716 -
Handle falsy
incoming
data more gracefully inoffetLimitPagination().merge
function. @shobhitsharma in #9705
What's Changed (auto-generated by GitHub)
- Poll interval docs update by @jpvajda in https://github.com/apollographql/apollo-client/pull/9687
- [docs] Fix markdown bug in rest link by @ryanrhee in https://github.com/apollographql/apollo-client/pull/9698
- Internalize
useSyncExternalStore
shim, for more control thanuse-sync-external-store
provides by @benjamn in https://github.com/apollographql/apollo-client/pull/9675 - Guarantee
Concast
cleanup withoutObservable cancelled prematurely
rejection by @benjamn in https://github.com/apollographql/apollo-client/pull/9701 - docs: fix code snippet by @santiph in https://github.com/apollographql/apollo-client/pull/9703
- Update example headers with authentication by @theill in https://github.com/apollographql/apollo-client/pull/9621
- Fix a misplaced semicolon by @mlocher in https://github.com/apollographql/apollo-client/pull/9498
- Correct GraphQL variable name "text" to "type" by @FumioNonaka-ksj in https://github.com/apollographql/apollo-client/pull/9529
- Add apollo-multi-endpoint-link to community links by @jean9696 in https://github.com/apollographql/apollo-client/pull/9301
-
readQuery
clarification by @avinoamsn in https://github.com/apollographql/apollo-client/pull/9195 - Update authentication.mdx by @volokolamskspb in https://github.com/apollographql/apollo-client/pull/8630
- Add apollo-link-observable to community links by @dragozin in https://github.com/apollographql/apollo-client/pull/8234
- apollo-codegen is deprecated, but the tooling documentation still suggests it by @krainboltgreene in https://github.com/apollographql/apollo-client/pull/7517
- chore: corrected body params by @jpvajda in https://github.com/apollographql/apollo-client/pull/9711
-
useSyncExternalStore
refinements by @benjamn in https://github.com/apollographql/apollo-client/pull/9709 - Help React Native import
@apollo/client/main.cjs
and other CommonJS bundles by @benjamn in https://github.com/apollographql/apollo-client/pull/9716 - Revamping the "Why Apollo Client" article by @rkoron007 in https://github.com/apollographql/apollo-client/pull/9719
- Fix useSubscription bug in React v18 StrictMode (#9664) by @kazekyo in https://github.com/apollographql/apollo-client/pull/9707
New Contributors
- @ryanrhee made their first contribution in https://github.com/apollographql/apollo-client/pull/9698
- @santiph made their first contribution in https://github.com/apollographql/apollo-client/pull/9703
- @theill made their first contribution in https://github.com/apollographql/apollo-client/pull/9621
- @mlocher made their first contribution in https://github.com/apollographql/apollo-client/pull/9498
- @FumioNonaka-ksj made their first contribution in https://github.com/apollographql/apollo-client/pull/9529
- @jean9696 made their first contribution in https://github.com/apollographql/apollo-client/pull/9301
- @avinoamsn made their first contribution in https://github.com/apollographql/apollo-client/pull/9195
- @volokolamskspb made their first contribution in https://github.com/apollographql/apollo-client/pull/8630
- @dragozin made their first contribution in https://github.com/apollographql/apollo-client/pull/8234
- @krainboltgreene made their first contribution in https://github.com/apollographql/apollo-client/pull/7517
- @kazekyo made their first contribution in https://github.com/apollographql/apollo-client/pull/9707
Full Changelog: https://github.com/apollographql/apollo-client/compare/v3.6.3...v3.6.4