@raf-query/react 0.13.1 → 0.14.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 CHANGED
@@ -1,10 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.14.0](https://github.com/KATT/raf-query/compare/0.13.2...0.14.0) (2026-11-11)
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * **core:** parts declare the options and queryFn context a client's queries get ([#250](https://github.com/KATT/raf-query/issues/250))
8
+
9
+ ### Features
10
+
11
+ * **core:** parts declare the options and queryFn context a client's queries get ([#250](https://github.com/KATT/raf-query/issues/250)) ([931b7ed](https://github.com/KATT/raf-query/commit/931b7ed83837576c607b63e2dfdd1c795129cd41))
12
+
13
+ ## [0.13.2](https://github.com/KATT/raf-query/compare/0.13.1...0.13.2) (2026-11-10)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **core:** a prefetch never drops pages keepPages turns down ([#249](https://github.com/KATT/raf-query/issues/249)) ([3c66020](https://github.com/KATT/raf-query/commit/3c66020ee7562c6e2592017a1b11af94bc89e340))
18
+
3
19
  ## [0.13.1](https://github.com/KATT/raf-query/compare/0.13.0...0.13.1) (2026-11-10)
4
20
 
5
21
  ### Features
6
22
 
7
- * **core:** keepPages, for lists whose start stays out of the key ([#248](https://github.com/KATT/raf-query/issues/248)) ([164c88c](https://github.com/KATT/raf-query/commit/164c88c4509a34c9ec51f089c3b70c03ea13cac0))
23
+ - **core:** keepPages, for lists whose start stays out of the key ([#248](https://github.com/KATT/raf-query/issues/248)) ([164c88c](https://github.com/KATT/raf-query/commit/164c88c4509a34c9ec51f089c3b70c03ea13cac0))
8
24
 
9
25
  ## [0.13.0](https://github.com/KATT/raf-query/compare/0.12.0...0.13.0) (2026-11-10)
10
26
 
package/dist/bind.d.mts CHANGED
@@ -15,7 +15,7 @@ import { RootOf } from "@raf-query/core/internal";
15
15
  * hook, so call it at module level. This module has no `"use client"`, so a
16
16
  * server module can import the file that binds it.
17
17
  *
18
- * @see https://raf-query.katt.dev/docs/links-and-features#typing-meta-by-its-root
18
+ * @see https://raf-query.katt.dev/docs/links-and-features#typing-options-by-the-client
19
19
  */
20
20
  export declare function bindUseQueryClient<T>(): () => QueryClient<RootOf<T>>;
21
21
  //#endregion
package/dist/bind.mjs CHANGED
@@ -14,7 +14,7 @@ import { useQueryClient } from "./provider.mjs";
14
14
  * hook, so call it at module level. This module has no `"use client"`, so a
15
15
  * server module can import the file that binds it.
16
16
  *
17
- * @see https://raf-query.katt.dev/docs/links-and-features#typing-meta-by-its-root
17
+ * @see https://raf-query.katt.dev/docs/links-and-features#typing-options-by-the-client
18
18
  */
19
19
  function bindUseQueryClient() {
20
20
  return useQueryClient;
@@ -37,7 +37,7 @@ export declare const useQueryClient: typeof useQueryClient$1;
37
37
  * `bindUseQueryClient` runs at module level in a file server modules may
38
38
  * import too, so it works here and returns the throwing `useQueryClient`.
39
39
  *
40
- * @see https://raf-query.katt.dev/docs/links-and-features#typing-meta-by-its-root
40
+ * @see https://raf-query.katt.dev/docs/links-and-features#typing-options-by-the-client
41
41
  */
42
42
  export declare function bindUseQueryClient<T>(): () => QueryClient<RootOf<T>>;
43
43
  //#endregion
@@ -36,7 +36,7 @@ const useQueryClient = /* @__PURE__ */ clientOnly("useQueryClient");
36
36
  * `bindUseQueryClient` runs at module level in a file server modules may
37
37
  * import too, so it works here and returns the throwing `useQueryClient`.
38
38
  *
39
- * @see https://raf-query.katt.dev/docs/links-and-features#typing-meta-by-its-root
39
+ * @see https://raf-query.katt.dev/docs/links-and-features#typing-options-by-the-client
40
40
  */
41
41
  function bindUseQueryClient() {
42
42
  return useQueryClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raf-query/react",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "React bindings for raf-query, a render-as-you-fetch query library",
5
5
  "keywords": [
6
6
  "query",
@@ -47,7 +47,7 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@raf-query/core": "0.13.1"
50
+ "@raf-query/core": "0.14.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@tanstack/react-router": "^1.170.0",