@raf-query/react 0.4.5 → 0.5.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,8 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.0](https://github.com/KATT/raf-query/compare/0.4.5...0.5.0) (2026-10-14)
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69))
8
+
9
+ ### Features
10
+
11
+ * type options by a bag instead of positional type arguments ([#69](https://github.com/KATT/raf-query/issues/69)) ([df7ef81](https://github.com/KATT/raf-query/commit/df7ef816d33039166686cfe1113333bb6c444a27))
12
+
3
13
  ## [0.4.5](https://github.com/KATT/raf-query/compare/0.4.4...0.4.5) (2026-10-14)
4
14
 
5
- * trim the READMEs, give each package its own, and warn that raf-query is early on the docs site ([#70](https://github.com/KATT/raf-query/issues/70)) ([2c06462](https://github.com/KATT/raf-query/commit/2c0646291f5fc45d2d64bc43c52f3e089c46ce05))
15
+ - trim the READMEs, give each package its own, and warn that raf-query is early on the docs site ([#70](https://github.com/KATT/raf-query/issues/70)) ([2c06462](https://github.com/KATT/raf-query/commit/2c0646291f5fc45d2d64bc43c52f3e089c46ce05))
6
16
 
7
17
  ## [0.4.4](https://github.com/KATT/raf-query/compare/0.4.3...0.4.4) (2026-10-14)
8
18
 
package/dist/client.d.mts CHANGED
@@ -27,7 +27,7 @@ export declare class QueryClient<TServices = never> {
27
27
  * The cache entry for a factory call, created if missing. Doesn't fetch.
28
28
  * For bindings; apps use the verbs.
29
29
  */
30
- getQuery<TFactory extends QueryFactory<TServices>>(factory: TFactory, ...args: InputArgs<TFactory>): Query.Of<TFactory>;
30
+ getQuery<TFactory extends QueryFactory<TServices>>(factory: TFactory, ...args: InputArgs<TFactory>): Query.Query<TFactory>;
31
31
  /**
32
32
  * Start a query without waiting and return its handle. Fresh data is
33
33
  * reused; stale data refetches in the background (in the browser only).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raf-query/react",
3
- "version": "0.4.5",
3
+ "version": "0.5.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.4.5"
50
+ "@raf-query/core": "0.5.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@tanstack/react-router": "^1.170.0",