@mastra/deployer 0.0.0-bundle-recursion-20251030002519 → 0.0.0-bundle-studio-cloud-20251222034739

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 (237) hide show
  1. package/CHANGELOG.md +954 -5
  2. package/dist/arktype-aI7TBD0R-CCZH3EYK.js +8 -0
  3. package/dist/arktype-aI7TBD0R-CCZH3EYK.js.map +1 -0
  4. package/dist/arktype-aI7TBD0R-XHBHUL3T.cjs +10 -0
  5. package/dist/arktype-aI7TBD0R-XHBHUL3T.cjs.map +1 -0
  6. package/dist/build/analyze/analyzeEntry.d.ts +4 -1
  7. package/dist/build/analyze/analyzeEntry.d.ts.map +1 -1
  8. package/dist/build/analyze/bundleExternals.d.ts +4 -5
  9. package/dist/build/analyze/bundleExternals.d.ts.map +1 -1
  10. package/dist/build/analyze/constants.d.ts.map +1 -1
  11. package/dist/build/analyze.cjs +2 -2
  12. package/dist/build/analyze.d.ts +4 -5
  13. package/dist/build/analyze.d.ts.map +1 -1
  14. package/dist/build/analyze.js +1 -1
  15. package/dist/build/babel/remove-deployer.d.ts.map +1 -1
  16. package/dist/build/bundler.cjs +3 -3
  17. package/dist/build/bundler.d.ts +2 -1
  18. package/dist/build/bundler.d.ts.map +1 -1
  19. package/dist/build/bundler.js +1 -1
  20. package/dist/build/bundlerOptions.d.ts.map +1 -1
  21. package/dist/build/deployer.d.ts.map +1 -1
  22. package/dist/build/index.cjs +18 -13
  23. package/dist/build/index.d.ts +1 -0
  24. package/dist/build/index.d.ts.map +1 -1
  25. package/dist/build/index.js +5 -4
  26. package/dist/build/package-info.d.ts +9 -0
  27. package/dist/build/package-info.d.ts.map +1 -0
  28. package/dist/build/plugins/esm-shim.d.ts +14 -0
  29. package/dist/build/plugins/esm-shim.d.ts.map +1 -0
  30. package/dist/build/plugins/module-resolve-map.d.ts +3 -0
  31. package/dist/build/plugins/module-resolve-map.d.ts.map +1 -0
  32. package/dist/build/plugins/node-gyp-detector.d.ts +3 -0
  33. package/dist/build/plugins/node-gyp-detector.d.ts.map +1 -0
  34. package/dist/build/plugins/node-modules-extension-resolver.d.ts +7 -0
  35. package/dist/build/plugins/node-modules-extension-resolver.d.ts.map +1 -1
  36. package/dist/build/plugins/remove-all-except.d.ts +10 -0
  37. package/dist/build/plugins/remove-all-except.d.ts.map +1 -0
  38. package/dist/build/plugins/subpath-externals-resolver.d.ts +3 -0
  39. package/dist/build/plugins/subpath-externals-resolver.d.ts.map +1 -0
  40. package/dist/build/plugins/tsconfig-paths.d.ts +8 -0
  41. package/dist/build/plugins/tsconfig-paths.d.ts.map +1 -1
  42. package/dist/build/serverOptions.d.ts.map +1 -1
  43. package/dist/build/shared/extract-mastra-option.d.ts +4 -8
  44. package/dist/build/shared/extract-mastra-option.d.ts.map +1 -1
  45. package/dist/build/types.d.ts +5 -0
  46. package/dist/build/types.d.ts.map +1 -1
  47. package/dist/build/utils.d.ts +19 -4
  48. package/dist/build/utils.d.ts.map +1 -1
  49. package/dist/build/watcher.d.ts.map +1 -1
  50. package/dist/bundler/index.cjs +6 -2
  51. package/dist/bundler/index.d.ts +10 -9
  52. package/dist/bundler/index.d.ts.map +1 -1
  53. package/dist/bundler/index.js +1 -1
  54. package/dist/chunk-2VG357HT.cjs +4 -0
  55. package/dist/chunk-2VG357HT.cjs.map +1 -0
  56. package/dist/chunk-4P2LYC33.js +14 -0
  57. package/dist/chunk-4P2LYC33.js.map +1 -0
  58. package/dist/chunk-54PQDTM3.cjs +16 -0
  59. package/dist/chunk-54PQDTM3.cjs.map +1 -0
  60. package/dist/chunk-5HTKP372.js +159 -0
  61. package/dist/chunk-5HTKP372.js.map +1 -0
  62. package/dist/{chunk-HS4XRPI7.cjs → chunk-7F6JKGX4.cjs} +70 -37
  63. package/dist/chunk-7F6JKGX4.cjs.map +1 -0
  64. package/dist/{chunk-65RQUN2A.js → chunk-BDA7RMRF.js} +814 -349
  65. package/dist/chunk-BDA7RMRF.js.map +1 -0
  66. package/dist/{chunk-JCACPNJQ.cjs → chunk-CRIOGWZD.cjs} +827 -362
  67. package/dist/chunk-CRIOGWZD.cjs.map +1 -0
  68. package/dist/chunk-DMISJICL.cjs +162 -0
  69. package/dist/chunk-DMISJICL.cjs.map +1 -0
  70. package/dist/{chunk-5QFG6SCM.js → chunk-DPDWM7HQ.js} +2 -2
  71. package/dist/chunk-DPDWM7HQ.js.map +1 -0
  72. package/dist/{chunk-L6Z4LACC.js → chunk-ESR6AK5N.js} +63 -31
  73. package/dist/chunk-ESR6AK5N.js.map +1 -0
  74. package/dist/chunk-G6GFAPPU.js +6 -0
  75. package/dist/chunk-G6GFAPPU.js.map +1 -0
  76. package/dist/chunk-HHA2Y3AS.js +61 -0
  77. package/dist/chunk-HHA2Y3AS.js.map +1 -0
  78. package/dist/chunk-HPGDVJAZ.js +3 -0
  79. package/dist/chunk-HPGDVJAZ.js.map +1 -0
  80. package/dist/chunk-HRCR6OKC.cjs +112 -0
  81. package/dist/chunk-HRCR6OKC.cjs.map +1 -0
  82. package/dist/chunk-JBE6KM7R.cjs +95 -0
  83. package/dist/chunk-JBE6KM7R.cjs.map +1 -0
  84. package/dist/{chunk-3JYRSECU.cjs → chunk-JVBCN3RH.cjs} +4 -4
  85. package/dist/chunk-JVBCN3RH.cjs.map +1 -0
  86. package/dist/chunk-KE4NVPI4.cjs +8 -0
  87. package/dist/chunk-KE4NVPI4.cjs.map +1 -0
  88. package/dist/{chunk-ZIBSZS2J.js → chunk-ONWHS3PA.js} +71 -23
  89. package/dist/chunk-ONWHS3PA.js.map +1 -0
  90. package/dist/{chunk-QOMQKAKY.cjs → chunk-OVVUJ46G.cjs} +79 -31
  91. package/dist/chunk-OVVUJ46G.cjs.map +1 -0
  92. package/dist/chunk-V4HCIN6G.js +93 -0
  93. package/dist/chunk-V4HCIN6G.js.map +1 -0
  94. package/dist/chunk-VA2CSOKJ.cjs +69 -0
  95. package/dist/chunk-VA2CSOKJ.cjs.map +1 -0
  96. package/dist/chunk-WFIG7I5C.js +88 -0
  97. package/dist/chunk-WFIG7I5C.js.map +1 -0
  98. package/dist/default-u_dwuiYb-IKALPRLV.js +3 -0
  99. package/dist/default-u_dwuiYb-IKALPRLV.js.map +1 -0
  100. package/dist/default-u_dwuiYb-ZNEZWEPC.cjs +9 -0
  101. package/dist/default-u_dwuiYb-ZNEZWEPC.cjs.map +1 -0
  102. package/dist/deploy/log.d.ts +1 -1
  103. package/dist/deploy/log.d.ts.map +1 -1
  104. package/dist/effect-QlVUlMFu-2KN4AWBH.cjs +17 -0
  105. package/dist/effect-QlVUlMFu-2KN4AWBH.cjs.map +1 -0
  106. package/dist/effect-QlVUlMFu-MWXQUT6S.js +15 -0
  107. package/dist/effect-QlVUlMFu-MWXQUT6S.js.map +1 -0
  108. package/dist/esm-BLVTLTJW.js +1289 -0
  109. package/dist/esm-BLVTLTJW.js.map +1 -0
  110. package/dist/esm-E3NUCNVN.cjs +1336 -0
  111. package/dist/esm-E3NUCNVN.cjs.map +1 -0
  112. package/dist/index.cjs +11 -22
  113. package/dist/index.cjs.map +1 -1
  114. package/dist/index.js +5 -16
  115. package/dist/index.js.map +1 -1
  116. package/dist/server/handlers/health.d.ts +5 -0
  117. package/dist/server/handlers/health.d.ts.map +1 -0
  118. package/dist/server/handlers/restart-active-runs.d.ts +3 -0
  119. package/dist/server/handlers/restart-active-runs.d.ts.map +1 -0
  120. package/dist/server/handlers/utils/query-parsers.d.ts +15 -0
  121. package/dist/server/handlers/utils/query-parsers.d.ts.map +1 -1
  122. package/dist/server/handlers/utils.d.ts +0 -7
  123. package/dist/server/handlers/utils.d.ts.map +1 -1
  124. package/dist/server/index.cjs +2405 -11321
  125. package/dist/server/index.cjs.map +1 -1
  126. package/dist/server/index.d.ts +3 -12
  127. package/dist/server/index.d.ts.map +1 -1
  128. package/dist/server/index.js +2422 -11338
  129. package/dist/server/index.js.map +1 -1
  130. package/dist/server/welcome.d.ts +1 -1
  131. package/dist/server/welcome.d.ts.map +1 -1
  132. package/dist/services/index.cjs +4 -4
  133. package/dist/services/index.js +1 -1
  134. package/dist/sury-CWZTCd75-6QYFZXZY.cjs +17 -0
  135. package/dist/sury-CWZTCd75-6QYFZXZY.cjs.map +1 -0
  136. package/dist/sury-CWZTCd75-DAPFEZIA.js +15 -0
  137. package/dist/sury-CWZTCd75-DAPFEZIA.js.map +1 -0
  138. package/dist/typebox-Dei93FPO-LBLFC3RD.js +8 -0
  139. package/dist/typebox-Dei93FPO-LBLFC3RD.js.map +1 -0
  140. package/dist/typebox-Dei93FPO-RDSW6DFA.cjs +10 -0
  141. package/dist/typebox-Dei93FPO-RDSW6DFA.cjs.map +1 -0
  142. package/dist/valibot--1zFm7rT-AASENK42.js +15 -0
  143. package/dist/valibot--1zFm7rT-AASENK42.js.map +1 -0
  144. package/dist/valibot--1zFm7rT-OOWNQW47.cjs +17 -0
  145. package/dist/valibot--1zFm7rT-OOWNQW47.cjs.map +1 -0
  146. package/dist/valibot-D_HTw1Gn-PBXMZJWR.cjs +45 -0
  147. package/dist/valibot-D_HTw1Gn-PBXMZJWR.cjs.map +1 -0
  148. package/dist/valibot-D_HTw1Gn-PCY2UTIB.js +43 -0
  149. package/dist/valibot-D_HTw1Gn-PCY2UTIB.js.map +1 -0
  150. package/dist/validator/custom-resolver.cjs +20 -12
  151. package/dist/validator/custom-resolver.cjs.map +1 -1
  152. package/dist/validator/custom-resolver.d.ts.map +1 -1
  153. package/dist/validator/custom-resolver.js +18 -10
  154. package/dist/validator/custom-resolver.js.map +1 -1
  155. package/dist/validator/validate.d.ts +15 -1
  156. package/dist/validator/validate.d.ts.map +1 -1
  157. package/dist/zod-Bwrt9trS-MTR3E2QO.js +29 -0
  158. package/dist/zod-Bwrt9trS-MTR3E2QO.js.map +1 -0
  159. package/dist/zod-Bwrt9trS-OXQA54TZ.cjs +31 -0
  160. package/dist/zod-Bwrt9trS-OXQA54TZ.cjs.map +1 -0
  161. package/dist/zod-DSgpEGAE-7BIIMWZW.cjs +39 -0
  162. package/dist/zod-DSgpEGAE-7BIIMWZW.cjs.map +1 -0
  163. package/dist/zod-DSgpEGAE-UO7OP3J6.js +37 -0
  164. package/dist/zod-DSgpEGAE-UO7OP3J6.js.map +1 -0
  165. package/package.json +25 -26
  166. package/dist/build/babel/get-deployer.d.ts +0 -3
  167. package/dist/build/babel/get-deployer.d.ts.map +0 -1
  168. package/dist/build/babel/remove-all-options-bundler.d.ts +0 -5
  169. package/dist/build/babel/remove-all-options-bundler.d.ts.map +0 -1
  170. package/dist/build/babel/remove-all-options-deployer.d.ts +0 -5
  171. package/dist/build/babel/remove-all-options-deployer.d.ts.map +0 -1
  172. package/dist/build/babel/remove-all-options-server.d.ts +0 -5
  173. package/dist/build/babel/remove-all-options-server.d.ts.map +0 -1
  174. package/dist/chunk-3JYRSECU.cjs.map +0 -1
  175. package/dist/chunk-5QFG6SCM.js.map +0 -1
  176. package/dist/chunk-65RQUN2A.js.map +0 -1
  177. package/dist/chunk-6OU6DT6H.js +0 -168
  178. package/dist/chunk-6OU6DT6H.js.map +0 -1
  179. package/dist/chunk-HS4XRPI7.cjs.map +0 -1
  180. package/dist/chunk-JAY7OZFT.cjs +0 -195
  181. package/dist/chunk-JAY7OZFT.cjs.map +0 -1
  182. package/dist/chunk-JCACPNJQ.cjs.map +0 -1
  183. package/dist/chunk-L6Z4LACC.js.map +0 -1
  184. package/dist/chunk-QOMQKAKY.cjs.map +0 -1
  185. package/dist/chunk-ZIBSZS2J.js.map +0 -1
  186. package/dist/server/handlers/auth/defaults.d.ts +0 -3
  187. package/dist/server/handlers/auth/defaults.d.ts.map +0 -1
  188. package/dist/server/handlers/auth/helpers.d.ts +0 -11
  189. package/dist/server/handlers/auth/helpers.d.ts.map +0 -1
  190. package/dist/server/handlers/auth/index.d.ts +0 -11
  191. package/dist/server/handlers/auth/index.d.ts.map +0 -1
  192. package/dist/server/handlers/prompt.d.ts +0 -3
  193. package/dist/server/handlers/prompt.d.ts.map +0 -1
  194. package/dist/server/handlers/routes/agent-builder/handlers.d.ts +0 -22
  195. package/dist/server/handlers/routes/agent-builder/handlers.d.ts.map +0 -1
  196. package/dist/server/handlers/routes/agent-builder/router.d.ts +0 -4
  197. package/dist/server/handlers/routes/agent-builder/router.d.ts.map +0 -1
  198. package/dist/server/handlers/routes/agents/handlers.d.ts +0 -363
  199. package/dist/server/handlers/routes/agents/handlers.d.ts.map +0 -1
  200. package/dist/server/handlers/routes/agents/router.d.ts +0 -5
  201. package/dist/server/handlers/routes/agents/router.d.ts.map +0 -1
  202. package/dist/server/handlers/routes/agents/voice.d.ts +0 -18
  203. package/dist/server/handlers/routes/agents/voice.d.ts.map +0 -1
  204. package/dist/server/handlers/routes/logs/handlers.d.ts +0 -5
  205. package/dist/server/handlers/routes/logs/handlers.d.ts.map +0 -1
  206. package/dist/server/handlers/routes/logs/router.d.ts +0 -3
  207. package/dist/server/handlers/routes/logs/router.d.ts.map +0 -1
  208. package/dist/server/handlers/routes/mcp/handlers.d.ts +0 -139
  209. package/dist/server/handlers/routes/mcp/handlers.d.ts.map +0 -1
  210. package/dist/server/handlers/routes/mcp/router.d.ts +0 -4
  211. package/dist/server/handlers/routes/mcp/router.d.ts.map +0 -1
  212. package/dist/server/handlers/routes/memory/handlers.d.ts +0 -17
  213. package/dist/server/handlers/routes/memory/handlers.d.ts.map +0 -1
  214. package/dist/server/handlers/routes/memory/router.d.ts +0 -4
  215. package/dist/server/handlers/routes/memory/router.d.ts.map +0 -1
  216. package/dist/server/handlers/routes/observability/handlers.d.ts +0 -6
  217. package/dist/server/handlers/routes/observability/handlers.d.ts.map +0 -1
  218. package/dist/server/handlers/routes/observability/router.d.ts +0 -3
  219. package/dist/server/handlers/routes/observability/router.d.ts.map +0 -1
  220. package/dist/server/handlers/routes/scores/handlers.d.ts +0 -300
  221. package/dist/server/handlers/routes/scores/handlers.d.ts.map +0 -1
  222. package/dist/server/handlers/routes/scores/router.d.ts +0 -4
  223. package/dist/server/handlers/routes/scores/router.d.ts.map +0 -1
  224. package/dist/server/handlers/routes/tools/handlers.d.ts +0 -7
  225. package/dist/server/handlers/routes/tools/handlers.d.ts.map +0 -1
  226. package/dist/server/handlers/routes/tools/router.d.ts +0 -4
  227. package/dist/server/handlers/routes/tools/router.d.ts.map +0 -1
  228. package/dist/server/handlers/routes/vector/handlers.d.ts +0 -10
  229. package/dist/server/handlers/routes/vector/handlers.d.ts.map +0 -1
  230. package/dist/server/handlers/routes/vector/router.d.ts +0 -4
  231. package/dist/server/handlers/routes/vector/router.d.ts.map +0 -1
  232. package/dist/server/handlers/routes/workflows/handlers.d.ts +0 -22
  233. package/dist/server/handlers/routes/workflows/handlers.d.ts.map +0 -1
  234. package/dist/server/handlers/routes/workflows/legacyWorkflows.d.ts +0 -11
  235. package/dist/server/handlers/routes/workflows/legacyWorkflows.d.ts.map +0 -1
  236. package/dist/server/handlers/routes/workflows/router.d.ts +0 -4
  237. package/dist/server/handlers/routes/workflows/router.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,11 +1,235 @@
