Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

CHANGELOG.md

498 lines18.6 KB

@tanstack/preact-query

5.105.3

Patch Changes

  • Updated dependencies [3f4de1b, 969e580]:
    • @tanstack/query-core@5.105.3

5.105.2

Patch Changes

  • #12230 1e1caa5 - Update the observer options before subscribing so revealing an <Activity> tree whose query key changed while hidden no longer fetches the previous key.

  • #12480 8d0dc27 - Exclude status from the filters accepted by QueryClient.isMutating, useIsMutating, and injectIsMutating. These APIs always count mutations with status: 'pending'.

  • Updated dependencies [2ee2fd9, 8d0dc27, e69cac6, f2215d2, 86e7957, b6576b3, af0e0ef, 05d9b6a]:

    • @tanstack/query-core@5.105.2

5.105.1

Patch Changes

  • #11373 7ccba6e - fix({react,preact,angular,solid,vue}-query/infiniteQueryOptions): correct the overload selected for a possibly-undefined 'initialData'

  • #12390 18e54bf - Exclude fetchStatus from the filters accepted by QueryClient.isFetching, useIsFetching, and injectIsFetching. These APIs always count queries with fetchStatus: 'fetching'.

  • Updated dependencies [6f8a48d, 18e54bf]:

    • @tanstack/query-core@5.105.1

5.105.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.105.0

5.104.5

Patch Changes

  • #12117 1f8d134 - Recompute useMutationState and useIsMutating results when their filters, selector, or query client change, without waiting for a mutation cache update.
  • Updated dependencies [f608f93]:
    • @tanstack/query-core@5.104.5

5.104.4

Patch Changes

  • #11251 fc3a384 - fix({preact,solid,svelte,angular-query-experimental}): switch to 'export type *' for type-only re-exports

  • #11375 0addcd2 - Allow queries with falsy errors to retry on mount when throwOnError returns false.

  • #11259 2ce5190 - fix(preact-query): do not go into optimistic fetching state when not subscribed

  • Updated dependencies [1fee044, fce89dd]:

    • @tanstack/query-core@5.104.4

5.104.3

Patch Changes

  • Updated dependencies [0f15bc9]:
    • @tanstack/query-core@5.104.3

5.104.2

Patch Changes

  • #11711 a94c7ca - Add Preact v11 to peerDependencies
  • Updated dependencies [03e8c39]:
    • @tanstack/query-core@5.104.2

5.104.1

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.104.1

5.104.0

Patch Changes

  • Updated dependencies [5279b05]:
    • @tanstack/query-core@5.104.0

5.103.3

Patch Changes

  • #11647 1c9693e - fix(codemods): avoid copying unnecessary files from codemods project
  • Updated dependencies []:
    • @tanstack/query-core@5.103.3

5.103.2

Patch Changes

  • Updated dependencies [8a28904]:
    • @tanstack/query-core@5.103.2

5.103.1

Patch Changes

  • Updated dependencies [8330b2f, 3212966]:
    • @tanstack/query-core@5.103.1

5.103.0

Patch Changes

5.102.8

Patch Changes

  • #11315 6c27607 - fix(preact-query/useQueries): keep unsubscribed idle

  • Updated dependencies []:

    • @tanstack/query-core@5.102.8

5.102.7

Patch Changes

  • #11309 67fddee - fix(preact-query): propagate falsy errors to the error boundary

  • Updated dependencies []:

    • @tanstack/query-core@5.102.7

5.102.6

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.102.6

5.102.5

Patch Changes

  • Updated dependencies [578e5c2]:
    • @tanstack/query-core@5.102.5

5.102.4

Patch Changes

  • Updated dependencies [a05df6a]:
    • @tanstack/query-core@5.102.4

5.102.3

Patch Changes

  • #11274 714c285 - fix(preact-query/usePrefetchQuery): replace deprecated queryClient.fetchQuery with queryClient.query

  • Updated dependencies []:

    • @tanstack/query-core@5.102.3

5.102.2

Patch Changes

  • Updated dependencies [80fbf73]:
    • @tanstack/query-core@5.102.2

5.102.1

Patch Changes

  • Updated dependencies [134890d]:
    • @tanstack/query-core@5.102.1

5.102.0

Minor Changes

  • #10669 4e48c58 - preact-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery

