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
Lachlan Collins
ae5527409b
chore: Ignore .tsbuildinfo files (#6898) 2024-02-14 19:45:06 +11:00
Rui Saraiva
d3203e796c
docs(examples): improve react-router example (#6836)
* docs(examples): improve react-router example

* chore: match types

* chore: update lock file

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-02-14 07:27:41 +11:00
Lachlan Collins
2cc95245a0
ci: Add sherif task to pr.yml (#6897) 2024-02-14 07:16:43 +11:00
austin johnson
b842e72b7a
docs: Update devtools.md (#6893)
Add note about external React Query dev tools that will work for React Native
2024-02-13 16:41:47 +01:00
Jonghyeon Ko
c9163c4bbb
chore(ci): codecov components (#6826)
* ci(codecov): components

* chore: update

* chore: update
2024-02-13 16:18:23 +01:00
Tanner Linsley
7972003bc5 release: v5.20.5 v5.20.5 2024-02-13 13:15:22 +00:00
Dominik Dorfmeister
7e255691fe
fix(core): do not update mutations if key has changed (#6889)
* fix(core): do not update mutations if key has changed

* chore: remove .only test
2024-02-13 14:05:42 +01:00
Tanner Linsley
99559b651f release: v5.20.4 v5.20.4 2024-02-13 12:49:18 +00:00
Dominik Dorfmeister
aad40787e4
fix(types): type structural sharing as unknown (#6888) 2024-02-13 13:46:31 +01:00
Tanner Linsley
7a98470558 release: v5.20.3 v5.20.3 2024-02-13 12:00:58 +00:00
Dominik Dorfmeister
f2c4f480a3
fix(react-query-devtools): make the client prop work outside a Provider tree (#6886) 2024-02-13 12:59:23 +01:00
Arnoud
ef7be72332
docs(angular-query): angular example improvements (#6881) 2024-02-12 21:33:58 +01:00
Tanner Linsley
15e3345941 release: v5.20.2 v5.20.2 2024-02-12 16:04:28 +00:00
Luke Murray
3b844bb4f7
refactor(query-core): export matchMutation (#6851)
Export matchMutation from query core so that users can match mutation keys.

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-02-12 16:53:43 +01:00
Dominik Dorfmeister
cac31bcccb chore: fix multiple-dependency-versions 2024-02-12 14:12:33 +01:00
Alex Liu
5f1b505fe4
docs: add simple example for document homepage (#6857)
* docs: add simple example for document homepage

* chore: run prettier
2024-02-12 13:49:35 +01:00
Arnoud
3b6c32a58b
docs(angular-query): add routing example (#6873) 2024-02-11 23:16:40 +01:00
Zachary DeRose
59c0d53dea
ci: Introduce Nx agents (#6863)
* introducing nx agents

* busting cache to get some test runs in

* fixing distribut option

* fixing yml syntax error

* bumping up agent count

* experimenting with parallel and agent count

* kick tires

* rm stuff to break cache

* reordering setup to start agents earlier

* adding in nvmrc file

* making sure pnpm is there for node setup

* kick tires

* Move parallel flag into workflow

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-02-11 10:25:15 +11:00
Lachlan Collins
7a51c2a24a
chore: Update dependencies (#6871)
* Update knip to v4

* Update sherif

* Update jsdom

* Update types

* Update solid deps

* Dedupe dependencies

* Update expo to v50

* Update @vitejs/plugin-vue

* Update testing-library

* Update svelte dependencies

* Update vite and vitest

* Update solid and vinxi

* Update some example deps

* Update tanstack dependencies

* Update Nx to v18

* Remove @types/react-native

* pnpm dedupe

* Downgrade Nx

* Update jscodeshift
2024-02-11 10:16:49 +11:00
Arnoud
967c4fe06c
docs(angular-query): replace msw with http interceptor (#6870)
interceptor works better in sandbox environments
2024-02-10 22:08:33 +01:00
Lachlan Collins
9b496bf526
chore: Use plugin:react/jsx-runtime config (#6868)
* chore: Replace plugin:react/recommended with plugin:react/jsx-runtime

* Remove unused namespace import

* Fix tsconfig jsx field
2024-02-10 20:17:24 +11:00
Tanner Linsley
1bb8ec758e release: v5.20.1 v5.20.1 2024-02-10 08:53:24 +00:00
Lachlan Collins
7b7cc2f6ab
refactor(eslint-plugin-query): Use ESLintUtils.RuleCreator (#6867)
* refactor: Use ESLintUtils.RuleCreator

* Move files, fix folder name

* Remove empty type import

* Fix knip
2024-02-10 19:50:53 +11:00
Lachlan Collins
e1059300e9
chore: Replace @ts-ignore with @ts-expect-error (#6866) 2024-02-10 18:51:05 +11:00
Lachlan Collins
8cd64416a9
chore: Add recommended eslint rules, dedupe parserOptions (#6865) 2024-02-10 18:28:51 +11:00
Tanner Linsley
5bdeff75ad release: v5.20.0 v5.20.0 2024-02-10 06:41:55 +00:00
Lachlan Collins
4220885a00
feat(eslint-plugin-query): Update @typescript-eslint/utils to v6 (#6864)
* Try to update ts-eslint v6

* Fix recommended

* Finish migration

* Remove any

* Use `project: true`

* Use alternative function syntax
2024-02-10 17:40:09 +11:00
Tanner Linsley
92d2debe39 release: v5.19.1 v5.19.1 2024-02-10 02:11:31 +00:00
Lachlan Collins
30924d6e64
fix: Enable @typescript-eslint/method-signature-style (#6847) 2024-02-10 13:01:01 +11:00
Arnoud
3e852314e7
docs(angular-query): convert angular example apps to cli (#6849) 2024-02-07 23:03:14 +01:00
Arnoud
7c91e1a7ee
docs(angular-query): add infinite query guide to menu (#6838) 2024-02-04 23:37:04 +01:00
Arnoud
fc89dc4e36
docs(angular-query): add infinite query example (#6837) 2024-02-04 23:19:02 +01:00
Tanner Linsley
340e38d7eb release: v5.19.0 v5.19.0 2024-02-04 21:44:38 +00:00
Arnoud
c2dc9bb05a
feat(angular-query): injectInfiniteQuery (#6808) 2024-02-04 22:42:16 +01:00
Arnoud
abd90dbf3f
docs(angular-query): improve basic example (#6834)
* docs(angular-query): improve basic example

* docs(angular-query): update README
2024-02-04 17:25:16 +01:00
Tanner Linsley
5feefa4d14 release: v5.18.2 v5.18.2 2024-02-04 14:04:59 +00:00
Arnoud
8ad35041e7
fix(angular-query): support angular v16 (#6833) 2024-02-04 14:54:29 +01:00
Lachlan Collins
caa2916766
chore: Downgrade Nx to v17.3.1 (#6830)
Bug is impairing detection of target scripts
2024-02-04 14:00:40 +11:00
Lachlan Collins
86a6c3e671
ci: Update Nx to v17.3.2 (#6829) 2024-02-04 13:41:07 +11:00
Lachlan Collins
bfdd31fef0
ci: Undo merging integrations into examples (#6821)
* Prepare to add integrations

* Move integrations back

* Add back missing

* Remove test:types
2024-02-03 23:05:09 +11:00
Lachlan Collins
c190f68c8e
Revert "ci: Remove codesandbox (#6814)" (#6818)
This reverts commit 8450d9a315.
2024-02-03 18:36:34 +11:00
Lachlan Collins
6c7980823a
docs(examples): Clean-up example config (#6817)
* docs(examples): Clean-up example config

* Add missing skipLibCheck

* Quick fix

* Add any

* Use default vite tsconfig
2024-02-03 17:32:17 +11:00
Lachlan Collins
da5f40e1de
ci: Merge integrations into examples (#6815)
* ci: Merge integrations into examples

* Move cross-env out of root

* Add type module to vite examples

* Re-add angular integration

* Fix lockfile
2024-02-03 16:47:09 +11:00
Lachlan Collins
8450d9a315
ci: Remove codesandbox (#6814) 2024-02-03 16:01:45 +11:00
Lachlan Collins
2aeb0bf684
ci(examples): test examples in CI (#6813)
* Update Nx config

* Make nextjs examples work

* Fix 2 more next examples

* Fix solid and svelte examples

* Fix react prefetching example

* Fix svelte type
2024-02-03 15:53:29 +11:00
Jonghyeon Ko
237e52c8db
ci(vitest): use name field of package.json consistently (#6787) 2024-02-03 09:36:03 +11:00
Tanner Linsley
68b5d792fa release: v5.18.1 v5.18.1 2024-02-02 08:00:12 +00:00
Lachlan Collins
2c115f896f
ci: Update example dependencies when publishing (#6809) 2024-02-02 18:55:39 +11:00
Tanner Linsley
c8442f8256 release: v5.18.0 v5.18.0 2024-01-30 17:33:29 +00:00
Dominik Dorfmeister
1244043caa feat: fix potential xss injection 2024-01-30 18:30:46 +01:00