Aryan Deora
c62fd14f23
fix(query-devtools): Include class name to devtools button component ( #6923 )
2024-02-17 20:28:36 -05:00
Aryan Deora
928d41a592
patch(query-devtools): Default font-family to Inter ( #6922 )
2024-02-17 19:50:36 -05:00
Niels Bosman
847a99696e
docs(react-query): fix typo in useMutation data attribute ( #6921 )
2024-02-17 22:51:58 +01:00
Tanner Linsley
b2bb8e46cb
release: v5.21.4
v5.21.4
2024-02-17 18:36:01 +00:00
Dominik Dorfmeister
61f4d74788
refactor(types): make queryKey required on ObserverOptions ( #6879 )
...
* refactor(types): make queryKey required on ObserverOptions
we cannot create an observer without a key, because an observer, per definition, watches a certain query by its key
* test: observers need a key
* chore: remove a branch that can't exist
we can't have an observer without a queryKey
* fix: when comparing with shallowEqualObjects, the currentResult must come first
because it doesn't detect length changes
* test: we get another event
* types: you can't set queryKey as default
* a test for undefined queryKey makes no sense
* fix: more type issues
* types: queryKey is also not required for defaultOptions in solid
* fix(core): shallowEqualObjects should return false for objects with different lengths
as we use it for options, and the length of options can change
2024-02-17 19:32:06 +01:00
Tanner Linsley
7595412a01
release: v5.21.3
v5.21.3
2024-02-17 11:15:15 +00:00
Daniel Shamburger
841b4f3870
fix(query-devtools): add name attribute to form elements( #6208 )
...
add name attribute to form elements
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-02-17 12:10:27 +01:00
Tanner Linsley
c1b46aefe5
release: v5.21.2
v5.21.2
2024-02-17 10:09:12 +00:00
Jonghyeon Ko
d9d73ff16d
fix(types): remove unnecessary omitted field of MutationObserverOptions ( #6907 )
...
* fix(angular-query): remove unnecessary omit parameter
* fix(*): remove unnecessary omit parameter
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-02-17 11:03:49 +01:00
Jonghyeon Ko
137233b7a8
chore(query-codemods): unify directory name as name field of package.json ( #6913 )
...
* refactor(query-codemods): unify directory name as name field of package.json
* chore: update
2024-02-17 10:56:12 +01:00
Lachlan Collins
426bcd63b9
chore: Enable @typescript-eslint/stylistic config ( #6914 )
...
* Add @typescript-eslint/stylistic
* Remove knip ignore
2024-02-17 13:27:05 +11:00
Zachary DeRose
496cd8cdcc
ci: More Nx Cloud features ( #6906 )
...
* adding root level checks to agent execution
* making root level scripts cacheable
* correctly setting inputs
* adding agents to ci.yml
* adding dynamic changesets to fix variable size PRs
* fixing resource name in dynamic-changesets.yaml
* reruning tests
* Delete tsbuildinfo file
* Update PR and CI scripts
* Add stop-agents-on-failure=false
* parallel=3
* Ignore .pnpm-store
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-02-17 11:55:35 +11:00
Arnoud
65a55409a9
docs(angular-query-devtools): button position relative ( #6911 )
2024-02-16 23:34:19 +01:00
Tanner Linsley
e83a8232ac
release: v5.21.1
v5.21.1
2024-02-16 19:54:04 +00:00
Aryan Deora
e23e6f22e3
fix(solid-query): Fix Infinite Query SSR payload ( #6909 )
2024-02-16 14:46:30 -05:00
Tanner Linsley
8a2e8a5391
release: v5.21.0
v5.21.0
2024-02-16 19:30:23 +00:00
Don Denton
ac0d05c1d8
feat(query-devtools): Add btn position relative support ( #6576 )
...
In addition to adding support for relative positioning of the button,
I've added in opacity changes for all in/out animations.
2024-02-16 14:23:41 -05:00
Tanner Linsley
7f81901de4
funding changes
2024-02-15 00:59:57 -07:00
Tanner Linsley
1ede42f7e6
move funding.json
2024-02-15 00:56:55 -07:00
Tanner Linsley
361c08edd3
Update and rename FUNDING.yml to FUNDING.json
2024-02-15 00:54:52 -07:00
Lachlan Collins
b614725a0b
docs(examples): Update Vinxi ( #6899 )
2024-02-14 20:33:26 +11:00
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