Tanner Linsley
eee3948b45
release: v5.51.24
v5.51.24
2024-08-19 11:03:34 +00:00
Jonghyeon Ko
6500c98922
refactor(query-core): shorten listeners code ( #7913 )
2024-08-19 12:59:21 +02:00
Jonghyeon Ko
ab1a353ae4
ci(*): official @vitest/eslint-plugin ( #7896 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-19 12:15:50 +02:00
Jonghyeon Ko
49a8dc40c3
docs: update README.md ( #7904 )
2024-08-19 11:48:05 +02:00
autofix-ci[bot]
04c977b72f
ci: apply automated fixes
2024-08-19 08:38:52 +00:00
박우빈
b565098f4d
docs: request-waterfalls typos ( #7918 )
2024-08-19 10:37:16 +02:00
Jay
3292791219
docs: divided installation scripts ( #7881 )
2024-08-19 10:36:40 +02:00
Ian VanSchooten
59a6d3df30
doc: Issue template: Point to latest examples ( #7878 )
...
* Issue template: Point to latest examples
* Update a couple of example versions
2024-08-09 21:59:06 +02:00
zhennann
5c4f88ddc3
docs: Update vue community projects ( #7655 )
...
* Update community-projects.md
Model: Unified Data Source
* Update community-projects.md
Add docs link for more info about model based on tanstack query
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-09 17:33:58 +02:00
Lachlan Collins
73fbf00184
ci: rename integration projects for consistency ( #7875 )
...
* ci: rename integration projects for consistency
* Fix lockfile
2024-08-09 20:09:09 +10:00
Tanner Linsley
11cda37f32
release: v5.51.23
v5.51.23
2024-08-08 08:02:45 +00:00
Dominik Dorfmeister
c744f99619
fix(react-query): ensure we have a gcTime of at least 1 second when using suspense ( #7860 )
...
Because React continues to render components that have already thrown to error boundaries, a small gcTime would lead to infinite fetches because if the cache entry is already removed, the next render will treat the extra render as a new suspending query.
2024-08-08 09:59:57 +02:00
Navin Khadka
1fc6124bfd
docs: Fix typo ( #7865 )
2024-08-07 16:16:17 +02:00
Tanner Linsley
c6309c13c2
release: v5.51.22
v5.51.22
2024-08-06 20:30:56 +00:00
Arnoud
ed25a3ff3f
fix(angular-query): reorder query function declarations ( #7861 )
2024-08-06 22:27:05 +02:00
Jay
1a1708bbfd
docs: add contributing section ( #7856 )
2024-08-06 10:12:28 +02:00
GwanSik Kim
075ba1c261
docs: add suspensive react query to community projects ( #7846 )
...
* docs: add react suspensive react query to community projects
Co-authored-by: Jonghyeon Ko <61593290+manudeli@users.noreply.github.com>
* docs: update suspensive react query link
---------
Co-authored-by: Jonghyeon Ko <61593290+manudeli@users.noreply.github.com>
2024-08-05 09:37:26 +02:00
dochi
d14e0060c8
docs(react-query):fix-missing-isServer-import ( #7849 )
2024-08-05 09:36:45 +02:00
Tanner Linsley
0696b514ce
release: v5.51.21
v5.51.21
2024-08-02 18:43:38 +00:00
Dominik Dorfmeister
35c086f4ea
fix(query-core): make CancelledError extend Error ( #7843 )
...
* fix(query-core): make CancelledError extend Error
* test: instanceof Error check
* chore: delete left-over comment
2024-08-02 20:41:39 +02:00
Tanner Linsley
381470615e
release: v5.51.20
v5.51.20
2024-08-02 02:17:57 +00:00
Lachlan Collins
e092f06192
fix(svelte-query): allow returning undefined in initialData function ( #7838 )
2024-08-02 12:07:27 +10:00
Tanner Linsley
0f6a1d52fb
release: v5.51.19
v5.51.19
2024-08-01 15:39:39 +00:00
Lachlan Collins
1dcd53255c
refactor(solid-query): separate queryOptions from createQuery ( #7806 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-01 17:35:11 +02:00
Tanner Linsley
23c3da219a
release: v5.51.18
v5.51.18
2024-08-01 13:38:45 +00:00
Shahar Har-Shuv
fdb8ce1c38
fix(query-options): allow returning undefined in initialData function ( #7351 )
...
* Fix PR
* Fix for react adapter
* ci: apply automated fixes
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-01 15:33:13 +02:00
Tanner Linsley
5ab13b98cc
release: v5.51.17
v5.51.17
2024-08-01 13:21:43 +00:00
Dominik Dorfmeister
bbb22444a8
fix(core): query should reset to default state even when created from hydration ( #7837 )
2024-08-01 15:19:49 +02:00
renovate[bot]
c7245c93fe
chore(deps): lock file maintenance
2024-08-01 03:33:58 +00:00
Tanner Linsley
de931d006d
release: v5.51.16
v5.51.16
2024-07-31 09:08:24 +00:00
Lachlan Collins
01e63a5694
fix(svelte-query): ensure compatibility with NodeNext ( #7825 )
...
* fix(svelte-query): ensure compatibility with NodeNext
* Same for devtools and persist-client
2024-07-31 19:06:23 +10:00
renovate[bot]
74f10b773f
chore(deps): lock file maintenance ( #7819 )
...
* chore(deps): lock file maintenance
* Lock tsup version
* Fix eslint-plugin-react-compiler resolution
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-29 17:28:42 +10:00
renovate[bot]
e2315ccc94
chore(deps): update dependency react-intersection-observer to v9 ( #7818 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 16:09:17 +10:00
renovate[bot]
4cdc2c8c90
chore(deps): update all non-major dependencies ( #7817 )
...
* chore(deps): update all non-major dependencies
* Fix eslint-plugin-query
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-29 15:48:18 +10:00
Lachlan Collins
216a9265a7
chore(deps): use prettier v3.3.3 ( #7816 )
2024-07-29 15:29:06 +10:00
Lachlan Collins
69931779ad
ci(renovate): ignore vue2 and vue2.7
2024-07-29 15:06:13 +10:00
Lachlan Collins
6d8d203d06
ci(renovate): add renovate config ( #7813 )
2024-07-29 15:00:36 +10:00
Lachlan Collins
461876a24a
test(svelte-query): add refetch test for createQuery ( #7810 )
2024-07-28 14:20:50 +10:00
Lachlan Collins
99f1250d0c
docs(svelte-query): add persist to basic example ( #7807 )
2024-07-28 12:37:12 +10:00
Jonghyeon Ko
fcac011bb3
docs(solid-query): fix quick-start example ( #7770 )
2024-07-27 15:15:50 +10:00
Lachlan Collins
f2fd31853b
docs(typedoc): use sub-folders for reference docs ( #7803 )
2024-07-27 13:03:44 +10:00
Lachlan Collins
dac5da5416
docs(examples): Fix small errors in svelte examples ( #7801 )
2024-07-27 11:29:03 +10:00
Tanner Linsley
ec8e800c66
release: v5.51.15
v5.51.15
2024-07-26 11:47:45 +00:00
Ryan Kuruppu
cd6828015a
fix(query-core) export Mutation class instead of exporting it as a type ( #7793 )
...
* fix(query-core) export Mutation class instead of exporting it as a type
previously, attempting to create a Mutation in a vanilla JS project required the use of the Mutation class constructor but due to it being exported as a type, we run into a runtime error stating that the Mutation type is not a class resulting in us not being able to proceed despite the compilation process in TypeScript not throwing an issue. This change exposes the class instead of the type in order to accomodate this requirement in vanilla JS projects
fixes `Mutation` class isn't exposed from @tanstack/query-core #7785
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-26 12:19:19 +02:00
Tanner Linsley
fec324f7e3
release: v5.51.14
v5.51.14
2024-07-26 08:47:44 +00:00
Dominik Dorfmeister
3ef788786c
fix(query-core): abort fetch loop for infinite queries if getNextPageParam returns null or undefined ( #7799 )
...
The `fetchPage` function has a safeguard where it only returns the current data if pageParam == null, however, this means we still stay in the loop and call `getNextPageParam` unnecessarily.
This can be troublesome if you set `pages: Infinity` on queryClient.fetchInfiniteQuery to fetch an arbitrary amount of pages until the natural end is reached by returning null/undefined from getNextPageParam, because it would never actually escape the loop
2024-07-26 10:44:32 +02:00
Lich
34a567215c
refactor(react-query): add error message for skipToken in useSuspenseQueries and useSuspenseInfiniteQuery ( #7797 )
...
* refactor(react-query): add error message for skipToken in useSuspenseQueries
* refactor(react-query): add error message for skipToken in useSuspenseInfiniteQuery
2024-07-26 10:10:32 +02:00
Lachlan Collins
bd3296bfed
chore: Update @tanstack/config to v0.11.0 ( #7795 )
2024-07-26 10:56:33 +10:00
Lachlan Collins
1814f56ea1
chore(svelte-query): Tweak provider tests ( #7794 )
2024-07-26 10:30:54 +10:00
Tanner Linsley
81e1f2ca5a
release: v5.51.13
v5.51.13
2024-07-25 15:57:50 +00:00