v3.6.5
Bug Fixes (from CHANGELOG.md
)
-
Restore pre-v3.6
variables
replacement behavior ofObservableQuery#reobserve
method, fixing a regression that prevented removal of variables.
@benjamn in #9741 -
Preserve
previousData
even when different query or client provided touseQuery
, instead of resettingpreviousData
to undefined in those cases, matching behavior prior to v3.6.0.
@benjamn in #9734 -
Fix bug where
onCompleted()
andonError()
are stale foruseMutation()
.
@charle692 in #9740 -
Limit scope of
DeepMerger
object reuse, and avoid usingObject.isFrozen
, which can introduce differences between development and production if objects that were frozen usingObject.freeze
in development are left unfrozen in production.
@benjamn in #9742 -
Properly merge
variables
from originaluseLazyQuery(query, { variables })
withvariables
passed to execution function.
@benjamn in #9758
What's Changed (auto-generated by GitHub)
- Preserve
previousData
even when different client or query passed touseQuery
by @benjamn in #9734 - Restore pre-v3.6
variables
replacement behavior ofObservableQuery#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 originaluseLazyQuery(query, { variables })
withvariables
passed to execution function by @benjamn in #9758
New Contributors
- @hatched-kade made their first contribution in #9430
- @mongodben made their first contribution in #9441
- @charle692 made their first contribution in #9740
Full Changelog: v3.6.4...v3.6.5