@mastra/react 0.5.2-alpha.0 → 0.5.3-alpha.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @mastra/react
2
2
 
3
+ ## 0.5.3-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`e9be4e7`](https://github.com/mastra-ai/mastra/commit/e9be4e747ec3d8b65548bff92f9377db06105376), [`95482bf`](https://github.com/mastra-ai/mastra/commit/95482bf8a5c2b38022d4e2fee8ee07488c5f6262), [`d53cfc2`](https://github.com/mastra-ai/mastra/commit/d53cfc2c7f8d78343a4aa84ec4e129ba25f3325e), [`65799d4`](https://github.com/mastra-ai/mastra/commit/65799d4d549e5ebb9c848fbe3f51ac090f64becf), [`c268c89`](https://github.com/mastra-ai/mastra/commit/c268c89f4c63a93ee474d3cffdf3ea60bf00d4f2), [`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`0c72f03`](https://github.com/mastra-ai/mastra/commit/0c72f032abb13254df5a7856d64be2f207b8006d), [`3b45ea9`](https://github.com/mastra-ai/mastra/commit/3b45ea95015557a6cb9d70dc5252af54ab1b78ac), [`f084be1`](https://github.com/mastra-ai/mastra/commit/f084be1fcbe33ad7480913e44d6130c421c0976f), [`65d3320`](https://github.com/mastra-ai/mastra/commit/65d3320bade087db166caff07eb461c008590ee8), [`44d2c09`](https://github.com/mastra-ai/mastra/commit/44d2c0989186b7294d624bc6dd17722bdb2dcf72), [`b3e9781`](https://github.com/mastra-ai/mastra/commit/b3e9781a93a18e8e492849040016ddf239c00d9c)]:
8
+ - @mastra/core@1.42.0-alpha.0
9
+ - @mastra/client-js@1.24.0-alpha.0
10
+
11
+ ## 0.5.2
12
+
13
+ ### Patch Changes
14
+
15
+ - The `/agents/:agentId/stream` and `/agents/:agentId/resume-stream` endpoints now accept an `untilIdle` field in the request body. When set, the stream stays open across background-task continuations (same behavior as the `/stream-until-idle` endpoint). The dedicated `/stream-until-idle` and `/resume-stream-until-idle` endpoints remain available but are deprecated. ([#17536](https://github.com/mastra-ai/mastra/pull/17536))
16
+
17
+ **Server example:**
18
+
19
+ ```ts
20
+ // POST /api/agents/:agentId/stream
21
+ fetch(`/api/agents/${agentId}/stream`, {
22
+ method: 'POST',
23
+ body: JSON.stringify({
24
+ messages: [{ role: 'user', content: 'Research solana for me' }],
25
+ untilIdle: true, // or { maxIdleMs: 60000 }
26
+ }),
27
+ });
28
+ ```
29
+
30
+ **Client SDK:** `streamUntilIdle()` and `resumeStreamUntilIdle()` are deprecated — use `stream(messages, { untilIdle: true })` instead.
31
+
32
+ - Updated dependencies [[`fcf6027`](https://github.com/mastra-ai/mastra/commit/fcf602747f6771731dda268ff3493b836f9f0ee9), [`f82cc72`](https://github.com/mastra-ai/mastra/commit/f82cc72edca0ce636fe18abaf2598d89a0c6bcca), [`fcf6027`](https://github.com/mastra-ai/mastra/commit/fcf602747f6771731dda268ff3493b836f9f0ee9)]:
33
+ - @mastra/client-js@1.23.2
34
+ - @mastra/core@1.41.0
35
+
3
36
  ## 0.5.2-alpha.0
4
37
 
5
38
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/react",
3
- "version": "0.5.2-alpha.0",
3
+ "version": "0.5.3-alpha.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/mastra-ai/mastra.git",
@@ -39,7 +39,7 @@
39
39
  "lucide-react": "^0.522.0",
40
40
  "shiki": "^1.29.2",
41
41
  "tailwind-merge": "^3.5.0",
42
- "@mastra/client-js": "1.23.2-alpha.0"
42
+ "@mastra/client-js": "1.24.0-alpha.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@mastra/core": ">=1.8.0-0 <2.0.0-0",
@@ -57,8 +57,8 @@
57
57
  "@vitejs/plugin-react": "^5.2.0",
58
58
  "@vitest/coverage-v8": "4.1.5",
59
59
  "@vitest/ui": "4.1.5",
60
- "eslint": "^10.2.1",
61
- "eslint-plugin-storybook": "^10.3.5",
60
+ "eslint": "^10.4.1",
61
+ "eslint-plugin-storybook": "^10.4.2",
62
62
  "jsdom": "^26.1.0",
63
63
  "react": "^19.2.5",
64
64
  "react-dom": "^19.2.5",
@@ -69,9 +69,9 @@
69
69
  "vite": "^7.3.1",
70
70
  "vitest": "4.1.5",
71
71
  "zod": "^3.25.76",
72
- "@internal/lint": "0.0.102",
73
- "@internal/types-builder": "0.0.77",
74
- "@mastra/core": "1.41.0-alpha.0"
72
+ "@internal/lint": "0.0.103",
73
+ "@internal/types-builder": "0.0.78",
74
+ "@mastra/core": "1.42.0-alpha.0"
75
75
  },
76
76
  "eslintConfig": {
77
77
  "extends": [