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
@gqty/[email protected]
Major Changes
#1724
b289c05
Thanks @renovate! - Drop Node 16 support,
and add Node 22 in the tests.
#1544
a758ed1
Thanks @vicary! - Dropped inferrable types from
generated schema
#1634
3c5bc4a
Thanks @vicary! - Upgrade
@graphql-codegen/typescript to v4
#1544
a758ed1
Thanks @vicary! - Generated query fetcher now
takes a single
QueryPayload
parameterMinor Changes
#1585
f6d00c0
Thanks @vicary! - Support "endpoint" in
configuration
#1544
a758ed1
Thanks @vicary! - Interactive mode for generating
queries and mutations
#1683
eab8c7a
Thanks @vicary! - Add
enumStyle
config option.Patch Changes
[
a758ed1
,a758ed1
,a758ed1
,a758ed1
,fe29ac0
,a758ed1
,a758ed1
,ac34d04
,a758ed1
,a758ed1
,a758ed1
,2e274f1
,a758ed1
,a758ed1
,ffb7d5c
,595ec84
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
]:[email protected]
Major Changes
#1544
a758ed1
Thanks @vicary! - Added "Legacy" prefix to
deprecated types
#1544
a758ed1
Thanks @vicary! - Added new logging interface for
@gqty/logger
#1544
a758ed1
Thanks @vicary! -
backupPersistence()
andrestorePersistence()
is now replaced withpersist()
,restore()
andrestoreAsync()
.#1544
a758ed1
Thanks @vicary! - QueryFetcher now accepts
QueryPayload as the first parameter
#1544
a758ed1
Thanks @vicary! - Remade
Cache
with expiry,normalization and persistence
#1544
a758ed1
Thanks @vicary! - Axed
Scheduler
,Interceptor
and
EventHandler
#1544
a758ed1
Thanks @vicary! - Reworked
Accessor
and addedscoped context
#1544
a758ed1
Thanks @vicary! - Replaced
@gqty/subscriptions
with
graphql-ws
andgraphql-sse
#1544
a758ed1
Thanks @vicary! - Rewritten
Selection
class#1544
a758ed1
Thanks @vicary! - Introduced
resolve()
andsubscribe()
API#1544
a758ed1
Thanks @vicary! - Replaced
lodash
withjust-*
and dropped
@gqty/utils
#1544
a758ed1
Thanks @vicary! - Deprecated
resolved()
,inlineResolved()
,mutate()
,track()
,prefetch()
andrefetch()
#1544
a758ed1
Thanks @vicary! - Replace variable serializer
with object-hash, now with shortened alias
Minor Changes
#1544
a758ed1
Thanks @vicary! - Added
operationName
inresolved()
,inlineResolved()
,useTransactionQuery()
anduseLazyQuery()
#1544
a758ed1
Thanks @vicary! - Batching by microtask
#1544
a758ed1
Thanks @vicary! - Added
$meta
API#1799
fe29ac0
Thanks @vicary! - Debounce query batching with
microtasks
#1742
2e274f1
Thanks @vicary! - Added
batchWindow
option inClientOptions
#1544
a758ed1
Thanks @vicary! - Added
extensions
option forpassing arbitraty data to the query fetcher.
#1544
a758ed1
Thanks @vicary! - Added
name
inGQtyError
forbetter logging
Patch Changes
ac34d04
Thanks @vicary! - Update all relevant temporary
caches for batched queries.
#1744
ffb7d5c
Thanks @vicary! - Added default return type for
resolve
#1476
595ec84
Thanks @vicary! - Remove alias without args
@gqty/[email protected]
Minor Changes
#1544
a758ed1
Thanks @vicary! - Added
operationName
inresolved()
,inlineResolved()
,useTransactionQuery()
anduseLazyQuery()
#1544
a758ed1
Thanks @vicary! - Upgrade to the new core
#1544
a758ed1
Thanks @vicary! - Added
ResolverContainer
toreplace scheduler for legacy resolvers.
#1544
a758ed1
Thanks @vicary! - Added
onComplete
inuseMutation
#1544
a758ed1
Thanks @vicary! - Added
retry
inuseQuery()
#1470
11604f5
Thanks @vicary! - Added
refetchInteraval
,refetchIntervalInBackground
,refetchOnReconnect
andrefetchOnWindowVisible
inuseQuery
.#1544
a758ed1
Thanks @vicary! - Fetch errors now throws to
boundaries in suspense mode.
#1468
6626d80
Thanks @vicary! - Add
$refetch
inuseQuery()
#1544
a758ed1
Thanks @vicary! - Added
extensions
option forpassing arbitraty data to the query fetcher.
Patch Changes
#1742
2e274f1
Thanks @vicary! - Stop auto refetch on render
when
maxRetries
is reached.Updated dependencies
[
a758ed1
,a758ed1
,a758ed1
,a758ed1
,fe29ac0
,a758ed1
,a758ed1
,ac34d04
,a758ed1
,a758ed1
,a758ed1
,2e274f1
,a758ed1
,a758ed1
,ffb7d5c
,595ec84
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
]:@gqty/[email protected]
Patch Changes
[
a758ed1
,a758ed1
,a758ed1
,a758ed1
,fe29ac0
,a758ed1
,a758ed1
,ac34d04
,a758ed1
,a758ed1
,a758ed1
,2e274f1
,a758ed1
,a758ed1
,ffb7d5c
,595ec84
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
]:@gqty/[email protected]
Patch Changes
[
a758ed1
,a758ed1
,a758ed1
,a758ed1
,fe29ac0
,a758ed1
,a758ed1
,ac34d04
,a758ed1
,a758ed1
,a758ed1
,2e274f1
,a758ed1
,a758ed1
,ffb7d5c
,595ec84
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
,a758ed1
]: