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
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
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