0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,165 commits

Author SHA1 Message Date
Ciarán Curley
9608f80056
docs(react-query): recommend against throwing errors in select (#8041)
Explaining why you should not thow errors in the select function

Closes #8039
2024-09-11 15:23:08 +02:00
Tanner Linsley
acb5d37f5c release: v5.55.4 v5.55.4 2024-09-09 06:38:24 +00:00
Jonghyeon Ko
2c1be7bed5
fix(query-core): jsdoc of notifyManager (#8031)
* fix(query-core): jsdoc of notifyManager

* chore: update

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-09 08:32:57 +02:00
Tanner Linsley
4cc4bd2665 release: v5.55.3 v5.55.3 2024-09-09 06:16:58 +00:00
jxom
1bffc78634
fix: replace JSON.stringify with replaceDeepEqual in structural sharing integrity check (#8030)
* feat: throw when `replaceDeepEqual` contains circular references

* ci: apply automated fixes

* chore: up test

* chore: review changes

* ci: apply automated fixes

* chore: add return

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-09 08:12:08 +02:00
Arnoud
d58cf08eb1
chore(angular-query): remove redundant dependencies (#8032)
* chore(angular-query): remove redundant dependencies

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-08 20:45:10 +02:00
Cyril Leclercq
9b78527934
docs(react-query): Update React Suspens Link in README.md (#8020) 2024-09-08 18:12:05 +02:00
Tanner Linsley
643abc07c0 release: v5.55.2 v5.55.2 2024-09-08 16:10:27 +00:00
Jonghyeon Ko
f0c5022162
refactor(query-core): move Override type to core (#7916)
* type(react-query, svelte-query): remove unnecessary Override type

* feat(query-core): add Override

Co-authored-by: Lee HyunJae (whale) <71202076+2-NOW@users.noreply.github.com>

* chore: update

* chore: update

---------

Co-authored-by: Lee HyunJae (whale) <71202076+2-NOW@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-08 18:05:10 +02:00
Tanner Linsley
4df469a257 release: v5.55.1 v5.55.1 2024-09-08 13:19:36 +00:00
Jonghyeon Ko
42715e7079
refactor(react-query): split prefetch.ts (#8028)
* fix(react-query): split prefetch.ts

* chore: update

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-08 15:14:37 +02:00
Torleif Berger
5cb0bd4fc0
fix(query-devtools): Added missing type="button" on DevTools-button (#8016)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-08 15:14:19 +02:00
Boby Tiwari
49bfe686da
docs: Update advanced-ssr.md (#8021)
typescript was yelling
2024-09-08 13:52:43 +02:00
Tanner Linsley
353e4ad729 release: v5.55.0 v5.55.0 2024-09-06 05:58:33 +00:00
Jonghyeon Ko
48702e4586
feat(react-query): add optional queryClient parameter to usePrefetchQuery (#8014)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-09-06 07:53:54 +02:00
Tanner Linsley
6799b82460 release: v5.54.2 v5.54.2 2024-09-05 19:51:22 +00:00
Junhee Park
9cb5922f56
perf(vue-query): add shallow flag to improve perf on large datasets (#7733)
* fix(vue-query): use shallowReactive and shallowReadonly to prevent perforamcne slowdown for large datasets

* Use shallowReadonly and shallowRef in useMutationState too

* fix(vue-query): add shallow option, strip readonly in prod mode

---------

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2024-09-05 21:47:32 +02:00
renovate[bot]
0f86b4d2fd
chore(deps): update dependency sherif to v1 (#7999)
* chore(deps): update dependency sherif to v1

* Fix sorting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-09-04 15:13:58 +10:00
renovate[bot]
46af0424d5
chore(deps): update dependency svelte-check to v4 (#8013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 14:44:32 +10:00
Tanner Linsley
c14a17d03e release: v5.54.1 v5.54.1 2024-09-03 20:50:46 +00:00
Simone Cervini
a85382f641
fix(query-core): accept generics on setQueryDefaults and setMutationDefaults (#7903)
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2024-09-03 22:46:19 +02:00
Tanner Linsley
c738352c87 release: v5.54.0 v5.54.0 2024-09-02 23:18:21 +00:00
Toofff
f8ad97355c
feat(react-query-dev-tools): Add ReactQueryDevToolsPanel support (#7788)
* feat(react-query-dev-tools): Add ReactQueryDevToolsPanel support

Devtools Embedded Support is finally here! 
Embedded Mode will embed the devtools as a regular component in your application. You can style it however you'd like after that!

---------

Co-authored-by: Aryan Deora <adeora@iu.edu>
2024-09-02 18:39:48 -04:00
Tanner Linsley
8af72729f0 release: v5.53.3 v5.53.3 2024-09-02 12:32:52 +00:00
Bohdan Yefimenko
fb9d4f6138
fix(query-core): remove error thrown inside replaceData (#8004) 2024-09-02 14:27:36 +02:00
Damian Osipiuk
cd91357717
docs(vue-query): update SSR guide for nuxt2 (#8001)
* docs: update SSR guide for nuxt2

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-01 23:12:58 +02:00
Tanner Linsley
2be2a7975b release: v5.53.2 v5.53.2 2024-09-01 20:41:58 +00:00
Alex Liu
c91c720147
fix(vue-query): invalidate queries immediately after calling invalidateQueries (#7930)
* fix(vue-query): invalidate queries immediately after call `invalidateQueries`

* chore: recovery code comments
2024-09-01 22:37:39 +02:00
Arnoud
4977296fe9
docs(angular-query): update overview and readme (#7994) 2024-08-31 02:13:26 +02:00
Arnoud
cc20045eca
chore(angular-query): add injection context tests (#7993) 2024-08-31 00:09:27 +02:00
Lachlan Collins
4b2c8c5a19
chore(deps): update to @tanstack/config 0.13.1 (#7986)
* chore(deps): update to @tanstack/config 0.13.1

* Fix types
2024-08-30 22:19:21 +10:00
Tanner Linsley
466401f8ee release: v5.53.1 v5.53.1 2024-08-30 10:29:25 +00:00
Bohdan Yefimenko
50315acbb3
fix(query-core): handle errors that occur inside setData method (#7966)
* fix(query-core): add test case for not serializable data

* fix(query-core): handle `setData` error

* Update packages/query-core/src/__tests__/query.test.tsx

* fix(query-core): add `return` statement

* fix(query-core): throw the error in case when data is not serializable for non production env

* fix(query-core): delete packages/query-core/tsconfig.vitest-temp.json

* fix(query-core): lift serializability check and add console.error

* chore: message

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-30 12:24:16 +02:00
Lachlan Collins
82bfc340de
chore(deps): use ESLint v9 (#7985) 2024-08-30 18:42:25 +10:00
Lachlan Collins
8fe90104c6
chore(deps): update eslint plugins (#7984)
* chore(deps): update eslint plugins

* Refactor shadow-dom example
2024-08-30 18:04:08 +10:00
Tanner Linsley
9e086d89c9 release: v5.53.0 v5.53.0 2024-08-30 07:15:09 +00:00
Riva Junior
f3aad7c86e
feat(eslint-plugin): use typescript-eslint v8 stable (#7968)
* feat(eslint-plugin-query): use @typescript-eslint/utils stable v8

* test(eslint-plugin-query): fix missing parser

* Remove @typescript-eslint/parser

* Fix suggestion for empty queryKey array

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-08-30 17:09:59 +10:00
Tanner Linsley
9e755470b4 release: v5.52.3 v5.52.3 2024-08-29 23:04:13 +00:00
divdavem
eee80aff36
fix(angular-query): fix type of isSuccess, isError, isPending, isIdle on mutation result (#7923)
* fix(angular-query): fix type of isSuccess, isError, isPending, isIdle

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-30 01:00:28 +02:00
renovate[bot]
189e0c55fc
chore(deps): update @algolia/client-search to v5 (major) (#7979)
* chore(deps): update algoliasearch-client-javascript monorepo to v5

* Fix API usage

* Fix example

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-08-29 19:22:06 +10:00
renovate[bot]
f240106391
chore(deps): update material-ui monorepo to v6 (major) (#7978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 17:24:59 +10:00
renovate[bot]
7f551696bd
chore(deps): update dependency jscodeshift to v17 (#7977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 17:18:05 +10:00
renovate[bot]
b227998cb8
chore(deps): update dependency eslint-plugin-jsdoc to v50 (#7976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 16:58:21 +10:00
renovate[bot]
21bddeb1ff
chore(deps): update dependency jsdom to v25 (#7975)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 16:37:17 +10:00
Lachlan Collins
907a38b850
chore: simplify clean commands (#7973) 2024-08-29 12:24:16 +10:00
Lachlan Collins
86d8438662
chore: better type vs value import separation (#7972) 2024-08-29 12:24:06 +10:00
Lachlan Collins
756164ae74
chore(devtools): consistent casing of devtools types (#7971) 2024-08-29 11:57:58 +10:00
Romain Trotard
804357b935
docs: Add known limitation about cancellation with suspense hooks (#7958)
* docs: Add known limitation about cancellation with suspense hooks

* 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-27 18:23:55 +02:00
Tanner Linsley
d29997a1b8 release: v5.52.2 v5.52.2 2024-08-26 17:55:04 +00:00
Dominik Dorfmeister
b93941db15
fix(types): error booleans shouldn't permanently be typed as false (#7956)
* fix(types): error booleans shouldn't permanently be typed as `false`

* fix(types): error booleans shouldn't permanently be typed as `false`

* chore: I don't understand these errors
2024-08-26 19:52:07 +02:00