@raf-query/react 0.6.5 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/dist/devtools.d.mts +2 -8
- package/dist/devtools.mjs +1 -10
- package/package.json +2 -3
- package/dist/devtools-production.d.mts +0 -2
- package/dist/devtools-production.mjs +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.0](https://github.com/KATT/raf-query/compare/0.6.6...0.7.0) (2026-10-14)
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* **react:** tree-shake QueryDevtools at the call site ([#85](https://github.com/KATT/raf-query/issues/85))
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **react:** tree-shake QueryDevtools at the call site ([#85](https://github.com/KATT/raf-query/issues/85)) ([b270fa3](https://github.com/KATT/raf-query/commit/b270fa3c86513bc7414aad7c8567a64258d14f7a))
|
|
12
|
+
|
|
13
|
+
## [0.6.6](https://github.com/KATT/raf-query/compare/0.6.5...0.6.6) (2026-10-14)
|
|
14
|
+
|
|
15
|
+
- build on Vercel when the last deployed commit is gone (1/2) ([#88](https://github.com/KATT/raf-query/issues/88)) ([33737ca](https://github.com/KATT/raf-query/commit/33737ca7ead288c35f3d60d063bcee69d07b0491)), references [#80](https://github.com/KATT/raf-query/issues/80) [#84](https://github.com/KATT/raf-query/issues/84) [#85](https://github.com/KATT/raf-query/issues/85) [#84](https://github.com/KATT/raf-query/issues/84)
|
|
16
|
+
- clean up with `using` instead of onTestFinished, and lint for it (2/2) ([#84](https://github.com/KATT/raf-query/issues/84)) ([731b0f3](https://github.com/KATT/raf-query/commit/731b0f3aec9f3e3cf2988788ca5203e92f0a0da8)), references [#79](https://github.com/KATT/raf-query/issues/79)
|
|
17
|
+
|
|
3
18
|
## [0.6.5](https://github.com/KATT/raf-query/compare/0.6.4...0.6.5) (2026-10-14)
|
|
4
19
|
|
|
5
|
-
|
|
20
|
+
- run the starting queries demo on TanStack Router, with Reload per variant and Vitest tests (1/2) ([#79](https://github.com/KATT/raf-query/issues/79)) ([ae8b1eb](https://github.com/KATT/raf-query/commit/ae8b1eb4907238d5a228554ae5d5702a1078132d)), references [#73](https://github.com/KATT/raf-query/issues/73) [#84](https://github.com/KATT/raf-query/issues/84)
|
|
6
21
|
|
|
7
22
|
## [0.6.4](https://github.com/KATT/raf-query/compare/0.6.3...0.6.4) (2026-10-14)
|
|
8
23
|
|
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ function PostPage() {
|
|
|
51
51
|
| `@raf-query/react` | `QueryClient`, `QueryClientProvider`, `useQuery`, `useWaterfall`, `useIsFetching`, and all of core |
|
|
52
52
|
| `@raf-query/react/tanstack-router` | [TanStack Start and Router](https://raf-query.katt.dev/docs/tanstack-start) SSR streaming |
|
|
53
53
|
| `@raf-query/react/rsc` | [React Server Components](https://raf-query.katt.dev/docs/nextjs), such as the Next.js App Router |
|
|
54
|
-
| `@raf-query/react/devtools` | The [devtools](https://raf-query.katt.dev/docs/devtools) panel
|
|
54
|
+
| `@raf-query/react/devtools` | The [devtools](https://raf-query.katt.dev/docs/devtools) panel; omit the element to tree-shake it |
|
|
55
55
|
|
|
56
56
|
## License
|
|
57
57
|
|
package/dist/devtools.d.mts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import { DevtoolsTheme, QueryDevtools
|
|
2
|
-
|
|
3
|
-
/** Toggle button plus docked panel. Renders nothing in production builds. */
|
|
4
|
-
export declare const QueryDevtools: typeof QueryDevtools$1;
|
|
5
|
-
/** The panel alone, to embed anywhere. Renders nothing in production builds. */
|
|
6
|
-
export declare const QueryDevtoolsPanel: typeof QueryDevtoolsPanel$1;
|
|
7
|
-
//#endregion
|
|
8
|
-
export type { DevtoolsTheme, QueryDevtoolsPanelProps, QueryDevtoolsProps };
|
|
1
|
+
import { DevtoolsTheme, QueryDevtools, QueryDevtoolsPanel, QueryDevtoolsPanelProps, QueryDevtoolsProps } from "./devtools-panel.mjs";
|
|
2
|
+
export { type DevtoolsTheme, QueryDevtools, QueryDevtoolsPanel, type QueryDevtoolsPanelProps, type QueryDevtoolsProps };
|
package/dist/devtools.mjs
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { QueryDevtools
|
|
3
|
-
//#region src/devtools.tsx
|
|
4
|
-
function Nothing() {
|
|
5
|
-
return null;
|
|
6
|
-
}
|
|
7
|
-
/** Toggle button plus docked panel. Renders nothing in production builds. */
|
|
8
|
-
const QueryDevtools = process.env.NODE_ENV === "production" ? Nothing : QueryDevtools$1;
|
|
9
|
-
/** The panel alone, to embed anywhere. Renders nothing in production builds. */
|
|
10
|
-
const QueryDevtoolsPanel = process.env.NODE_ENV === "production" ? Nothing : QueryDevtoolsPanel$1;
|
|
11
|
-
//#endregion
|
|
2
|
+
import { QueryDevtools, QueryDevtoolsPanel } from "./devtools-panel.mjs";
|
|
12
3
|
export { QueryDevtools, QueryDevtoolsPanel };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raf-query/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "React bindings for raf-query, a render-as-you-fetch query library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"query",
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"exports": {
|
|
35
35
|
".": "./dist/index.mjs",
|
|
36
36
|
"./devtools": "./dist/devtools.mjs",
|
|
37
|
-
"./devtools/production": "./dist/devtools-production.mjs",
|
|
38
37
|
"./rsc": "./dist/rsc.mjs",
|
|
39
38
|
"./tanstack-router": {
|
|
40
39
|
"workerd": "./dist/tanstack-router.mjs",
|
|
@@ -47,7 +46,7 @@
|
|
|
47
46
|
}
|
|
48
47
|
},
|
|
49
48
|
"dependencies": {
|
|
50
|
-
"@raf-query/core": "0.
|
|
49
|
+
"@raf-query/core": "0.7.0"
|
|
51
50
|
},
|
|
52
51
|
"peerDependencies": {
|
|
53
52
|
"@tanstack/react-router": "^1.170.0",
|