Chamath Palihawadana
8ecf0f7822
docs(query-client): broken hydration link ( #7718 )
2024-07-11 11:34:19 +02:00
Lachlan Collins
5c9efe80b3
ci(pnpm): Add .pnpmfile.cjs to remove indirect dependencies ( #7667 )
...
* ci(pnpm): Add .pnpmfile.cjs to remove unused dependencies
* Fix build
2024-07-11 15:26:25 +10:00
Tanner Linsley
9726af3fb5
release: v5.51.1
v5.51.1
2024-07-11 04:56:56 +00:00
Lachlan Collins
c6d68d8076
ci: enable npm provenance ( #7716 )
...
* ci: enable npm provenance
* Update @tanstack/config
2024-07-11 14:53:49 +10:00
Lachlan Collins
b58da75a69
docs(examples): Modernise Next.js examples ( #7706 )
...
* docs(examples): Update react/auto-refetching
* Update infinite-query-with-max-pages, load-more-infinite-scroll
* Upgrade react/nextjs
* More projects
* Update playground
* Update prefetching
* Cleanup deps
* Disable typescript during next build
* Fix eslint plugin
* Final changes
2024-07-10 14:48:50 +10:00
twiddler
8d0ba7ea3a
docs(eslint-plugin-query): Fix rules links ( #7705 )
2024-07-10 11:59:38 +10:00
Lachlan Collins
7fc94729d4
docs(examples): Modernise React examples ( #7704 )
...
* docs(examples): Update react/basic-typescript
* Replace basic with basic-typescript
* Fix lockfile
* Update react/basic-graphql-request
* Improve react/suspense
* More tweaks to react/suspense
* Update react/simple
* Update react/offline
* Convert default-query-function
* Remove axios and ky usage
* Replace axios with fetch
* Undo lint-stagesd
* Sync solid/basic and solid/basic-graphql-request
2024-07-10 11:52:01 +10:00
Lachlan Collins
362f8e6a37
ci: Improve Nx inputs ( #7702 )
2024-07-10 07:39:44 +10:00
John Dunn
14d9c49fba
docs: add Query Rewind to vue community projects ( #7688 )
2024-07-08 10:06:33 +02:00
Tanner Linsley
7e3c9e9ccb
release: v5.51.0
v5.51.0
2024-07-08 08:05:42 +00:00
Suneet Tipirneni
41009c964c
feat(vue-query): add support for getters in query keys ( #7608 )
...
* feat(vue-query): add support for getters in query keys
* add support for nested queries
* fix type test
* don't export helper function
* fix useQueries types
* fix lint issue
2024-07-08 10:02:28 +02:00
Tanner Linsley
c1945ff938
release: v5.50.3
v5.50.3
2024-07-08 02:21:42 +00:00
87xie
c107fc54a9
docs(react-query): correct links in the prefetching.md file ( #7671 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-08 12:17:57 +10:00
Aponia
2df92a67cc
refactor(svelte-query): specify StoreOrVal in function signature ( #7453 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-08 12:17:45 +10:00
Lachlan Collins
d2a92d97ae
docs(examples): Fix duplicate example name ( #7684 )
2024-07-07 09:42:41 +10:00
Tanner Linsley
706bce3164
release: v5.50.2
v5.50.2
2024-07-06 22:59:33 +00:00
Lachlan Collins
9e5bc7be31
fix(solid): Correct deps/devDeps/peerDeps ( #7682 )
2024-07-07 08:56:43 +10:00
Lachlan Collins
ea4d8f29da
ci: Use pkg-pr-new templates ( #7676 )
...
* WIP: Try pkg-pr-new templates
* Remove approved
* Try one dir
* Update preview.yml
* Update preview.yml
* Update preview.yml
* Test moving to dep
* Merge with pr.yml
* Update example names
* Use pnpm pack
* All examples
* Undo angular basic change
* Remove .codesandbox/ci.json
2024-07-07 08:01:17 +10:00
Lachlan Collins
2273105df9
ci: Add preview workflow ( #7675 )
...
* ci: Add preview workflow
* Mark query-codemods as private
* Ignore query-codemods for CSB
* Test templates
* Fix templates glob
* Fix private fields
* Move --compact
* One of these will work
* One more attempt
* Adjust command
* Specific template
* Remove private...
* no-template
2024-07-05 14:55:31 +10:00
Tanner Linsley
e79275178c
release: v5.50.1
v5.50.1
2024-07-05 03:00:51 +00:00
Lachlan Collins
f2741d153b
fix: Update package.json fields ( #7674 )
2024-07-05 12:59:13 +10:00
87xie
70c40e7876
docs(react-query): Correct links in usePrefetchQuery ( #7658 )
2024-07-03 18:54:56 +10:00
Tanner Linsley
af93a2394c
release: v5.50.0
v5.50.0
2024-07-03 00:20:36 +00:00
Lachlan Collins
98547b6b64
feat(eslint-plugin-query): Add compatibility with flat config ( #7663 )
...
* feat(eslint-plugin-query): Add flat config compatibility
* Add flat/recommended
* Fix types
* Use in basic-typescript
* Load plugin with flat/recommended
* Update docs
* Add react and react-hooks back
* Remove test
* Fix attw
2024-07-03 10:18:25 +10:00
Lachlan Collins
941ba88d20
tests(svelte-query): Increase test coverage ( #7659 )
...
* tests(svelte-query): Add createInfiniteQuery, useIsMutating
* Add infiniteQueryOptions, update context
2024-07-02 20:14:42 +10:00
Lachlan Collins
f1cdea94af
tests(svelte-query): Reorganise for multiple components per test ( #7654 )
...
* Move tests
* Add useIsFetching test, disabled createQuery test
* Add QueryCacheProvider test
2024-07-01 22:09:36 +10:00
Tanner Linsley
46bed749c6
release: v5.49.2
v5.49.2
2024-06-30 06:12:09 +00:00
Tanner Linsley
56fad109ea
fix(react-query): experimental before/after query options ( #7652 )
2024-06-30 00:08:09 -06:00
Tanner Linsley
4be599fd8e
fix(react-query): experimental before/after query options ( #7651 )
2024-06-30 00:00:08 -06:00
Tanner Linsley
3ee5bd87b5
release: v5.49.1
v5.49.1
2024-06-30 05:49:16 +00:00
Tanner Linsley
8927e4cc29
fix(react-query): add experimental beforeQuery/afterQuery client options ( #7650 )
2024-06-29 23:46:59 -06:00
Lachlan Collins
f454bf1cfb
docs(examples): Update Next.js version ( #7649 )
2024-06-30 12:54:28 +10:00
Lachlan Collins
a80cea3896
ci: Optimise Nx workflow ( #7648 )
...
* ci: Optimise Nx workflow
* Merge test:build and test:attw
2024-06-30 12:18:25 +10:00
Tanner Linsley
b5272df513
release: v5.49.0
v5.49.0
2024-06-29 06:22:08 +00:00
Lachlan Collins
033e739bd9
ci: Use Node 20 for CodeSandbox examples ( #7646 )
...
* ci: Try to use Node 20 for CSB
* Simplify install/build scripts
* Fix installCommand
* Remove installCommand
* Undo
* Remove install:csb
2024-06-29 16:19:57 +10:00
Julius Marminge
8cbe7d5dc1
feat(hydration): dehydrate.serialize and hydrate.deserialize ( #7615 )
...
* add transformData to restore resolved prefetches
* add failing test
* fix test
* remove transformPromise
* fix
* rev
* rm log
* fix test
* add another test
* serialize/deserialize
* chore: docs + minor refactor
* indentation
* chore: prettier
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-06-29 07:10:45 +02:00
Lachlan Collins
003e1a8c47
tests: Use recommended @testing-library/svelte setup ( #7645 )
2024-06-29 12:59:12 +10:00
Alexander Svendsen
87c8e01e4c
docs: remove suspense reference to useQuery ( #7640 )
...
useQuery has no suspense option
2024-06-28 14:41:20 +02:00
Lachlan Collins
febbde676d
chore: Update ESLint config ( #7637 )
...
* chore: Update ESLint config
* Fix errors
* Fix knip
2024-06-28 11:17:57 +10:00
Lachlan Collins
e6a0fdd89e
chore: Migrate to ESLint flat config ( #7636 )
...
* chore: Migrate to ESLint flat config
* Migrate more packages
* angular and solid
* svelte packages
* Hopefully more fixes
* react packages
* vue packages
* Fix typescript errors
* Update Nx config
2024-06-27 23:34:37 +10:00
Azi Muth
8d75aaa37d
docs(examples): code refactoring and type improvement ( #7634 )
...
* refactor: minor code refactoring and type improvement for react-native example
* chore: slice the movie with original value
2024-06-27 14:48:34 +02:00
Kenrick Beckett
8b899410c8
docs: Remove the variable assignment from example code ( #7623 )
...
* Remove the variable assignment from example code
* remove variable assignment in prefetch query docs
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-06-27 14:48:18 +02:00
Tanner Linsley
e100e5d0de
release: v5.48.2
v5.48.2
2024-06-26 22:55:31 +00:00
Damian Osipiuk
11e979e933
fix(vue-query): useQueries type inference ( #7416 )
2024-06-27 00:53:49 +02:00
Tanner Linsley
bec24e7883
release: v5.48.1
v5.48.1
2024-06-26 22:26:43 +00:00
Damian Osipiuk
f1f659260a
fix(vue-query): types should now properly accept computed queryOptions ( #7631 )
2024-06-27 00:24:31 +02:00
Igor Shevchenko
52cc7b2162
docs: typo ( #7628 )
2024-06-26 23:39:38 +02:00
reslear
832d07adeb
docs(vue): up-to-date devtools information ( #7578 )
...
* docs(vue): up-to-date devtools information
need to help users clarify their current status
* Update devtools.md
* Update devtools.md
* Update devtools.md
* docs: restructure devtools page
---------
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2024-06-26 22:48:57 +02:00
Tanner Linsley
09382a4b43
release: v5.48.0
v5.48.0
2024-06-25 14:14:27 +00:00
John
31b9ab49af
feat(core): Add possibility to pass a callback to enabled. ( #7566 )
...
* Add possibility to pass a callback to enabled.
* Refactor into using the same pattern as resolving staletime, with the use of a resolveEnabled util function
* Update tests for enabled option as a callback
* update docs
* remove typo
* Update enabled type in docs
* remove duplicated test case
* Fix eslint errors
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: John Pettersson <john.pettersson@carnegie.se>
2024-06-25 16:10:16 +02:00