@raf-query/react 0.13.2 → 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 +11 -1
- package/dist/bind.d.mts +1 -1
- package/dist/bind.mjs +1 -1
- package/dist/react-server-hooks.d.mts +1 -1
- package/dist/react-server-hooks.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
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
|
+
|
|
3
13
|
## [0.13.2](https://github.com/KATT/raf-query/compare/0.13.1...0.13.2) (2026-11-10)
|
|
4
14
|
|
|
5
15
|
### Bug Fixes
|
|
6
16
|
|
|
7
|
-
|
|
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))
|
|
8
18
|
|
|
9
19
|
## [0.13.1](https://github.com/KATT/raf-query/compare/0.13.0...0.13.1) (2026-11-10)
|
|
10
20
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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.
|
|
50
|
+
"@raf-query/core": "0.14.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@tanstack/react-router": "^1.170.0",
|