1
1
  # @mastra/deployer
2
2
 
3
- ## 0.0.0-bundle-recursion-20251030002519
3
+ ## 0.0.0-bundle-studio-cloud-20251222034739
4
4
 
5
5
  ### Major Changes
6
6
 
7
+ - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
8
+
9
+ - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
10
+
11
+ Primitives that are added to other primitives are also automatically added to the Mastra instance
12
+
13
+ - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
14
+
15
+ - Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
16
+
17
+ Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
18
+
19
+ **Storage changes:**
20
+ - `StoragePagination.perPage` type changed from `number` to `number | false`
21
+ - All storage implementations support `perPage: false`:
22
+ - Memory: `listMessages()`
23
+ - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
24
+ - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
25
+
26
+ **Memory changes:**
27
+ - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
28
+ - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
29
+
30
+ **Stricter validation:**
31
+ - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
32
+
33
+ **Migration:**
34
+
35
+ ```typescript
36
+ // Storage/Memory: Replace getMessagesPaginated with listMessages
37
+ - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
38
+ + storage.listMessages({ threadId, page: 0, perPage: 20 })
39
+ + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
40
+
41
+ // Memory: Replace selectBy with flat parameters
42
+ - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
43
+ + memory.query({ threadId, perPage: 20, include: [...] })
44
+
45
+ // Client SDK
46
+ - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
47
+ + thread.listMessages({ page: 0, perPage: 20 })
48
+ ```
49
+
50
+ - **Removed `storage.getMessages()`** ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
51
+
52
+ The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
53
+
54
+ **Migration:**
55
+
56
+ ```typescript
57
+ // Before
58
+ const messages = await storage.getMessages({ threadId: 'thread-1' });
59
+
60
+ // After
61
+ const result = await storage.listMessages({
62
+ threadId: 'thread-1',
63
+ page: 0,
64
+ perPage: 50,
65
+ });
66
+ const messages = result.messages; // Access messages array
67
+ console.log(result.total); // Total count
68
+ console.log(result.hasMore); // Whether more pages exist
69
+ ```
70
+
71
+ **Message ordering default**
72
+
73
+ `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
74
+
75
+ **To use DESC ordering (newest first):**
76
+
77
+ ```typescript
78
+ const result = await storage.listMessages({
79
+ threadId: 'thread-1',
80
+ orderBy: { field: 'createdAt', direction: 'DESC' },
81
+ });
82
+ ```
83
+
84
+ **Renamed `client.getThreadMessages()` → `client.listThreadMessages()`**
85
+
86
+ **Migration:**
87
+
88
+ ```typescript
89
+ // Before
90
+ const response = await client.getThreadMessages(threadId, { agentId });
91
+
92
+ // After
93
+ const response = await client.listThreadMessages(threadId, { agentId });
94
+ ```
95
+
96
+ The response format remains the same.
97
+
98
+ **Removed `StorageGetMessagesArg` type**
99
+
100
+ Use `StorageListMessagesInput` instead:
101
+
102
+ ```typescript
103
+ // Before
104
+ import type { StorageGetMessagesArg } from '@mastra/core';
105
+
106
+ // After
107
+ import type { StorageListMessagesInput } from '@mastra/core';
108
+ ```
109
+
110
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
111
+
112
+ - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
113
+
114
+ - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
115
+
116
+ - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
117
+
118
+ - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
119
+
120
+ - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
121
+
122
+ - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
123
+
124
+ This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
125
+
126
+ **What's Changed**
127
+ - Removed legacy v1 watch event handlers and types
128
+ - Renamed `watch-v2` to `watch` throughout the codebase
129
+ - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
130
+ - Removed `/watch` HTTP endpoints from server and deployer
131
+ - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
132
+
133
+ - Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
134
+
135
+ All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
136
+
137
+ **Affected APIs:**
138
+ - `Memory.listThreadsByResourceId()`
139
+ - `Memory.listMessages()`
140
+ - `Storage.listWorkflowRuns()`
141
+
142
+ **Migration:**
143
+
144
+ ```typescript
145
+ // Before
146
+ await memory.listThreadsByResourceId({
147
+ resourceId: 'user-123',
148
+ offset: 20,
149
+ limit: 10,
150
+ });
151
+
152
+ // After
153
+ await memory.listThreadsByResourceId({
154
+ resourceId: 'user-123',
155
+ page: 2, // page = Math.floor(offset / limit)
156
+ perPage: 10,
157
+ });
158
+
159
+ // Before
160
+ await memory.listMessages({
161
+ threadId: 'thread-456',
162
+ offset: 20,
163
+ limit: 10,
164
+ });
165
+
166
+ // After
167
+ await memory.listMessages({
168
+ threadId: 'thread-456',
169
+ page: 2,
170
+ perPage: 10,
171
+ });
172
+
173
+ // Before
174
+ await storage.listWorkflowRuns({
175
+ workflowName: 'my-workflow',
176
+ offset: 20,
177
+ limit: 10,
178
+ });
179
+
180
+ // After
181
+ await storage.listWorkflowRuns({
182
+ workflowName: 'my-workflow',
183
+ page: 2,
184
+ perPage: 10,
185
+ });
186
+ ```
187
+
188
+ **Additional improvements:**
189
+ - Added validation for negative `page` values in all storage implementations
190
+ - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
191
+ - Added reusable query parser utilities for consistent validation in handlers
192
+
193
+ - ```ts ([#9709](https://github.com/mastra-ai/mastra/pull/9709))
194
+ import { Mastra } from '@mastra/core';
195
+ import { Observability } from '@mastra/observability'; // Explicit import
196
+
197
+ const mastra = new Mastra({
198
+ ...other_config,
199
+ observability: new Observability({
200
+ default: { enabled: true },
201
+ }), // Instance
202
+ });
203
+ ```
204
+
205
+ Instead of:
206
+
207
+ ```ts
208
+ import { Mastra } from '@mastra/core';
209
+ import '@mastra/observability/init'; // Explicit import
210
+
211
+ const mastra = new Mastra({
212
+ ...other_config,
213
+ observability: {
214
+ default: { enabled: true },
215
+ },
216
+ });
217
+ ```
218
+
219
+ Also renamed a bunch of:
220
+ - `Tracing` things to `Observability` things.
221
+ - `AI-` things to just things.
222
+
223
+ - Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
224
+
7
225
  - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
8
226
 
227
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
228
+
229
+ - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
230
+
231
+ - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
232
+
9
233
  ### Minor Changes
10
234
 
11
235
  - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
@@ -18,34 +242,759 @@
18
242
  - Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
19
243
  - Update template installation processor to support both legacy and VNext streaming event formats
20
244
 
245
+ - Set `externals: true` as the default for `mastra build` and cloud-deployer to reduce bundle issues with native dependencies. ([`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119))
246
+
247
+ **Note:** If you previously relied on the default bundling behavior (all dependencies bundled), you can explicitly set `externals: false` in your bundler configuration.
248
+
249
+ - Added /health endpoint for service monitoring ([#9142](https://github.com/mastra-ai/mastra/pull/9142))
250
+
21
251
  - Update peer dependencies to match core package version bump (0.22.3) ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
22
252
 
23
253
  ### Patch Changes
24
254
 
255
+ - dependencies updates: ([#10131](https://github.com/mastra-ai/mastra/pull/10131))
256
+ - Updated dependency [`hono@^4.10.5` ↗︎](https://www.npmjs.com/package/hono/v/4.10.5) (from `^4.9.7`, in `dependencies`)
257
+
25
258
  - dependencies updates: ([`77ff370`](https://github.com/mastra-ai/mastra/commit/77ff370186ba77955620c465fd2e95360e1947ea))
26
259
  - Updated dependency [`@babel/core@^7.28.5` ↗︎](https://www.npmjs.com/package/@babel/core/v/7.28.5) (from `^7.28.4`, in `dependencies`)
27
260
 
261
+ - dependencies updates: ([#9779](https://github.com/mastra-ai/mastra/pull/9779))
262
+ - Updated dependency [`@rollup/plugin-alias@6.0.0` ↗︎](https://www.npmjs.com/package/@rollup/plugin-alias/v/6.0.0) (from `5.1.1`, in `dependencies`)
263
+ - Updated dependency [`@rollup/plugin-commonjs@29.0.6` ↗︎](https://www.npmjs.com/package/@rollup/plugin-commonjs/v/29.0.6) (from `29.0.0`, in `dependencies`)
264
+
265
+ - dependencies updates: ([#9780](https://github.com/mastra-ai/mastra/pull/9780))
266
+ - Updated dependency [`@rollup/plugin-commonjs@29.0.0` ↗︎](https://www.npmjs.com/package/@rollup/plugin-commonjs/v/29.0.0) (from `28.0.6`, in `dependencies`)
267
+
268
+ - dependencies updates: ([#9851](https://github.com/mastra-ai/mastra/pull/9851))
269
+ - Updated dependency [`@rollup/plugin-node-resolve@16.0.3` ↗︎](https://www.npmjs.com/package/@rollup/plugin-node-resolve/v/16.0.3) (from `16.0.2`, in `dependencies`)
270
+
271
+ - Add --studio flag to bundle playground UI with mastra build ([`2b3a582`](https://github.com/mastra-ai/mastra/commit/2b3a5828eeefbea89c36139d97037f63c27bdb94))
272
+
273
+ Enables bundling the studio/playground UI into the build output so it can be served from the deployed server.
274
+
275
+ ```bash
276
+ mastra build --studio
277
+ ```
278
+
28
279
  - Make step optional in all resume APIs ([#9454](https://github.com/mastra-ai/mastra/pull/9454))
29
280
 
30
- - Improve analyze recursion in bundler when using monorepos ([`d9ac5b4`](https://github.com/mastra-ai/mastra/commit/d9ac5b4d21a6558ba919fea6f5256ae661e69e3c))
281
+ - Improve analyze recursion in bundler when using monorepos ([#9490](https://github.com/mastra-ai/mastra/pull/9490))
282
+
283
+ - Remove cast as any from MastraServer in deployer ([#10796](https://github.com/mastra-ai/mastra/pull/10796))
284
+
285
+ - Extract routing from @deployer/server into server adapter packages. ([#10263](https://github.com/mastra-ai/mastra/pull/10263))
286
+ New packages:
287
+ - @mastra/express
288
+ - @mastra/hono
289
+
290
+ These packages support mastra server routes on express and hono respectively.
291
+ Better abstractions will be built on top of these packages in the near future, enabling users to easily attach mastra routes to any existing server framework.
292
+
293
+ - Improve nested ts-config paths resolution for NX users ([#6243](https://github.com/mastra-ai/mastra/pull/6243))
294
+
295
+ - Rename "Playground" to "Studio" ([#10443](https://github.com/mastra-ai/mastra/pull/10443))
31
296
 
32
297
  - Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
33
298
 
299
+ - Fix dev playground auth to allow non-protected paths to bypass authentication when `MASTRA_DEV=true`, while still requiring the `x-mastra-dev-playground` header for protected endpoints ([#10722](https://github.com/mastra-ai/mastra/pull/10722))
300
+
301
+ - Fixed a bug where ESM shims were incorrectly injected even when the user had already declared `__filename` or `__dirname` ([#10809](https://github.com/mastra-ai/mastra/pull/10809))
302
+
303
+ - Fixes `mastra build` failing with `BABEL_TRANSFORM_ERROR` when using spread operator in Mastra config. The Babel plugins now correctly skip `SpreadElement` nodes when searching for config properties. ([#11309](https://github.com/mastra-ai/mastra/pull/11309))
304
+
305
+ Also fixes npm package aliases (like `"ai-v5": "npm:ai@5.0.93"`) not being resolved correctly when writing the output package.json - now uses the actual package name from the resolved package.json instead of the alias.
306
+
307
+ - Fixed Docker build failure with Bun due to invalid `file://` URLs ([#10960](https://github.com/mastra-ai/mastra/pull/10960))
308
+
309
+ - Fixed bundling issues for packages without an `exports` field in their package.json. ([#11310](https://github.com/mastra-ai/mastra/pull/11310))
310
+
311
+ Previously, the deployer could produce incorrect import paths for older npm packages that don't use the modern exports map (like lodash). This caused runtime errors when deploying to production environments.
312
+
313
+ The fix ensures these packages now resolve correctly, while packages with proper exports maps continue to work as expected.
314
+
315
+ - The `hasPaths()` function now uses `strip-json-comments` to properly parse tsconfig.json files that contain comments. Previously, `JSON.parse()` would fail silently on JSONC comments, causing path aliases like `@src/*` to be incorrectly treated as npm scoped packages. ([#10952](https://github.com/mastra-ai/mastra/pull/10952))
316
+
34
317
  - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
35
318
 
36
319
  - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
37
320
 
321
+ - **Breaking Changes** ([#11028](https://github.com/mastra-ai/mastra/pull/11028))
322
+ - Renamed `RuntimeContext` type to `ServerContext` to avoid confusion with the user-facing `RequestContext` (previously called `RuntimeContext`)
323
+ - Removed `playground` and `isDev` options from server adapter constructors - these only set context variables without any actual functionality
324
+
325
+ **Changes**
326
+
327
+ **@mastra/server**
328
+ - Renamed `RuntimeContext` type to `ServerContext` in route handler types
329
+ - Renamed `createTestRuntimeContext` to `createTestServerContext` in test utilities
330
+ - Renamed `isPlayground` parameter to `isStudio` in `formatAgent` function
331
+
332
+ **@mastra/hono**
333
+ - Removed `playground` and `isDev` from `HonoVariables` type
334
+ - Removed setting of `playground` and `isDev` context variables in middleware
335
+
336
+ **@mastra/express**
337
+ - Removed `playground` and `isDev` from `Express.Locals` interface
338
+ - Removed setting of `playground` and `isDev` in response locals
339
+
340
+ - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
341
+
342
+ - Unified MastraServer API with MCP transport routes ([#10644](https://github.com/mastra-ai/mastra/pull/10644))
343
+
344
+ **Breaking Changes:**
345
+ - Renamed `HonoServerAdapter` to `MastraServer` in `@mastra/hono`
346
+ - Renamed `ExpressServerAdapter` to `MastraServer` in `@mastra/express`
347
+ - Configuration now passed to constructor instead of separate method calls
348
+ - Renamed base class from `ServerAdapter` to `MastraServerBase` in `@mastra/server`
349
+
350
+ **New Features:**
351
+ - Added MCP transport routes (HTTP and SSE) to server adapters
352
+ - MCP endpoints available at `/api/mcp/:serverId/mcp` (HTTP) and `/api/mcp/:serverId/sse` (SSE)
353
+ - Added `express.json()` middleware compatibility for MCP routes
354
+ - Moved authentication helpers from deployer to `@mastra/server/auth`
355
+
356
+ **Testing:**
357
+ - Added shared MCP route and transport test suites in `@internal/server-adapter-test-utils`
358
+ - Added comprehensive MCP endpoint tests for both Hono and Express adapters
359
+ - Added GitHub Actions workflow for server adapter CI testing
360
+
361
+ - Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 ([#9714](https://github.com/mastra-ai/mastra/pull/9714))
362
+
363
+ - Remove deprecated playground-only prompt generation handler (functionality moved to @mastra/server) ([#11074](https://github.com/mastra-ai/mastra/pull/11074))
364
+
365
+ Improve prompt enhancement UX: show toast errors when enhancement fails, disable button when no model has a configured API key, and prevent users from disabling all models in the model list
366
+
367
+ Add missing `/api/agents/:agentId/instructions/enhance` endpoint that was referenced by `@mastra/client-js` and `@mastra/playground-ui`
368
+
369
+ - Fixed module not found errors during production builds by skipping transitive dependency validation. Production builds now only bundle direct dependencies, which also results in faster deployment times. ([#10587](https://github.com/mastra-ai/mastra/pull/10587))
370
+
371
+ - Add simple virtual check for tsconfigpaths plugin, misbehaves on CI ([#10832](https://github.com/mastra-ai/mastra/pull/10832))
372
+
373
+ - Simplify mastra intro doc template ([#9794](https://github.com/mastra-ai/mastra/pull/9794))
374
+
375
+ - Allow direct access to server app handle directly from Mastra instance. ([#10598](https://github.com/mastra-ai/mastra/pull/10598))
376
+
377
+ ```ts
378
+ // Before: HTTP request to localhost
379
+ const response = await fetch(`http://localhost:5000/api/tools`);
380
+
381
+ // After: Direct call via app.fetch()
382
+ const app = mastra.getServerApp<Hono>();
383
+ const response = await app.fetch(new Request('http://internal/api/tools'));
384
+ ```
385
+
386
+ - Added `mastra.getServerApp<T>()` to access the underlying Hono/Express app
387
+ - Added `mastra.getMastraServer()` and `mastra.setMastraServer()` for adapter access
388
+ - Added `MastraServerBase` class in `@mastra/core/server` for adapter implementations
389
+ - Server adapters now auto-register with Mastra in their constructor
390
+
391
+ - Fixed a bug where imports that were not used in the main entry point were tree-shaken during analysis, causing bundling errors. Tree-shaking now only runs during the bundling step. ([#10470](https://github.com/mastra-ai/mastra/pull/10470))
392
+
393
+ - Use a shared `getAllToolPaths()` method from the bundler to discover tool paths. ([#9204](https://github.com/mastra-ai/mastra/pull/9204))
394
+
395
+ - Remove unused /model-providers API ([#9533](https://github.com/mastra-ai/mastra/pull/9533))
396
+
397
+ - Internal changes to enable a custom base path for Mastra Studio ([#10441](https://github.com/mastra-ai/mastra/pull/10441))
398
+
38
399
  - Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
39
400
 
401
+ - Add restart method to workflow run that allows restarting an active workflow run ([#9750](https://github.com/mastra-ai/mastra/pull/9750))
402
+ Add status filter to `listWorkflowRuns`
403
+ Add automatic restart to restart active workflow runs when server starts
404
+
405
+ - Allow for `bundler.externals: true` to be set. ([#10218](https://github.com/mastra-ai/mastra/pull/10218))
406
+
407
+ With this configuration during `mastra build` all dependencies (except workspace dependencies) will be treated as "external" and not bundled. Instead they will be added to the `.mastra/output/package.json` file.
408
+
40
409
  - Make step optional in resumeStreamVNext API ([#9453](https://github.com/mastra-ai/mastra/pull/9453))
41
410
 
411
+ - Add readable-streams to global externals, not compatible with CJS compilation ([#9735](https://github.com/mastra-ai/mastra/pull/9735))
412
+
413
+ - Fixed bundling to correctly exclude subpath imports of external packages. Previously, when a package like `lodash` was marked as external, subpath imports such as `lodash/merge` were still being bundled incorrectly. Now all subpaths are properly excluded. ([#10588](https://github.com/mastra-ai/mastra/pull/10588))
414
+
415
+ Fixes #10055
416
+
417
+ - Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
418
+
42
419
  - Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9127](https://github.com/mastra-ai/mastra/pull/9127))
43
420
 
44
421
  - Fix generate system prompt by updating deprecated function call. ([#9242](https://github.com/mastra-ai/mastra/pull/9242))
45
422
 
46
- - Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
47
- - @mastra/core@0.0.0-bundle-recursion-20251030002519
48
- - @mastra/server@0.0.0-bundle-recursion-20251030002519
423
+ - Remove format from stream/generate ([#9577](https://github.com/mastra-ai/mastra/pull/9577))
424
+
425
+ - Improved error messages when bundling fails during deployment. ([#10756](https://github.com/mastra-ai/mastra/pull/10756))
426
+
427
+ **What changed:**
428
+ - Build errors now show clearer messages that identify the problematic package
429
+ - Added detection for common issues like missing native builds and unresolved modules
430
+ - Errors in workspace packages are now properly identified with actionable guidance
431
+
432
+ - Remove unused dependencies ([#10019](https://github.com/mastra-ai/mastra/pull/10019))
433
+
434
+ - Add version query parameter validation for MCP server detail endpoint ([#10373](https://github.com/mastra-ai/mastra/pull/10373))
435
+
436
+ - The /api route was returning 401 instead of 200 because it was being caught ([#9662](https://github.com/mastra-ai/mastra/pull/9662))
437
+ by the /api/_ protected pattern. Adding it to the default public routes
438
+ ensures the root API endpoint is accessible without authentication while
439
+ keeping /api/_ routes protected.
440
+ - Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`72df8ae`](https://github.com/mastra-ai/mastra/commit/72df8ae595584cdd7747d5c39ffaca45e4507227), [`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`9198899`](https://github.com/mastra-ai/mastra/commit/91988995c427b185c33714b7f3be955367911324), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`60937c1`](https://github.com/mastra-ai/mastra/commit/60937c14d7ff287b0acd16deb15f5e96516d7880), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`910db9e`](https://github.com/mastra-ai/mastra/commit/910db9e0312888495eb5617b567f247d03303814), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`d3e89dd`](https://github.com/mastra-ai/mastra/commit/d3e89dd4fc31ae2804c4c7bd3e98113d069cf780), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`ffd8f1b`](https://github.com/mastra-ai/mastra/commit/ffd8f1b904181c68fcbf5a1974e2b96a9303b042), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`f15fb34`](https://github.com/mastra-ai/mastra/commit/f15fb347b76581ef91a16770bc21e2d50dbe3864), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`653e65a`](https://github.com/mastra-ai/mastra/commit/653e65ae1f9502c2958a32f47a5a2df11e612a92), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`c6fd6fe`](https://github.com/mastra-ai/mastra/commit/c6fd6fedd09e9cf8004b03a80925f5e94826ad7e), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`484b9fb`](https://github.com/mastra-ai/mastra/commit/484b9fb28fc2499020900080d75b26278300a124), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`70189fc`](https://github.com/mastra-ai/mastra/commit/70189fc9611c3be54e5e655910b672b21ddefb94), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`5118f38`](https://github.com/mastra-ai/mastra/commit/5118f384a70b1166012fde3b901f3227870b1009), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`8e85939`](https://github.com/mastra-ai/mastra/commit/8e859393c1cda6ff3d11618ac1150ca6f68175b6), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`26346be`](https://github.com/mastra-ai/mastra/commit/26346beb6e637a114d1dd2eaf5127512c5af84fd), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`5a9bafc`](https://github.com/mastra-ai/mastra/commit/5a9bafcaaa859898e954456e781a1552dc0ad4f1), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`6375f52`](https://github.com/mastra-ai/mastra/commit/6375f52c219305abef6f2026b4eaf8ac2fa5f1c0), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`5fe71bc`](https://github.com/mastra-ai/mastra/commit/5fe71bc925dfce597df69c89241f33b378028c63), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`c63fbba`](https://github.com/mastra-ai/mastra/commit/c63fbba1afdd61a01a994b7a69e52c9881baeaeb), [`e849603`](https://github.com/mastra-ai/mastra/commit/e849603a596269069f58a438b98449ea2770493d), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3), [`60e6e0f`](https://github.com/mastra-ai/mastra/commit/60e6e0f2913bbb467c64a0013b50509cf5efeb38), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`5d7e4dd`](https://github.com/mastra-ai/mastra/commit/5d7e4dd802adcc57d3ac666c2eee044f50c7cee0), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
441
+ - @mastra/core@0.0.0-bundle-studio-cloud-20251222034739
442
+ - @mastra/server@0.0.0-bundle-studio-cloud-20251222034739
443
+
444
+ ## 1.0.0-beta.14
445
+
446
+ ### Minor Changes
447
+
448
+ - Set `externals: true` as the default for `mastra build` and cloud-deployer to reduce bundle issues with native dependencies. ([`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119))
449
+
450
+ **Note:** If you previously relied on the default bundling behavior (all dependencies bundled), you can explicitly set `externals: false` in your bundler configuration.
451
+
452
+ ### Patch Changes
453
+
454
+ - Updated dependencies [[`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`484b9fb`](https://github.com/mastra-ai/mastra/commit/484b9fb28fc2499020900080d75b26278300a124), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7)]:
455
+ - @mastra/core@1.0.0-beta.14
456
+ - @mastra/server@1.0.0-beta.14
457
+
458
+ ## 1.0.0-beta.13
459
+
460
+ ### Patch Changes
461
+
462
+ - Updated dependencies [[`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497)]:
463
+ - @mastra/core@1.0.0-beta.13
464
+ - @mastra/server@1.0.0-beta.13
465
+
466
+ ## 1.0.0-beta.12
467
+
468
+ ### Patch Changes
469
+
470
+ - Remove deprecated playground-only prompt generation handler (functionality moved to @mastra/server) ([#11074](https://github.com/mastra-ai/mastra/pull/11074))
471
+
472
+ Improve prompt enhancement UX: show toast errors when enhancement fails, disable button when no model has a configured API key, and prevent users from disabling all models in the model list
473
+
474
+ Add missing `/api/agents/:agentId/instructions/enhance` endpoint that was referenced by `@mastra/client-js` and `@mastra/playground-ui`
475
+
476
+ - Allow for `bundler.externals: true` to be set. ([#10218](https://github.com/mastra-ai/mastra/pull/10218))
477
+
478
+ With this configuration during `mastra build` all dependencies (except workspace dependencies) will be treated as "external" and not bundled. Instead they will be added to the `.mastra/output/package.json` file.
479
+
480
+ - Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`5118f38`](https://github.com/mastra-ai/mastra/commit/5118f384a70b1166012fde3b901f3227870b1009), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`6375f52`](https://github.com/mastra-ai/mastra/commit/6375f52c219305abef6f2026b4eaf8ac2fa5f1c0), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176)]:
481
+ - @mastra/core@1.0.0-beta.12
482
+ - @mastra/server@1.0.0-beta.12
483
+
484
+ ## 1.0.0-beta.11
485
+
486
+ ### Patch Changes
487
+
488
+ - Internal changes to enable a custom base path for Mastra Studio ([#10441](https://github.com/mastra-ai/mastra/pull/10441))
489
+
490
+ - Updated dependencies [[`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
491
+ - @mastra/server@1.0.0-beta.11
492
+ - @mastra/core@1.0.0-beta.11
493
+
494
+ ## 1.0.0-beta.10
495
+
496
+ ### Patch Changes
497
+
498
+ - ### Breaking Changes ([#11028](https://github.com/mastra-ai/mastra/pull/11028))
499
+ - Renamed `RuntimeContext` type to `ServerContext` to avoid confusion with the user-facing `RequestContext` (previously called `RuntimeContext`)
500
+ - Removed `playground` and `isDev` options from server adapter constructors - these only set context variables without any actual functionality
501
+
502
+ ### Changes
503
+
504
+ **@mastra/server**
505
+ - Renamed `RuntimeContext` type to `ServerContext` in route handler types
506
+ - Renamed `createTestRuntimeContext` to `createTestServerContext` in test utilities
507
+ - Renamed `isPlayground` parameter to `isStudio` in `formatAgent` function
508
+
509
+ **@mastra/hono**
510
+ - Removed `playground` and `isDev` from `HonoVariables` type
511
+ - Removed setting of `playground` and `isDev` context variables in middleware
512
+
513
+ **@mastra/express**
514
+ - Removed `playground` and `isDev` from `Express.Locals` interface
515
+ - Removed setting of `playground` and `isDev` in response locals
516
+
517
+ - Updated dependencies [[`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`26346be`](https://github.com/mastra-ai/mastra/commit/26346beb6e637a114d1dd2eaf5127512c5af84fd), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393)]:
518
+ - @mastra/core@1.0.0-beta.10
519
+ - @mastra/server@1.0.0-beta.10
520
+
521
+ ## 1.0.0-beta.9
522
+
523
+ ### Patch Changes
524
+
525
+ - Fixed Docker build failure with Bun due to invalid `file://` URLs ([#10960](https://github.com/mastra-ai/mastra/pull/10960))
526
+
527
+ - Updated dependencies [[`72df8ae`](https://github.com/mastra-ai/mastra/commit/72df8ae595584cdd7747d5c39ffaca45e4507227), [`9198899`](https://github.com/mastra-ai/mastra/commit/91988995c427b185c33714b7f3be955367911324), [`653e65a`](https://github.com/mastra-ai/mastra/commit/653e65ae1f9502c2958a32f47a5a2df11e612a92), [`c6fd6fe`](https://github.com/mastra-ai/mastra/commit/c6fd6fedd09e9cf8004b03a80925f5e94826ad7e), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3)]:
528
+ - @mastra/core@1.0.0-beta.9
529
+ - @mastra/server@1.0.0-beta.9
530
+
531
+ ## 1.0.0-beta.8
532
+
533
+ ### Patch Changes
534
+
535
+ - Fix tsconfig.json parsing when file contains JSONC comments ([#10952](https://github.com/mastra-ai/mastra/pull/10952))
536
+
537
+ The `hasPaths()` function now uses `strip-json-comments` to properly parse tsconfig.json files that contain comments. Previously, `JSON.parse()` would fail silently on JSONC comments, causing path aliases like `@src/*` to be incorrectly treated as npm scoped packages.
538
+
539
+ - Updated dependencies [[`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b)]:
540
+ - @mastra/core@1.0.0-beta.8
541
+ - @mastra/server@1.0.0-beta.8
542
+
543
+ ## 1.0.0-beta.7
544
+
545
+ ### Patch Changes
546
+
547
+ - Remove cast as any from MastraServer in deployer ([#10796](https://github.com/mastra-ai/mastra/pull/10796))
548
+
549
+ - Fixed a bug where ESM shims were incorrectly injected even when the user had already declared `__filename` or `__dirname` ([#10809](https://github.com/mastra-ai/mastra/pull/10809))
550
+
551
+ - Add simple virtual check for tsconfigpaths plugin, misbehaves on CI ([#10832](https://github.com/mastra-ai/mastra/pull/10832))
552
+
553
+ - Updated dependencies [[`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`5fe71bc`](https://github.com/mastra-ai/mastra/commit/5fe71bc925dfce597df69c89241f33b378028c63), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b)]:
554
+ - @mastra/core@1.0.0-beta.7
555
+ - @mastra/server@1.0.0-beta.7
556
+
557
+ ## 1.0.0-beta.6
558
+
559
+ ### Patch Changes
560
+
561
+ - Improve nested ts-config paths resolution for NX users ([#6243](https://github.com/mastra-ai/mastra/pull/6243))
562
+
563
+ - Fix dev playground auth to allow non-protected paths to bypass authentication when `MASTRA_DEV=true`, while still requiring the `x-mastra-dev-playground` header for protected endpoints ([#10722](https://github.com/mastra-ai/mastra/pull/10722))
564
+
565
+ - Unified MastraServer API with MCP transport routes ([#10644](https://github.com/mastra-ai/mastra/pull/10644))
566
+
567
+ **Breaking Changes:**
568
+ - Renamed `HonoServerAdapter` to `MastraServer` in `@mastra/hono`
569
+ - Renamed `ExpressServerAdapter` to `MastraServer` in `@mastra/express`
570
+ - Configuration now passed to constructor instead of separate method calls
571
+ - Renamed base class from `ServerAdapter` to `MastraServerBase` in `@mastra/server`
572
+
573
+ **New Features:**
574
+ - Added MCP transport routes (HTTP and SSE) to server adapters
575
+ - MCP endpoints available at `/api/mcp/:serverId/mcp` (HTTP) and `/api/mcp/:serverId/sse` (SSE)
576
+ - Added `express.json()` middleware compatibility for MCP routes
577
+ - Moved authentication helpers from deployer to `@mastra/server/auth`
578
+
579
+ **Testing:**
580
+ - Added shared MCP route and transport test suites in `@internal/server-adapter-test-utils`
581
+ - Added comprehensive MCP endpoint tests for both Hono and Express adapters
582
+ - Added GitHub Actions workflow for server adapter CI testing
583
+
584
+ - Fixed module not found errors during production builds by skipping transitive dependency validation. Production builds now only bundle direct dependencies, which also results in faster deployment times. ([#10587](https://github.com/mastra-ai/mastra/pull/10587))
585
+
586
+ Fixes #10116
587
+ Fixes #10055
588
+ Fixes #9951
589
+
590
+ - Allow direct access to server app handle directly from Mastra instance. ([#10598](https://github.com/mastra-ai/mastra/pull/10598))
591
+
592
+ ```ts
593
+ // Before: HTTP request to localhost
594
+ const response = await fetch(`http://localhost:5000/api/tools`);
595
+
596
+ // After: Direct call via app.fetch()
597
+ const app = mastra.getServerApp<Hono>();
598
+ const response = await app.fetch(new Request('http://internal/api/tools'));
599
+ ```
600
+
601
+ - Added `mastra.getServerApp<T>()` to access the underlying Hono/Express app
602
+ - Added `mastra.getMastraServer()` and `mastra.setMastraServer()` for adapter access
603
+ - Added `MastraServerBase` class in `@mastra/core/server` for adapter implementations
604
+ - Server adapters now auto-register with Mastra in their constructor
605
+
606
+ - Fixed bundling to correctly exclude subpath imports of external packages. Previously, when a package like `lodash` was marked as external, subpath imports such as `lodash/merge` were still being bundled incorrectly. Now all subpaths are properly excluded. ([#10588](https://github.com/mastra-ai/mastra/pull/10588))
607
+
608
+ Fixes #10055
609
+
610
+ - Improved error messages when bundling fails during deployment. ([#10756](https://github.com/mastra-ai/mastra/pull/10756))
611
+
612
+ **What changed:**
613
+ - Build errors now show clearer messages that identify the problematic package
614
+ - Added detection for common issues like missing native builds and unresolved modules
615
+ - Errors in workspace packages are now properly identified with actionable guidance
616
+
617
+ - Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`5a9bafc`](https://github.com/mastra-ai/mastra/commit/5a9bafcaaa859898e954456e781a1552dc0ad4f1), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`e849603`](https://github.com/mastra-ai/mastra/commit/e849603a596269069f58a438b98449ea2770493d), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`60e6e0f`](https://github.com/mastra-ai/mastra/commit/60e6e0f2913bbb467c64a0013b50509cf5efeb38), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749)]:
618
+ - @mastra/core@1.0.0-beta.6
619
+ - @mastra/server@1.0.0-beta.6
620
+
621
+ ## 1.0.0-beta.5
622
+
623
+ ### Patch Changes
624
+
625
+ - Extract routing from @deployer/server into server adapter packages. ([#10263](https://github.com/mastra-ai/mastra/pull/10263))
626
+ New packages:
627
+ - @mastra/express
628
+ - @mastra/hono
629
+
630
+ These packages support mastra server routes on express and hono respectively.
631
+ Better abstractions will be built on top of these packages in the near future, enabling users to easily attach mastra routes to any existing server framework.
632
+
633
+ - Rename "Playground" to "Studio" ([#10443](https://github.com/mastra-ai/mastra/pull/10443))
634
+
635
+ - Fixed a bug where imports that were not used in the main entry point were tree-shaken during analysis, causing bundling errors. Tree-shaking now only runs during the bundling step. ([#10470](https://github.com/mastra-ai/mastra/pull/10470))
636
+
637
+ - Add version query parameter validation for MCP server detail endpoint ([#10373](https://github.com/mastra-ai/mastra/pull/10373))
638
+
639
+ - Updated dependencies [[`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`d3e89dd`](https://github.com/mastra-ai/mastra/commit/d3e89dd4fc31ae2804c4c7bd3e98113d069cf780), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`c63fbba`](https://github.com/mastra-ai/mastra/commit/c63fbba1afdd61a01a994b7a69e52c9881baeaeb), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc)]:
640
+ - @mastra/core@1.0.0-beta.5
641
+ - @mastra/server@1.0.0-beta.5
642
+
643
+ ## 1.0.0-beta.4
644
+
645
+ ### Patch Changes
646
+
647
+ - Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908), [`5d7e4dd`](https://github.com/mastra-ai/mastra/commit/5d7e4dd802adcc57d3ac666c2eee044f50c7cee0)]:
648
+ - @mastra/core@1.0.0-beta.4
649
+ - @mastra/server@1.0.0-beta.4
650
+
651
+ ## 1.0.0-beta.3
652
+
653
+ ### Patch Changes
654
+
655
+ - dependencies updates: ([#10131](https://github.com/mastra-ai/mastra/pull/10131))
656
+ - Updated dependency [`hono@^4.10.5` ↗︎](https://www.npmjs.com/package/hono/v/4.10.5) (from `^4.9.7`, in `dependencies`)
657
+
658
+ - dependencies updates: ([#9779](https://github.com/mastra-ai/mastra/pull/9779))
659
+ - Updated dependency [`@rollup/plugin-alias@6.0.0` ↗︎](https://www.npmjs.com/package/@rollup/plugin-alias/v/6.0.0) (from `5.1.1`, in `dependencies`)
660
+ - Updated dependency [`@rollup/plugin-commonjs@29.0.6` ↗︎](https://www.npmjs.com/package/@rollup/plugin-commonjs/v/29.0.6) (from `29.0.0`, in `dependencies`)
661
+
662
+ - dependencies updates: ([#9780](https://github.com/mastra-ai/mastra/pull/9780))
663
+ - Updated dependency [`@rollup/plugin-commonjs@29.0.0` ↗︎](https://www.npmjs.com/package/@rollup/plugin-commonjs/v/29.0.0) (from `28.0.6`, in `dependencies`)
664
+
665
+ - Add restart method to workflow run that allows restarting an active workflow run ([#9750](https://github.com/mastra-ai/mastra/pull/9750))
666
+ Add status filter to `listWorkflowRuns`
667
+ Add automatic restart to restart active workflow runs when server starts
668
+
669
+ - Remove unused dependencies ([#10019](https://github.com/mastra-ai/mastra/pull/10019))
670
+
671
+ - Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`60937c1`](https://github.com/mastra-ai/mastra/commit/60937c14d7ff287b0acd16deb15f5e96516d7880), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
672
+ - @mastra/core@1.0.0-beta.3
673
+ - @mastra/server@1.0.0-beta.3
674
+
675
+ ## 1.0.0-beta.2
676
+
677
+ ### Patch Changes
678
+
679
+ - Updated dependencies [[`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46)]:
680
+ - @mastra/core@1.0.0-beta.2
681
+ - @mastra/server@1.0.0-beta.2
682
+
683
+ ## 1.0.0-beta.1
684
+
685
+ ### Patch Changes
686
+
687
+ - dependencies updates: ([#9851](https://github.com/mastra-ai/mastra/pull/9851))
688
+ - Updated dependency [`@rollup/plugin-node-resolve@16.0.3` ↗︎](https://www.npmjs.com/package/@rollup/plugin-node-resolve/v/16.0.3) (from `16.0.2`, in `dependencies`)
689
+ - Updated dependencies [[`910db9e`](https://github.com/mastra-ai/mastra/commit/910db9e0312888495eb5617b567f247d03303814), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d)]:
690
+ - @mastra/core@1.0.0-beta.1
691
+ - @mastra/server@1.0.0-beta.1
692
+ - Custom route handling now respects the `requiresAuth` flag emitted directly from `registerApiRoute`, so you can mark endpoints as public without mutating the returned object.
693
+
694
+ ## 1.0.0-beta.0
695
+
696
+ ### Major Changes
697
+
698
+ - Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
699
+
700
+ - Every Mastra primitive (agent, MCPServer, workflow, tool, processor, scorer, and vector) now has a get, list, and add method associated with it. Each primitive also now requires an id to be set. ([#9675](https://github.com/mastra-ai/mastra/pull/9675))
701
+
702
+ Primitives that are added to other primitives are also automatically added to the Mastra instance
703
+
704
+ - Update handlers to use `listWorkflowRuns` instead of `getWorkflowRuns`. Fix type names from `StoragelistThreadsByResourceIdInput/Output` to `StorageListThreadsByResourceIdInput/Output`. ([#9507](https://github.com/mastra-ai/mastra/pull/9507))
705
+
706
+ - **BREAKING:** Remove `getMessagesPaginated()` and add `perPage: false` support ([#9670](https://github.com/mastra-ai/mastra/pull/9670))
707
+
708
+ Removes deprecated `getMessagesPaginated()` method. The `listMessages()` API and score handlers now support `perPage: false` to fetch all records without pagination limits.
709
+
710
+ **Storage changes:**
711
+ - `StoragePagination.perPage` type changed from `number` to `number | false`
712
+ - All storage implementations support `perPage: false`:
713
+ - Memory: `listMessages()`
714
+ - Scores: `listScoresBySpan()`, `listScoresByRunId()`, `listScoresByExecutionId()`
715
+ - HTTP query parser accepts `"false"` string (e.g., `?perPage=false`)
716
+
717
+ **Memory changes:**
718
+ - `memory.query()` parameter type changed from `StorageGetMessagesArg` to `StorageListMessagesInput`
719
+ - Uses flat parameters (`page`, `perPage`, `include`, `filter`, `vectorSearchString`) instead of `selectBy` object
720
+
721
+ **Stricter validation:**
722
+ - `listMessages()` requires non-empty, non-whitespace `threadId` (throws error instead of returning empty results)
723
+
724
+ **Migration:**
725
+
726
+ ```typescript
727
+ // Storage/Memory: Replace getMessagesPaginated with listMessages
728
+ - storage.getMessagesPaginated({ threadId, selectBy: { pagination: { page: 0, perPage: 20 } } })
729
+ + storage.listMessages({ threadId, page: 0, perPage: 20 })
730
+ + storage.listMessages({ threadId, page: 0, perPage: false }) // Fetch all
731
+
732
+ // Memory: Replace selectBy with flat parameters
733
+ - memory.query({ threadId, selectBy: { last: 20, include: [...] } })
734
+ + memory.query({ threadId, perPage: 20, include: [...] })
735
+
736
+ // Client SDK
737
+ - thread.getMessagesPaginated({ selectBy: { pagination: { page: 0 } } })
738
+ + thread.listMessages({ page: 0, perPage: 20 })
739
+ ```
740
+
741
+ - # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
742
+
743
+ ## Storage Layer
744
+
745
+ ### BREAKING: Removed `storage.getMessages()`
746
+
747
+ The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
748
+
749
+ **Migration:**
750
+
751
+ ```typescript
752
+ // Before
753
+ const messages = await storage.getMessages({ threadId: 'thread-1' });
754
+
755
+ // After
756
+ const result = await storage.listMessages({
757
+ threadId: 'thread-1',
758
+ page: 0,
759
+ perPage: 50,
760
+ });
761
+ const messages = result.messages; // Access messages array
762
+ console.log(result.total); // Total count
763
+ console.log(result.hasMore); // Whether more pages exist
764
+ ```
765
+
766
+ ### Message ordering default
767
+
768
+ `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
769
+
770
+ **To use DESC ordering (newest first):**
771
+
772
+ ```typescript
773
+ const result = await storage.listMessages({
774
+ threadId: 'thread-1',
775
+ orderBy: { field: 'createdAt', direction: 'DESC' },
776
+ });
777
+ ```
778
+
779
+ ## Client SDK
780
+
781
+ ### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
782
+
783
+ **Migration:**
784
+
785
+ ```typescript
786
+ // Before
787
+ const response = await client.getThreadMessages(threadId, { agentId });
788
+
789
+ // After
790
+ const response = await client.listThreadMessages(threadId, { agentId });
791
+ ```
792
+
793
+ The response format remains the same.
794
+
795
+ ## Type Changes
796
+
797
+ ### BREAKING: Removed `StorageGetMessagesArg` type
798
+
799
+ Use `StorageListMessagesInput` instead:
800
+
801
+ ```typescript
802
+ // Before
803
+ import type { StorageGetMessagesArg } from '@mastra/core';
804
+
805
+ // After
806
+ import type { StorageListMessagesInput } from '@mastra/core';
807
+ ```
808
+
809
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
810
+
811
+ - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
812
+
813
+ - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
814
+
815
+ - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
816
+
817
+ - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
818
+
819
+ - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
820
+
821
+ - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
822
+
823
+ This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
824
+
825
+ ### What's Changed
826
+ - Removed legacy v1 watch event handlers and types
827
+ - Renamed `watch-v2` to `watch` throughout the codebase
828
+ - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
829
+ - Removed `/watch` HTTP endpoints from server and deployer
830
+ - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
831
+
832
+ - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
833
+
834
+ All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
835
+
836
+ **Affected APIs:**
837
+ - `Memory.listThreadsByResourceId()`
838
+ - `Memory.listMessages()`
839
+ - `Storage.listWorkflowRuns()`
840
+
841
+ **Migration:**
842
+
843
+ ```typescript
844
+ // Before
845
+ await memory.listThreadsByResourceId({
846
+ resourceId: 'user-123',
847
+ offset: 20,
848
+ limit: 10,
849
+ });
850
+
851
+ // After
852
+ await memory.listThreadsByResourceId({
853
+ resourceId: 'user-123',
854
+ page: 2, // page = Math.floor(offset / limit)
855
+ perPage: 10,
856
+ });
857
+
858
+ // Before
859
+ await memory.listMessages({
860
+ threadId: 'thread-456',
861
+ offset: 20,
862
+ limit: 10,
863
+ });
864
+
865
+ // After
866
+ await memory.listMessages({
867
+ threadId: 'thread-456',
868
+ page: 2,
869
+ perPage: 10,
870
+ });
871
+
872
+ // Before
873
+ await storage.listWorkflowRuns({
874
+ workflowName: 'my-workflow',
875
+ offset: 20,
876
+ limit: 10,
877
+ });
878
+
879
+ // After
880
+ await storage.listWorkflowRuns({
881
+ workflowName: 'my-workflow',
882
+ page: 2,
883
+ perPage: 10,
884
+ });
885
+ ```
886
+
887
+ **Additional improvements:**
888
+ - Added validation for negative `page` values in all storage implementations
889
+ - Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
890
+ - Added reusable query parser utilities for consistent validation in handlers
891
+
892
+ - ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
893
+ import { Mastra } from '@mastra/core';
894
+ import { Observability } from '@mastra/observability'; // Explicit import
895
+
896
+ const mastra = new Mastra({
897
+ ...other_config,
898
+ observability: new Observability({
899
+ default: { enabled: true }
900
+ }) // Instance
901
+ });
902
+ ```
903
+
904
+ Instead of:
905
+
906
+ ```
907
+ import { Mastra } from '@mastra/core';
908
+ import '@mastra/observability/init'; // Explicit import
909
+
910
+ const mastra = new Mastra({
911
+ ...other_config,
912
+ observability: {
913
+ default: { enabled: true }
914
+ }
915
+ });
916
+ ```
917
+
918
+ Also renamed a bunch of:
919
+ - `Tracing` things to `Observability` things.
920
+ - `AI-` things to just things.
921
+
922
+ - Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
923
+
924
+ - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
925
+
926
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
927
+
928
+ - moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
929
+
930
+ - Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
931
+
932
+ ### Minor Changes
933
+
934
+ - Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
935
+
936
+ - Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
937
+
938
+ - Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
939
+ - Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
940
+ - Add corresponding server handlers and deployer routes for observe streaming
941
+ - Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
942
+ - Update template installation processor to support both legacy and VNext streaming event formats
943
+
944
+ - Added /health endpoint for service monitoring ([#9142](https://github.com/mastra-ai/mastra/pull/9142))
945
+
946
+ - Update peer dependencies to match core package version bump (0.22.3) ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
947
+
948
+ ### Patch Changes
949
+
950
+ - dependencies updates: ([`77ff370`](https://github.com/mastra-ai/mastra/commit/77ff370186ba77955620c465fd2e95360e1947ea))
951
+ - Updated dependency [`@babel/core@^7.28.5` ↗︎](https://www.npmjs.com/package/@babel/core/v/7.28.5) (from `^7.28.4`, in `dependencies`)
952
+
953
+ - Make step optional in all resume APIs ([#9454](https://github.com/mastra-ai/mastra/pull/9454))
954
+
955
+ - Improve analyze recursion in bundler when using monorepos ([#9490](https://github.com/mastra-ai/mastra/pull/9490))
956
+
957
+ - Add exportConditions options to nodeResolve plugin to ensure proper handling of Node.js export condition resolution during production builds. ([#9394](https://github.com/mastra-ai/mastra/pull/9394))
958
+
959
+ - Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
960
+
961
+ - Fix error handling and serialization in agent streaming to ensure errors are consistently exposed and preserved. ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
962
+
963
+ - Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
964
+
965
+ - Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 ([#9714](https://github.com/mastra-ai/mastra/pull/9714))
966
+
967
+ - Simplify mastra intro doc template ([#9794](https://github.com/mastra-ai/mastra/pull/9794))
968
+
969
+ - Use a shared `getAllToolPaths()` method from the bundler to discover tool paths. ([#9204](https://github.com/mastra-ai/mastra/pull/9204))
970
+
971
+ - Remove unused /model-providers API ([#9533](https://github.com/mastra-ai/mastra/pull/9533))
972
+
973
+ - Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
974
+
975
+ - Make step optional in resumeStreamVNext API ([#9453](https://github.com/mastra-ai/mastra/pull/9453))
976
+
977
+ - Add readable-streams to global externals, not compatible with CJS compilation ([#9735](https://github.com/mastra-ai/mastra/pull/9735))
978
+
979
+ - Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
980
+
981
+ - Add better error handling during `mastra build` for `ERR_MODULE_NOT_FOUND` cases. ([#9127](https://github.com/mastra-ai/mastra/pull/9127))
982
+
983
+ - Fix generate system prompt by updating deprecated function call. ([#9242](https://github.com/mastra-ai/mastra/pull/9242))
984
+
985
+ - Remove format from stream/generate ([#9577](https://github.com/mastra-ai/mastra/pull/9577))
986
+
987
+ - fix: add /api route to default public routes to allow unauthenticated ([#9662](https://github.com/mastra-ai/mastra/pull/9662))
988
+ access
989
+
990
+ The /api route was returning 401 instead of 200 because it was being caught
991
+ by the /api/_ protected pattern. Adding it to the default public routes
992
+ ensures the root API endpoint is accessible without authentication while
993
+ keeping /api/_ routes protected.
994
+
995
+ - Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`ffd8f1b`](https://github.com/mastra-ai/mastra/commit/ffd8f1b904181c68fcbf5a1974e2b96a9303b042), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`f15fb34`](https://github.com/mastra-ai/mastra/commit/f15fb347b76581ef91a16770bc21e2d50dbe3864), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`70189fc`](https://github.com/mastra-ai/mastra/commit/70189fc9611c3be54e5e655910b672b21ddefb94), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`8e85939`](https://github.com/mastra-ai/mastra/commit/8e859393c1cda6ff3d11618ac1150ca6f68175b6), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
996
+ - @mastra/core@1.0.0-beta.0
997
+ - @mastra/server@1.0.0-beta.0
49
998
 
50
999
  ## 0.22.2
51
1000