Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@urql/exchange-graphcache@4.2.0
Minor Changes
Patch Changes
relayPagination
andsimplePagination
helpers return value asResolver<any, any, any>
as there's no way to match them consistently to either generated or non-generated resolver types anymore, by @kitten (See #1778)@urql/svelte@1.3.0
Minor Changes
operationStore
updates whenquery
,variables
, andcontext
are changed. This also adds anoperationStore(...).reexecute()
method, which optionally accepts a new context value and forces an update on the store, so that a query may reexecute, by @kitten (See #1780)Patch Changes
subscription(...)
type further to allow anyoperationStore
input, regardless of theResult
produced, by @kitten (See #1779)@urql/exchange-persisted-fetch@1.3.2
Patch Changes
@urql/exchange-request-policy@0.1.4
Patch Changes
@urql/core@2.1.5
Patch Changes
ssrExchange().restoreData()
from adding results to the exchange that have already been invalidated. This may happen whenrestoreData()
is called repeatedly, e.g. per page. When a prior run has already invalidated an SSR result then the result is 'migrated' to the user'scacheExchange
, which means thatrestoreData()
should never attempt to re-add it again, by @kitten (See #1776)stale: true
, where acache-first
operation issued by Graphcache wouldn't yield an affected query and update its result to reflect the loading state withstale: true
. This is a regression fromv2.1.0
and mostly becomes unexpected whencache.invalidate(...)
is used, by @kitten (See #1755)next-urql@3.1.1
Patch Changes
resetUrqlClient
not resetting the SSR cache itself and instead restoring data when all data related to thisClient
and session should've been deleted, by @Biboswan (See #1715)@urql/vue@0.4.2
Patch Changes
useQuery
implementation to utilise the single-source implementation of@urql/core@2.1.0
. This should improve the stability of promisifieduseQuery()
calls and prevent operations from not being issued in some edge cases, by @kitten (See #1758)