Jeroen Claassens
55486f1762
fix(eslint-plugin): strictly type config keys ( #7780 )
...
* fix(eslint-plugin): strictly type config keys
* fix: remove union for `recommended`
2024-07-25 17:54:57 +02:00
Lachlan Collins
5760f70021
ci: remove test:format from Nx workflow ( #7775 )
2024-07-23 11:23:58 +10:00
Lachlan Collins
ffd404f6ca
test(svelte-query): Better createMutation tests ( #7773 )
2024-07-22 10:15:47 +10:00
Tanner Linsley
0edbc4911c
release: v5.51.12
v5.51.12
2024-07-20 11:10:06 +00:00
Ahmed Abdelbaset
404c2faeb1
fix(eslint-plugin): type config names ( #7766 )
...
* fix(eslint-plugin): type configs
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-20 20:51:44 +10:00
Tanner Linsley
c3dffbdeae
release: v5.51.11
v5.51.11
2024-07-20 10:47:26 +00:00
Lachlan Collins
b76400966c
fix(svelte-query): Correct data type when initialData is set ( #7769 )
...
* Fix createQueries initialData type
* Fix createQuery types
2024-07-20 20:44:32 +10:00
Lachlan Collins
e4e65be850
docs(typedoc): Use generateReferenceDocs function ( #7765 )
...
* docs(typedoc): Use generateReferenceDocs function
* Fix type
2024-07-19 21:20:21 +10:00
Lachlan Collins
144d3a8d90
docs(typedoc): Update output filename ( #7764 )
...
* docs: Update typedoc output filename
* Run prettier
2024-07-19 19:52:50 +10:00
Minko Gechev
27861961bb
docs: update the syntax highlighting for angular ( #7762 )
2024-07-19 11:36:35 +02:00
Lachlan Collins
b189e3137c
ci: Enable autofix on push to release branch
2024-07-19 19:06:20 +10:00
Oguz Kazkayasi
b970f671df
docs: Throw error or mutation doesn't see any the 500 coming from API ( #7754 )
...
* Throw error or mutation doesn't see any the 500 coming from API
* fix: prettier
* ci: apply automated fixes
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-18 14:58:26 +02:00
Andre Sander
98d127adb8
docs: Update paginated-queries.md ( #7759 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-18 14:50:17 +02:00
Tanner Linsley
f1c4ce7f0b
release: v5.51.10
v5.51.10
2024-07-18 12:03:56 +00:00
Dominik Dorfmeister
e61edd21b2
fix(eslint-plugin-query): get scope from sourceCode ( #7760 )
...
in eslint v9, context.getScope() doesn't exist anymore. see: https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/#context.getscope()
2024-07-18 14:01:25 +02:00
Lachlan Collins
ae8738acdd
ci: Remove git pre-commit hook ( #7756 )
...
* ci: Remove git pre-commit hook
* Lock setup action digest
2024-07-18 17:51:29 +10:00
Tanner Linsley
70620ec724
release: v5.51.9
v5.51.9
2024-07-18 07:36:00 +00:00
Lachlan Collins
a5bfc30f00
ci: Add autofix.yml ( #7755 )
...
* ci: Add autofix.yml
* Intentionally break formatting :(
* [autofix.ci] apply automated fixes
* Update commit message
* Oops, very long line
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-18 08:59:10 +02:00
wing
0c671eecb7
fix(query-core): allow function value of notifyOnChangeProps query option to return undefined ( #7441 )
...
* fix(query-core): allow function value of `notifyOnChangeProps` query option to return `undefined`
`undefined` is a valid return value for the function value of `notifyOnChangeProps`. See linked issue for more details.
Fixes #7426 .
* docs(react-query): update signature of `useQuery`'s `notifyOnChangeProps` option
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-18 08:52:20 +02:00
Lachlan Collins
d02e610ff3
docs(typedoc): Add frontmatter ( #7753 )
...
* docs(typedoc): Add frontmatter
* Update knip.json
2024-07-18 15:42:53 +10:00
Lachlan Collins
13817e9537
docs(svelte-query): Auto-generate reference docs ( #7751 )
...
* docs(svelte-query): Auto-generate reference docs
* Fix knip, update exclude
2024-07-18 12:40:19 +10:00
Robin Marillia
81ca333248
docs(query-core): add matchQuery and matchMutation utils ( #7643 )
...
* docs(query-core): add matchQuery and matchMutation mentions in filters documentation
* docs(query-core): clarifies filters type
* Format
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-18 11:03:34 +10:00
Tanner Linsley
d8ab55207e
release: v5.51.7
v5.51.7
2024-07-17 23:55:21 +00:00
Eliya Cohen
4c503c5703
fix(eslint-plugin): handle ternary expressions in queryFn ( #7747 )
2024-07-18 09:51:44 +10:00
Tanner Linsley
f034d27805
release: v5.51.6
v5.51.6
2024-07-17 19:40:57 +00:00
Aryan Deora
ffb11b3547
fix(solid-query): Fix race condition issues with createQuery ( #7748 )
...
* fix(solid-query): Fix race condition issues with `createQuery`
2024-07-17 15:32:27 -04:00
Tanner Linsley
c101251139
release: v5.51.5
v5.51.5
2024-07-17 14:35:45 +00:00
Yannick Croissant
a87c2fe4a7
fix(query-core): widen QueriesObserver queries type ( #7446 ) ( #7492 )
...
* fix(query-core): widen QueriesObserver queries type (#7446 )
Widen the `QueriesObserver` queries type so we can assign `UseQueryOptions` to `QueryObserverOptions`.
The result from the `queryOptions` helper can now be passed to `QueriesObserver`.
* chore: prettier
* fix(types): QueryKey needs to default to `any`, too
---------
Co-authored-by: Yannick CROISSANT <yannick.croissant@canal-plus.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-17 16:31:11 +02:00
Dhruv
91cfc10032
docs(solid-query): add optional chaining to prevent suspense bug ( #7709 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-17 16:04:07 +02:00
Lachlan Collins
01212de25c
test(svelte-query): Refactor test logic ( #7744 )
...
* test(svelte-query): Simplify test logic
* Improve createQueries tests
2024-07-17 23:08:19 +10:00
Tanner Linsley
5c50ca730e
release: v5.51.4
v5.51.4
2024-07-17 11:11:07 +00:00
Dominik Dorfmeister
7edf587418
fix(core): do not invoke getNextPageParam or getPreviousPageParam if there is we have empty pages in the cache ( #7743 )
2024-07-17 13:09:00 +02:00
Ryan Miller
a1ce3c4ad7
docs: Update Streaming with Server Components docs to reflect correct usage ( #7725 )
...
* chore: update Streaming with Server Components docs to reflect correct usage
* chore: update Streaming with Server Components to show moving the getQueryClient function
* chore: fix prettier styling
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-17 11:53:10 +02:00
MinhoPark
95d814afda
chore(utils): Ensure consistent declaration style of utility functions and standardize parameters for the sleep method ( #7554 )
...
* refactor: Changed parameter names to match those in other sleep utility functions.
* refactor: Most utility functions are defined as regular functions, updated this one to match.
* fix: formatting
2024-07-17 11:49:46 +02:00
Tanner Linsley
eb21d1e7b6
release: v5.51.3
v5.51.3
2024-07-16 20:33:10 +00:00
Andy Li
a3f5a0aafe
fix(vue-query): export InitialQueryOptions types ( #7720 )
2024-07-16 22:29:46 +02:00
김석진(poki)
23b9a196c4
chore: update knip schema to v5 ( #7740 )
2024-07-16 22:13:11 +10:00
Lachlan Collins
38e5c4b85b
test(svelte-query): Check query states ( #7741 )
...
* chore(svelte-query-persist-client): Use store subscribe shortcut
* Use statesStore logic in svelte-query
* Use toHaveLength
* Stricter types
2024-07-16 14:15:27 +10:00
Lachlan Collins
28af03fd72
chore(deps): Update dev and example dependencies ( #7742 )
...
* chore(deps): Update dev and example dependencies
* Undo changes to esbuild
* Fix @types/eslint version
2024-07-16 14:11:38 +10:00
Jonghyeon Ko
d10a4567ca
chore(*): vitest v2 ( #7735 )
...
* chore(*): vitest v2
* chore: update
* chore: update
* chore: update
* chore: update
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-07-15 17:28:04 +02:00
Dominik Dorfmeister
46359542f0
chore: prettier
2024-07-15 17:20:41 +02:00
Kier Borromeo
369d826066
docs: access latest data for useMutationState ( #7738 )
2024-07-15 16:15:02 +02:00
Alessia Bellisario
79e5202997
docs: Update comparison.md ( #7703 )
2024-07-11 14:20:14 +02:00
Tanner Linsley
435584395c
release: v5.51.2
v5.51.2
2024-07-11 10:02:59 +00:00
Lachlan Collins
45a21d4146
ci: simplify publish script ( #7719 )
2024-07-11 20:00:06 +10:00
Brendan Allan
1846abe1ee
fix(solid-query): export InitialDataOptions types ( #7707 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-07-11 19:50:37 +10:00
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