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
ddf5539869
chore: Add type checking to integrations (#6607)
* Add TS to vue-vite integration

* Explicitly exclude examples

* Merge test:bundle into build

* Update gitignore

* Update codesandbox build step

* Wow npm is annoying
2023-12-29 08:29:31 +11:00
Tanner Linsley
9f2c1486c7 release: v5.15.2 v5.15.2 2023-12-26 23:24:28 +00:00
Arnoud
29770f8669
refactor(angular-query): generic signal proxy (#6596) 2023-12-27 00:22:58 +01:00
Lachlan Collins
f372cc1c27
docs: Run prettier on docs directory (#6595) 2023-12-27 08:04:23 +11:00
Tanner Linsley
747b392ff7 release: v5.15.1 v5.15.1 2023-12-26 14:52:51 +00:00
Arnoud
3b9e56360e
refactor(angular-query): kebab case file names per angular convention (#6593) 2023-12-26 15:48:08 +01:00
Tanner Linsley
bbe828c844 release: v5.15.0 v5.15.0 2023-12-26 09:36:35 +00:00
Lachlan Collins
45f61195b8
feat: Update to Vite v5 and Vitest v1 (#6587)
* Update angular dependencies

* Update to vite v5

* Update @sveltejs/vite-plugin-svelte

* Update vitest and vite-plugin-solid

* Fix vitest coverage config

* Fix react-query tests

* Update to solid-start 0.4.0

* Fix prettier

* Update solid and @solidjs/testing-library

* Fix solid start example name

* Add fix from #6590

* Fix vue-query test

* Fix second vue-query test
2023-12-26 20:29:56 +11:00
Lachlan Collins
3b6e37394a
chore(solid-query): Replace screen with rendered in tests (#6589)
* Replace screen with rendered

* Bump solid version

* Update @solidjs/testing-library

* Bumpto 0.8.5
2023-12-26 18:50:38 +11:00
Lachlan Collins
42362e48a8
chore: Fix coverage range and nested tests (#6588)
* Bump vite to 4.5.1

* Add coverage include field

* Fix nested tests
2023-12-26 17:55:27 +11:00
Tanner Linsley
b005d8c9b0 release: v5.14.7 v5.14.7 2023-12-25 13:30:04 +00:00
Lachlan Collins
499db1370d
fix: Update to tsup v8 (#6585)
* Update to tsup v8

* Update esbuild-plugin-file-path-extensions
2023-12-26 00:23:51 +11:00
Lachlan Collins
2d4637d937
chore: Enable prefer-workspace-packages (#6584) 2023-12-26 00:01:20 +11:00
Tanner Linsley
67f76b15b5 release: v5.14.6 v5.14.6 2023-12-23 16:04:39 +00:00
Arnoud
fdcdfdc68b
fix(angular-query): fix optimistic result (#6575) 2023-12-23 17:02:33 +01:00
Lachlan Collins
1340d590a2
chore: Update to Nx v17 (#6581)
* chore: Update to Nx v17

* Fix pnpm lockfile
2023-12-23 23:24:16 +11:00
Lachlan Collins
81cbf81f10
chore: Update dependencies (#6580)
* Update types and eslint

* Update more patch/minor deps

* Bump node and pnpm

* Undo next and node changes

* More updates

* Seems to work now

* Lock TS 5.2.2

* Bump ky

* Final bumps

* Remove duplicated type

* Update react-native example

* Remove @callstack/eslint-config
2023-12-23 23:07:58 +11:00
Lachlan Collins
50bf5ce366
chore: Update publint (#6579) 2023-12-23 19:24:30 +11:00
Tanner Linsley
fd330979c3 release: v5.14.5 v5.14.5 2023-12-21 15:06:16 +00:00
R. Dylan Walker
7579dc637e
fix(query-devtools): remove automatic inclusion of font cdn link (#6573) 2023-12-21 16:03:23 +01:00
Arnoud
1b4121a09f
chore(angular-query): add angular adapter to bug template (#6572) 2023-12-21 13:55:00 +01:00
Tanner Linsley
4c9fde9f69 release: v5.14.4 v5.14.4 2023-12-19 22:04:16 +00:00
Damian Osipiuk
723dfc71e5
fix(vue-query): fix select type inference (#6562) 2023-12-19 23:02:55 +01:00
Tanner Linsley
c3fab9337c release: v5.14.3 v5.14.3 2023-12-19 21:42:16 +00:00
Damian Osipiuk
abb72baac3
fix(vue-query): ensure that invalidateQueries trigger queryFn with updated ref values (#6561) 2023-12-19 22:37:32 +01:00
Tanner Linsley
7a6173364b release: v5.14.2 v5.14.2 2023-12-19 20:38:18 +00:00
Magomed Chemurziev
9bc1e6570b
fix(vue-query): add ensureQueryData support to queryClient (#6500)
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2023-12-19 21:31:51 +01:00
Alex Liu
46a4444609
docs(vue-query): updated usage examples for nuxt 3 (#6527) 2023-12-19 21:30:50 +01:00
robin labat
6611c4c1c0
fix(vue-query): improve queryClient type inference (#6335)
Co-authored-by: LABAT Robin <robin.labat@airbus.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2023-12-19 21:26:39 +01:00
Luca Dibattista
5290aa1012
fix(queryCore): export MutationCacheNotifyEvent type (#6270)
* fix(mutationCache): export MutationCacheNotifyEvent type

Export MutationCacheNotifyEvent type to make it consistent with QueryCacheNotifyEvent (which is exported) and make it easier to write listener functions.

* fix(mutationCache): export MutationCacheNotifyEvent type

---------

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2023-12-19 21:21:25 +01:00
Tanner Linsley
a950962db6
Update README.md 2023-12-19 10:32:51 -07:00
MinhoPark
583c3a8001
chore(React Import): Unification of React import method (#6553)
* refactor: remove console.log

* refactor: remove console.log

* refactor: ts file unification of React import method

* refactor: match convention

* refactor: match convention

* fix: Code style issues found in 1 file. Run Prettier to fix.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-12-19 18:15:50 +01:00
Michael Be
95ce0cc9ea
docs(angular-query): remove non-existing menu-item which redirects to react guide (#6557) 2023-12-19 16:13:10 +01:00
Arnoud
1ed85edb9f
refactor(angular-query-devtools) non optional devtools property in devtools component (#6555)
Co-authored-by: Tomasz Ducin <tomasz@ducin.it>
2023-12-18 20:02:49 +01:00
Brenden Ehlers
e02557ecd7
docs: add documentation for gcTime error for react-query (#6544)
* docs(QueryClient): add documentation for gcTime error

* docs(QueryClient): change 'will' to 'can'

* docs(react-query): moved gcTime warning to SSR guide

* docs(react-query): added paragraph explaining gcTime issue

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-12-18 08:21:41 +01:00
Tanner Linsley
0f2db04f7a release: v5.14.1 v5.14.1 2023-12-17 14:29:28 +00:00
Alex Liu
320cf9bed2
fix(query-core): fix context type error in onSuccess (#6355)
* fix(query-core): fix context type error in `onSuccess`

* docs(query-core): update `useMutation` documentations

* fix(query-core): the `context` should not be inferred as `undefined` when `TContext` is defined

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-12-17 15:23:19 +01:00
Tyler McGinnis
c38c1cb563
Update course link (#6545) 2023-12-16 13:32:42 -07:00
Arnoud
60cbd75e40
docs(angular-query): add guides (#6530)
* docs(angular-query): add guides

* docs(angular-query): add mutations guide

* docs(angular-query): guides improvements

* docs(angular-query): update docs

* docs(angular-query): add initial query data guide

* add keywords and optimistic updates guide

* Replace React specifics with Angular ones
2023-12-16 13:11:39 +01:00
Tanner Linsley
84e2ef2197 release: v5.14.0 v5.14.0 2023-12-15 12:02:22 +00:00
Dominik Dorfmeister
94154d73aa
feat(core): changing mutationKeys should reset observer (#6511)
this allows key-ing of mutations without having to re-mount components using mutations; the mutationKey basically defines the identity of the mutation - it doesn't make much sense to keep data of a different mutationKey around at observer level if the key changes
2023-12-15 12:56:15 +01:00
Tanner Linsley
e2d5da2fd3
Update config.json 2023-12-14 10:23:38 -07:00
Tanner Linsley
b3a73b0de4
Update config.json 2023-12-14 10:20:04 -07:00
Tanner Linsley
5eb4f6dead
Update config.json 2023-12-14 10:14:35 -07:00
Tanner Linsley
2539b37ddf
Update config.json 2023-12-14 09:58:58 -07:00
Arnoud
258238cfb7
docs(angular-query): update examples and getting started docs (#6520) 2023-12-12 15:39:09 +01:00
Drew Powers
e45c11973e
docs: add openapi-fetch to community-projects(#6499)
Hello, I’m the maintainer of openapi-fetch, and use it primarily with TanStack Query. Though it’s a vanillaJS project, it works perfectly with TanStack Query and there are even dedicated docs to using the two together.

Happy to accept any change requests in the description, etc.
2023-12-12 10:15:15 +01:00
Jonghyeon Ko
894561098c
docs(docs/react): update spelling opera consistency (#6523) 2023-12-12 09:47:31 +01:00
Harry Chen
b484fe5adb
docs: Update query-options.md (#6506)
* Update query-options.md

I supposed it was a link to https://tanstack.com/query/v5/docs/react/typescript#typing-query-options

* Update query-options.md

Change to relative path

* Update query-options.md
2023-12-11 14:41:07 +01:00
이효범
f093f4b6b0
docs: Update useQueries.md (#6514) 2023-12-11 13:57:46 +01:00