Patch Changes

  • #11245 37127db - revert: remove NoInfer from useQuery return types

  • #10373 6e3d521 - fix(types): propagate generic type parameters to useMutationState select callback

  • #11224 294d4e6 - Fix queryOptions and infiniteQueryOptions return types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.

  • #11147 cb6c9d3 - Default TData of UseInfiniteQueryOptions and UseSuspenseInfiniteQueryOptions to InfiniteData<TQueryFnData> so it matches the hook generics.

  • #8737 2215bb0 - fix: make mutation variables optional when undefined extends TVariables

  • #11166 4913802 - Evaluate a function-form throwOnError against the actual query error before disabling retryOnMount (port of #9338), so errored queries whose throwOnError returns false are retried on mount again.

  • #11221 1ef4208 - Remove experimental render-time prefetching and the promise property from query results.

  • #11233 b866a95 - remove unused experimental_beforeQuery and experimental_afterQuery hooks

  • #11144 e546d03 - fix: remove placeholderData from suspense infinite query

  • Updated dependencies [34f7cee, b4368c4, 5bb089d, ba4650c, 294d4e6, 1f631b3, 01a02bf, 18c1c1e, 5448063, 2215bb0, 1ef4208, 5981771, 4a9bef6, bef4bc7, 9656dc4, 326aaf1, 3e83601, c6fc17c]:

    • @tanstack/query-core@5.102.0

5.101.4

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.101.4

5.101.3

Patch Changes

  • Updated dependencies [7e3c822]:
    • @tanstack/query-core@5.101.3

5.101.2

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.101.2

5.101.1

Patch Changes

  • Updated dependencies [9eff92e]:
    • @tanstack/query-core@5.101.1

5.101.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.101.0

5.100.14

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.14

5.100.13

Patch Changes

  • Updated dependencies [d423168]:
    • @tanstack/query-core@5.100.13

5.100.12

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.12

5.100.11

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.11

5.100.10

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.10

5.100.9

Patch Changes

  • Updated dependencies [fcee7bd]:
    • @tanstack/query-core@5.100.9

5.100.8

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.8

5.100.7

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.7

5.100.6

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.6

5.100.5

Patch Changes

  • Updated dependencies [a53ef97]:
    • @tanstack/query-core@5.100.5

5.100.4

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.100.4

5.100.3

Patch Changes

  • Updated dependencies [f85d825]:
    • @tanstack/query-core@5.100.3

5.100.2

Patch Changes

5.100.1

Patch Changes

  • Updated dependencies [1bb0d23]:
    • @tanstack/query-core@5.100.1

5.100.0

Patch Changes

  • Updated dependencies [6540a41]:
    • @tanstack/query-core@5.100.0

5.99.2

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.99.2

5.99.1

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.99.1

5.99.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.99.0

5.98.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.98.0

5.97.0

Patch Changes

  • Updated dependencies [2bfb12c]:
    • @tanstack/query-core@5.97.0

5.96.2

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.96.2

5.96.1

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.96.1

5.96.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.96.0

5.95.2

Patch Changes

  • Updated dependencies [cd5a35b]:
    • @tanstack/query-core@5.95.2

5.95.1

Patch Changes

  • Updated dependencies [1f1775c]:
    • @tanstack/query-core@5.95.1

5.95.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/query-core@5.95.0

5.94.5

Patch Changes

  • fix(*): resolve issue about excluded build directory (#10312)

  • Updated dependencies [4b6536d]:

    • @tanstack/query-core@5.94.5

5.94.4

Patch Changes

  • chore: fixed version (#10064)

  • Updated dependencies [4c75210]:

    • @tanstack/query-core@5.94.4

5.94.3

Patch Changes

  • fix: stop node types from leaking into browser (#10302)

5.94.2

Patch Changes

  • fix(streamedQuery): maintain error state on reset refetch with initialData defined (#10287)

  • Updated dependencies [248975e]:

    • @tanstack/query-core@5.91.2

5.94.1

Patch Changes

  • fix(core): cancel paused initial fetch when last observer unsubscribes (#10291)

  • Updated dependencies [a89aab9]:

    • @tanstack/query-core@5.91.1

5.94.0

Minor Changes

  • feat: environmentManager (#10199)

Patch Changes

  • Updated dependencies [6fa901b]:
    • @tanstack/query-core@5.91.0

5.93.0

Minor Changes

  • feat: Add preact persist plugin (#10120)

5.92.0

Minor Changes

  • feat: Add preact query devtools (#10119)

5.91.1

Patch Changes

  • refactor(preact-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection (#10188)

5.91.0

Minor Changes

  • feat: Preact Adapter (#9935)