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

5,026 commits

Author SHA1 Message Date
Dominik Dorfmeister
f2ddaf2536
Merge pull request from GHSA-997g-27x8-43rf
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
2024-01-30 18:21:09 +01:00
Jonghyeon Ko
62704ce63a
chore(integrations/react-*): add eslintrc to resolve error (#6749)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-28 21:27:20 +01:00
Jonghyeon Ko
c77477212c
ci(eslint): add rule to encourage generic naming convention as ^(T|T[A-Z][A-Za-z]+)$ (#6684)
* ci(eslint): add rule to force generic naming convention

* chore: reflect review

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>

* fix(eslint): accept A-Z alone too

* chore: update rule regex

* chore: update rule's regex

* fix(eslint): update typeParameter rule as `^(T|T[A-Z][A-Za-z]+)$` more strictly

* chore: resolve prettier error

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-28 18:26:06 +01:00
Jonghyeon Ko
b32ad24f5d
ci(eslint): add @cspell/eslint-plugin to prevent misspelling (error) (#6718)
* ci: add @cspell/eslint-plugin to prevent misspelling

* ci(eslint/cspell): convert rule as error

* fix(cspell): reduce unnecessary words to check

* fix(eslint): remove `ouuid` as @cspell/spellchecker's words
2024-01-28 17:57:28 +01:00
Arnoud
8fff654920
docs(angular-query): run prettier on quickstart (#6782) 2024-01-27 16:46:35 +01:00
Michael Be
e726e698e2
docs(angular-query): Update quick-start.md (#6775)
* angular-query: Update quick-start.md

Some minor fixes to update the quick start example to a version which would actually compile

* docs(angular-query): add QueryClient import

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-01-27 16:33:10 +01:00
Jonghyeon Ko
1f77c12533
ci(sherif): ignore-package ./integrations/* (#6750)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-27 15:01:16 +01:00
Arnoud
9c561b2856
docs(angular-query): add examples to menu (#6781) 2024-01-27 14:52:45 +01:00
Jeong-Sik Yun
58b3de8680
doc: Change the onMutate optional description to capitalize. (#6773) 2024-01-27 14:05:42 +01:00
Tanner Linsley
8657a4eaf9 release: v5.17.22 v5.17.22 2024-01-27 01:20:09 +00:00
Lachlan Collins
a0d1de8b09
fix: Add extensions to relative exports in declaration files (#6780)
* Bump to 0.3.2

* Fix lockfile
2024-01-27 12:18:49 +11:00
JP Rosevear
b34480d68a
docs: Point to latest eslint rule doc link (#6768) 2024-01-27 10:58:11 +11:00
Lachlan Collins
c22ca89cf3
docs: Move eslint docs to core (#6779) 2024-01-27 07:53:47 +11:00
Lachlan Collins
5a5b61b19b
docs: Fix relative link depth (#6778) 2024-01-26 19:53:40 +11:00
Lachlan Collins
86b8a1df6b
docs: Fix broken links, share reference docs (#6777) 2024-01-26 19:30:21 +11:00
Lachlan Collins
9739c8d12c
docs: Fix path in refs field (#6774) 2024-01-26 14:31:25 +11:00
Lachlan Collins
0cdbd5a198
docs: Re-organise for new docs layout (#6763)
* docs: Re-organise for v2 docs layout

* Add $schema
2024-01-26 07:57:22 +11:00
Jonghyeon Ko
8e7c34f448
chore(examples/angular): include eslintrc.cjs in tsconfig to resolve eslint error (#6748) 2024-01-24 18:06:08 +01:00
Tanner Linsley
013078b143 release: v5.17.21 v5.17.21 2024-01-22 07:30:51 +00:00
Jonghyeon Ko
479e5b6e39
fix(query-devtools): typed tokens (#6745)
* fix(query-devtools): typed tokens

* chore: update

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-22 08:28:04 +01:00
fuko
63b83bd5ac
chore: Use the new docs config format (#6740) 2024-01-22 07:27:10 +11:00
Tanner Linsley
0b0be7eb8f release: v5.17.20 v5.17.20 2024-01-20 21:30:46 +00:00
Lachlan Collins
669cce9333
refactor(eslint-plugin-query): Use @tanstack/config build (#6739)
* refactor(eslint-plugin-query): Use @tanstack/config build

* Remove unused file (reported by knip)
2024-01-21 08:29:23 +11:00
Jonghyeon Ko
f6845b0d97
docs(nextjs-suspense-streaming): remove unnecessary curly braces (#6738) 2024-01-20 21:32:28 +01:00
Tanner Linsley
6e7ff08fdb release: v5.17.19 v5.17.19 2024-01-20 14:41:01 +00:00
Nicolas J
a7891b9c2b
fix(query-core): mutation meta typing (#6680)
* fix QueryMeta type

* reverting previous fix and applied similar behaviour to MutationMeta

* added behaviour details in the documentation
2024-01-20 15:34:21 +01:00
Tanner Linsley
96cdb28d31 release: v5.17.18 v5.17.18 2024-01-17 22:01:43 +00:00
Agustín Tornielli
21dc72933a
fix(query-devtools): Update default devtools button position to bottom-right 🌱 (#6720)
* docs: Update default position

* fix: Default btn position for React.js

* fix: Default btn position for Solid.js

* fix: Default btn position for Svelte

* fix: Default btn position for Vue.js
2024-01-17 22:59:02 +01:00
Tanner Linsley
6356b747d7 release: v5.17.17 v5.17.17 2024-01-17 16:51:15 +00:00
Arnoud
05455c8e5b
fix(angular-query-devtools): fix SSR errors (#6724)
By running devtools code on browser platform only
2024-01-17 17:49:17 +01:00
Dominik Dorfmeister
c9cd303d5c chore: prettify md files 2024-01-17 11:00:17 +01:00
Matthieu Foucault
68d1f3b982
docs: add queryClient to useQuery signature (#6721) 2024-01-17 10:44:00 +01:00
Tanner Linsley
28d69099c6 release: v5.17.16 v5.17.16 2024-01-17 01:16:36 +00:00
Arnoud
bce83f9af8
fix(angular-query-devtools): Reimplement Angular devtools (#6722)
* fix(angular-query-devtools): Reimplement Angular devtools

Skip hydration
Core devtools handles defaults
Enable all core devtools functionality
Add angular-query as peer dependency
2024-01-17 02:10:36 +01:00
Tanner Linsley
af1004b295 release: v5.17.15 v5.17.15 2024-01-16 19:36:17 +00:00
Manuel Schiller
1dd372f94b
fix(query-core): replaceEqualDeep correctly handles values that contain undefined (#6719) 2024-01-16 20:29:40 +01:00
Tanner Linsley
c08abf002f release: v5.17.14 v5.17.14 2024-01-16 14:34:07 +00:00
Kirby
9dc3eaac03
fix(query-core): computed properties of QueryObserverResult (#6716)
* fix: computed type from QueryObserverResult

* test: add test cases for QueryObserverResult

* test: add test cases for InfiniteQueryObserverResult
2024-01-16 15:27:22 +01:00
Tanner Linsley
1ead251fc8 release: v5.17.13 v5.17.13 2024-01-15 11:51:18 +00:00
robin labat
4524716501
fix(vue-query): Fix type inference (#6706)
Co-authored-by: LABAT Robin <robin.labat@airbus.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-15 12:49:16 +01:00
海秋
f294d4711e
docs: correct nuxt2 example (#6702)
Co-authored-by: worldzhao <107326924@qq.com>
2024-01-15 10:37:10 +01:00
Tanner Linsley
72c3a06cf9 release: v5.17.12 v5.17.12 2024-01-15 09:28:17 +00:00
Luke Morales
020ac08d01
fix(types): repair wrong types passed to DataTag (#6699)
* fix: repair wrong types passed to `DataTag`

* test: remove introduced changes and add test for the fixed behavior

* Update packages/angular-query-experimental/src/__tests__/query-options.test-d.ts

* Update packages/angular-query-experimental/src/__tests__/query-options.test-d.ts

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-01-15 10:24:06 +01:00
Dominik Dorfmeister
22caf2aa71
Revert "chore(sherif): remove unnecessary option and ignore directory" (#6703) 2024-01-15 06:53:17 +01:00
Jonghyeon Ko
4a931464ad
chore(sherif): remove unnecessary option and ignore directory (#6701)
* fix(sherif): ignore directory

* chore(sherif): remove shorthand and unnecessary option
2024-01-14 20:46:53 +01:00
Tanner Linsley
7a9419a083 release: v5.17.11 v5.17.11 2024-01-14 12:00:39 +00:00
René Klomp
dfa4dc9474
fix(types): Fix typo in PersistQueryClientRootOptions (#6698) 2024-01-14 12:58:17 +01:00
Jonghyeon Ko
3a127bfc13
chore: include field of tsconfig correctly to be affected by eslint with typescript (#6688)
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-01-13 22:03:43 +11:00
Brian West
4973f326e6
docs(react-prefetching): fix spelling (#6602) 2024-01-13 22:03:24 +11:00
Lachlan Collins
c697605e87
docs(svelte): Fix SvelteKit v2 migration (#6694)
* docs: Fix sveltekit v2 migration

* Bump kit and adapter

* Update lockfile
2024-01-13 16:08:18 +11:00