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

5,014 commits

Author SHA1 Message Date
Arnoud
8b0756ad8b
chore(angular-query): update to angular 19 (#8349) 2024-11-25 18:21:06 +01:00
Dominik Dorfmeister
ef0b7b2c28
chore: typescript 5.7 (#8327)
* chore: typescript 5.7

and run tests against ts 5.0 - 5.7

* chore: make eslint happy

* chore: type import issue

* chore: the type assertion is necessary for ts 5.4 and lower

* fix: write code so that it narrows in all ts versions

* fix: import assertion

* fix: angular examples stay at typescript 5.4

* Add JSON import attribute, update vue-tsc

* angular fixes

* Fix vue-tsc compatibility

---------

Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-11-25 09:45:10 +01:00
renovate[bot]
ecc17d5c58
chore(deps): update dependency rimraf to v6 (#8343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 06:41:10 +11:00
Lachlan Collins
c69f302f03
chore(deps): update react 19/next 15 (#8342) 2024-11-24 15:24:35 +11:00
Lachlan Collins
5cd9611387
chore(deps): move some deps from root to sub-packages (#8341) 2024-11-24 14:58:38 +11:00
Tanner Linsley
68dee7e0f9 release: v5.61.3 v5.61.3 2024-11-24 03:24:48 +00:00
Lachlan Collins
bdafc84657
fix(eslint-plugin): fix no-unstable-deps with ts-eslint >=8.10.0 (#8340) 2024-11-24 14:21:47 +11:00
Lachlan Collins
9972595940
chore(deps): more manual package updates (#8339) 2024-11-24 13:34:01 +11:00
Lachlan Collins
99b5354760
chore(deps): update expo, next, astro, nx (#8337)
* chore(deps): update expo, next, astro

* Fix lockfile

* Update some misc packages
2024-11-24 12:55:20 +11:00
renovate[bot]
bbd3821770
chore(deps): update dependency astro to v4.16.1 [security] (#8181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 01:41:22 +00:00
renovate[bot]
22b89c96cd
chore(deps): update dependency next to v14.2.10 [security] (#8128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 01:26:32 +00:00
Lachlan Collins
b846c53239
test(integrations): switch react-scripts to webpack (#8329)
* chore: switch CRA 4 to webpack 4

* pnpm dedupe

* test(integrations): switch CRA 5 to webpack 5

* Better dep vs devDep separation

* Fix lockfile
2024-11-24 12:09:27 +11:00
Arnoud
2588a08102
docs(angular-query): fix angular examples (#8335) 2024-11-24 00:11:34 +01:00
Tanner Linsley
3888f23116 release: v5.61.2 v5.61.2 2024-11-23 22:43:49 +00:00
Arnoud
228382fc01
fix(angular-query): subscribe to observer outside the Angular zone (#8331) 2024-11-23 23:40:38 +01:00
Eliya Cohen
80a49ffd3f
fix(eslint-plugin-query): improve external reference relevance (#8334)
* fix: handle external variable in queryFn without failure

Adjusted tests to ensure that the rule does not fail when a queryFn inside queryOptions contains a reference to an external variable. Also updated other tests to wrap query calls in a function component for consistency.

fix #8326

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-23 20:38:42 +01:00
Daniel Reichhart
102b6a892d
docs(react-query): add example for Expo Network in online status management (#8298)
* docs: expo-network

* 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-11-22 19:32:19 +01:00
Tanner Linsley
436422ca4c release: v5.61.1 v5.61.1 2024-11-20 16:38:01 +00:00
Arnoud
f5e2baa04e
fix(angular-query): export CreateMutationOptions (#8319) 2024-11-20 17:33:12 +01:00
Tanner Linsley
8a25b4e93b release: v5.61.0 v5.61.0 2024-11-20 13:01:32 +00:00
Arnoud
5731a3a267
feat(angular-query): add mutationOptions (#8316) 2024-11-20 13:58:00 +01:00
Dominik Dorfmeister
3fa4b7cce3
fix(types): make sure queryOptions are passable to UseQueryOptions (#8317) 2024-11-20 13:56:31 +01:00
Arnoud
6a9edbfb44
docs(angular-query): update queryOptions documentation (#8311)
* docs(angular-query): update queryOptions documentation

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-19 23:57:22 +01:00
Tanner Linsley
77b5f3a634 release: v5.60.7 v5.60.7 2024-11-19 18:40:02 +00:00
Arnoud
4aff8469aa
fix(angular-query): remove queryClient parameter from callback functions (#8307) 2024-11-19 19:32:49 +01:00
Tanner Linsley
fa77f323cb release: v5.60.6 v5.60.6 2024-11-19 10:17:37 +00:00
Juhyeok Kang
7d36089440
refactor(*): change noop function return type from undefined to void (#8299)
* refactor(*): use noop

* refactor: separate noop and returnUndefined functions with type refinement

Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
Co-authored-by: Sol Lee <82362278+saul-atomrigs@users.noreply.github.com>

* refactor: optimize bundle size with type re-assertion

* fix: Prevent type error by overloading noop function

* fix: remove jsdoc

* fix

* revert

* revert at react-query and angular-query-experimental

---------

Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
Co-authored-by: Sol Lee <82362278+saul-atomrigs@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-11-19 10:25:51 +01:00
Ammar
fadfbde045
Update infinite-queries.md (#8302) 2024-11-18 18:22:25 +01:00
Tanner Linsley
3fc2fce77e release: v5.60.5 v5.60.5 2024-11-15 18:06:46 +00:00
Dominik Dorfmeister
4a2e838fc0
fix(useQueries): make sure we don't lose property tracking (#8295)
if we call `combine` with `#this.result`, we don't have a tracked version of it, as tracking happens in useQueries (to avoid tracking internal access)
2024-11-15 19:04:39 +01:00
Arnoud
0df28830a7
docs(angular-query): type narrowing (#8297) 2024-11-15 18:48:03 +01:00
Arnoud
118b1522ef
docs(angular-query): add TypeScript documentation (#8296) 2024-11-15 18:35:16 +01:00
Tanner Linsley
878649500c release: v5.60.4 v5.60.4 2024-11-15 15:43:20 +00:00
Jonghyeon Ko
6c2a05507d
refactor(*): unify & use noop (#8294)
* refactor(*): unify & use noop

* chore: update

* fix(query-core): reflect tkdodo's review

* chore: resolve type error
2024-11-15 16:38:50 +01:00
Tanner Linsley
7838edc754 release: v5.60.3 v5.60.3 2024-11-14 21:55:29 +00:00
Arnoud
923736c62e
fix(angular-query): support inject(QueryClient) (#8292)
* fix(angular-query): support inject(QueryClient)

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-14 22:48:46 +01:00
Tanner Linsley
7615661593 release: v5.60.2 v5.60.2 2024-11-14 12:48:16 +00:00
Arnoud
94891fd137
refactor(angular-query): build with tsup and remove devtools component (#8284)
* chore(angular-query): build with tsup

* ci: apply automated fixes

* remove unused tslib dependency

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-14 13:40:48 +01:00
Jonghyeon Ko
c9fcd2fd74
test(react-query): useInfinitePrefetchQuery -> usePrefetchInfiniteQuery (#8265) 2024-11-13 09:39:29 +01:00
Sol Lee
322974c651
chore(eslint-plugin-query): ignore combinate spell check lint warning (#8266)
* chore: ignore `combinate` spell check lint warning

* fix typo

* chore: apply to root eslint config instead of just `eslint-plugin-query`
2024-11-13 08:53:40 +01:00
Jonghyeon Ko
8d1f5429e1
test(react-query): add test case for useSuspenseQueries accept skipToken as queryFn (#8271) 2024-11-13 08:07:35 +01:00
Jonghyeon Ko
ebd4c2b4ed
test(react-query): add test case for useSuspenseInfiniteQuery accept skipToken as queryFn (#8270) 2024-11-13 08:07:00 +01:00
Jonghyeon Ko
e802711e7b
test(react-query): add test case for useSuspenseQuery accept skipToken as queryFn (#8269) 2024-11-13 08:06:15 +01:00
Jonghyeon Ko
c2b435dcd9
test(react-query): add test case for infiniteQueryOptions (#8268) 2024-11-13 08:05:42 +01:00
Jonghyeon Ko
6c9e3f318c
test(react-query): add test case for queryOptions (#8267)
* test(react-query): add test case for queryOptions

* chore: update
2024-11-13 08:05:17 +01:00
Ethan Glover
aa6d3f84df
docs: Add @tanstack/query/infinite-query-property-order link (#8285) 2024-11-13 08:03:51 +01:00
Arnoud
f56fc84159
docs(angular-query): improve examples (#8273) 2024-11-10 22:08:44 +01:00
Jonghyeon Ko
74c65cc2db
test(react-query): refactor test file structure 1 file by 1 api (#8262)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-11-08 18:11:01 +01:00
Ariel-Moroshko
7085bd11c0
docs: correct file extensions to .tsx and add type annotations (#8259)
* Fix typo: 'hydrate' to 'dehydrate' in documentation

* fix: correct file extensions to .tsx and add type annotations

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-08 14:07:07 +01:00
Tanner Linsley
8ae5aed0ba release: v5.60.1 v5.60.1 2024-11-08 10:06:49 +00:00