Skip to content

v3.6.5

Compare
Choose a tag to compare
@benjamn benjamn released this 23 May 22:28
· 1478 commits to main since this release
b86c363

Bug Fixes (from CHANGELOG.md)

  • Restore pre-v3.6 variables replacement behavior of ObservableQuery#reobserve method, fixing a regression that prevented removal of variables.
    @benjamn in #9741

  • Preserve previousData even when different query or client provided to useQuery, instead of resetting previousData to undefined in those cases, matching behavior prior to v3.6.0.
    @benjamn in #9734

  • Fix bug where onCompleted() and onError() are stale for useMutation().
    @charle692 in #9740

  • Limit scope of DeepMerger object reuse, and avoid using Object.isFrozen, which can introduce differences between development and production if objects that were frozen using Object.freeze in development are left unfrozen in production.
    @benjamn in #9742

  • Properly merge variables from original useLazyQuery(query, { variables }) with variables passed to execution function.
    @benjamn in #9758

What's Changed (auto-generated by GitHub)

  • Preserve previousData even when different client or query passed to useQuery by @benjamn in #9734
  • Restore pre-v3.6 variables replacement behavior of ObservableQuery#reobserve method by @benjamn in #9741
  • Clarify modifying response data in link docs by @hatched-kade in #9430
  • adds documentation on file uploads by @jpvajda in #9744
  • Fix improper syntax with spread operator by @mongodben in #9441
  • Reduce confusion about the query component by @jpvajda in #9747
  • Fix bug where onCompleted and onError are stale for useMutation. onCompleted and onError could not be changed while a mutation is executing. by @charle692 in #9740
  • Restrict DeepMerger mutable object reuse to fix subtle production-only bug by @benjamn in #9742
  • Merge variables from original useLazyQuery(query, { variables }) with variables passed to execution function by @benjamn in #9758

New Contributors

Full Changelog: v3.6.4...v3.6.5