Skip to content

beta release #5771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 363 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
363 commits
Select commit Hold shift + click to select a range
039bcc8
release: v5.0.0-alpha.11
tannerlinsley Apr 1, 2023
eff7f03
Merge branch 'main' into alpha
TkDodo Apr 1, 2023
4fa1cdb
refactor(core): unify hydration options (#5131)
TkDodo Apr 1, 2023
0d90ecb
release: v5.0.0-alpha.12
tannerlinsley Apr 1, 2023
79132b1
Merge branch 'main' into alpha
TkDodo Apr 2, 2023
70086cc
release: v5.0.0-alpha.13
tannerlinsley Apr 2, 2023
633115a
chore: remove unused devDependencies (#5211)
TkDodo Apr 2, 2023
a67da4a
refactor(react-query-devtools): move devtools components in files (#5…
gpichot Apr 2, 2023
c39bf62
release: v5.0.0-alpha.14
tannerlinsley Apr 2, 2023
635cbf7
fix(solid-query): SSR fixes - Inconsistent state (#5093)
Apr 3, 2023
f4a97fa
release: v5.0.0-alpha.15
tannerlinsley Apr 3, 2023
ffa6f67
fix(solid-query): Fix non hydrating queries (#5229)
ardeora Apr 5, 2023
6260338
release: v5.0.0-alpha.16
tannerlinsley Apr 5, 2023
4933346
Merge remote-tracking branch 'origin/main' into alpha
TkDodo Apr 7, 2023
993e495
release: v5.0.0-alpha.17
tannerlinsley Apr 7, 2023
5940415
docs(react): fix typo in TypeScript.md (#5239)
Juneezee Apr 7, 2023
e6f0bcc
fix: do not mutate input (#5240)
TkDodo Apr 13, 2023
8578f1e
release: v5.0.0-alpha.18
tannerlinsley Apr 13, 2023
67a563c
docs: update migrating-to-v5 (#5274)
arthurdenner Apr 15, 2023
75a2b4d
fix(query-core): correct placeholderData prevData value with select f…
ardeora Apr 19, 2023
0b0b706
release: v5.0.0-alpha.19
tannerlinsley Apr 19, 2023
831a811
feat(solid-query): Add `reconcile` option (#5287)
ardeora Apr 21, 2023
cf956f6
release: v5.0.0-alpha.20
tannerlinsley Apr 21, 2023
4a9287e
Merge remote-tracking branch 'origin/main' into alpha
TkDodo Apr 23, 2023
8b3014c
chore: adapt tests to v5 syntax after merge
TkDodo Apr 23, 2023
cba321b
feat: remove callbacks from QueryObserver (#5282)
TkDodo Apr 23, 2023
fa04d8b
release: v5.0.0-alpha.21
tannerlinsley Apr 23, 2023
1f58281
fix(solid-query): Remove unserializable values (#5326)
ardeora Apr 26, 2023
8c69c5e
release: v5.0.0-alpha.22
tannerlinsley Apr 26, 2023
18c7a41
feat: rename throwErrors to throwOnError (#5318)
TkDodo Apr 28, 2023
35fba76
release: v5.0.0-alpha.23
tannerlinsley Apr 28, 2023
c94bf4c
docs: remove duplicated `isInitialLoading` (#5327)
vinilzen Apr 28, 2023
aebae80
fix: make sure codemods are included in react-query (#5340)
TkDodo Apr 28, 2023
77ead30
Merge remote-tracking branch 'origin/main' into alpha
TkDodo Apr 28, 2023
3dae17c
chore: fix pr pipeline (#5345)
TkDodo Apr 30, 2023
020645e
chore: don't throw error if build dir already exists
TkDodo Apr 30, 2023
f74f755
release: v5.0.0-alpha.24
tannerlinsley Apr 30, 2023
0e3f15b
feat: queryOptions helper function (#5153)
TkDodo Apr 30, 2023
bd7ec86
release: v5.0.0-alpha.25
tannerlinsley Apr 30, 2023
c561e8b
chore: remove createStore option (#5352)
TkDodo Apr 30, 2023
153ce78
docs: remove callbacks from useQuery
TkDodo Apr 30, 2023
d8c83b9
fix(core): make sure refetching multiple queries imperatively works o…
TkDodo May 1, 2023
40eee07
release: v5.0.0-alpha.26
tannerlinsley May 1, 2023
a9d7a37
chore: svelte-query tests, validatePackages changes
lachlancollins May 1, 2023
7b3d70a
feat(devtools): Add framework agnostic devtools (#5347)
ardeora May 2, 2023
c8d79dd
fix(query-devtools): Add query-core to devDependencies (#5360)
ardeora May 2, 2023
d2c856c
release: v5.0.0-alpha.27
tannerlinsley May 2, 2023
d24f44c
feat(solid-query): `queryOptions` helper for solid-query (#5355)
OrJDev May 2, 2023
95de69d
release: v5.0.0-alpha.28
tannerlinsley May 2, 2023
45a810c
feat(svelte-query-devtools): Svelte Adapter for new Devtools (#5362)
lachlancollins May 3, 2023
a58b18b
fix(devtools): Update ESM export extension (#5364)
ardeora May 4, 2023
5b53d00
release: v5.0.0-alpha.29
tannerlinsley May 4, 2023
5dd7f0d
feat(devtools): Make queryclient reactive (#5366)
ardeora May 4, 2023
917992a
release: v5.0.0-alpha.30
tannerlinsley May 4, 2023
3147eb6
Revert changes to svelte-query build
lachlancollins May 4, 2023
dc16941
fix(svelte-query-devtools): Fix tsconfig paths
lachlancollins May 4, 2023
0b7235e
fix(svelte-query-devtools): Fix issue parsing JSX (#5372)
lachlancollins May 4, 2023
b657107
feat(query-core): Add previousQuery to placeholderFn (#5358)
ardeora May 13, 2023
9ee983a
release: v5.0.0-alpha.31
tannerlinsley May 13, 2023
30cee3a
docs: Update dependent-queries.md (#5391)
g3r4n May 13, 2023
d5ababe
Merge branch 'main' into alpha
TkDodo May 14, 2023
049e0c6
refactor: unwrap listeners
TkDodo May 14, 2023
5f65ccd
chore: relax eslint for tests
TkDodo May 14, 2023
2fc597a
release: v5.0.0-alpha.32
tannerlinsley May 14, 2023
e76a2c3
docs: new docs for placeholderData
TkDodo May 15, 2023
0388a2f
feat(useQueries): combine (#5219)
TkDodo May 15, 2023
02384e6
docs: combine
TkDodo May 15, 2023
859b1be
chore: setup fallback base to origin/main
TkDodo May 15, 2023
31cd47a
release: v5.0.0-alpha.34
tannerlinsley May 15, 2023
156bd96
docs: update installation
TkDodo May 15, 2023
19004e8
chore: Improve eslint/tsconfig setup in svelte packages (#5438)
lachlancollins May 20, 2023
faa7fbd
fix(types): fix TError generic on queryOptions
TkDodo May 20, 2023
dfc7703
release: v5.0.0-alpha.35
tannerlinsley May 20, 2023
3eff0b4
Merge branch 'main' into alpha
TkDodo May 20, 2023
c743645
release: v5.0.0-alpha.36
tannerlinsley May 20, 2023
cd84ed8
chore: Bump eslint version to 8.34.0 (#5439)
lachlancollins May 20, 2023
9b285d9
feat(svelte-query): Simplify types (#5442)
lachlancollins May 21, 2023
761dea7
release: v5.0.0-alpha.37
tannerlinsley May 21, 2023
3c32a64
chore: Update dev dependencies (#5466)
lachlancollins May 26, 2023
3d37d87
chore: Replace cp with cpy-cli (#5441)
lachlancollins May 26, 2023
7492f70
fix: Update typescript-eslint (#5467)
lachlancollins May 26, 2023
f4216a4
release: v5.0.0-alpha.38
tannerlinsley May 26, 2023
202d468
chore: More package updates (#5468)
lachlancollins May 26, 2023
3941ee1
chore: Link examples to workspace packages (#5469)
lachlancollins May 26, 2023
3d385ff
feat(svelte-query): Switch to moduleResolution bundler (#5471)
lachlancollins May 26, 2023
3cf8f70
fix: Downgrade chalk to v4 (#5472)
lachlancollins May 26, 2023
35d2663
release: v5.0.0-alpha.39
tannerlinsley May 26, 2023
7d6e6ec
docs: change Hydrate->HydrationBoundary (#5455)
tigawanna May 26, 2023
a6186e5
feat(react-query-persist-client): await onuccess (#5473)
TkDodo May 26, 2023
5ae95f4
release: v5.0.0-alpha.40
tannerlinsley May 26, 2023
868c938
Merge branch 'main' into alpha
lachlancollins May 27, 2023
5650559
release: v5.0.0-alpha.41
tannerlinsley May 27, 2023
91f4a6b
chore: Regenerate alpha lockfile (#5477)
lachlancollins May 27, 2023
210e4c7
docs(solid-query): Fix API signature in overview.md (#5470)
leader22 May 27, 2023
28e0e28
docs(svelte-query): Add svelte-query-devtools to examples (#5478)
lachlancollins May 27, 2023
f9dce35
chore: Clean-up eslint config (#5481)
lachlancollins May 28, 2023
49e9c16
chore: More eslint improvements (#5482)
lachlancollins May 28, 2023
92545cc
feat: Convert rollup config to ESM (#5484)
lachlancollins May 28, 2023
02f5581
chore: Migrate scripts to ESM (#5486)
lachlancollins May 29, 2023
c5fece7
feat: Split rollup config for Nx caching (#5487)
lachlancollins May 29, 2023
d1b001a
fix: Fix CJS/ESM issue with @commitlint/parse
lachlancollins May 29, 2023
049d58b
chore: Update prettier, eslint, rollup, scripts (#5490)
lachlancollins May 29, 2023
101b31a
chore: Fix prettierignore
lachlancollins May 30, 2023
d490832
release: v5.0.0-alpha.42
tannerlinsley May 30, 2023
247acdd
fix: Update @commitlint/parse (#5491)
lachlancollins May 30, 2023
80c88b5
release: v5.0.0-alpha.43
tannerlinsley May 30, 2023
163be78
chore: Add eslint-plugin-compat (#5495)
lachlancollins May 30, 2023
c5d38bc
fix: Improve workspace tsconfig (#5497)
lachlancollins May 31, 2023
626652a
release: v5.0.0-alpha.44
tannerlinsley May 31, 2023
c05b8b8
fix: Move deps/devDeps/peerDeps to appropriate location (#5498)
lachlancollins May 31, 2023
62086b3
chore: Extend base tsconfig for svelte packages (#5501)
lachlancollins Jun 1, 2023
6bf03dd
release: v5.0.0-alpha.45
tannerlinsley Jun 1, 2023
d76e474
chore: Make test:types have no Nx output (#5500)
lachlancollins Jun 1, 2023
a2b1dc4
feat: Remove svelte field from package.json (#5504)
lachlancollins Jun 1, 2023
25eda1b
release: v5.0.0-alpha.46
tannerlinsley Jun 1, 2023
e736905
feat: Add explicit package.json `type` field (#5505)
lachlancollins Jun 1, 2023
8172ff6
release: v5.0.0-alpha.47
tannerlinsley Jun 1, 2023
3210f6b
chore: Fix nx affected (#5509)
lachlancollins Jun 2, 2023
33d8290
fix: Fix ESLint warnings (#5510)
lachlancollins Jun 2, 2023
b1c8866
release: v5.0.0-alpha.48
tannerlinsley Jun 2, 2023
2eb4570
chore: Update to Nx 16.3.1 (#5514)
lachlancollins Jun 2, 2023
57786ab
chore: Update Nx cloud workflow (#5515)
lachlancollins Jun 2, 2023
affee30
feat: Drop legacy webpack v4 support (#5507)
lachlancollins Jun 2, 2023
359a082
release: v5.0.0-alpha.49
tannerlinsley Jun 2, 2023
a33f87b
feat: Remove UMD build output (#5517)
lachlancollins Jun 2, 2023
e3e1e82
release: v5.0.0-alpha.50
tannerlinsley Jun 2, 2023
7948407
chore: Rework rollup externals (#5519)
lachlancollins Jun 3, 2023
398d293
feat: Refactor package exports (#5520)
lachlancollins Jun 3, 2023
7922c13
chore: Remove publint error temporarily
lachlancollins Jun 3, 2023
9b9b25d
release: v5.0.0-alpha.51
tannerlinsley Jun 3, 2023
748b4e7
fix: Publint error in solid-query (#5522)
lachlancollins Jun 3, 2023
c9ec5d9
release: v5.0.0-alpha.52
tannerlinsley Jun 3, 2023
fd2cd65
fix: Simplify exports in solidjs packages (#5523)
lachlancollins Jun 3, 2023
e5910b3
release: v5.0.0-alpha.53
tannerlinsley Jun 3, 2023
f998d49
chore: Improve Nx task separation (#5524)
lachlancollins Jun 3, 2023
110b4df
Fix ci workflow
lachlancollins Jun 3, 2023
b767179
feat(query-devtools): Lazyload Query Devtools Core (#5527)
ardeora Jun 3, 2023
392393a
release: v5.0.0-alpha.54
tannerlinsley Jun 3, 2023
9bab0ed
fix(query-devtools): Broken package.json exports (#5528)
lachlancollins Jun 3, 2023
b50eb36
release: v5.0.0-alpha.55
tannerlinsley Jun 4, 2023
97e1a83
chore: Re-enable Nx Distributed Task Execution (#5518)
lachlancollins Jun 4, 2023
a462981
fix(query-devtools): inform onlineManager when offline mode is simula…
TkDodo Jun 6, 2023
b6000eb
release: v5.0.0-alpha.56
tannerlinsley Jun 6, 2023
6fb0807
docs: make returning a promise for optimistic updates more explicit (…
JLarky Jun 7, 2023
81bd9be
fix(codemod): do not mark the `buildMessage` method as private (#5546)
balazsmatepetro Jun 8, 2023
17506cc
release: v5.0.0-alpha.57
tannerlinsley Jun 8, 2023
dac5f97
fix(query-devtools): Fix getSidedProp bug (#5551)
ardeora Jun 9, 2023
c72e1d4
release: v5.0.0-alpha.58
tannerlinsley Jun 9, 2023
6875919
chore: Update publish script (#5559)
lachlancollins Jun 12, 2023
e5ea1cb
fix(query-devtools): Add chunkFileNames option (#5560)
lachlancollins Jun 12, 2023
8e9d92a
release: v5.0.0-alpha.59
tannerlinsley Jun 12, 2023
6993dee
fix: Change `svelte-package` output directory (#5561)
lachlancollins Jun 12, 2023
e4700c1
release: v5.0.0-alpha.60
tannerlinsley Jun 12, 2023
457723f
Merge branch 'main' into alpha
TkDodo Jun 12, 2023
a73222f
release: v5.0.0-alpha.61
tannerlinsley Jun 12, 2023
a6d0c87
chore: try to stabilize test
TkDodo Jun 12, 2023
cc2fc66
Merge branch 'main' into alpha
lachlancollins Jun 12, 2023
a4d753b
Merge branch 'main' into alpha
lachlancollins Jun 12, 2023
b098c22
fix(solid-query): Use rollup-preset-solid (#5565)
lachlancollins Jun 12, 2023
1edcb9a
release: v5.0.0-alpha.62
tannerlinsley Jun 12, 2023
c160c94
feat: Add legacy rollup builds (#5570)
lachlancollins Jun 13, 2023
64376ae
release: v5.0.0-alpha.63
tannerlinsley Jun 13, 2023
65c7c9d
docs: Add `"private": true` to examples (#5578)
lachlancollins Jun 13, 2023
39d3891
Merge branch 'main' into alpha
lachlancollins Jun 14, 2023
6f1c48f
release: v5.0.0-alpha.64
tannerlinsley Jun 14, 2023
f3380e0
Merge branch 'main' into alpha
lachlancollins Jun 14, 2023
146bd86
fix(useIsMutating): fix vue warning (#5453)
juvirez Jun 14, 2023
772e55d
release: v5.0.0-alpha.65
tannerlinsley Jun 14, 2023
3e009d3
feat(infiniteQuery): allow prefetching arbitrary amounts of pages (#5…
TkDodo Jun 17, 2023
b99bf33
release: v5.0.0-alpha.66
tannerlinsley Jun 17, 2023
ba7fc56
refactor: move queryOptions to its own file (#5480)
TkDodo Jun 17, 2023
0c93fde
release: v5.0.0-alpha.67
tannerlinsley Jun 17, 2023
0e54f0a
fix: Update eslint-plugin-query build config (#5601)
lachlancollins Jun 18, 2023
ba41f31
fix: Use pnpm workspace protocol (#5600)
lachlancollins Jun 18, 2023
81ada75
release: v5.0.0-alpha.68
tannerlinsley Jun 18, 2023
7c61693
chore: Use nx watch command (#5605)
lachlancollins Jun 19, 2023
a0d68be
fix(solid-query): revert package.json typo (#5615)
MattJustMatt Jun 22, 2023
b1ea78f
release: v5.0.0-alpha.69
tannerlinsley Jun 22, 2023
c670553
Merge branch 'main' into alpha
TkDodo Jun 25, 2023
12318b4
release: v5.0.0-alpha.70
tannerlinsley Jun 25, 2023
95e13ca
Merge branch 'main' into alpha
TkDodo Jun 27, 2023
99b21aa
release: v5.0.0-alpha.71
tannerlinsley Jun 27, 2023
8bdb55c
Merge branch 'main' into alpha
lachlancollins Jun 27, 2023
f57cebe
chore: Fix Nx parallelisation for vue-query tests (#5635)
lachlancollins Jun 27, 2023
1d6c6de
fix(devtools): padding for action buttons (#5608)
TkDodo Jun 27, 2023
6687a32
release: v5.0.0-alpha.72
tannerlinsley Jun 27, 2023
3c86cab
feat: Support Svelte v4 (#5659)
lachlancollins Jul 3, 2023
182f0f3
release: v5.0.0-alpha.73
tannerlinsley Jul 3, 2023
01125e6
fix(eslint-plugin-query): Use tsup to generate types (#5666)
lachlancollins Jul 3, 2023
268fb87
release: v5.0.0-alpha.74
tannerlinsley Jul 3, 2023
4d571d1
fix: Skip queryClient context lookup if client passed directly (#5669)
skokenes Jul 3, 2023
e35941d
release: v5.0.0-alpha.75
tannerlinsley Jul 3, 2023
0a0f0ff
feat: Accept all svelte stores as options (#5672)
lachlancollins Jul 4, 2023
07318de
release: v5.0.0-alpha.76
tannerlinsley Jul 4, 2023
f2ee414
fix(svelte-query): Fix staleTime reactivity bug (#5682)
lachlancollins Jul 6, 2023
43dc530
release: v5.0.0-alpha.77
tannerlinsley Jul 6, 2023
0b2ddb5
chore(svelte-query): Update reactivity docs and tests (#5683)
lachlancollins Jul 6, 2023
aded1b7
fix(query-devtools): Bundle all dependencies (#5684)
lachlancollins Jul 6, 2023
294f416
release: v5.0.0-alpha.78
tannerlinsley Jul 6, 2023
4deec2d
Merge branch 'main' into alpha
lachlancollins Jul 6, 2023
52417aa
Merge branch 'main' into alpha
lachlancollins Jul 6, 2023
e310db4
release: v5.0.0-alpha.79
tannerlinsley Jul 6, 2023
1a12a6a
feat: react-query-next-experimental package (#5598)
TkDodo Jul 14, 2023
89b99d2
release: v5.0.0-alpha.80
tannerlinsley Jul 14, 2023
c06e5dd
docs: fix nextjs-streaming example
TkDodo Jul 14, 2023
cefd080
fix(core) : sync Observer 'current' properties when optimistic readin…
incepter Jul 14, 2023
a968036
chore: Force line terminator to \\n on codemods tests (#5664)
incepter Jul 14, 2023
d0ea746
Merge branch 'main' into alpha
TkDodo Jul 14, 2023
bd13f01
chore: stabilize a flaky test
TkDodo Jul 14, 2023
534605c
release: v5.0.0-alpha.81
tannerlinsley Jul 14, 2023
4d82c5f
docs: remove devtools from example
TkDodo Jul 14, 2023
bca1be0
fix(query-devtools): Force publish package (#5715)
lachlancollins Jul 15, 2023
b405004
release: v5.0.0-alpha.82
tannerlinsley Jul 15, 2023
fc08d32
docs: re-enable devtools
TkDodo Jul 15, 2023
f643eab
fix: Update dev dependencies (#5718)
lachlancollins Jul 15, 2023
1a5f89f
release: v5.0.0-alpha.83
tannerlinsley Jul 15, 2023
b497aa9
Merge branch 'main' into alpha
lachlancollins Jul 16, 2023
d6322ae
chore: Add vite to root package.json (#5722)
lachlancollins Jul 16, 2023
dcda920
refactor: Add new eslint sorting from main (#5723)
lachlancollins Jul 16, 2023
f0ab7f5
Merge branch 'main' into alpha
lachlancollins Jul 16, 2023
61dd829
release: v5.0.0-alpha.84
tannerlinsley Jul 16, 2023
542fbcf
chore: Update vite and vitest (#5724)
lachlancollins Jul 16, 2023
33f0def
Merge branch 'main' into alpha
lachlancollins Jul 17, 2023
69f59b1
chore: Remove eslint-plugin-compat (#5732)
lachlancollins Jul 18, 2023
3c9dc0f
feat: include meta in query and mutation hydration (#5733)
TkDodo Jul 18, 2023
56d1620
release: v5.0.0-alpha.85
tannerlinsley Jul 18, 2023
195afe3
fix(onlineManager): always initialize with `online: true` (#5714)
TkDodo Jul 18, 2023
eec73ca
release: v5.0.0-alpha.86
tannerlinsley Jul 18, 2023
5080c8e
Merge remote-tracking branch 'origin/main' into alpha
TkDodo Jul 18, 2023
c5e409b
docs: use bundlejs for bundle-size
TkDodo Jul 18, 2023
b879836
docs: fix link
TkDodo Jul 18, 2023
b3d7d55
feat: Replace rollup with tsup/esbuild (#5597)
lachlancollins Jul 19, 2023
1674f90
release: v5.0.0-alpha.87
tannerlinsley Jul 19, 2023
d0e5457
chore: Simplify tsconfig (#5745)
lachlancollins Jul 19, 2023
0eb02b2
fix: Simplify devDependencies (#5747)
lachlancollins Jul 19, 2023
877676b
fix: Fix tsconfig "include" setting (#5750)
lachlancollins Jul 20, 2023
4440344
release: v5.0.0-alpha.88
tannerlinsley Jul 20, 2023
7b753d3
docs: fix potential typo (#5748)
DaleSeo Jul 20, 2023
b167883
fix: Add missing extensions to ESM imports (#5751)
lachlancollins Jul 20, 2023
77bd2c3
chore: Bundler integration tests (#5756)
lachlancollins Jul 21, 2023
b1f80c9
fix(query-devtools): Fix Devtools Build Issues (#5768)
ardeora Jul 22, 2023
c254fec
release: v5.0.0-alpha.89
tannerlinsley Jul 22, 2023
e14a171
feat(codemod): add codemod that renames the `Hydrate` component usage…
balazsmatepetro Jul 22, 2023
d82a0cb
feat(codemod): add codemod that renames the `cacheTime` and `useError…
balazsmatepetro Jul 22, 2023
d639a0d
feat(react-query): useSuspenseQuery (#5739)
TkDodo Jul 23, 2023
b7e548b
release: v5.0.0-alpha.90
tannerlinsley Jul 23, 2023
149a043
Merge commit '118801df342881021c2bb6c8add5bb11b6dd944a' into alpha
TkDodo Jul 24, 2023
7db6ca0
chore: fix prettier
TkDodo Jul 24, 2023
b830337
chore: fix tests
TkDodo Jul 24, 2023
154e0ea
release: v5.0.0-alpha.91
tannerlinsley Jul 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .browserslistrc

This file was deleted.

1 change: 1 addition & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"installCommand": "install:csb",
"buildCommand": "build:all",
"sandboxes": [
"/examples/react/basic-typescript",
"/examples/solid/basic-typescript",
Expand Down
6 changes: 5 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// @ts-check

/** @type {import('eslint').Linter.Config} */
const config = {
root: true,
parser: '@typescript-eslint/parser',
Expand All @@ -15,7 +18,7 @@ const config = {
},
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.base.json',
project: './tsconfig.json',
sourceType: 'module',
ecmaVersion: 2020,
},
Expand All @@ -42,6 +45,7 @@ const config = {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-inferrable-types': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16.14.2
node-version: 18.16.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Run Tests
uses: nick-fields/[email protected]
with:
command: pnpm run test:ci --base=${{ github.event.before }}
command: pnpm run test:ci
timeout_minutes: 10
max_attempts: 3
- name: Publish
Expand Down
39 changes: 5 additions & 34 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.14.2
node-version: 18.16.0
cache: 'pnpm'
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Get appropriate base and head commits for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'main'
main-branch-name: 'alpha'
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
Expand All @@ -45,7 +45,7 @@ jobs:
with:
timeout_minutes: 5
max_attempts: 3
command: npx nx affected --targets=test:eslint,test:lib,test:types,test:build
command: npx nx affected --targets=test:eslint,test:lib,test:types,test:build,test:bundle
- name: Stop Agents
run: npx nx-cloud stop-all-agents
- name: Upload coverage to Codecov
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.14.2
node-version: 18.16.0
cache: 'pnpm'
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
Expand All @@ -88,38 +88,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.14.2
node-version: 18.16.0
cache: 'pnpm'
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Run prettier
run: pnpm run test:format
test-react-17:
name: 'Test React 17'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16.14.2
cache: 'pnpm'
- name: Install dependencies
run: pnpm --filter "./packages/**" --filter query --prefer-offline install
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
- name: Run Tests
uses: nick-fields/[email protected]
with:
timeout_minutes: 5
max_attempts: 3
command: npx nx affected --targets=test:lib --base=${{ github.event.pull_request.base.sha }}
env:
NX_CLOUD_DISTRIBUTED_EXECUTION: false
REACTJS_VERSION: 17
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.19.0
v18.16.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Hooks for fetching, caching and updating asynchronous data in React, Solid, Svel
<img src="https://github.com/TanStack/query/workflows/react-query%20tests/badge.svg" />
</a><a href="https://www.npmjs.com/package/@tanstack/query-core" target="\_parent">
<img alt="" src="https://img.shields.io/npm/dm/@tanstack/query-core.svg" />
</a><a href="https://bundlephobia.com/package/@tanstack/react-query@latest" target="\_parent">
<img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/react-query" />
</a><a href="https://bundlejs.com/?q=%40tanstack%2Freact-query%40alpha&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&badge=" target="\_parent">
<img alt="" src="https://deno.bundlejs.com/?q=@tanstack/react-query@alpha&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}}&badge=detailed" />
</a><a href="#badge">
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
</a><a href="https://github.com/TanStack/query/discussions">
Expand Down
48 changes: 0 additions & 48 deletions babel.config.js

This file was deleted.

36 changes: 22 additions & 14 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@
"label": "Suspense",
"to": "react/guides/suspense"
},
{
"label": "Custom Logger",
"to": "react/guides/custom-logger"
},
{
"label": "Testing",
"to": "react/guides/testing"
Expand All @@ -177,12 +173,16 @@
"to": "react/guides/does-this-replace-client-state"
},
{
"label": "Migrating to React Query 3",
"label": "Migrating to v3",
"to": "react/guides/migrating-to-react-query-3"
},
{
"label": "Migrating to React Query 4",
"label": "Migrating to v4",
"to": "react/guides/migrating-to-react-query-4"
},
{
"label": "Migrating to v5",
"to": "react/guides/migrating-to-v5"
}
]
},
Expand Down Expand Up @@ -246,6 +246,10 @@
"label": "Load-More & Infinite Scroll",
"to": "react/examples/react/load-more-infinite-scroll"
},
{
"label": "Infinite query with Max pages",
"to": "react/examples/react/infinite-query-with-max-pages"
},
{
"label": "Suspense",
"to": "react/examples/react/suspense"
Expand Down Expand Up @@ -274,6 +278,10 @@
"label": "Next.js",
"to": "react/examples/react/nextjs"
},
{
"label": "Next.js app with streaming",
"to": "react/examples/react/nextjs-suspense-streaming"
},
{
"label": "React Native",
"to": "react/examples/react/react-native"
Expand Down Expand Up @@ -302,10 +310,6 @@
{
"label": "Exhaustive Deps",
"to": "react/eslint/exhaustive-deps"
},
{
"label": "Prefer object syntax",
"to": "react/eslint/prefer-query-object-syntax"
}
]
},
Expand Down Expand Up @@ -357,6 +361,10 @@
"label": "useIsMutating",
"to": "react/reference/useIsMutating"
},
{
"label": "useMutationState",
"to": "react/reference/useMutationState"
},
{
"label": "QueryClient",
"to": "react/reference/QueryClient"
Expand Down Expand Up @@ -574,17 +582,17 @@
"label": "Suspense",
"to": "vue/guides/suspense"
},
{
"label": "Custom Logger",
"to": "vue/guides/custom-logger"
},
{
"label": "Testing",
"to": "vue/guides/testing"
},
{
"label": "Does this replace [Vuex, Pinia]?",
"to": "vue/guides/does-this-replace-client-state"
},
{
"label": "Migrating to v5",
"to": "react/guides/migrating-to-v5"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/react/adapters/react-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Example() {

return (
<div>
{query.isLoading
{query.isPending
? 'Loading...'
: query.isError
? 'Error!'
Expand Down
Loading