@raf-query/react 0.1.11 → 0.1.13

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 CHANGED
@@ -1,10 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.13](https://github.com/KATT/raf-query/compare/0.1.12...0.1.13) (2026-10-13)
4
+
5
+ ### Bug Fixes
6
+
7
+ * **deps:** make effect a peer dependency ([#40](https://github.com/KATT/raf-query/issues/40)) ([f172515](https://github.com/KATT/raf-query/commit/f17251515788e2aaf243cce33e5af09bf87db59e))
8
+
9
+ ## [0.1.12](https://github.com/KATT/raf-query/compare/0.1.11...0.1.12) (2026-10-13)
10
+
11
+ ### Features
12
+
13
+ - **tooling:** lay out StackBlitz copies as apps/ and packages/ ([#42](https://github.com/KATT/raf-query/issues/42)) ([b171751](https://github.com/KATT/raf-query/commit/b1717514bf75a38043a4fe028ca95b0edc8f4ad6))
14
+
3
15
  ## [0.1.11](https://github.com/KATT/raf-query/compare/0.1.10...0.1.11) (2026-10-13)
4
16
 
5
17
  ### Features
6
18
 
7
- * **tooling:** StackBlitz copies as pnpm workspaces, synced by an Effect program ([#41](https://github.com/KATT/raf-query/issues/41)) ([bb48c5d](https://github.com/KATT/raf-query/commit/bb48c5d3f7332bad6c56cc6cb6c3cd27fde6163a)), references [#38](https://github.com/KATT/raf-query/issues/38) [webcontainer-core#1169](https://github.com/webcontainer-core/issues/1169) [TanStack/router#7480](https://github.com/TanStack/router/issues/7480)
19
+ - **tooling:** StackBlitz copies as pnpm workspaces, synced by an Effect program ([#41](https://github.com/KATT/raf-query/issues/41)) ([bb48c5d](https://github.com/KATT/raf-query/commit/bb48c5d3f7332bad6c56cc6cb6c3cd27fde6163a)), references [#38](https://github.com/KATT/raf-query/issues/38) [webcontainer-core#1169](https://github.com/webcontainer-core/issues/1169) [TanStack/router#7480](https://github.com/TanStack/router/issues/7480)
8
20
 
9
21
  ## [0.1.10](https://github.com/KATT/raf-query/compare/0.1.9...0.1.10) (2026-10-13)
10
22
 
package/README.md CHANGED
@@ -16,10 +16,10 @@ Early. Both packages are on npm at `0.x`, and the API can still change between p
16
16
 
17
17
  The same issue tracker, built on two frameworks so the integrations can be compared side by side. Each opens in StackBlitz, which runs it in the browser:
18
18
 
19
- | Example | Framework | Try it |
20
- | ----------------------------------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
21
- | [`examples/tanstack-start`](examples/tanstack-start#readme) | TanStack Start | [Open in StackBlitz](https://stackblitz.com/github/KATT/raf-query/tree/stackblitz/examples/tanstack-start?file=src/queries.ts,src/routes/issues.index.tsx) |
22
- | [`examples/nextjs`](examples/nextjs#readme) | Next.js App Router | [Open in StackBlitz](https://stackblitz.com/github/KATT/raf-query/tree/stackblitz/examples/nextjs?file=src/queries.ts,src/app/issues/page.tsx) |
19
+ | Example | Framework | Try it |
20
+ | ----------------------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
21
+ | [`examples/tanstack-start`](examples/tanstack-start#readme) | TanStack Start | [Open in StackBlitz](https://stackblitz.com/github/KATT/raf-query/tree/stackblitz/examples/tanstack-start?file=apps/tanstack-start/src/queries.ts,apps/tanstack-start/src/routes/issues.index.tsx) |
22
+ | [`examples/nextjs`](examples/nextjs#readme) | Next.js App Router | [Open in StackBlitz](https://stackblitz.com/github/KATT/raf-query/tree/stackblitz/examples/nextjs?file=apps/nextjs/src/queries.ts,apps/nextjs/src/app/issues/page.tsx) |
23
23
 
24
24
  ## Packages
25
25
 
@@ -28,6 +28,8 @@ The same issue tracker, built on two frameworks so the integrations can be compa
28
28
  | `@raf-query/core` | Framework-agnostic and Effect-only: `QueryCache`, `queryOptions` / `infiniteQueryOptions`, handles, dehydrate / hydrate |
29
29
  | `@raf-query/react` | `QueryClient` (the cache with Promise methods), hooks, provider, `allKeyed`. Re-exports `@raf-query/core`, so apps import only this package |
30
30
 
31
+ `effect` (`^4.0.0`) is a peer dependency of both, so an app that uses Effect shares one copy with raf-query. npm, pnpm and Bun install it automatically; with Yarn, add it yourself (`yarn add effect`).
32
+
31
33
  `@raf-query/react` subpath entries for framework integrations and tooling:
32
34
 
33
35
  | Entry | Use |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raf-query/react",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "React bindings for raf-query, a render-as-you-fetch query library",
5
5
  "keywords": [
6
6
  "query",
@@ -40,11 +40,11 @@
40
40
  "./tanstack-router": "./dist/tanstack-router.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@raf-query/core": "0.1.11",
44
- "effect": "^4.0.1"
43
+ "@raf-query/core": "0.1.13"
45
44
  },
46
45
  "peerDependencies": {
47
46
  "@tanstack/react-router": "^1.170.0",
47
+ "effect": "^4.0.0",
48
48
  "next": "^16.0.0",
49
49
  "react": "^19.2.0"
50
50
  },
@@ -64,6 +64,7 @@
64
64
  "@types/react": "19.3.0",
65
65
  "@types/react-dom": "19.3.0",
66
66
  "@vitest/coverage-v8": "5.0.1",
67
+ "effect": "^4.0.1",
67
68
  "happy-dom": "21.0.1",
68
69
  "next": "16.4.0",
69
70
  "react": "19.3.0",