yarn @apollo/client 3.6.3
v3.6.3

latest releases: 3.11.10, 3.11.9, 3.12.0-alpha.0...
2 years ago

Bug Fixes (from CHANGELOG.md)

  • Simplify useQuery(query, { defaultOptions }) default options processing in order to fix bug where skip: true queries failed to execute upon switching to skip: false.
    @benjamn in #9665

  • Add tests of skipping/unskipping and useLazyQuery with defaultOptions, 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 with skip: 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 the Promise it returns when result.error is defined.
    @benjamn in #9684

  • Fix issue with useQuery returning loading: true state during server-side rendering with skip: 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 returning loading: true state during server-side rendering with skip: 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

Full Changelog: v3.6.2...v3.6.3

Don't miss a new client release

NewReleases is sending notifications on new releases.