@mastra/core 0.15.3-alpha.4 → 0.15.3-alpha.6

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 (147) hide show
  1. package/CHANGELOG.md +3215 -0
  2. package/dist/agent/agent.types.d.ts +1 -0
  3. package/dist/agent/agent.types.d.ts.map +1 -1
  4. package/dist/agent/index.cjs +11 -11
  5. package/dist/agent/index.d.ts +2 -1
  6. package/dist/agent/index.d.ts.map +1 -1
  7. package/dist/agent/index.js +2 -2
  8. package/dist/agent/input-processor/index.cjs +6 -6
  9. package/dist/agent/input-processor/index.js +1 -1
  10. package/dist/agent/message-list/prompt/convert-to-mastra-v1.d.ts.map +1 -1
  11. package/dist/ai-tracing/exporters/default.d.ts.map +1 -1
  12. package/dist/ai-tracing/index.cjs +30 -30
  13. package/dist/ai-tracing/index.js +1 -1
  14. package/dist/{chunk-KUNWELBC.cjs → chunk-25VRTGOH.cjs} +311 -161
  15. package/dist/chunk-25VRTGOH.cjs.map +1 -0
  16. package/dist/{chunk-XM2ASGWH.js → chunk-4VU6A5XE.js} +3 -3
  17. package/dist/{chunk-XM2ASGWH.js.map → chunk-4VU6A5XE.js.map} +1 -1
  18. package/dist/{chunk-FQRDHVZC.cjs → chunk-5KIEN3HX.cjs} +4 -4
  19. package/dist/{chunk-FQRDHVZC.cjs.map → chunk-5KIEN3HX.cjs.map} +1 -1
  20. package/dist/{chunk-VVTB47UG.cjs → chunk-626FLQPT.cjs} +4 -4
  21. package/dist/{chunk-VVTB47UG.cjs.map → chunk-626FLQPT.cjs.map} +1 -1
  22. package/dist/{chunk-W5CF7DLB.cjs → chunk-6C6CR7JZ.cjs} +87 -47
  23. package/dist/chunk-6C6CR7JZ.cjs.map +1 -0
  24. package/dist/{chunk-YVIYEC6R.js → chunk-7S5FYPH7.js} +5 -5
  25. package/dist/{chunk-YVIYEC6R.js.map → chunk-7S5FYPH7.js.map} +1 -1
  26. package/dist/{chunk-5CJDO3UO.cjs → chunk-AAJF7WLJ.cjs} +3 -4
  27. package/dist/chunk-AAJF7WLJ.cjs.map +1 -0
  28. package/dist/{chunk-NMDRUT3Q.cjs → chunk-AWES6LTC.cjs} +4 -4
  29. package/dist/{chunk-NMDRUT3Q.cjs.map → chunk-AWES6LTC.cjs.map} +1 -1
  30. package/dist/{chunk-F4SQXAXR.js → chunk-BGE27UEX.js} +3 -4
  31. package/dist/chunk-BGE27UEX.js.map +1 -0
  32. package/dist/chunk-GXSERFAG.js +3 -0
  33. package/dist/{chunk-ZPQQN52E.js.map → chunk-GXSERFAG.js.map} +1 -1
  34. package/dist/{chunk-CKM2ESZF.js → chunk-HGYL2SSF.js} +14 -24
  35. package/dist/chunk-HGYL2SSF.js.map +1 -0
  36. package/dist/{chunk-P2IJ74UW.js → chunk-IH5UAO56.js} +280 -130
  37. package/dist/chunk-IH5UAO56.js.map +1 -0
  38. package/dist/{chunk-DZADAEAF.cjs → chunk-IQ5ISXGO.cjs} +14 -14
  39. package/dist/{chunk-DZADAEAF.cjs.map → chunk-IQ5ISXGO.cjs.map} +1 -1
  40. package/dist/{chunk-YAWYQH3N.js → chunk-JWURNPTP.js} +3 -3
  41. package/dist/{chunk-YAWYQH3N.js.map → chunk-JWURNPTP.js.map} +1 -1
  42. package/dist/{chunk-F2CAC2R2.cjs → chunk-MNDKBEEQ.cjs} +14 -24
  43. package/dist/chunk-MNDKBEEQ.cjs.map +1 -0
  44. package/dist/{chunk-OFPVAPUH.js → chunk-NHAHPLS5.js} +83 -43
  45. package/dist/chunk-NHAHPLS5.js.map +1 -0
  46. package/dist/{chunk-XPFWOBV4.js → chunk-POFCBVHG.js} +3 -3
  47. package/dist/{chunk-XPFWOBV4.js.map → chunk-POFCBVHG.js.map} +1 -1
  48. package/dist/{chunk-76MWMAR7.js → chunk-R7K2QO7M.js} +3 -2
  49. package/dist/chunk-R7K2QO7M.js.map +1 -0
  50. package/dist/{chunk-I7OAONIW.cjs → chunk-UFCYMOYH.cjs} +12 -2
  51. package/dist/chunk-UFCYMOYH.cjs.map +1 -0
  52. package/dist/{chunk-J35ULAQT.js → chunk-VZS4UVKF.js} +3 -3
  53. package/dist/{chunk-J35ULAQT.js.map → chunk-VZS4UVKF.js.map} +1 -1
  54. package/dist/{chunk-FBBP67MQ.cjs → chunk-VZYIKGJ6.cjs} +4 -4
  55. package/dist/{chunk-FBBP67MQ.cjs.map → chunk-VZYIKGJ6.cjs.map} +1 -1
  56. package/dist/{chunk-LOYT3WUA.js → chunk-WEPWZHE4.js} +12 -2
  57. package/dist/chunk-WEPWZHE4.js.map +1 -0
  58. package/dist/chunk-X4RMXTXF.cjs +4 -0
  59. package/dist/{chunk-F37IQKBQ.cjs.map → chunk-X4RMXTXF.cjs.map} +1 -1
  60. package/dist/{chunk-ZOU4K5MI.cjs → chunk-Z637KSJF.cjs} +3 -2
  61. package/dist/chunk-Z637KSJF.cjs.map +1 -0
  62. package/dist/index.cjs +30 -30
  63. package/dist/index.js +8 -8
  64. package/dist/llm/model/model.d.ts.map +1 -1
  65. package/dist/llm/model/model.loop.d.ts +1 -1
  66. package/dist/llm/model/model.loop.d.ts.map +1 -1
  67. package/dist/llm/model/model.loop.types.d.ts +1 -0
  68. package/dist/llm/model/model.loop.types.d.ts.map +1 -1
  69. package/dist/loop/index.cjs +2 -2
  70. package/dist/loop/index.js +1 -1
  71. package/dist/loop/loop.d.ts +1 -1
  72. package/dist/loop/loop.d.ts.map +1 -1
  73. package/dist/loop/types.d.ts +2 -0
  74. package/dist/loop/types.d.ts.map +1 -1
  75. package/dist/loop/workflow/llm-execution.d.ts.map +1 -1
  76. package/dist/loop/workflow/stream.d.ts.map +1 -1
  77. package/dist/mastra/index.cjs +2 -2
  78. package/dist/mastra/index.js +1 -1
  79. package/dist/memory/index.cjs +4 -4
  80. package/dist/memory/index.js +1 -1
  81. package/dist/network/index.cjs +2 -2
  82. package/dist/network/index.js +1 -1
  83. package/dist/network/vNext/index.cjs +17 -17
  84. package/dist/network/vNext/index.cjs.map +1 -1
  85. package/dist/network/vNext/index.d.ts.map +1 -1
  86. package/dist/network/vNext/index.js +3 -3
  87. package/dist/network/vNext/index.js.map +1 -1
  88. package/dist/processors/index.cjs +8 -8
  89. package/dist/processors/index.js +2 -2
  90. package/dist/relevance/index.cjs +4 -4
  91. package/dist/relevance/index.js +1 -1
  92. package/dist/scores/index.cjs +5 -5
  93. package/dist/scores/index.js +1 -1
  94. package/dist/server/index.cjs +2 -2
  95. package/dist/server/index.js +1 -1
  96. package/dist/storage/domains/workflows/inmemory.d.ts +1 -1
  97. package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
  98. package/dist/storage/index.cjs +13 -14
  99. package/dist/storage/index.cjs.map +1 -1
  100. package/dist/storage/index.js +11 -12
  101. package/dist/storage/index.js.map +1 -1
  102. package/dist/stream/MastraWorkflowStream.d.ts.map +1 -1
  103. package/dist/stream/base/output.d.ts +6 -0
  104. package/dist/stream/base/output.d.ts.map +1 -1
  105. package/dist/stream/index.cjs +3 -3
  106. package/dist/stream/index.js +1 -1
  107. package/dist/stream/types.d.ts +2 -1
  108. package/dist/stream/types.d.ts.map +1 -1
  109. package/dist/telemetry/index.cjs +7 -7
  110. package/dist/telemetry/index.js +1 -1
  111. package/dist/telemetry/telemetry.decorators.d.ts.map +1 -1
  112. package/dist/test-utils/llm-mock.cjs +2 -2
  113. package/dist/test-utils/llm-mock.js +1 -1
  114. package/dist/tools/index.cjs +4 -0
  115. package/dist/tools/index.d.ts +1 -0
  116. package/dist/tools/index.d.ts.map +1 -1
  117. package/dist/tools/index.js +1 -1
  118. package/dist/tts/index.cjs +2 -2
  119. package/dist/tts/index.js +1 -1
  120. package/dist/voice/index.cjs +4 -4
  121. package/dist/voice/index.js +1 -1
  122. package/dist/workflows/evented/index.cjs +10 -10
  123. package/dist/workflows/evented/index.js +1 -1
  124. package/dist/workflows/evented/workflow.d.ts.map +1 -1
  125. package/dist/workflows/index.cjs +10 -10
  126. package/dist/workflows/index.js +1 -1
  127. package/dist/workflows/legacy/index.cjs +22 -22
  128. package/dist/workflows/legacy/index.js +1 -1
  129. package/dist/workflows/types.d.ts +64 -9
  130. package/dist/workflows/types.d.ts.map +1 -1
  131. package/dist/workflows/workflow.d.ts +8 -3
  132. package/dist/workflows/workflow.d.ts.map +1 -1
  133. package/package.json +12 -2
  134. package/dist/chunk-5CJDO3UO.cjs.map +0 -1
  135. package/dist/chunk-76MWMAR7.js.map +0 -1
  136. package/dist/chunk-CKM2ESZF.js.map +0 -1
  137. package/dist/chunk-F2CAC2R2.cjs.map +0 -1
  138. package/dist/chunk-F37IQKBQ.cjs +0 -4
  139. package/dist/chunk-F4SQXAXR.js.map +0 -1
  140. package/dist/chunk-I7OAONIW.cjs.map +0 -1
  141. package/dist/chunk-KUNWELBC.cjs.map +0 -1
  142. package/dist/chunk-LOYT3WUA.js.map +0 -1
  143. package/dist/chunk-OFPVAPUH.js.map +0 -1
  144. package/dist/chunk-P2IJ74UW.js.map +0 -1
  145. package/dist/chunk-W5CF7DLB.cjs.map +0 -1
  146. package/dist/chunk-ZOU4K5MI.cjs.map +0 -1
  147. package/dist/chunk-ZPQQN52E.js +0 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,3215 @@
1
+ # @mastra/core
2
+
3
+ ## 0.15.3-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7361](https://github.com/mastra-ai/mastra/pull/7361) [`c19bcf7`](https://github.com/mastra-ai/mastra/commit/c19bcf7b43542b02157b5e17303e519933a153ab) Thanks [@epinzur](https://github.com/epinzur)! - stopped recording event spans for llm_chunks in ai-observability
8
+
9
+ - [#7383](https://github.com/mastra-ai/mastra/pull/7383) [`b42a961`](https://github.com/mastra-ai/mastra/commit/b42a961a5aefd19d6e938a7705fc0ecc90e8f756) Thanks [@DanielSLew](https://github.com/DanielSLew)! - New createMCPTool helper for correct types for MCP Server tools
10
+
11
+ - [#7350](https://github.com/mastra-ai/mastra/pull/7350) [`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e) Thanks [@LekoArts](https://github.com/LekoArts)! - Try fixing the `Attempted import error: 'z'.'toJSONSchema' is not exported from 'zod'` error by tricking the compiler
12
+
13
+ - [#7382](https://github.com/mastra-ai/mastra/pull/7382) [`0302f50`](https://github.com/mastra-ai/mastra/commit/0302f50861a53c66ff28801fc371b37c5f97e41e) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Some LLM providers (openrouter for ex) add response-metadata chunks after each text-delta, this was resulting in us flushing text deltas into parts after each delta, so our output messages (with streamVNext) would have a separate text part for each text delta, instead of one text part for the combined deltas
14
+
15
+ - [#7353](https://github.com/mastra-ai/mastra/pull/7353) [`74db265`](https://github.com/mastra-ai/mastra/commit/74db265b96aa01a72ffd91dcae0bc3b346cca0f2) Thanks [@epinzur](https://github.com/epinzur)! - Adds handling for event-type spans to the default ai observability exporter
16
+
17
+ - [#7355](https://github.com/mastra-ai/mastra/pull/7355) [`7f3b8da`](https://github.com/mastra-ai/mastra/commit/7f3b8da6dd21c35d3672e44b4f5dd3502b8f8f92) Thanks [@rase-](https://github.com/rase-)! - Automatically pipe writer to workflows as a tool.
18
+ Also changed start, finish, step-output events to be workflow-start, workflow-finish and workflow-step-output
19
+
20
+ - [#7081](https://github.com/mastra-ai/mastra/pull/7081) [`905352b`](https://github.com/mastra-ai/mastra/commit/905352bcda134552400eb252bca1cb05a7975c14) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Support AISDK models for runExperiment
21
+
22
+ - [#7321](https://github.com/mastra-ai/mastra/pull/7321) [`f2cda47`](https://github.com/mastra-ai/mastra/commit/f2cda47ae911038c5d5489f54c36517d6f15bdcc) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Fixed issue where multiple split messages were created with identical content
23
+ instead of properly distributing different parts of the original message.
24
+
25
+ - [#7386](https://github.com/mastra-ai/mastra/pull/7386) [`cfd377a`](https://github.com/mastra-ai/mastra/commit/cfd377a3a33a9c88b644f6540feed9cd9832db47) Thanks [@NikAiyer](https://github.com/NikAiyer)! - fix default stream options onFinish being overridden
26
+
27
+ - Updated dependencies [[`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e)]:
28
+ - @mastra/schema-compat@0.11.2-alpha.3
29
+
30
+ ## 0.15.3-alpha.5
31
+
32
+ ### Patch Changes
33
+
34
+ - [#7272](https://github.com/mastra-ai/mastra/pull/7272) [`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf) Thanks [@taofeeq-deru](https://github.com/taofeeq-deru)! - Return nested workflow steps information in getWorkflowRunExecutionResult
35
+
36
+ - [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
37
+
38
+ - Updated dependencies [[`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
39
+ - @mastra/schema-compat@0.11.2-alpha.2
40
+
41
+ ## 0.15.3-alpha.4
42
+
43
+ ### Patch Changes
44
+
45
+ - [#5816](https://github.com/mastra-ai/mastra/pull/5816) [`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
46
+ - Updated dependency [`zod-to-json-schema@^3.24.6` ↗︎](https://www.npmjs.com/package/zod-to-json-schema/v/3.24.6) (from `^3.24.5`, in `dependencies`)
47
+
48
+ - [#7269](https://github.com/mastra-ai/mastra/pull/7269) [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa) Thanks [@wardpeet](https://github.com/wardpeet)! - Add deprecation warnings and add legacy routes
49
+
50
+ - [#7317](https://github.com/mastra-ai/mastra/pull/7317) [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Added a fix to prevent filtering out injected initial default user messages. Related to issue 7231
51
+
52
+ - [#7327](https://github.com/mastra-ai/mastra/pull/7327) [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Fixes #7254 where the onFinish callback wasn't returning assistant messages when using format: 'aisdk' in streamVNext. The messageList was being updated with response messages but these weren't being passed to the user's onFinish callback.
53
+
54
+ - [#7267](https://github.com/mastra-ai/mastra/pull/7267) [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a) Thanks [@TheIsrael1](https://github.com/TheIsrael1)! - Fix - add missing tool options to createTool
55
+
56
+ - [#7263](https://github.com/mastra-ai/mastra/pull/7263) [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c) Thanks [@wardpeet](https://github.com/wardpeet)! - Create new `@mastra/ai-sdk` package to better support `useChat()`
57
+
58
+ - [#7323](https://github.com/mastra-ai/mastra/pull/7323) [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix passing providerOptions through in streamVNext, enabling reasoning-delta chunks to be receiving.
59
+
60
+ - [#7266](https://github.com/mastra-ai/mastra/pull/7266) [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c) Thanks [@epinzur](https://github.com/epinzur)! - "Updated langfuse exporter to handle Event spans"
61
+
62
+ - [#6966](https://github.com/mastra-ai/mastra/pull/6966) [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611) Thanks [@kaorukobo](https://github.com/kaorukobo)! - Ensure original stacktrace is preserved during workflow runs
63
+
64
+ - [#7274](https://github.com/mastra-ai/mastra/pull/7274) [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668) Thanks [@epinzur](https://github.com/epinzur)! - "pipes tracingContext through all ai items: agents, workflows, tools, processors, scorers, etc.."
65
+
66
+ - [#7219](https://github.com/mastra-ai/mastra/pull/7219) [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569) Thanks [@NikAiyer](https://github.com/NikAiyer)! - upgrade ai v5 versions to latest for core and memory
67
+
68
+ - [#7039](https://github.com/mastra-ai/mastra/pull/7039) [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Register scorers on mastra instance to override per agent generate call
69
+
70
+ - [#7246](https://github.com/mastra-ai/mastra/pull/7246) [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8) Thanks [@epinzur](https://github.com/epinzur)! - Fixed wrapped mastra class inside workflow steps.
71
+
72
+ - Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715)]:
73
+ - @mastra/schema-compat@0.11.2-alpha.1
74
+
75
+ ## 0.15.3-alpha.3
76
+
77
+ ### Patch Changes
78
+
79
+ - [#7203](https://github.com/mastra-ai/mastra/pull/7203) [`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48) Thanks [@epinzur](https://github.com/epinzur)! - Fixed wrapping of models with AI Tracing when used with structured output.
80
+
81
+ - [#7127](https://github.com/mastra-ai/mastra/pull/7127) [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - Support file download
82
+
83
+ - [#7216](https://github.com/mastra-ai/mastra/pull/7216) [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix tool validation when schema uses context or inputData reserved keys
84
+
85
+ - [#7090](https://github.com/mastra-ai/mastra/pull/7090) [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe) Thanks [@K-Mistele](https://github.com/K-Mistele)! - Support Inngest flow control features for Mastra Inngest workflows
86
+
87
+ - [#7217](https://github.com/mastra-ai/mastra/pull/7217) [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - Pass provider options
88
+
89
+ ## 0.15.3-alpha.2
90
+
91
+ ### Patch Changes
92
+
93
+ - [#7129](https://github.com/mastra-ai/mastra/pull/7129) [`822c2e8`](https://github.com/mastra-ai/mastra/commit/822c2e88a3ecbffb7c680e6227976006ccefe6a8) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix custom output (tool-output) in ai-sdk stream output
94
+
95
+ ## 0.15.3-alpha.1
96
+
97
+ ### Patch Changes
98
+
99
+ - [#7121](https://github.com/mastra-ai/mastra/pull/7121) [`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix issue with some compilers and calling zod v4's toJSONSchema function
100
+
101
+ - [#7124](https://github.com/mastra-ai/mastra/pull/7124) [`29de0e1`](https://github.com/mastra-ai/mastra/commit/29de0e1b0a7173317ae7d1ab0c0993167c659f2b) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - MastraEmbeddingModel and ts hack
102
+
103
+ - [#7125](https://github.com/mastra-ai/mastra/pull/7125) [`6ac697e`](https://github.com/mastra-ai/mastra/commit/6ac697edcc2435482c247cba615277ec4765dcc4) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - improveEmbeddingModelStuff
104
+
105
+ - Updated dependencies [[`637f323`](https://github.com/mastra-ai/mastra/commit/637f32371d79a8f78c52c0d53411af0915fcec67)]:
106
+ - @mastra/schema-compat@0.11.2-alpha.0
107
+
108
+ ## 0.15.3-alpha.0
109
+
110
+ ### Patch Changes
111
+
112
+ - [#7085](https://github.com/mastra-ai/mastra/pull/7085) [`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352) Thanks [@epinzur](https://github.com/epinzur)! - Added a DefaultExporter for AI Tracing.
113
+
114
+ - [#7030](https://github.com/mastra-ai/mastra/pull/7030) [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e) Thanks [@abhiaiyer91](https://github.com/abhiaiyer91)! - Add maxSteps
115
+
116
+ - [#7116](https://github.com/mastra-ai/mastra/pull/7116) [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Don't set supportsStructuredOutputs for every v2 model
117
+
118
+ - [#7109](https://github.com/mastra-ai/mastra/pull/7109) [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9) Thanks [@epinzur](https://github.com/epinzur)! - Fixed tracingContext on tool executions in AI tracing
119
+
120
+ - [#7025](https://github.com/mastra-ai/mastra/pull/7025) [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Support workflows for run experiments
121
+
122
+ ## 0.15.2
123
+
124
+ ### Patch Changes
125
+
126
+ - Updated dependencies [[`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430)]:
127
+ - @mastra/schema-compat@0.11.1
128
+
129
+ ## 0.15.0
130
+
131
+ ### Minor Changes
132
+
133
+ - [#7032](https://github.com/mastra-ai/mastra/pull/7032) [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c) Thanks [@wardpeet](https://github.com/wardpeet)! - Bump zod peerdep to 3.25.0 to support both v3/v4
134
+
135
+ ### Patch Changes
136
+
137
+ - [#6938](https://github.com/mastra-ai/mastra/pull/6938) [`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
138
+ - Updated dependency [`@opentelemetry/auto-instrumentations-node@^0.62.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node/v/0.62.1) (from `^0.62.0`, in `dependencies`)
139
+
140
+ - [#6997](https://github.com/mastra-ai/mastra/pull/6997) [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56) Thanks [@wardpeet](https://github.com/wardpeet)! - Bundle/mastra speed improvements
141
+
142
+ - [#6933](https://github.com/mastra-ai/mastra/pull/6933) [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b) Thanks [@NikAiyer](https://github.com/NikAiyer)! - Add util functions for workflow server handlers and made processor process function async
143
+
144
+ - [#6954](https://github.com/mastra-ai/mastra/pull/6954) [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Add db schema and base storage apis for AI Tracing
145
+
146
+ - [#6957](https://github.com/mastra-ai/mastra/pull/6957) [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Implement Tracing API for inmemory(mock) storage
147
+
148
+ - [#6923](https://github.com/mastra-ai/mastra/pull/6923) [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae) Thanks [@rase-](https://github.com/rase-)! - Event based execution engine
149
+
150
+ - [#6971](https://github.com/mastra-ai/mastra/pull/6971) [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246) Thanks [@epinzur](https://github.com/epinzur)! - "updated ai tracing in workflows"
151
+
152
+ - [#6949](https://github.com/mastra-ai/mastra/pull/6949) [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1) Thanks [@CalebBarnes](https://github.com/CalebBarnes)! - stream/generate vnext: simplify internal output schema handling, improve types and typescript generics, and add jsdoc comments
153
+
154
+ - [#6993](https://github.com/mastra-ai/mastra/pull/6993) [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve types and fix linting issues
155
+
156
+ - [#7020](https://github.com/mastra-ai/mastra/pull/7020) [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Add column to ai spans table to tell if it's an event
157
+
158
+ - [#7011](https://github.com/mastra-ai/mastra/pull/7011) [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1) Thanks [@epinzur](https://github.com/epinzur)! - Wrapped mastra objects in workflow steps to automatically pass on tracing context
159
+
160
+ - [#6942](https://github.com/mastra-ai/mastra/pull/6942) [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01) Thanks [@wardpeet](https://github.com/wardpeet)! - Add zod as peerdeps for all packages
161
+
162
+ - [#6943](https://github.com/mastra-ai/mastra/pull/6943) [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20) Thanks [@taofeeq-deru](https://github.com/taofeeq-deru)! - Persist to snapshot when step starts
163
+
164
+ - Updated dependencies [[`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec), [`94e9f54`](https://github.com/mastra-ai/mastra/commit/94e9f547d66ef7cd01d9075ab53b5ca9a1cae100), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`a93f3ba`](https://github.com/mastra-ai/mastra/commit/a93f3ba05eef4cf17f876d61d29cf0841a9e70b7)]:
165
+ - @mastra/schema-compat@0.11.0
166
+
167
+ ## 0.15.0-alpha.4
168
+
169
+ ### Minor Changes
170
+
171
+ - [#7032](https://github.com/mastra-ai/mastra/pull/7032) [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c) Thanks [@wardpeet](https://github.com/wardpeet)! - Bump zod peerdep to 3.25.0 to support both v3/v4
172
+
173
+ ### Patch Changes
174
+
175
+ - Updated dependencies [[`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c)]:
176
+ - @mastra/schema-compat@0.11.0-alpha.2
177
+
178
+ ## 0.15.0-alpha.3
179
+
180
+ ### Patch Changes
181
+
182
+ - Updated dependencies [[`da58ccc`](https://github.com/mastra-ai/mastra/commit/da58ccc1f2ac33da0cb97b00443fc6208b45bdec)]:
183
+ - @mastra/schema-compat@0.10.6-alpha.1
184
+
185
+ ## 0.14.2-alpha.2
186
+
187
+ ### Patch Changes
188
+
189
+ - [#7020](https://github.com/mastra-ai/mastra/pull/7020) [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Add column to ai spans table to tell if it's an event
190
+
191
+ ## 0.14.2-alpha.1
192
+
193
+ ### Patch Changes
194
+
195
+ - [#6997](https://github.com/mastra-ai/mastra/pull/6997) [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56) Thanks [@wardpeet](https://github.com/wardpeet)! - Bundle/mastra speed improvements
196
+
197
+ - [#6954](https://github.com/mastra-ai/mastra/pull/6954) [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Add db schema and base storage apis for AI Tracing
198
+
199
+ - [#6957](https://github.com/mastra-ai/mastra/pull/6957) [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - Implement Tracing API for inmemory(mock) storage
200
+
201
+ - [#6923](https://github.com/mastra-ai/mastra/pull/6923) [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae) Thanks [@rase-](https://github.com/rase-)! - Event based execution engine
202
+
203
+ - [#6971](https://github.com/mastra-ai/mastra/pull/6971) [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246) Thanks [@epinzur](https://github.com/epinzur)! - "updated ai tracing in workflows"
204
+
205
+ - [#6993](https://github.com/mastra-ai/mastra/pull/6993) [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve types and fix linting issues
206
+
207
+ - [#7011](https://github.com/mastra-ai/mastra/pull/7011) [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1) Thanks [@epinzur](https://github.com/epinzur)! - Wrapped mastra objects in workflow steps to automatically pass on tracing context
208
+
209
+ - [#6942](https://github.com/mastra-ai/mastra/pull/6942) [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01) Thanks [@wardpeet](https://github.com/wardpeet)! - Add zod as peerdeps for all packages
210
+
211
+ - Updated dependencies [[`94e9f54`](https://github.com/mastra-ai/mastra/commit/94e9f547d66ef7cd01d9075ab53b5ca9a1cae100), [`a93f3ba`](https://github.com/mastra-ai/mastra/commit/a93f3ba05eef4cf17f876d61d29cf0841a9e70b7)]:
212
+ - @mastra/schema-compat@0.10.6-alpha.0
213
+
214
+ ## 0.14.2-alpha.0
215
+
216
+ ### Patch Changes
217
+
218
+ - [#6938](https://github.com/mastra-ai/mastra/pull/6938) [`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
219
+ - Updated dependency [`@opentelemetry/auto-instrumentations-node@^0.62.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node/v/0.62.1) (from `^0.62.0`, in `dependencies`)
220
+
221
+ - [#6933](https://github.com/mastra-ai/mastra/pull/6933) [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b) Thanks [@NikAiyer](https://github.com/NikAiyer)! - Add util functions for workflow server handlers and made processor process function async
222
+
223
+ - [#6949](https://github.com/mastra-ai/mastra/pull/6949) [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1) Thanks [@CalebBarnes](https://github.com/CalebBarnes)! - stream/generate vnext: simplify internal output schema handling, improve types and typescript generics, and add jsdoc comments
224
+
225
+ - [#6943](https://github.com/mastra-ai/mastra/pull/6943) [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20) Thanks [@taofeeq-deru](https://github.com/taofeeq-deru)! - Persist to snapshot when step starts
226
+
227
+ ## 0.14.1
228
+
229
+ ### Patch Changes
230
+
231
+ - [#6919](https://github.com/mastra-ai/mastra/pull/6919) [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
232
+ - Updated dependency [`@ai-sdk/provider-utils-v5@npm:@ai-sdk/provider-utils@3.0.3` ↗︎](https://www.npmjs.com/package/@ai-sdk/provider-utils-v5/v/3.0.3) (from `npm:@ai-sdk/provider-utils@3.0.0`, in `dependencies`)
233
+ - Updated dependency [`ai@^4.3.19` ↗︎](https://www.npmjs.com/package/ai/v/4.3.19) (from `^4.3.16`, in `dependencies`)
234
+ - Updated dependency [`ai-v5@npm:ai@5.0.15` ↗︎](https://www.npmjs.com/package/ai-v5/v/5.0.15) (from `npm:ai@5.0.0`, in `dependencies`)
235
+
236
+ - [#6864](https://github.com/mastra-ai/mastra/pull/6864) [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Added a convertMessages(from).to("Mastra.V2" | "AIV\*") util for operating on DB messages directly
237
+
238
+ - [#6927](https://github.com/mastra-ai/mastra/pull/6927) [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix output processors to match new stream types.
239
+
240
+ - [#6700](https://github.com/mastra-ai/mastra/pull/6700) [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02) Thanks [@gpanakkal](https://github.com/gpanakkal)! - Add `getMessagesById` method to `MastraStorage` adapters
241
+
242
+ ## 0.14.1-alpha.1
243
+
244
+ ### Patch Changes
245
+
246
+ - [#6864](https://github.com/mastra-ai/mastra/pull/6864) [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869) Thanks [@TylerBarnes](https://github.com/TylerBarnes)! - Added a convertMessages(from).to("Mastra.V2" | "AIV\*") util for operating on DB messages directly
247
+
248
+ - [#6927](https://github.com/mastra-ai/mastra/pull/6927) [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236) Thanks [@DanielSLew](https://github.com/DanielSLew)! - Fix output processors to match new stream types.
249
+
250
+ ## 0.14.1-alpha.0
251
+
252
+ ### Patch Changes
253
+
254
+ - [#6919](https://github.com/mastra-ai/mastra/pull/6919) [`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27) Thanks [@dane-ai-mastra](https://github.com/apps/dane-ai-mastra)! - dependencies updates:
255
+ - Updated dependency [`@ai-sdk/provider-utils-v5@npm:@ai-sdk/provider-utils@3.0.3` ↗︎](https://www.npmjs.com/package/@ai-sdk/provider-utils-v5/v/3.0.3) (from `npm:@ai-sdk/provider-utils@3.0.0`, in `dependencies`)
256
+ - Updated dependency [`ai@^4.3.19` ↗︎](https://www.npmjs.com/package/ai/v/4.3.19) (from `^4.3.16`, in `dependencies`)
257
+ - Updated dependency [`ai-v5@npm:ai@5.0.15` ↗︎](https://www.npmjs.com/package/ai-v5/v/5.0.15) (from `npm:ai@5.0.0`, in `dependencies`)
258
+
259
+ - [#6700](https://github.com/mastra-ai/mastra/pull/6700) [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02) Thanks [@gpanakkal](https://github.com/gpanakkal)! - Add `getMessagesById` method to `MastraStorage` adapters
260
+
261
+ ## 0.14.0
262
+
263
+ ### Minor Changes
264
+
265
+ - 3b5fec7: Added AIV5 support to internal MessageList, precursor to full AIV5 support in latest Mastra
266
+
267
+ ### Patch Changes
268
+
269
+ - 227c7e6: replace console.log with logger.debug in inmemory operations
270
+ - 12cae67: fix: add threadId and resourceId to scorers
271
+ - fd3a3eb: Add runExperments to run scorers in a test suite or in CI
272
+ - 6faaee5: Reworks agent Processor API to include output processors. Adds structuredOutput property in agent.streamVNext and agent.generate to replace experimental_output. Move imports for processors to @mastra/core/processors. Adds 6 new output processors, BatchParts, StructuredOutputProcessor, TokenLimiter, SystemPromptScrubber, ModerationProcessor, PiiDetectorProcessor.
273
+ - 4232b14: Fix provider metadata preservation during V5 message conversions
274
+
275
+ Provider metadata (providerMetadata and callProviderMetadata) is now properly preserved when converting messages between AI SDK V5 and internal V2 formats. This ensures provider-specific information isn't lost during message transformations.
276
+
277
+ - a89de7e: Adding a new agentic loop and streaming workflow system while working towards AI SDK v5 support.
278
+ - 5a37d0c: Fix dev server bug related to p-map imports
279
+ - 4bde0cb: Allow renaming .map functions in workflows
280
+ - cf4f357: When using the Cloudflare deployer you might see a `[duplicate-case]` warning. The internal cause for this was fixed.
281
+ - ad888a2: Stream vnext agent-network
282
+ - 481751d: Tests `mitt.off` event handler removal
283
+ - 2454423: Agentic loop and streaming workflow: generateVNext and streamVNext
284
+ - 194e395: exclude \_wrapToolsWithAITracing from agent trace
285
+ - a722c0b: Added a patch to filter out system messages that were stored in the db via an old memory bug that was patched long ago (see issue 6689). Users upgrading from the old version that still had the bug would see errors when the memory messages were retrieved from the db
286
+ - c30bca8: Fix do while resume-suspend in simple workflow losing data
287
+ - a8f129d: initial addition of experimental ai observability tracing features.
288
+
289
+ ## 0.14.0-alpha.7
290
+
291
+ ## 0.14.0-alpha.6
292
+
293
+ ### Patch Changes
294
+
295
+ - ad888a2: Stream vnext agent-network
296
+ - 481751d: Tests `mitt.off` event handler removal
297
+ - 194e395: exclude \_wrapToolsWithAITracing from agent trace
298
+
299
+ ## 0.14.0-alpha.5
300
+
301
+ ## 0.14.0-alpha.4
302
+
303
+ ### Patch Changes
304
+
305
+ - 0a7f675: Client JS vnext methods
306
+ - 12cae67: fix: add threadId and resourceId to scorers
307
+ - 5a37d0c: Fix dev server bug related to p-map imports
308
+ - 4bde0cb: Allow renaming .map functions in workflows
309
+ - 1a80071: loop code and tests
310
+ - 36a3be8: Agent processors tests
311
+ - 361757b: Execute method
312
+ - 2bb9955: Model loop changes
313
+ - 2454423: generateVNext and streamVNext
314
+ - a44d91e: Message list changes
315
+ - dfb91e9: Server handlers
316
+ - a741dde: generateVNext plumbing
317
+ - 7cb3fc0: Fix loop test
318
+ - 195eabb: Process Mastra Stream
319
+ - b78b95b: Support generateVNext in playground
320
+
321
+ ## 0.14.0-alpha.3
322
+
323
+ ### Patch Changes
324
+
325
+ - 227c7e6: replace console.log with logger.debug in inmemory operations
326
+ - fd3a3eb: Add runExperments to run scorers in a test suite or in CI
327
+ - a8f129d: "initial addition of experimental ai observability tracing features."
328
+
329
+ ## 0.14.0-alpha.2
330
+
331
+ ## 0.14.0-alpha.1
332
+
333
+ ### Minor Changes
334
+
335
+ - 3b5fec7: Added AIV5 support to internal MessageList, precursor to full AIV5 support in latest Mastra
336
+
337
+ ### Patch Changes
338
+
339
+ - 6faaee5: Reworks agent Processor API to include output processors. Adds structuredOutput property in agent.streamVNext and agent.generate to replace experimental_output. Move imports for processors to @mastra/core/processors. Adds 6 new output processors, BatchParts, StructuredOutputProcessor, TokenLimiter, SystemPromptScrubber, ModerationProcessor, PiiDetectorProcessor.
340
+ - 4232b14: Fix provider metadata preservation during V5 message conversions
341
+
342
+ Provider metadata (providerMetadata and callProviderMetadata) is now properly preserved when converting messages between AI SDK V5 and internal V2 formats. This ensures provider-specific information isn't lost during message transformations.
343
+
344
+ - a89de7e: Adding a new agentic loop and streaming workflow system while working towards AI SDK v5 support.
345
+ - cf4f357: When using the Cloudflare deployer you might see a `[duplicate-case]` warning. The internal cause for this was fixed.
346
+ - a722c0b: Added a patch to filter out system messages that were stored in the db via an old memory bug that was patched long ago (see issue 6689). Users upgrading from the old version that still had the bug would see errors when the memory messages were retrieved from the db
347
+
348
+ ## 0.13.3-alpha.0
349
+
350
+ ### Patch Changes
351
+
352
+ - c30bca8: Fix do while resume-suspend in simple workflow losing data
353
+
354
+ ## 0.13.2
355
+
356
+ ### Patch Changes
357
+
358
+ - d5330bf: Allow agent model to be updated after the agent is created
359
+ - 2e74797: Fix tool arguments being lost when tool-result messages arrive separately from tool-call messages or when messages are restored from database. Tool invocations now correctly preserve their arguments in all scenarios.
360
+ - 8388649: Allow array of messages in vnext agent network
361
+ - a239d41: Updated A2A syntax to v0.3.0
362
+ - dd94a26: Dont rely on the full language model for schema compat
363
+ - 3ba6772: MastraModelInput
364
+ - b5cf2a3: make system message always available during agent calls
365
+ - 2fff911: Fix vnext working memory tool schema when model is incompatible with schema
366
+ - b32c50d: Filter scores by source
367
+ - 63449d0: Change the function signatures of `bundle`, `lint`, and internally `getToolsInputOptions` to expand the `toolsPaths` TypeScript type from `string[]` to `(string | string[])[]`.
368
+ - 121a3f8: Fixed an issue where telemetry logs were displaying promise statuses when `agent.stream` is called
369
+ - ec510e7: Tool input validation now returns errors as tool results instead of throwing, allowing agents to understand validation failures and retry with corrected parameters.
370
+ - Updated dependencies [dd94a26]
371
+ - Updated dependencies [2fff911]
372
+ - Updated dependencies [ae2eb63]
373
+ - @mastra/schema-compat@0.10.7
374
+
375
+ ## 0.13.2-alpha.3
376
+
377
+ ### Patch Changes
378
+
379
+ - b5cf2a3: make system message always available during agent calls
380
+
381
+ ## 0.13.2-alpha.2
382
+
383
+ ### Patch Changes
384
+
385
+ - d5330bf: Allow agent model to be updated after the agent is created
386
+ - a239d41: Updated A2A syntax to v0.3.0
387
+ - b32c50d: Filter scores by source
388
+ - 121a3f8: Fixed an issue where telemetry logs were displaying promise statuses when `agent.stream` is called
389
+ - ec510e7: Tool input validation now returns errors as tool results instead of throwing, allowing agents to understand validation failures and retry with corrected parameters.
390
+ - Updated dependencies [ae2eb63]
391
+ - @mastra/schema-compat@0.10.7-alpha.1
392
+
393
+ ## 0.13.2-alpha.1
394
+
395
+ ### Patch Changes
396
+
397
+ - 2e74797: Fix tool arguments being lost when tool-result messages arrive separately from tool-call messages or when messages are restored from database. Tool invocations now correctly preserve their arguments in all scenarios.
398
+ - 63449d0: Change the function signatures of `bundle`, `lint`, and internally `getToolsInputOptions` to expand the `toolsPaths` TypeScript type from `string[]` to `(string | string[])[]`.
399
+
400
+ ## 0.13.2-alpha.0
401
+
402
+ ### Patch Changes
403
+
404
+ - 8388649: Allow array of messages in vnext agent network
405
+ - dd94a26: Dont rely on the full language model for schema compat
406
+ - 3ba6772: MastraModelInput
407
+ - 2fff911: Fix vnext working memory tool schema when model is incompatible with schema
408
+ - Updated dependencies [dd94a26]
409
+ - Updated dependencies [2fff911]
410
+ - @mastra/schema-compat@0.10.7-alpha.0
411
+
412
+ ## 0.13.1
413
+
414
+ ### Patch Changes
415
+
416
+ - cd0042e: Fix tool call history not being accessible in agent conversations
417
+
418
+ When converting v2 messages (with combined tool calls and text) to v1 format for memory storage, split messages were all keeping the same ID. This caused later messages to replace earlier ones when added back to MessageList, losing tool history.
419
+
420
+ The fix adds ID deduplication by appending `__split-N` suffixes to split messages and prevents double-suffixing when messages are re-converted between formats.
421
+
422
+ ## 0.13.1-alpha.0
423
+
424
+ ### Patch Changes
425
+
426
+ - cd0042e: Fix tool call history not being accessible in agent conversations
427
+
428
+ When converting v2 messages (with combined tool calls and text) to v1 format for memory storage, split messages were all keeping the same ID. This caused later messages to replace earlier ones when added back to MessageList, losing tool history.
429
+
430
+ The fix adds ID deduplication by appending `__split-N` suffixes to split messages and prevents double-suffixing when messages are re-converted between formats.
431
+
432
+ ## 0.13.0
433
+
434
+ ### Minor Changes
435
+
436
+ - ea0c5f2: Update scorer api
437
+
438
+ ### Patch Changes
439
+
440
+ - cb36de0: dependencies updates:
441
+ - Updated dependency [`hono@^4.8.11` ↗︎](https://www.npmjs.com/package/hono/v/4.8.11) (from `^4.8.9`, in `dependencies`)
442
+ - d0496e6: dependencies updates:
443
+ - Updated dependency [`hono@^4.8.12` ↗︎](https://www.npmjs.com/package/hono/v/4.8.12) (from `^4.8.11`, in `dependencies`)
444
+ - a82b851: Exclude getVoice, getScorers from agent trace
445
+ - 41a0a0e: fixed a minor bug where ID generator wasn't being properly bound to instances of MessageList
446
+ - 2871020: update safelyParseJSON to check for value of param when handling parse
447
+ - 94f4812: lazy initialize Run's `AbortController`
448
+ - e202b82: Add getThreadsByResourceIdPaginated to the Memory Class
449
+ - e00f6a0: Fixed an issue where converting from v2->v1 messages would not properly split text and tool call parts into multiple messages
450
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
451
+ - b0e43c1: Fixed an issue where branching workflow steps maintained "suspended" status even after they've been successfully resumed and executed.
452
+ - 5d377e5: Fix tracing of runtimeContext values"
453
+ - 1fb812e: Fixed a bug in parallel workflow execution where resuming only one of multiple suspended parallel steps incorrectly completed the entire parallel block. The fix ensures proper execution and state management when resuming from suspension in parallel workflows.
454
+ - 35c5798: Add support for transpilePackages option
455
+ - Updated dependencies [4a406ec]
456
+ - @mastra/schema-compat@0.10.6
457
+
458
+ ## 0.13.0-alpha.3
459
+
460
+ ### Patch Changes
461
+
462
+ - d0496e6: dependencies updates:
463
+ - Updated dependency [`hono@^4.8.12` ↗︎](https://www.npmjs.com/package/hono/v/4.8.12) (from `^4.8.11`, in `dependencies`)
464
+
465
+ ## 0.13.0-alpha.2
466
+
467
+ ### Patch Changes
468
+
469
+ - cb36de0: dependencies updates:
470
+ - Updated dependency [`hono@^4.8.11` ↗︎](https://www.npmjs.com/package/hono/v/4.8.11) (from `^4.8.9`, in `dependencies`)
471
+ - a82b851: Exclude getVoice, getScorers from agent trace
472
+ - 41a0a0e: fixed a minor bug where ID generator wasn't being properly bound to instances of MessageList
473
+ - 2871020: update safelyParseJSON to check for value of param when handling parse
474
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
475
+ - 5d377e5: Fix tracing of runtimeContext values"
476
+ - Updated dependencies [4a406ec]
477
+ - @mastra/schema-compat@0.10.6-alpha.0
478
+
479
+ ## 0.13.0-alpha.1
480
+
481
+ ### Minor Changes
482
+
483
+ - ea0c5f2: Update scorer api
484
+
485
+ ### Patch Changes
486
+
487
+ - b0e43c1: Fixed an issue where branching workflow steps maintained "suspended" status even after they've been successfully resumed and executed.
488
+ - 1fb812e: Fixed a bug in parallel workflow execution where resuming only one of multiple suspended parallel steps incorrectly completed the entire parallel block. The fix ensures proper execution and state management when resuming from suspension in parallel workflows.
489
+ - 35c5798: Add support for transpilePackages option
490
+
491
+ ## 0.12.2-alpha.0
492
+
493
+ ### Patch Changes
494
+
495
+ - 94f4812: lazy initialize Run's `AbortController`
496
+ - e202b82: Add getThreadsByResourceIdPaginated to the Memory Class
497
+ - e00f6a0: Fixed an issue where converting from v2->v1 messages would not properly split text and tool call parts into multiple messages
498
+
499
+ ## 0.12.1
500
+
501
+ ### Patch Changes
502
+
503
+ - 33dcb07: dependencies updates:
504
+ - Updated dependency [`@opentelemetry/auto-instrumentations-node@^0.62.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node/v/0.62.0) (from `^0.59.0`, in `dependencies`)
505
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-grpc@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-grpc/v/0.203.0) (from `^0.201.1`, in `dependencies`)
506
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-http@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http/v/0.203.0) (from `^0.201.1`, in `dependencies`)
507
+ - Updated dependency [`@opentelemetry/otlp-exporter-base@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.203.0) (from `^0.201.1`, in `dependencies`)
508
+ - Updated dependency [`@opentelemetry/otlp-transformer@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.203.0) (from `^0.201.1`, in `dependencies`)
509
+ - Updated dependency [`@opentelemetry/sdk-node@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-node/v/0.203.0) (from `^0.201.1`, in `dependencies`)
510
+ - Updated dependency [`@opentelemetry/semantic-conventions@^1.36.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/semantic-conventions/v/1.36.0) (from `^1.34.0`, in `dependencies`)
511
+ - d0d9500: Fixed an issue where AWS Bedrock is expecting a user message at the beginning of the message list
512
+ - d30b1a0: Remove js-tiktoken as it's unused
513
+ - bff87f7: fix issue where v1 messages from db wouldn't properly show tool calls in llm context window from historry
514
+ - b4a8df0: Fixed an issue where memory instances were not being registered with Mastra and custom ID generators weren't being used
515
+
516
+ ## 0.12.1-alpha.1
517
+
518
+ ### Patch Changes
519
+
520
+ - d0d9500: Fixed an issue where AWS Bedrock is expecting a user message at the beginning of the message list
521
+
522
+ ## 0.12.1-alpha.0
523
+
524
+ ### Patch Changes
525
+
526
+ - 33dcb07: dependencies updates:
527
+ - Updated dependency [`@opentelemetry/auto-instrumentations-node@^0.62.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node/v/0.62.0) (from `^0.59.0`, in `dependencies`)
528
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-grpc@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-grpc/v/0.203.0) (from `^0.201.1`, in `dependencies`)
529
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-http@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http/v/0.203.0) (from `^0.201.1`, in `dependencies`)
530
+ - Updated dependency [`@opentelemetry/otlp-exporter-base@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.203.0) (from `^0.201.1`, in `dependencies`)
531
+ - Updated dependency [`@opentelemetry/otlp-transformer@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.203.0) (from `^0.201.1`, in `dependencies`)
532
+ - Updated dependency [`@opentelemetry/sdk-node@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-node/v/0.203.0) (from `^0.201.1`, in `dependencies`)
533
+ - Updated dependency [`@opentelemetry/semantic-conventions@^1.36.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/semantic-conventions/v/1.36.0) (from `^1.34.0`, in `dependencies`)
534
+ - d30b1a0: Remove js-tiktoken as it's unused
535
+ - bff87f7: fix issue where v1 messages from db wouldn't properly show tool calls in llm context window from historry
536
+ - b4a8df0: Fixed an issue where memory instances were not being registered with Mastra and custom ID generators weren't being used
537
+
538
+ ## 0.12.0
539
+
540
+ ### Minor Changes
541
+
542
+ - 2ecf658: Added the option to provide a custom ID generator when creating an instance of Mastra. If the generator is not provided, a fallback of using UUID is used to generate IDs instead.
543
+
544
+ ### Patch Changes
545
+
546
+ - 510e2c8: dependencies updates:
547
+ - Updated dependency [`radash@^12.1.1` ↗︎](https://www.npmjs.com/package/radash/v/12.1.1) (from `^12.1.0`, in `dependencies`)
548
+ - 2f72fb2: dependencies updates:
549
+ - Updated dependency [`xstate@^5.20.1` ↗︎](https://www.npmjs.com/package/xstate/v/5.20.1) (from `^5.19.4`, in `dependencies`)
550
+ - 27cc97a: dependencies updates:
551
+ - Updated dependency [`hono@^4.8.9` ↗︎](https://www.npmjs.com/package/hono/v/4.8.9) (from `^4.8.4`, in `dependencies`)
552
+ - 3f89307: improve registerApiRoute validation
553
+ - 9eda7d4: Move createMockModel to test scope. This prevents test dependencies from leaking into production code.
554
+ - 9d49408: Fix conditional branch execution after nested workflow resume. Now conditional branches properly re-evaluate their conditions during resume, ensuring only the correct branches execute.
555
+ - 41daa63: Threads are no longer created until message generation is complete to avoid leaving orphaned empty threads in storage on failure
556
+ - ad0a58b: Enhancements for premade input processors
557
+ - 254a36b: Expose mastra instance on dynamic agent arguments
558
+ - 7a7754f: Fast follow scorers fixing input types, improve llm scorer reliability, fix ui to display scores that are 0
559
+ - fc92d80: fix: GenerateReturn type
560
+ - e0f73c6: Make input optional for scorer run
561
+ - 0b89602: Fix workflow feedback loop crashes by preventing resume data reuse
562
+
563
+ Fixes an issue where workflows with loops (dountil/dowhile) containing suspended steps would incorrectly reuse resume data across iterations. This caused human-in-the-loop workflows to crash or skip suspend points after resuming.
564
+
565
+ The fix ensures resume data is cleared after a step completes (non-suspended status), allowing subsequent loop iterations to properly suspend for new input.
566
+
567
+ Fixes #6014
568
+
569
+ - 4d37822: Fix workflow input property preservation after resume from snapshot
570
+
571
+ Ensure that when resuming a workflow from a snapshot, the input property is correctly set from the snapshot's context input rather than from resume data. This prevents the loss of original workflow input data during suspend/resume cycles.
572
+
573
+ - 23a6a7c: improve error message for missing memory ids
574
+ - cda801d: Added the ability to pass in metadata for UIMessage and MastraMessageV2 in client-js and agent.stream/generate
575
+ - a77c823: include PATCH method in default CORS configuration
576
+ - ff9c125: enhance thread retrieval with sorting options in libsql and pg
577
+ - 09bca64: Log warning when telemetry is enabled but not loaded
578
+ - b8efbb9: feat: add flexible deleteMessages method to memory API
579
+ - Added `memory.deleteMessages(input)` method that accepts multiple input types:
580
+ - Single message ID as string: `deleteMessages('msg-123')`
581
+ - Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
582
+ - Message object with id property: `deleteMessages({ id: 'msg-123' })`
583
+ - Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
584
+ - Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
585
+ - Added REST API endpoint: `POST /api/memory/messages/delete`
586
+ - Updated client SDK: `thread.deleteMessages()` accepts all input types
587
+ - Updates thread timestamps when messages are deleted
588
+ - Added comprehensive test coverage and documentation
589
+
590
+ - 71466e7: Adds traceId and resourceId to telemetry spans for agent invocations
591
+ - 0c99fbe: [Feature] Add ability to include input processors to Agent primitive in order to add guardrails to incoming messages.
592
+
593
+ ## 0.12.0-alpha.5
594
+
595
+ ## 0.12.0-alpha.4
596
+
597
+ ### Patch Changes
598
+
599
+ - ad0a58b: Enhancements for premade input processors
600
+
601
+ ## 0.12.0-alpha.3
602
+
603
+ ## 0.12.0-alpha.2
604
+
605
+ ### Patch Changes
606
+
607
+ - 27cc97a: dependencies updates:
608
+ - Updated dependency [`hono@^4.8.9` ↗︎](https://www.npmjs.com/package/hono/v/4.8.9) (from `^4.8.4`, in `dependencies`)
609
+ - 41daa63: Threads are no longer created until message generation is complete to avoid leaving orphaned empty threads in storage on failure
610
+ - 254a36b: Expose mastra instance on dynamic agent arguments
611
+ - 0b89602: Fix workflow feedback loop crashes by preventing resume data reuse
612
+
613
+ Fixes an issue where workflows with loops (dountil/dowhile) containing suspended steps would incorrectly reuse resume data across iterations. This caused human-in-the-loop workflows to crash or skip suspend points after resuming.
614
+
615
+ The fix ensures resume data is cleared after a step completes (non-suspended status), allowing subsequent loop iterations to properly suspend for new input.
616
+
617
+ Fixes #6014
618
+
619
+ - 4d37822: Fix workflow input property preservation after resume from snapshot
620
+
621
+ Ensure that when resuming a workflow from a snapshot, the input property is correctly set from the snapshot's context input rather than from resume data. This prevents the loss of original workflow input data during suspend/resume cycles.
622
+
623
+ - ff9c125: enhance thread retrieval with sorting options in libsql and pg
624
+ - b8efbb9: feat: add flexible deleteMessages method to memory API
625
+ - Added `memory.deleteMessages(input)` method that accepts multiple input types:
626
+ - Single message ID as string: `deleteMessages('msg-123')`
627
+ - Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
628
+ - Message object with id property: `deleteMessages({ id: 'msg-123' })`
629
+ - Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
630
+ - Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
631
+ - Added REST API endpoint: `POST /api/memory/messages/delete`
632
+ - Updated client SDK: `thread.deleteMessages()` accepts all input types
633
+ - Updates thread timestamps when messages are deleted
634
+ - Added comprehensive test coverage and documentation
635
+
636
+ - 71466e7: Adds traceId and resourceId to telemetry spans for agent invocations
637
+ - 0c99fbe: [Feature] Add ability to include input processors to Agent primitive in order to add guardrails to incoming messages.
638
+
639
+ ## 0.12.0-alpha.1
640
+
641
+ ### Patch Changes
642
+
643
+ - e0f73c6: Make input optional for scorer run
644
+ - cda801d: Added the ability to pass in metadata for UIMessage and MastraMessageV2 in client-js and agent.stream/generate
645
+ - a77c823: include PATCH method in default CORS configuration
646
+
647
+ ## 0.12.0-alpha.0
648
+
649
+ ### Minor Changes
650
+
651
+ - 2ecf658: Added the option to provide a custom ID generator when creating an instance of Mastra. If the generator is not provided, a fallback of using UUID is used to generate IDs instead.
652
+
653
+ ### Patch Changes
654
+
655
+ - 510e2c8: dependencies updates:
656
+ - Updated dependency [`radash@^12.1.1` ↗︎](https://www.npmjs.com/package/radash/v/12.1.1) (from `^12.1.0`, in `dependencies`)
657
+ - 2f72fb2: dependencies updates:
658
+ - Updated dependency [`xstate@^5.20.1` ↗︎](https://www.npmjs.com/package/xstate/v/5.20.1) (from `^5.19.4`, in `dependencies`)
659
+ - 3f89307: improve registerApiRoute validation
660
+ - 9eda7d4: Move createMockModel to test scope. This prevents test dependencies from leaking into production code.
661
+ - 9d49408: Fix conditional branch execution after nested workflow resume. Now conditional branches properly re-evaluate their conditions during resume, ensuring only the correct branches execute.
662
+ - 7a7754f: Fast follow scorers fixing input types, improve llm scorer reliability, fix ui to display scores that are 0
663
+ - fc92d80: fix: GenerateReturn type
664
+ - 23a6a7c: improve error message for missing memory ids
665
+ - 09bca64: Log warning when telemetry is enabled but not loaded
666
+
667
+ ## 0.11.1
668
+
669
+ ### Patch Changes
670
+
671
+ - f248d53: Adding `getMessagesPaginated` to the serve, deployer, and client-js
672
+ - 2affc57: Fix output type of network loop
673
+ - 66e13e3: Add methods to fetch workflow/agent by its true id
674
+ - edd9482: Fix "workflow run was not suspended" error when attempting to resume a workflow with consecutive nested workflows.
675
+ - 18344d7: Code and llm scorers
676
+ - 9d372c2: Fix streamVNext error handling
677
+ - 40c2525: Fix agent.generate error with experimental_output and clientTool
678
+ - e473f27: Implement off the shelf Scorers
679
+ - 032cb66: ClientJS
680
+ - 703ac71: scores schema
681
+ - a723d69: Pass workflowId through
682
+ - 7827943: Handle streaming large data
683
+ - 5889a31: Export storage domain types
684
+ - bf1e7e7: Configure agent memory using runtimeContext
685
+ - 65e3395: Add Scores playground-ui and add scorer hooks
686
+ - 4933192: Update Message List to ensure correct order of message parts
687
+ - d1c77a4: Scorer interface
688
+ - bea9dd1: Refactor Agent class to consolidate LLM generate and stream methods and improve type safety. This includes
689
+ extracting common logic into prepareLLMOptions(), enhancing type definitions, and fixing test annotations.
690
+
691
+ This changeset entry follows the established format in your project:
692
+ - Targets the @mastra/core package with a patch version bump
693
+ - Provides a concise description of the refactoring and type safety improvements
694
+ - Mentions the key changes without being too verbose
695
+
696
+ - dcd4802: scores mastra server
697
+ - cbddd18: Remove erroneous reassignment of `Mastra.prototype.#vectors`
698
+ - 7ba91fa: Add scorer abstract methods for base storage
699
+
700
+ ## 0.11.0-alpha.2
701
+
702
+ ### Patch Changes
703
+
704
+ - f248d53: Adding `getMessagesPaginated` to the serve, deployer, and client-js
705
+ - 2affc57: Fix output type of network loop
706
+ - 66e13e3: Add methods to fetch workflow/agent by its true id
707
+ - edd9482: Fix "workflow run was not suspended" error when attempting to resume a workflow with consecutive nested workflows.
708
+ - 18344d7: Code and llm scorers
709
+ - 9d372c2: Fix streamVNext error handling
710
+ - 40c2525: Fix agent.generate error with experimental_output and clientTool
711
+ - e473f27: Implement off the shelf Scorers
712
+ - 032cb66: ClientJS
713
+ - 703ac71: scores schema
714
+ - a723d69: Pass workflowId through
715
+ - 5889a31: Export storage domain types
716
+ - 65e3395: Add Scores playground-ui and add scorer hooks
717
+ - 4933192: Update Message List to ensure correct order of message parts
718
+ - d1c77a4: Scorer interface
719
+ - bea9dd1: Refactor Agent class to consolidate LLM generate and stream methods and improve type safety. This includes
720
+ extracting common logic into prepareLLMOptions(), enhancing type definitions, and fixing test annotations.
721
+
722
+ This changeset entry follows the established format in your project:
723
+ - Targets the @mastra/core package with a patch version bump
724
+ - Provides a concise description of the refactoring and type safety improvements
725
+ - Mentions the key changes without being too verbose
726
+
727
+ - dcd4802: scores mastra server
728
+ - 7ba91fa: Add scorer abstract methods for base storage
729
+
730
+ ## 0.11.0-alpha.1
731
+
732
+ ## 0.11.0-alpha.0
733
+
734
+ ### Patch Changes
735
+
736
+ - 7827943: Handle streaming large data
737
+ - bf1e7e7: Configure agent memory using runtimeContext
738
+ - cbddd18: Remove erroneous reassignment of `Mastra.prototype.#vectors`
739
+
740
+ ## 0.10.15
741
+
742
+ ### Patch Changes
743
+
744
+ - 0b56518: Ensure removed runtimeContext values are not saved in snapshot
745
+ - db5cc15: Create thread if it does not exist yet in agent network stream, generate and loopStream
746
+ - 2ba5b76: Allow passing jsonSchema into workingMemory schema
747
+ - 5237998: Fix foreach output
748
+ - c3a30de: added new experimental vnext working memory
749
+ - 37c1acd: Format semantic recall messages grouped by dates and labeled by if they're from a different thread or not, to improve longmemeval scores
750
+ - 1aa60b1: Pipe runtimeContext to vNext network agent stream and generate steps, wire up runtimeContext for vNext Networks in cliet SDK & playground
751
+ - 89ec9d4: remove cohere-ai client dependency and just make a fetch call
752
+ - cf3a184: Add warning log when memory is not configured but threadId/resourceId are passed to agent
753
+ - d6bfd60: Simplify Message-List Merge Logic and Updates
754
+ - 626b0f4: [Cloud-126] Working Memory Playground - Added working memory to playground to allow users to view/edit working memory
755
+ - c22a91f: Fix nested workflow resume in loop workflow breaking
756
+ - f7403ab: Only change workflow status to success after all steps are successful
757
+ - 6c89d7f: Save runtimeContext in snapshot
758
+ - Updated dependencies [4da943f]
759
+ - @mastra/schema-compat@0.10.5
760
+
761
+ ## 0.10.15-alpha.1
762
+
763
+ ### Patch Changes
764
+
765
+ - 0b56518: Ensure removed runtimeContext values are not saved in snapshot
766
+ - 2ba5b76: Allow passing jsonSchema into workingMemory schema
767
+ - c3a30de: added new experimental vnext working memory
768
+ - cf3a184: Add warning log when memory is not configured but threadId/resourceId are passed to agent
769
+ - d6bfd60: Simplify Message-List Merge Logic and Updates
770
+ - Updated dependencies [4da943f]
771
+ - @mastra/schema-compat@0.10.5-alpha.0
772
+
773
+ ## 0.10.15-alpha.0
774
+
775
+ ### Patch Changes
776
+
777
+ - db5cc15: Create thread if it does not exist yet in agent network stream, generate and loopStream
778
+ - 5237998: Fix foreach output
779
+ - 37c1acd: Format semantic recall messages grouped by dates and labeled by if they're from a different thread or not, to improve longmemeval scores
780
+ - 1aa60b1: Pipe runtimeContext to vNext network agent stream and generate steps, wire up runtimeContext for vNext Networks in cliet SDK & playground
781
+ - 89ec9d4: remove cohere-ai client dependency and just make a fetch call
782
+ - 626b0f4: [Cloud-126] Working Memory Playground - Added working memory to playground to allow users to view/edit working memory
783
+ - c22a91f: Fix nested workflow resume in loop workflow breaking
784
+ - f7403ab: Only change workflow status to success after all steps are successful
785
+ - 6c89d7f: Save runtimeContext in snapshot
786
+
787
+ ## 0.10.14
788
+
789
+ ### Patch Changes
790
+
791
+ - Update @mastra/deployer
792
+
793
+ ## 0.10.12
794
+
795
+ ### Patch Changes
796
+
797
+ - b4a9811: Remove async-await of stream inside llm base class
798
+ - 4d5583d: [Cloud-195] added retrieved memory messages to agent traces
799
+
800
+ ## 0.10.12-alpha.1
801
+
802
+ ### Patch Changes
803
+
804
+ - 4d5583d: [Cloud-195] added retrieved memory messages to agent traces
805
+
806
+ ## 0.10.12-alpha.0
807
+
808
+ ### Patch Changes
809
+
810
+ - b4a9811: Remove async-await of stream inside llm base class
811
+
812
+ ## 0.10.11
813
+
814
+ ### Patch Changes
815
+
816
+ - 2873c7f: dependencies updates:
817
+ - Updated dependency [`dotenv@^16.6.1` ↗︎](https://www.npmjs.com/package/dotenv/v/16.6.1) (from `^16.5.0`, in `dependencies`)
818
+ - 1c1c6a1: dependencies updates:
819
+ - Updated dependency [`hono@^4.8.4` ↗︎](https://www.npmjs.com/package/hono/v/4.8.4) (from `^4.8.3`, in `dependencies`)
820
+ - f8ce2cc: Add stepId to workflow executeStep error log
821
+ - 8c846b6: Fixed a problem where per-resource working memory wasn't being queried properly
822
+ - c7bbf1e: Implement workflow retry delay
823
+ - 8722d53: Fix multi modal remaining steps
824
+ - 565cc0c: fix redirection when clicking on the playground breadcrumbs
825
+ - b790fd1: Ability to pass a function to .sleep()/.sleepUntil()
826
+ - 132027f: Check if workflow and step is suspended before resuming
827
+ - 0c85311: Fix Google models ZodNull tool schema handling
828
+ - d7ed04d: make workflow execute use createRunAsync
829
+ - cb16baf: Fix MCP tool output schema type and return value
830
+ - f36e4f1: Allow passing custom instructions to generateTitle to override default instructions.
831
+ - 7f6e403: [MASTRA-3765] Save Message parts - Add ability for user to save messages on step finish for stream and agent
832
+ - Updated dependencies [0c85311]
833
+ - @mastra/schema-compat@0.10.4
834
+
835
+ ## 0.10.11-alpha.4
836
+
837
+ ## 0.10.11-alpha.3
838
+
839
+ ### Patch Changes
840
+
841
+ - c7bbf1e: Implement workflow retry delay
842
+ - 8722d53: Fix multi modal remaining steps
843
+ - 132027f: Check if workflow and step is suspended before resuming
844
+ - 0c85311: Fix Google models ZodNull tool schema handling
845
+ - cb16baf: Fix MCP tool output schema type and return value
846
+ - Updated dependencies [0c85311]
847
+ - @mastra/schema-compat@0.10.4-alpha.0
848
+
849
+ ## 0.10.11-alpha.2
850
+
851
+ ### Patch Changes
852
+
853
+ - 2873c7f: dependencies updates:
854
+ - Updated dependency [`dotenv@^16.6.1` ↗︎](https://www.npmjs.com/package/dotenv/v/16.6.1) (from `^16.5.0`, in `dependencies`)
855
+ - 1c1c6a1: dependencies updates:
856
+ - Updated dependency [`hono@^4.8.4` ↗︎](https://www.npmjs.com/package/hono/v/4.8.4) (from `^4.8.3`, in `dependencies`)
857
+ - 565cc0c: fix redirection when clicking on the playground breadcrumbs
858
+
859
+ ## 0.10.11-alpha.1
860
+
861
+ ### Patch Changes
862
+
863
+ - 7f6e403: [MASTRA-3765] Save Message parts - Add ability for user to save messages on step finish for stream and agent
864
+
865
+ ## 0.10.11-alpha.0
866
+
867
+ ### Patch Changes
868
+
869
+ - f8ce2cc: Add stepId to workflow executeStep error log
870
+ - 8c846b6: Fixed a problem where per-resource working memory wasn't being queried properly
871
+ - b790fd1: Ability to pass a function to .sleep()/.sleepUntil()
872
+ - d7ed04d: make workflow execute use createRunAsync
873
+ - f36e4f1: Allow passing custom instructions to generateTitle to override default instructions.
874
+
875
+ ## 0.10.10
876
+
877
+ ### Patch Changes
878
+
879
+ - 4d3fbdf: Return tool error message rather than throw when a tool error happens for agent and tool playground page.
880
+
881
+ ## 0.10.10-alpha.1
882
+
883
+ ## 0.10.10-alpha.0
884
+
885
+ ### Patch Changes
886
+
887
+ - 4d3fbdf: Return tool error message rather than throw when a tool error happens for agent and tool playground page.
888
+
889
+ ## 0.10.9
890
+
891
+ ### Patch Changes
892
+
893
+ - 9dda1ac: dependencies updates:
894
+ - Updated dependency [`hono@^4.8.3` ↗︎](https://www.npmjs.com/package/hono/v/4.8.3) (from `^4.7.11`, in `dependencies`)
895
+ - c984582: Improve error messages for invalid message content in MessageList
896
+ - 7e801dd: [MASTRA-4118] fixes issue with agent network loopStream where subsequent messages aren't present in playground on refresh
897
+ - a606c75: show right suspend schema for nested workflow on playground
898
+ - 7aa70a4: Use the right step id for nested workflow steps in watch-v2
899
+ - 764f86a: Introduces the runCount property in the execution parameters for the steps execute function
900
+ - 1760a1c: Use workflow stream in playground instead of watch
901
+ - 038e5ae: Add cancel workflow run
902
+ - 7dda16a: Agent Network: Prompting improvements for better decisions
903
+ - 5ebfcdd: Fix MessageList toUIMessage to filter out tool invocations with state="call" or "partial-call"
904
+ - b2d0c91: Made title generation a blocking operation to prevent issues where the process might close before the title is generated
905
+ - 4e809ad: Visualizations for .sleep()/.sleepUntil()/.waitForEvent()
906
+ - 57929df: [MASTRA-4143[ change message-list and agent network display
907
+ - b7852ed: [MASTRA-4139] make private functions protected in memory
908
+ - 6320a61: Allow passing model to generateTitle to override default model selection.
909
+
910
+ ## 0.10.9-alpha.0
911
+
912
+ ### Patch Changes
913
+
914
+ - 9dda1ac: dependencies updates:
915
+ - Updated dependency [`hono@^4.8.3` ↗︎](https://www.npmjs.com/package/hono/v/4.8.3) (from `^4.7.11`, in `dependencies`)
916
+ - c984582: Improve error messages for invalid message content in MessageList
917
+ - 7e801dd: [MASTRA-4118] fixes issue with agent network loopStream where subsequent messages aren't present in playground on refresh
918
+ - a606c75: show right suspend schema for nested workflow on playground
919
+ - 7aa70a4: Use the right step id for nested workflow steps in watch-v2
920
+ - 764f86a: Introduces the runCount property in the execution parameters for the steps execute function
921
+ - 1760a1c: Use workflow stream in playground instead of watch
922
+ - 038e5ae: Add cancel workflow run
923
+ - 7dda16a: Agent Network: Prompting improvements for better decisions
924
+ - 5ebfcdd: Fix MessageList toUIMessage to filter out tool invocations with state="call" or "partial-call"
925
+ - b2d0c91: Made title generation a blocking operation to prevent issues where the process might close before the title is generated
926
+ - 4e809ad: Visualizations for .sleep()/.sleepUntil()/.waitForEvent()
927
+ - 57929df: [MASTRA-4143[ change message-list and agent network display
928
+ - b7852ed: [MASTRA-4139] make private functions protected in memory
929
+ - 6320a61: Allow passing model to generateTitle to override default model selection.
930
+
931
+ ## 0.10.8
932
+
933
+ ### Patch Changes
934
+
935
+ - b8f16b2: Fixes generateTitle overwriting working memory when both get used in the same LLM response cycle.
936
+ - 3e04487: Fix provider tools to check for output schema before attaching to tool
937
+ - a344ac7: Fix tool streaming in agent network
938
+ - dc4ca0a: Fixed a regression where intentionally serialized JSON message content was being parsed back into an object by MessageList
939
+
940
+ ## 0.10.8-alpha.1
941
+
942
+ ### Patch Changes
943
+
944
+ - b8f16b2: Fixes generateTitle overwriting working memory when both get used in the same LLM response cycle.
945
+ - 3e04487: Fix provider tools to check for output schema before attaching to tool
946
+ - dc4ca0a: Fixed a regression where intentionally serialized JSON message content was being parsed back into an object by MessageList
947
+
948
+ ## 0.10.8-alpha.0
949
+
950
+ ### Patch Changes
951
+
952
+ - a344ac7: Fix tool streaming in agent network
953
+
954
+ ## 0.10.7
955
+
956
+ ### Patch Changes
957
+
958
+ - 15e9d26: Added per-resource working memory for LibSQL, Upstash, and PG
959
+ - d1baedb: fix bad merge with mastra error
960
+ - d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
961
+ - 4d21bf2: throw mastra errors for MCP
962
+ - 07d6d88: Bump MCP SDK version and add tool output schema support to MCPServer and MCPClient
963
+ - 9d52b17: Fix inngest workflows streaming and add step metadata
964
+ - 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
965
+ - 792c4c0: feat: pass runId to onFinish
966
+ - 5d74aab: Return isComplete of true in routing step when no resource is selected
967
+ - a8b194f: Fix double tool call for working memory
968
+ - 4fb0cc2: Type safe variable mapping
969
+ - d2a7a31: Fix memory message context for when LLM providers throw an error if the first message is a tool call.
970
+ - 502fe05: createRun() -> createRunAsync()
971
+ - 144eb0b: [MASTRA-3669] Metadata Filter Types
972
+ - 8ba1b51: Add custom routes by default to jsonapi
973
+ - 4efcfa0: Added bail() method and more ergonomic suspend function return value
974
+ - 0e17048: Throw mastra errors in storage packages
975
+ - Updated dependencies [98bbe5a]
976
+ - Updated dependencies [a853c43]
977
+ - @mastra/schema-compat@0.10.3
978
+
979
+ ## 0.10.7-alpha.5
980
+
981
+ ### Patch Changes
982
+
983
+ - Updated dependencies [a853c43]
984
+ - @mastra/schema-compat@0.10.3-alpha.1
985
+
986
+ ## 0.10.7-alpha.4
987
+
988
+ ### Patch Changes
989
+
990
+ - a8b194f: Fix double tool call for working memory
991
+
992
+ ## 0.10.7-alpha.3
993
+
994
+ ### Patch Changes
995
+
996
+ - 792c4c0: feat: pass runId to onFinish
997
+ - 502fe05: createRun() -> createRunAsync()
998
+ - 4efcfa0: Added bail() method and more ergonomic suspend function return value
999
+
1000
+ ## 0.10.7-alpha.2
1001
+
1002
+ ### Patch Changes
1003
+
1004
+ - 15e9d26: Added per-resource working memory for LibSQL, Upstash, and PG
1005
+ - 07d6d88: Bump MCP SDK version and add tool output schema support to MCPServer and MCPClient
1006
+ - 5d74aab: Return isComplete of true in routing step when no resource is selected
1007
+ - 144eb0b: [MASTRA-3669] Metadata Filter Types
1008
+ - Updated dependencies [98bbe5a]
1009
+ - @mastra/schema-compat@0.10.3-alpha.0
1010
+
1011
+ ## 0.10.7-alpha.1
1012
+
1013
+ ### Patch Changes
1014
+
1015
+ - d1baedb: fix bad merge with mastra error
1016
+ - 4d21bf2: throw mastra errors for MCP
1017
+ - 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
1018
+ - 4fb0cc2: Type safe variable mapping
1019
+ - d2a7a31: Fix memory message context for when LLM providers throw an error if the first message is a tool call.
1020
+ - 0e17048: Throw mastra errors in storage packages
1021
+
1022
+ ## 0.10.7-alpha.0
1023
+
1024
+ ### Patch Changes
1025
+
1026
+ - d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
1027
+ - 9d52b17: Fix inngest workflows streaming and add step metadata
1028
+ - 8ba1b51: Add custom routes by default to jsonapi
1029
+
1030
+ ## 0.10.6
1031
+
1032
+ ### Patch Changes
1033
+
1034
+ - 63f6b7d: dependencies updates:
1035
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-grpc@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-grpc/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1036
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-http@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1037
+ - Updated dependency [`@opentelemetry/otlp-exporter-base@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1038
+ - Updated dependency [`@opentelemetry/otlp-transformer@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1039
+ - Updated dependency [`@opentelemetry/sdk-node@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-node/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1040
+ - Updated dependency [`@opentelemetry/semantic-conventions@^1.34.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/semantic-conventions/v/1.34.0) (from `^1.33.0`, in `dependencies`)
1041
+ - Updated dependency [`ai@^4.3.16` ↗︎](https://www.npmjs.com/package/ai/v/4.3.16) (from `^4.2.2`, in `dependencies`)
1042
+ - Updated dependency [`cohere-ai@^7.17.1` ↗︎](https://www.npmjs.com/package/cohere-ai/v/7.17.1) (from `^7.16.0`, in `dependencies`)
1043
+ - Updated dependency [`hono@^4.7.11` ↗︎](https://www.npmjs.com/package/hono/v/4.7.11) (from `^4.5.1`, in `dependencies`)
1044
+ - Updated dependency [`hono-openapi@^0.4.8` ↗︎](https://www.npmjs.com/package/hono-openapi/v/0.4.8) (from `^0.4.6`, in `dependencies`)
1045
+ - Updated dependency [`json-schema-to-zod@^2.6.1` ↗︎](https://www.npmjs.com/package/json-schema-to-zod/v/2.6.1) (from `^2.6.0`, in `dependencies`)
1046
+ - Updated dependency [`pino@^9.7.0` ↗︎](https://www.npmjs.com/package/pino/v/9.7.0) (from `^9.6.0`, in `dependencies`)
1047
+ - Updated dependency [`xstate@^5.19.4` ↗︎](https://www.npmjs.com/package/xstate/v/5.19.4) (from `^5.19.2`, in `dependencies`)
1048
+ - 12a95fc: Allow passing thread metadata to agent.generate and agent.stream. This will update or create the thread with the metadata passed in. Also simplifies the arguments for those two functions into a new memory property.
1049
+ - 4b0f8a6: Allow passing a string, ui message, core message, or mastra message to agent.genTitle and agent.generateTitleFromUserMessage to restore previously changed public behaviour
1050
+ - 51264a5: Fix fetchMemory return type and value
1051
+ - 8e6f677: Dynamic default llm options
1052
+ - d70c420: fix(core, memory): fix fetchMemory regression
1053
+ - ee9af57: Add api for polling run execution result and get run by id
1054
+ - 36f1c36: MCP Client and Server streamable http fixes
1055
+ - 2a16996: Working Memory Schema and Template
1056
+ - 10d352e: fix: bug in `workflow.parallel` return types causing type errors on c…
1057
+ - 9589624: Throw Mastra Errors when building and bundling mastra application
1058
+ - 53d3c37: Get workflows from an agent if not found from Mastra instance #5083
1059
+ - 751c894: pass resourceId
1060
+ - 577ce3a: deno support - use globalThis
1061
+ - 9260b3a: changeset
1062
+
1063
+ ## 0.10.6-alpha.5
1064
+
1065
+ ### Patch Changes
1066
+
1067
+ - 12a95fc: Allow passing thread metadata to agent.generate and agent.stream. This will update or create the thread with the metadata passed in. Also simplifies the arguments for those two functions into a new memory property.
1068
+ - 51264a5: Fix fetchMemory return type and value
1069
+ - 8e6f677: Dynamic default llm options
1070
+
1071
+ ## 0.10.6-alpha.4
1072
+
1073
+ ### Patch Changes
1074
+
1075
+ - 9589624: Throw Mastra Errors when building and bundling mastra application
1076
+
1077
+ ## 0.10.6-alpha.3
1078
+
1079
+ ### Patch Changes
1080
+
1081
+ - d70c420: fix(core, memory): fix fetchMemory regression
1082
+ - 2a16996: Working Memory Schema and Template
1083
+
1084
+ ## 0.10.6-alpha.2
1085
+
1086
+ ### Patch Changes
1087
+
1088
+ - 4b0f8a6: Allow passing a string, ui message, core message, or mastra message to agent.genTitle and agent.generateTitleFromUserMessage to restore previously changed public behaviour
1089
+
1090
+ ## 0.10.6-alpha.1
1091
+
1092
+ ### Patch Changes
1093
+
1094
+ - ee9af57: Add api for polling run execution result and get run by id
1095
+ - 751c894: pass resourceId
1096
+ - 577ce3a: deno support - use globalThis
1097
+ - 9260b3a: changeset
1098
+
1099
+ ## 0.10.6-alpha.0
1100
+
1101
+ ### Patch Changes
1102
+
1103
+ - 63f6b7d: dependencies updates:
1104
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-grpc@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-grpc/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1105
+ - Updated dependency [`@opentelemetry/exporter-trace-otlp-http@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1106
+ - Updated dependency [`@opentelemetry/otlp-exporter-base@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-exporter-base/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1107
+ - Updated dependency [`@opentelemetry/otlp-transformer@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/otlp-transformer/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1108
+ - Updated dependency [`@opentelemetry/sdk-node@^0.201.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-node/v/0.201.1) (from `^0.201.0`, in `dependencies`)
1109
+ - Updated dependency [`@opentelemetry/semantic-conventions@^1.34.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/semantic-conventions/v/1.34.0) (from `^1.33.0`, in `dependencies`)
1110
+ - Updated dependency [`ai@^4.3.16` ↗︎](https://www.npmjs.com/package/ai/v/4.3.16) (from `^4.2.2`, in `dependencies`)
1111
+ - Updated dependency [`cohere-ai@^7.17.1` ↗︎](https://www.npmjs.com/package/cohere-ai/v/7.17.1) (from `^7.16.0`, in `dependencies`)
1112
+ - Updated dependency [`hono@^4.7.11` ↗︎](https://www.npmjs.com/package/hono/v/4.7.11) (from `^4.5.1`, in `dependencies`)
1113
+ - Updated dependency [`hono-openapi@^0.4.8` ↗︎](https://www.npmjs.com/package/hono-openapi/v/0.4.8) (from `^0.4.6`, in `dependencies`)
1114
+ - Updated dependency [`json-schema-to-zod@^2.6.1` ↗︎](https://www.npmjs.com/package/json-schema-to-zod/v/2.6.1) (from `^2.6.0`, in `dependencies`)
1115
+ - Updated dependency [`pino@^9.7.0` ↗︎](https://www.npmjs.com/package/pino/v/9.7.0) (from `^9.6.0`, in `dependencies`)
1116
+ - Updated dependency [`xstate@^5.19.4` ↗︎](https://www.npmjs.com/package/xstate/v/5.19.4) (from `^5.19.2`, in `dependencies`)
1117
+ - 36f1c36: MCP Client and Server streamable http fixes
1118
+ - 10d352e: fix: bug in `workflow.parallel` return types causing type errors on c…
1119
+ - 53d3c37: Get workflows from an agent if not found from Mastra instance #5083
1120
+
1121
+ ## 0.10.5
1122
+
1123
+ ### Patch Changes
1124
+
1125
+ - 13c97f9: Save run status, result and error in storage snapshot
1126
+
1127
+ ## 0.10.4
1128
+
1129
+ ### Patch Changes
1130
+
1131
+ - d1ed912: dependencies updates:
1132
+ - Updated dependency [`dotenv@^16.5.0` ↗︎](https://www.npmjs.com/package/dotenv/v/16.5.0) (from `^16.4.7`, in `dependencies`)
1133
+ - f6fd25f: Updates @mastra/schema-compat to allow all zod schemas. Uses @mastra/schema-compat to apply schema transformations to agent output schema.
1134
+ - dffb67b: updated stores to add alter table and change tests
1135
+ - f1f1f1b: Add basic filtering capabilities to logs
1136
+ - 925ab94: added paginated functions to base class and added boilerplate and updated imports
1137
+ - f9816ae: Create @mastra/schema-compat package to extract the schema compatibility layer to be used outside of mastra
1138
+ - 82090c1: Add pagination to logs
1139
+ - 1b443fd: - add trackException to loggers to allow mastra cloud to track exceptions at runtime
1140
+ - Added generic MastraBaseError<D, C> in packages/core/src/error/index.ts to improve type safety and flexibility of error handling
1141
+ - ce97900: Add paginated APIs to cloudflare-d1 storage class
1142
+ - f1309d3: Now that UIMessages are stored, we added a check to make sure large text files or source urls are not sent to the LLM for thread title generation.
1143
+ - 14a2566: Add pagination to libsql storage APIs
1144
+ - f7f8293: Added LanceDB implementations for MastraVector and MastraStorage
1145
+ - 48eddb9: update filter logic in Memory class to support semantic recall search scope
1146
+ - Updated dependencies [f6fd25f]
1147
+ - Updated dependencies [f9816ae]
1148
+ - @mastra/schema-compat@0.10.2
1149
+
1150
+ ## 0.10.4-alpha.3
1151
+
1152
+ ### Patch Changes
1153
+
1154
+ - 925ab94: added paginated functions to base class and added boilerplate and updated imports
1155
+
1156
+ ## 0.10.4-alpha.2
1157
+
1158
+ ### Patch Changes
1159
+
1160
+ - 48eddb9: update filter logic in Memory class to support semantic recall search scope
1161
+
1162
+ ## 0.10.4-alpha.1
1163
+
1164
+ ### Patch Changes
1165
+
1166
+ - f6fd25f: Updates @mastra/schema-compat to allow all zod schemas. Uses @mastra/schema-compat to apply schema transformations to agent output schema.
1167
+ - dffb67b: updated stores to add alter table and change tests
1168
+ - f1309d3: Now that UIMessages are stored, we added a check to make sure large text files or source urls are not sent to the LLM for thread title generation.
1169
+ - f7f8293: Added LanceDB implementations for MastraVector and MastraStorage
1170
+ - Updated dependencies [f6fd25f]
1171
+ - @mastra/schema-compat@0.10.2-alpha.3
1172
+
1173
+ ## 0.10.4-alpha.0
1174
+
1175
+ ### Patch Changes
1176
+
1177
+ - d1ed912: dependencies updates:
1178
+ - Updated dependency [`dotenv@^16.5.0` ↗︎](https://www.npmjs.com/package/dotenv/v/16.5.0) (from `^16.4.7`, in `dependencies`)
1179
+ - f1f1f1b: Add basic filtering capabilities to logs
1180
+ - f9816ae: Create @mastra/schema-compat package to extract the schema compatibility layer to be used outside of mastra
1181
+ - 82090c1: Add pagination to logs
1182
+ - 1b443fd: - add trackException to loggers to allow mastra cloud to track exceptions at runtime
1183
+ - Added generic MastraBaseError<D, C> in packages/core/src/error/index.ts to improve type safety and flexibility of error handling
1184
+ - ce97900: Add paginated APIs to cloudflare-d1 storage class
1185
+ - 14a2566: Add pagination to libsql storage APIs
1186
+ - Updated dependencies [f9816ae]
1187
+ - @mastra/schema-compat@0.10.2-alpha.2
1188
+
1189
+ ## 0.10.3
1190
+
1191
+ ### Patch Changes
1192
+
1193
+ - 2b0fc7e: Ensure context messages aren't saved to the storage db
1194
+
1195
+ ## 0.10.3-alpha.0
1196
+
1197
+ ### Patch Changes
1198
+
1199
+ - 2b0fc7e: Ensure context messages aren't saved to the storage db
1200
+
1201
+ ## 0.10.2
1202
+
1203
+ ### Patch Changes
1204
+
1205
+ - ee77e78: Type fixes for dynamodb and MessageList
1206
+ - 592a2db: Added different icons for agents and workflows in mcp tools list
1207
+ - e5dc18d: Added a backwards compatible layer to begin storing/retrieving UIMessages in storage instead of CoreMessages
1208
+ - ab5adbe: Add support for runtimeContext to generateTitle
1209
+ - 1e8bb40: Add runtimeContext to tools and agents in a workflow step.
1210
+
1211
+ Also updated start/resume docs for runtime context.
1212
+
1213
+ - 1b5fc55: Fixed an issue where the playground wouldn't display images saved in memory. Fixed memory to always store images as strings. Removed duplicate storage of reasoning and file/image parts in storage dbs
1214
+ - 195c428: Add runId to step execute fn
1215
+ - f73e11b: fix telemetry disabled not working on playground
1216
+ - 37643b8: Fix tool access
1217
+ - 99fd6cf: Fix workflow stream chunk type
1218
+ - c5bf1ce: Add backwards compat code for new MessageList in storage
1219
+ - add596e: Mastra protected auth
1220
+ - 8dc94d8: Enhance workflow DI runtimeContext get method type safety
1221
+ - ecebbeb: Mastra core auth abstract definition
1222
+ - 79d5145: Fixes passing telemetry configuration when Agent.stream is used with experimental_output
1223
+ - 12b7002: Add serializedStepGraph to workflow run snapshot in storage
1224
+ - 2901125: feat: set mastra server middleware after Mastra has been initialized
1225
+
1226
+ ## 0.10.2-alpha.8
1227
+
1228
+ ### Patch Changes
1229
+
1230
+ - 37643b8: Fix tool access
1231
+ - 79d5145: Fixes passing telemetry configuration when Agent.stream is used with experimental_output
1232
+
1233
+ ## 0.10.2-alpha.7
1234
+
1235
+ ## 0.10.2-alpha.6
1236
+
1237
+ ### Patch Changes
1238
+
1239
+ - 99fd6cf: Fix workflow stream chunk type
1240
+ - 8dc94d8: Enhance workflow DI runtimeContext get method type safety
1241
+
1242
+ ## 0.10.2-alpha.5
1243
+
1244
+ ### Patch Changes
1245
+
1246
+ - 1b5fc55: Fixed an issue where the playground wouldn't display images saved in memory. Fixed memory to always store images as strings. Removed duplicate storage of reasoning and file/image parts in storage dbs
1247
+ - add596e: Mastra protected auth
1248
+ - ecebbeb: Mastra core auth abstract definition
1249
+
1250
+ ## 0.10.2-alpha.4
1251
+
1252
+ ### Patch Changes
1253
+
1254
+ - c5bf1ce: Add backwards compat code for new MessageList in storage
1255
+ - 12b7002: Add serializedStepGraph to workflow run snapshot in storage
1256
+
1257
+ ## 0.10.2-alpha.3
1258
+
1259
+ ### Patch Changes
1260
+
1261
+ - ab5adbe: Add support for runtimeContext to generateTitle
1262
+ - 195c428: Add runId to step execute fn
1263
+ - f73e11b: fix telemetry disabled not working on playground
1264
+
1265
+ ## 0.10.2-alpha.2
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - 1e8bb40: Add runtimeContext to tools and agents in a workflow step.
1270
+
1271
+ Also updated start/resume docs for runtime context.
1272
+
1273
+ ## 0.10.2-alpha.1
1274
+
1275
+ ### Patch Changes
1276
+
1277
+ - ee77e78: Type fixes for dynamodb and MessageList
1278
+ - 2901125: feat: set mastra server middleware after Mastra has been initialized
1279
+
1280
+ ## 0.10.2-alpha.0
1281
+
1282
+ ### Patch Changes
1283
+
1284
+ - 592a2db: Added different icons for agents and workflows in mcp tools list
1285
+ - e5dc18d: Added a backwards compatible layer to begin storing/retrieving UIMessages in storage instead of CoreMessages
1286
+
1287
+ ## 0.10.1
1288
+
1289
+ ### Patch Changes
1290
+
1291
+ - d70b807: Improve storage.init
1292
+ - 6d16390: Support custom bundle externals on mastra Instance
1293
+ - 1e4a421: Fix duplication of items in array results in workflow
1294
+ - 200d0da: Return payload data, start time, end time, resume time and suspend time for each step in workflow state
1295
+ Return error stack for failed workflow runs
1296
+ - bf5f17b: Adds ability to pass workflows into MCPServer to generate tools from the workflows. Each workflow will become a tool that can start the workflow run.
1297
+ - 5343f93: Move emitter to symbol to make private
1298
+ - 38aee50: Adds ability to pass an agents into an MCPServer instance to automatically generate tools from them.
1299
+ - 5c41100: Added binding support for cloudflare deployers, added cloudflare kv namespace changes, and removed randomUUID from buildExecutionGraph
1300
+ - d6a759b: Update workflows code in core readme'
1301
+ - 6015bdf: Leverage defaultAgentStreamOption, defaultAgentGenerateOption in playground
1302
+
1303
+ ## 0.10.1-alpha.3
1304
+
1305
+ ### Patch Changes
1306
+
1307
+ - d70b807: Improve storage.init
1308
+
1309
+ ## 0.10.1-alpha.2
1310
+
1311
+ ### Patch Changes
1312
+
1313
+ - 6015bdf: Leverage defaultAgentStreamOption, defaultAgentGenerateOption in playground
1314
+
1315
+ ## 0.10.1-alpha.1
1316
+
1317
+ ### Patch Changes
1318
+
1319
+ - 200d0da: Return payload data, start time, end time, resume time and suspend time for each step in workflow state
1320
+ Return error stack for failed workflow runs
1321
+ - bf5f17b: Adds ability to pass workflows into MCPServer to generate tools from the workflows. Each workflow will become a tool that can start the workflow run.
1322
+ - 5343f93: Move emitter to symbol to make private
1323
+ - 38aee50: Adds ability to pass an agents into an MCPServer instance to automatically generate tools from them.
1324
+ - 5c41100: Added binding support for cloudflare deployers, added cloudflare kv namespace changes, and removed randomUUID from buildExecutionGraph
1325
+ - d6a759b: Update workflows code in core readme'
1326
+
1327
+ ## 0.10.1-alpha.0
1328
+
1329
+ ### Patch Changes
1330
+
1331
+ - 6d16390: Support custom bundle externals on mastra Instance
1332
+ - 1e4a421: Fix duplication of items in array results in workflow
1333
+
1334
+ ## 0.10.0
1335
+
1336
+ ### Minor Changes
1337
+
1338
+ - 5eb5a99: Remove pino from @mastra/core into @mastra/loggers
1339
+ - 7e632c5: Removed default LibSQLStore and LibSQLVector from @mastra/core. These now live in a separate package @mastra/libsql
1340
+ - b2ae5aa: Added support for experimental authentication and authorization
1341
+ - 0dcb9f0: Memory breaking changes: storage, vector, and embedder are now required. Working memory text streaming has been removed, only tool calling is supported for working memory updates now. Default settings have changed (lastMessages: 40->10, semanticRecall: true->false, threads.generateTitle: true->false)
1342
+
1343
+ ### Patch Changes
1344
+
1345
+ - b3a3d63: BREAKING: Make vnext workflow the default worklow, and old workflow legacy_workflow
1346
+ - 344f453: Await onFinish & onStepFinish to ensure the stream doesn't close early
1347
+ - 0a3ae6d: Fixed a bug where tool input schema properties that were optional became required
1348
+ - 95911be: Fixed an issue where if @mastra/core was not released at the same time as create-mastra, create-mastra would match the alpha tag instead of latest tag when running npm create mastra@latest
1349
+ - f53a6ac: Add VNextWorkflowRuns type
1350
+ - 1e9fbfa: Upgrade to OpenTelemetry JS SDK 2.x
1351
+ - eabdcd9: [MASTRA-3451] SQL Injection Protection
1352
+ - 90be034: Pass zod schema directly to getInitData
1353
+ - 99f050a: Bumped a workspace package zod version to attempt to prevent duplicate dep installs of @mastra/core
1354
+ - d0ee3c6: Change all public functions and constructors in vector stores to use named args and prepare to phase out positional args
1355
+ - 23f258c: Add new list and get routes for mcp servers. Changed route make-up for more consistency with existing API routes. Lastly, added in a lot of extra detail that can be optionally passed to the mcp server per the mcp spec.
1356
+ - a7292b0: BREAKING(@mastra/core, all vector stores): Vector store breaking changes (remove deprecated functions and positional arguments)
1357
+ - 2672a05: Add MCP servers and tool call execution to playground
1358
+
1359
+ ## 0.10.0-alpha.1
1360
+
1361
+ ### Minor Changes
1362
+
1363
+ - 5eb5a99: Remove pino from @mastra/core into @mastra/loggers
1364
+ - 7e632c5: Removed default LibSQLStore and LibSQLVector from @mastra/core. These now live in a separate package @mastra/libsql
1365
+ - b2ae5aa: Added support for experimental authentication and authorization
1366
+ - 0dcb9f0: Memory breaking changes: storage, vector, and embedder are now required. Working memory text streaming has been removed, only tool calling is supported for working memory updates now. Default settings have changed (lastMessages: 40->10, semanticRecall: true->false, threads.generateTitle: true->false)
1367
+
1368
+ ### Patch Changes
1369
+
1370
+ - b3a3d63: BREAKING: Make vnext workflow the default worklow, and old workflow legacy_workflow
1371
+ - 344f453: Await onFinish & onStepFinish to ensure the stream doesn't close early
1372
+ - 0a3ae6d: Fixed a bug where tool input schema properties that were optional became required
1373
+ - 95911be: Fixed an issue where if @mastra/core was not released at the same time as create-mastra, create-mastra would match the alpha tag instead of latest tag when running npm create mastra@latest
1374
+ - 1e9fbfa: Upgrade to OpenTelemetry JS SDK 2.x
1375
+ - a7292b0: BREAKING(@mastra/core, all vector stores): Vector store breaking changes (remove deprecated functions and positional arguments)
1376
+
1377
+ ## 0.9.5-alpha.0
1378
+
1379
+ ### Patch Changes
1380
+
1381
+ - f53a6ac: Add VNextWorkflowRuns type
1382
+ - eabdcd9: [MASTRA-3451] SQL Injection Protection
1383
+ - 90be034: Pass zod schema directly to getInitData
1384
+ - 99f050a: Bumped a workspace package zod version to attempt to prevent duplicate dep installs of @mastra/core
1385
+ - d0ee3c6: Change all public functions and constructors in vector stores to use named args and prepare to phase out positional args
1386
+ - 23f258c: Add new list and get routes for mcp servers. Changed route make-up for more consistency with existing API routes. Lastly, added in a lot of extra detail that can be optionally passed to the mcp server per the mcp spec.
1387
+ - 2672a05: Add MCP servers and tool call execution to playground
1388
+
1389
+ ## 0.9.4
1390
+
1391
+ ### Patch Changes
1392
+
1393
+ - 396be50: updated mcp server routes for MCP SSE for use with hono server
1394
+ - ab80e7e: Fix resume workflow throwing workflow run not found error
1395
+ - c3bd795: [MASTRA-3358] Deprecate updateIndexById and deleteIndexById
1396
+ - da082f8: Switch from serializing json schema string as a function to a library that creates a zod object in memory from the json schema. This reduces the errors we were seeing from zod schema code that could not be serialized.
1397
+ - a5810ce: Add support for experimental_generateMessageId and remove it from client-js types since it's not serializable
1398
+ - 3e9c131: Typo resoolve.
1399
+ - 3171b5b: Fix jsonSchema on vercel tools
1400
+ - 973e5ac: Add workflows to agents properly
1401
+ - daf942f: [MASTRA-3367] updated createthread when using generatetitle to perserve thread metadata
1402
+ - 0b8b868: Added A2A support + streaming
1403
+ - 9e1eff5: Fix tool compatibility schema handling by ensuring zodSchema.shape is safely accessed, preventing potential runtime errors.
1404
+ - 6fa1ad1: Fixes and issue when a tool provides no inputSchema and when a tool uses a non-zod schema.
1405
+ - c28d7a0: Fix watch workflow not streaming response back in legacy workflow
1406
+ - edf1e88: allows ability to pass McpServer into the mastra class and creates an endpoint /api/servers/:serverId/mcp to POST messages to an MCP server
1407
+
1408
+ ## 0.9.4-alpha.4
1409
+
1410
+ ### Patch Changes
1411
+
1412
+ - 3e9c131: Typo resoolve.
1413
+
1414
+ ## 0.9.4-alpha.3
1415
+
1416
+ ### Patch Changes
1417
+
1418
+ - 396be50: updated mcp server routes for MCP SSE for use with hono server
1419
+ - c3bd795: [MASTRA-3358] Deprecate updateIndexById and deleteIndexById
1420
+ - da082f8: Switch from serializing json schema string as a function to a library that creates a zod object in memory from the json schema. This reduces the errors we were seeing from zod schema code that could not be serialized.
1421
+ - a5810ce: Add support for experimental_generateMessageId and remove it from client-js types since it's not serializable
1422
+
1423
+ ## 0.9.4-alpha.2
1424
+
1425
+ ### Patch Changes
1426
+
1427
+ - 3171b5b: Fix jsonSchema on vercel tools
1428
+ - 973e5ac: Add workflows to agents properly
1429
+ - 9e1eff5: Fix tool compatibility schema handling by ensuring zodSchema.shape is safely accessed, preventing potential runtime errors.
1430
+
1431
+ ## 0.9.4-alpha.1
1432
+
1433
+ ### Patch Changes
1434
+
1435
+ - ab80e7e: Fix resume workflow throwing workflow run not found error
1436
+ - 6fa1ad1: Fixes and issue when a tool provides no inputSchema and when a tool uses a non-zod schema.
1437
+ - c28d7a0: Fix watch workflow not streaming response back in legacy workflow
1438
+ - edf1e88: allows ability to pass McpServer into the mastra class and creates an endpoint /api/servers/:serverId/mcp to POST messages to an MCP server
1439
+
1440
+ ## 0.9.4-alpha.0
1441
+
1442
+ ### Patch Changes
1443
+
1444
+ - daf942f: [MASTRA-3367] updated createthread when using generatetitle to perserve thread metadata
1445
+ - 0b8b868: Added A2A support + streaming
1446
+
1447
+ ## 0.9.3
1448
+
1449
+ ### Patch Changes
1450
+
1451
+ - e450778: vnext: Inngest playground fixes
1452
+ - 8902157: added an optional `bodySizeLimit` to server config so that users can pass custom bodylimit size in mb. If not, it defaults to 4.5 mb
1453
+ - ca0dc88: fix: filter out excessive logs when getting LLM for agents
1454
+ - 526c570: expose agent runtimeContext from clientSDK
1455
+ - d7a6a33: Allow more user messages to be saved to memory, and fix message saving when using output flag
1456
+ - 9cd1a46: [MASTRA-3338] update naming scheme for embedding index based on vector store rules and added duplicate index checks
1457
+ - b5d2de0: In vNext workflow serializedStepGraph, return only serializedStepFlow for steps created from a workflow
1458
+ allow viewing inner nested workflows in a multi-layered nested vnext workflow on the playground
1459
+ - 644f8ad: Adds a tool compatibility layer to ensure models from various providers work the same way. Models may not be able to support all json schema properties (such as some openai reasoning models), as well as other models support the property but seem to ignore it. The feature allows for a compatibility class for a provider that can be customized to fit the models and make sure they're using the tool schemas properly.
1460
+ - 70dbf51: [MASTRA-2452] updated setBaggage for tracing
1461
+
1462
+ ## 0.9.3-alpha.1
1463
+
1464
+ ### Patch Changes
1465
+
1466
+ - e450778: vnext: Inngest playground fixes
1467
+ - 8902157: added an optional `bodySizeLimit` to server config so that users can pass custom bodylimit size in mb. If not, it defaults to 4.5 mb
1468
+ - ca0dc88: fix: filter out excessive logs when getting LLM for agents
1469
+ - 9cd1a46: [MASTRA-3338] update naming scheme for embedding index based on vector store rules and added duplicate index checks
1470
+ - 70dbf51: [MASTRA-2452] updated setBaggage for tracing
1471
+
1472
+ ## 0.9.3-alpha.0
1473
+
1474
+ ### Patch Changes
1475
+
1476
+ - 526c570: expose agent runtimeContext from clientSDK
1477
+ - b5d2de0: In vNext workflow serializedStepGraph, return only serializedStepFlow for steps created from a workflow
1478
+ allow viewing inner nested workflows in a multi-layered nested vnext workflow on the playground
1479
+ - 644f8ad: Adds a tool compatibility layer to ensure models from various providers work the same way. Models may not be able to support all json schema properties (such as some openai reasoning models), as well as other models support the property but seem to ignore it. The feature allows for a compatibility class for a provider that can be customized to fit the models and make sure they're using the tool schemas properly.
1480
+
1481
+ ## 0.9.2
1482
+
1483
+ ### Patch Changes
1484
+
1485
+ - 6052aa6: Add getWorkflowRunById to vNext workflow core and server handler
1486
+ - 967b41c: fix: removes new agent getter methods from telemetry
1487
+ - 3d2fb5c: Fix commonjs import for vnext workflows
1488
+ - 26738f4: Switched from a custom MCP tools schema deserializer to json-schema-to-zod - fixes an issue where MCP tool schemas didn't deserialize properly in Mastra playground. Also added support for testing tools with no input arguments in playground
1489
+ - 4155f47: Add parameters to filter workflow runs
1490
+ Add fromDate and toDate to telemetry parameters
1491
+ - 7eeb2bc: Add Memory default storage breaking change warning
1492
+ - b804723: Fix #3831: keep conversations in tact by keeping empty assistant messages
1493
+ - 8607972: Introduce Mastra lint cli command
1494
+ - ccef9f9: Fixed a type error when converting tools
1495
+ - 0097d50: Add serializedStepGraph to vNext workflow
1496
+ Return serializedStepGraph from vNext workflow
1497
+ Use serializedStepGraph in vNext workflow graph
1498
+ - 7eeb2bc: Added explicit storage to memory in create-mastra so new projects don't see breaking change warnings
1499
+ - 17826a9: Added a breaking change warning about deprecated working memory "use: 'text-stream'" which is being fully replaced by "use: 'tool-call'"
1500
+ - 7d8b7c7: In vnext getworkflowRunById, pick run from this.#runs if it does not exist in storage
1501
+ - fba031f: Show traces for vNext workflow
1502
+ - 3a5f1e1: Created a new @mastra/fastembed package based on the default embedder in @mastra/core as the default embedder will be removed in a breaking change (May 20th)
1503
+ Added a warning to use the new @mastra/fastembed package instead of the default embedder
1504
+ - 51e6923: fix ts errors on default proxy storage
1505
+ - 8398d89: vNext: dynamic input mappings
1506
+
1507
+ ## 0.9.2-alpha.6
1508
+
1509
+ ### Patch Changes
1510
+
1511
+ - 6052aa6: Add getWorkflowRunById to vNext workflow core and server handler
1512
+ - 7d8b7c7: In vnext getworkflowRunById, pick run from this.#runs if it does not exist in storage
1513
+ - 3a5f1e1: Created a new @mastra/fastembed package based on the default embedder in @mastra/core as the default embedder will be removed in a breaking change (May 20th)
1514
+ Added a warning to use the new @mastra/fastembed package instead of the default embedder
1515
+ - 8398d89: vNext: dynamic input mappings
1516
+
1517
+ ## 0.9.2-alpha.5
1518
+
1519
+ ### Patch Changes
1520
+
1521
+ - 3d2fb5c: Fix commonjs import for vnext workflows
1522
+ - 7eeb2bc: Add Memory default storage breaking change warning
1523
+ - 8607972: Introduce Mastra lint cli command
1524
+ - 7eeb2bc: Added explicit storage to memory in create-mastra so new projects don't see breaking change warnings
1525
+ - fba031f: Show traces for vNext workflow
1526
+
1527
+ ## 0.9.2-alpha.4
1528
+
1529
+ ### Patch Changes
1530
+
1531
+ - ccef9f9: Fixed a type error when converting tools
1532
+ - 51e6923: fix ts errors on default proxy storage
1533
+
1534
+ ## 0.9.2-alpha.3
1535
+
1536
+ ### Patch Changes
1537
+
1538
+ - 967b41c: fix: removes new agent getter methods from telemetry
1539
+ - 4155f47: Add parameters to filter workflow runs
1540
+ Add fromDate and toDate to telemetry parameters
1541
+ - 17826a9: Added a breaking change warning about deprecated working memory "use: 'text-stream'" which is being fully replaced by "use: 'tool-call'"
1542
+
1543
+ ## 0.9.2-alpha.2
1544
+
1545
+ ### Patch Changes
1546
+
1547
+ - 26738f4: Switched from a custom MCP tools schema deserializer to json-schema-to-zod - fixes an issue where MCP tool schemas didn't deserialize properly in Mastra playground. Also added support for testing tools with no input arguments in playground
1548
+
1549
+ ## 0.9.2-alpha.1
1550
+
1551
+ ### Patch Changes
1552
+
1553
+ - b804723: Fix #3831: keep conversations in tact by keeping empty assistant messages
1554
+
1555
+ ## 0.9.2-alpha.0
1556
+
1557
+ ### Patch Changes
1558
+
1559
+ - 0097d50: Add serializedStepGraph to vNext workflow
1560
+ Return serializedStepGraph from vNext workflow
1561
+ Use serializedStepGraph in vNext workflow graph
1562
+
1563
+ ## 0.9.1
1564
+
1565
+ ### Patch Changes
1566
+
1567
+ - 405b63d: add ability to clone workflows with different id
1568
+ - 81fb7f6: Workflows v2
1569
+ - 20275d4: Adding warnings for current implicit Memory default options as they will be changing soon in a breaking change. Also added memory to create-mastra w/ new defaults so new projects don't see these warnings
1570
+ - 7d1892c: Return error object directly in vNext workflows
1571
+ - a90a082: Rename container to runtimeContext in vNext workflow
1572
+ Add steps accessor for stepFlow in vnext workflow
1573
+ Add getWorkflowRun to vnext workflow
1574
+ Add vnext_getWorkflows() to mastra core
1575
+ - 2d17c73: Fix checking for presence of constant value mappings
1576
+ - 61e92f5: vNext fix workflow watch cleanup
1577
+ - 35955b0: Rename import to runtime-contxt
1578
+ - 6262bd5: Mastra server custom host config
1579
+ - c1409ef: Add vNextWorkflow handlers and APIs
1580
+ Add stepGraph and steps to vNextWorkflow
1581
+ - 3e7b69d: Dynamic agent props
1582
+ - e4943b8: Default arrays to string type when transformation JSON schema to zod as per the JSON schema spec.
1583
+ - 11d4485: Show VNext workflows on the playground
1584
+ Show running status for step in vNext workflowState
1585
+ - 479f490: [MASTRA-3131] Add getWorkflowRunByID and add resourceId as filter for getWorkflowRuns
1586
+ - c23a81c: added deprecation warnings for pg and individual args
1587
+ - 2d4001d: Add new @msstra/libsql package and use it in create-mastra
1588
+ - c71013a: vNeuxt: unset currentStep for workflow status change event
1589
+ - 1d3b1cd: Rebump
1590
+
1591
+ ## 0.9.1-alpha.8
1592
+
1593
+ ### Patch Changes
1594
+
1595
+ - 2d17c73: Fix checking for presence of constant value mappings
1596
+
1597
+ ## 0.9.1-alpha.7
1598
+
1599
+ ### Patch Changes
1600
+
1601
+ - 1d3b1cd: Rebump
1602
+
1603
+ ## 0.9.1-alpha.6
1604
+
1605
+ ### Patch Changes
1606
+
1607
+ - c23a81c: added deprecation warnings for pg and individual args
1608
+
1609
+ ## 0.9.1-alpha.5
1610
+
1611
+ ### Patch Changes
1612
+
1613
+ - 3e7b69d: Dynamic agent props
1614
+
1615
+ ## 0.9.1-alpha.4
1616
+
1617
+ ### Patch Changes
1618
+
1619
+ - e4943b8: Default arrays to string type when transformation JSON schema to zod as per the JSON schema spec.
1620
+ - 479f490: [MASTRA-3131] Add getWorkflowRunByID and add resourceId as filter for getWorkflowRuns
1621
+
1622
+ ## 0.9.1-alpha.3
1623
+
1624
+ ### Patch Changes
1625
+
1626
+ - 6262bd5: Mastra server custom host config
1627
+
1628
+ ## 0.9.1-alpha.2
1629
+
1630
+ ### Patch Changes
1631
+
1632
+ - 405b63d: add ability to clone workflows with different id
1633
+ - 61e92f5: vNext fix workflow watch cleanup
1634
+ - c71013a: vNeuxt: unset currentStep for workflow status change event
1635
+
1636
+ ## 0.9.1-alpha.1
1637
+
1638
+ ### Patch Changes
1639
+
1640
+ - 20275d4: Adding warnings for current implicit Memory default options as they will be changing soon in a breaking change. Also added memory to create-mastra w/ new defaults so new projects don't see these warnings
1641
+ - 7d1892c: Return error object directly in vNext workflows
1642
+ - a90a082: Rename container to runtimeContext in vNext workflow
1643
+ Add steps accessor for stepFlow in vnext workflow
1644
+ Add getWorkflowRun to vnext workflow
1645
+ Add vnext_getWorkflows() to mastra core
1646
+ - 35955b0: Rename import to runtime-contxt
1647
+ - c1409ef: Add vNextWorkflow handlers and APIs
1648
+ Add stepGraph and steps to vNextWorkflow
1649
+ - 11d4485: Show VNext workflows on the playground
1650
+ Show running status for step in vNext workflowState
1651
+ - 2d4001d: Add new @msstra/libsql package and use it in create-mastra
1652
+
1653
+ ## 0.9.1-alpha.0
1654
+
1655
+ ### Patch Changes
1656
+
1657
+ - 81fb7f6: Workflows v2
1658
+
1659
+ ## 0.9.0
1660
+
1661
+ ### Minor Changes
1662
+
1663
+ - fe3ae4d: Remove \_\_ functions in storage and move to storage proxy to make sure init is called
1664
+
1665
+ ### Patch Changes
1666
+
1667
+ - 000a6d4: Fixed an issue where the TokenLimiter message processor was adding new messages into the remembered messages array
1668
+ - 08bb78e: Added an extra safety for Memory message ordering
1669
+ - ed2f549: Fix exlude methods for batchTraceInsert
1670
+ - 7e92011: Include tools with deployment builds
1671
+ - 9ee4293: Improve commonjs support
1672
+
1673
+ Add types files in the root directory to make sure typescript can resolve it without an exportsmap
1674
+
1675
+ - 03f3cd0: Propagate context to passed in tools
1676
+ - c0f22b4: [MASTRA-3130] Metadata Filter Update for PG and Libsql
1677
+ - 71d9444: updated savemessage to not use mutation when hiding working memory
1678
+ - 157c741: Fix message dupes using processors
1679
+ - 8a8a73b: fix container to network sub agent
1680
+ - 0a033fa: Adds MCPServer component
1681
+ - 9c26508: Fixed an issue where "mastra dev" wouldn't always print out localhost:4111 logs due to new NODE_ENV fixes
1682
+ - 0f4eae3: Rename Container into RuntimeContext
1683
+ - 16a8648: Disable swaggerUI, playground for production builds, mastra instance server build config to enable swaggerUI, apiReqLogs, openAPI documentation for prod builds
1684
+ - 6f92295: Fixed an issue where some user messages and llm messages would have the exact same createdAt date, leading to incorrect message ordering. Added a fix for new messages as well as any that were saved before the fix in the wrong order
1685
+
1686
+ ## 0.9.0-alpha.8
1687
+
1688
+ ### Patch Changes
1689
+
1690
+ - 000a6d4: Fixed an issue where the TokenLimiter message processor was adding new messages into the remembered messages array
1691
+ - ed2f549: Fix exlude methods for batchTraceInsert
1692
+ - c0f22b4: [MASTRA-3130] Metadata Filter Update for PG and Libsql
1693
+ - 0a033fa: Adds MCPServer component
1694
+ - 9c26508: Fixed an issue where "mastra dev" wouldn't always print out localhost:4111 logs due to new NODE_ENV fixes
1695
+ - 0f4eae3: Rename Container into RuntimeContext
1696
+ - 16a8648: Disable swaggerUI, playground for production builds, mastra instance server build config to enable swaggerUI, apiReqLogs, openAPI documentation for prod builds
1697
+
1698
+ ## 0.9.0-alpha.7
1699
+
1700
+ ### Patch Changes
1701
+
1702
+ - 71d9444: updated savemessage to not use mutation when hiding working memory
1703
+
1704
+ ## 0.9.0-alpha.6
1705
+
1706
+ ### Patch Changes
1707
+
1708
+ - 157c741: Fix message dupes using processors
1709
+
1710
+ ## 0.9.0-alpha.5
1711
+
1712
+ ### Patch Changes
1713
+
1714
+ - 08bb78e: Added an extra safety for Memory message ordering
1715
+
1716
+ ## 0.9.0-alpha.4
1717
+
1718
+ ### Patch Changes
1719
+
1720
+ - 7e92011: Include tools with deployment builds
1721
+
1722
+ ## 0.9.0-alpha.3
1723
+
1724
+ ### Minor Changes
1725
+
1726
+ - fe3ae4d: Remove \_\_ functions in storage and move to storage proxy to make sure init is called
1727
+
1728
+ ## 0.8.4-alpha.2
1729
+
1730
+ ### Patch Changes
1731
+
1732
+ - 9ee4293: Improve commonjs support
1733
+
1734
+ Add types files in the root directory to make sure typescript can resolve it without an exportsmap
1735
+
1736
+ ## 0.8.4-alpha.1
1737
+
1738
+ ### Patch Changes
1739
+
1740
+ - 8a8a73b: fix container to network sub agent
1741
+ - 6f92295: Fixed an issue where some user messages and llm messages would have the exact same createdAt date, leading to incorrect message ordering. Added a fix for new messages as well as any that were saved before the fix in the wrong order
1742
+
1743
+ ## 0.8.4-alpha.0
1744
+
1745
+ ### Patch Changes
1746
+
1747
+ - 03f3cd0: Propagate context to passed in tools
1748
+
1749
+ ## 0.8.3
1750
+
1751
+ ### Patch Changes
1752
+
1753
+ - d72318f: Refactored the evals table to use the DS tables
1754
+ - 0bcc862: Fixed an issue where we were sanitizing response message content and filter on a value that may not always be an array
1755
+ - 10a8caf: Removed an extra console log that made it into core
1756
+ - 359b089: Allowed explicitly disabling vector/embedder in Memory by passing vector: false or options.semanticRecall: false
1757
+ - 32e7b71: Add support for dependency injection
1758
+ - 37bb612: Add Elastic-2.0 licensing for packages
1759
+ - 7f1b291: Client Side tool call passing
1760
+
1761
+ ## 0.8.3-alpha.5
1762
+
1763
+ ### Patch Changes
1764
+
1765
+ - d72318f: Refactored the evals table to use the DS tables
1766
+
1767
+ ## 0.8.3-alpha.4
1768
+
1769
+ ### Patch Changes
1770
+
1771
+ - 7f1b291: Client Side tool call passing
1772
+
1773
+ ## 0.8.3-alpha.3
1774
+
1775
+ ### Patch Changes
1776
+
1777
+ - 10a8caf: Removed an extra console log that made it into core
1778
+
1779
+ ## 0.8.3-alpha.2
1780
+
1781
+ ### Patch Changes
1782
+
1783
+ - 0bcc862: Fixed an issue where we were sanitizing response message content and filter on a value that may not always be an array
1784
+
1785
+ ## 0.8.3-alpha.1
1786
+
1787
+ ### Patch Changes
1788
+
1789
+ - 32e7b71: Add support for dependency injection
1790
+ - 37bb612: Add Elastic-2.0 licensing for packages
1791
+
1792
+ ## 0.8.3-alpha.0
1793
+
1794
+ ### Patch Changes
1795
+
1796
+ - 359b089: Allowed explicitly disabling vector/embedder in Memory by passing vector: false or options.semanticRecall: false
1797
+
1798
+ ## 0.8.2
1799
+
1800
+ ### Patch Changes
1801
+
1802
+ - a06aadc: Upgrade fastembed to fix bug where fastembe cannot be imported
1803
+
1804
+ ## 0.8.2-alpha.0
1805
+
1806
+ ### Patch Changes
1807
+
1808
+ - a06aadc: Upgrade fastembed to fix bug where fastembe cannot be imported
1809
+
1810
+ ## 0.8.1
1811
+
1812
+ ### Patch Changes
1813
+
1814
+ - 99e2998: Set default max steps to 5
1815
+ - 8fdb414: Custom mastra server cors config
1816
+
1817
+ ## 0.8.1-alpha.0
1818
+
1819
+ ### Patch Changes
1820
+
1821
+ - 99e2998: Set default max steps to 5
1822
+ - 8fdb414: Custom mastra server cors config
1823
+
1824
+ ## 0.8.0
1825
+
1826
+ ### Minor Changes
1827
+
1828
+ - 619c39d: Added support for agents as steps
1829
+
1830
+ ### Patch Changes
1831
+
1832
+ - 56c31b7: Batch insert messages for libsql adapter
1833
+ - 5ae0180: Removed prefixed doc references
1834
+ - fe56be0: exclude \_\_primitive, getMemory, hasOwnMemory from traces since they create noisy traces
1835
+ - 93875ed: Improved the performance of Memory semantic recall by 2 to 3 times when using pg by making tweaks to @mastra/memory @mastra/core and @mastra/pg
1836
+ - 107bcfe: Fixed JSON parsing in memory component to prevent crashes when encountering strings that start with '[' or '{' but are not valid JSON
1837
+ - 9bfa12b: Accept ID on step config
1838
+ - 515ebfb: Fix compound subscriber bug
1839
+ - 5b4e19f: fix hanging and excessive workflow execution
1840
+ - dbbbf80: Added clickhouse storage
1841
+ - a0967a0: Added new "Memory Processor" feature to @mastra/core and @mastra/memory, allowing devs to modify Mastra Memory before it's sent to the LLM
1842
+ - fca3b21: fix server in mastra not to be mandatory
1843
+ - 88fa727: Added getWorkflowRuns for libsql, pg, clickhouse and upstash as well as added route getWorkflowRunsHandler
1844
+ - f37f535: Added variables to while and until loops
1845
+ - a3f0e90: Update storage initialization to ensure tables are present
1846
+ - 4d67826: Fix eval writes, remove id column
1847
+ - 6330967: Enable route timeout using server options
1848
+ - 8393832: Handle nested workflow view on workflow graph
1849
+ - 6330967: Add support for configuration of server port using Mastra instance
1850
+ - 99d43b9: Updated evaluate to include agent output
1851
+ - d7e08e8: createdAt needs to be nullable
1852
+ - febc8a6: Added dual tracing and fixed local tracing recursion
1853
+ - 7599d77: fix(deps): update ai sdk to ^4.2.2
1854
+ - 0118361: Add resourceId to memory metadata
1855
+ - 619c39d: AgentStep -> Agent as a workflow step (WIP)
1856
+ - cafae83: Changed error messages for vector mismatch with index
1857
+ - 8076ecf: Unify workflow watch/start response
1858
+ - 8df4a77: Fix if-else execution order
1859
+ - 304397c: Add support for custom api routes in mastra
1860
+
1861
+ ## 0.8.0-alpha.8
1862
+
1863
+ ### Patch Changes
1864
+
1865
+ - 8df4a77: Fix if-else execution order
1866
+
1867
+ ## 0.8.0-alpha.7
1868
+
1869
+ ### Patch Changes
1870
+
1871
+ - febc8a6: Added dual tracing and fixed local tracing recursion
1872
+
1873
+ ## 0.8.0-alpha.6
1874
+
1875
+ ### Patch Changes
1876
+
1877
+ - a3f0e90: Update storage initialization to ensure tables are present
1878
+
1879
+ ## 0.8.0-alpha.5
1880
+
1881
+ ### Patch Changes
1882
+
1883
+ - 93875ed: Improved the performance of Memory semantic recall by 2 to 3 times when using pg by making tweaks to @mastra/memory @mastra/core and @mastra/pg
1884
+
1885
+ ## 0.8.0-alpha.4
1886
+
1887
+ ### Patch Changes
1888
+
1889
+ - d7e08e8: createdAt needs to be nullable
1890
+
1891
+ ## 0.8.0-alpha.3
1892
+
1893
+ ### Patch Changes
1894
+
1895
+ - 5ae0180: Removed prefixed doc references
1896
+ - 9bfa12b: Accept ID on step config
1897
+ - 515ebfb: Fix compound subscriber bug
1898
+ - 88fa727: Added getWorkflowRuns for libsql, pg, clickhouse and upstash as well as added route getWorkflowRunsHandler
1899
+ - f37f535: Added variables to while and until loops
1900
+ - 4d67826: Fix eval writes, remove id column
1901
+ - 6330967: Enable route timeout using server options
1902
+ - 8393832: Handle nested workflow view on workflow graph
1903
+ - 6330967: Add support for configuration of server port using Mastra instance
1904
+
1905
+ ## 0.8.0-alpha.2
1906
+
1907
+ ### Patch Changes
1908
+
1909
+ - 56c31b7: Batch insert messages for libsql adapter
1910
+ - dbbbf80: Added clickhouse storage
1911
+ - 99d43b9: Updated evaluate to include agent output
1912
+
1913
+ ## 0.8.0-alpha.1
1914
+
1915
+ ### Minor Changes
1916
+
1917
+ - 619c39d: Added support for agents as steps
1918
+
1919
+ ### Patch Changes
1920
+
1921
+ - fe56be0: exclude \_\_primitive, getMemory, hasOwnMemory from traces since they create noisy traces
1922
+ - a0967a0: Added new "Memory Processor" feature to @mastra/core and @mastra/memory, allowing devs to modify Mastra Memory before it's sent to the LLM
1923
+ - fca3b21: fix server in mastra not to be mandatory
1924
+ - 0118361: Add resourceId to memory metadata
1925
+ - 619c39d: AgentStep -> Agent as a workflow step (WIP)
1926
+
1927
+ ## 0.7.1-alpha.0
1928
+
1929
+ ### Patch Changes
1930
+
1931
+ - 107bcfe: Fixed JSON parsing in memory component to prevent crashes when encountering strings that start with '[' or '{' but are not valid JSON
1932
+ - 5b4e19f: fix hanging and excessive workflow execution
1933
+ - 7599d77: fix(deps): update ai sdk to ^4.2.2
1934
+ - cafae83: Changed error messages for vector mismatch with index
1935
+ - 8076ecf: Unify workflow watch/start response
1936
+ - 304397c: Add support for custom api routes in mastra
1937
+
1938
+ ## 0.7.0
1939
+
1940
+ ### Minor Changes
1941
+
1942
+ - 1af25d5: Added nested workflows API
1943
+
1944
+ ### Patch Changes
1945
+
1946
+ - b4fbc59: Fixed an issue where sending CoreMessages to AI SDK would result in "Unsupported role: tool" errors
1947
+ - a838fde: Update memory.ts
1948
+ - a8bd4cf: Fixed JSON Schema generation for null types to prevent duplicate null entries in type arrays
1949
+ - 7a3eeb0: Fixed a memory issue when using useChat where new messages were formatted as ui messages, were mixed with stored core messages in memory, and a mixed list was sent to AI SDK, causing it to error
1950
+ - 0b54522: AgentNetwork logs
1951
+ - b3b34f5: Fix agent generate,stream returnType with experimental_output
1952
+ - a4686e8: Realtime event queue
1953
+ - 6530ad1: Correct agent onFinish interface
1954
+ - 27439ad: Updated the jsonSchemaPropertiesToTSTypes function to properly handle JSON Schema definitions where type can be an array of strings. Previously, the function only handled single string types, but according to the JSON Schema specification, type can be an array of possible types.
1955
+
1956
+ ## 0.7.0-alpha.3
1957
+
1958
+ ### Patch Changes
1959
+
1960
+ - b3b34f5: Fix agent generate,stream returnType with experimental_output
1961
+ - a4686e8: Realtime event queue
1962
+
1963
+ ## 0.7.0-alpha.2
1964
+
1965
+ ### Patch Changes
1966
+
1967
+ - a838fde: Update memory.ts
1968
+ - a8bd4cf: Fixed JSON Schema generation for null types to prevent duplicate null entries in type arrays
1969
+ - 7a3eeb0: Fixed a memory issue when using useChat where new messages were formatted as ui messages, were mixed with stored core messages in memory, and a mixed list was sent to AI SDK, causing it to error
1970
+ - 6530ad1: Correct agent onFinish interface
1971
+
1972
+ ## 0.7.0-alpha.1
1973
+
1974
+ ### Minor Changes
1975
+
1976
+ - 1af25d5: Added nested workflows API
1977
+
1978
+ ### Patch Changes
1979
+
1980
+ - 0b54522: AgentNetwork logs
1981
+ - 27439ad: Updated the jsonSchemaPropertiesToTSTypes function to properly handle JSON Schema definitions where type can be an array of strings. Previously, the function only handled single string types, but according to the JSON Schema specification, type can be an array of possible types.
1982
+
1983
+ ## 0.6.5-alpha.0
1984
+
1985
+ ### Patch Changes
1986
+
1987
+ - b4fbc59: Fixed an issue where sending CoreMessages to AI SDK would result in "Unsupported role: tool" errors
1988
+
1989
+ ## 0.6.4
1990
+
1991
+ ### Patch Changes
1992
+
1993
+ - 6794797: Check for eval values before inserting into storage
1994
+ - fb68a80: Inject mastra instance into llm class
1995
+ - b56a681: Update README and some tests for vector stores
1996
+ - 248cb07: Allow ai-sdk Message type for messages in agent generate and stream
1997
+ Fix sidebar horizontal overflow in playground
1998
+
1999
+ ## 0.6.4-alpha.1
2000
+
2001
+ ### Patch Changes
2002
+
2003
+ - 6794797: Check for eval values before inserting into storage
2004
+
2005
+ ## 0.6.4-alpha.0
2006
+
2007
+ ### Patch Changes
2008
+
2009
+ - fb68a80: Inject mastra instance into llm class
2010
+ - b56a681: Update README and some tests for vector stores
2011
+ - 248cb07: Allow ai-sdk Message type for messages in agent generate and stream
2012
+ Fix sidebar horizontal overflow in playground
2013
+
2014
+ ## 0.6.3
2015
+
2016
+ ### Patch Changes
2017
+
2018
+ - 404640e: AgentNetwork changeset
2019
+ - 3bce733: fix: agent.generate only get thread if there is threadID
2020
+
2021
+ ## 0.6.3-alpha.1
2022
+
2023
+ ### Patch Changes
2024
+
2025
+ - 3bce733: fix: agent.generate only get thread if there is threadID
2026
+
2027
+ ## 0.6.3-alpha.0
2028
+
2029
+ ### Patch Changes
2030
+
2031
+ - 404640e: AgentNetwork changeset
2032
+
2033
+ ## 0.6.2
2034
+
2035
+ ### Patch Changes
2036
+
2037
+ - beaf1c2: createTool type fixes
2038
+ - 3084e13: More parallel memory operations
2039
+
2040
+ ## 0.6.2-alpha.0
2041
+
2042
+ ### Patch Changes
2043
+
2044
+ - beaf1c2: createTool type fixes
2045
+ - 3084e13: More parallel memory operations
2046
+
2047
+ ## 0.6.1
2048
+
2049
+ ### Patch Changes
2050
+
2051
+ - fc2f89c: Insert static payload into inputData
2052
+ - dfbb131: Fix after method on multiple passes
2053
+ - f4854ee: Fix else branch execution when if-branch has loops
2054
+ - afaf73f: Add fix for vercel tools and optional instructions
2055
+ - 0850b4c: Watch and resume per run
2056
+ - 7bcfaee: Remove node_modules-path dir which calls \_\_dirname at the top level and breaks some esm runtimes
2057
+ - 44631b1: Fix after usage with skipped conditions on the awaited steps
2058
+ - 9116d70: Handle the different workflow methods in workflow graph
2059
+ - 6e559a0: Update Voice for realtime providers
2060
+ - 5f43505: feat: OpenAI realtime voice provider for speech to speech communication
2061
+ Update voice speaking event type
2062
+
2063
+ ## 0.6.1-alpha.2
2064
+
2065
+ ### Patch Changes
2066
+
2067
+ - fc2f89c: Insert static payload into inputData
2068
+ - dfbb131: Fix after method on multiple passes
2069
+ - 0850b4c: Watch and resume per run
2070
+ - 9116d70: Handle the different workflow methods in workflow graph
2071
+
2072
+ ## 0.6.1-alpha.1
2073
+
2074
+ ### Patch Changes
2075
+
2076
+ - f4854ee: Fix else branch execution when if-branch has loops
2077
+ - afaf73f: Add fix for vercel tools and optional instructions
2078
+ - 44631b1: Fix after usage with skipped conditions on the awaited steps
2079
+ - 6e559a0: Update Voice for realtime providers
2080
+ - 5f43505: feat: OpenAI realtime voice provider for speech to speech communication
2081
+ Update voice speaking event type
2082
+
2083
+ ## 0.6.1-alpha.0
2084
+
2085
+ ### Patch Changes
2086
+
2087
+ - 7bcfaee: Remove node_modules-path dir which calls \_\_dirname at the top level and breaks some esm runtimes
2088
+
2089
+ ## 0.6.0
2090
+
2091
+ ### Minor Changes
2092
+
2093
+ - 1c8cda4: Experimental .afterEvent() support. Fixed suspend/resume in first workflow or .after() branch step. Changed suspend metadata to be in context.resumeData instead of resumed step output.
2094
+ - 95b4144: Added server middleware to apply custom functionality in API endpoints like auth
2095
+
2096
+ ### Patch Changes
2097
+
2098
+ - 16b98d9: Reduce default step retry attempts
2099
+ - 3729dbd: Fixed a bug where useChat with client side tool calling and Memory would not work. Added docs for using Memory with useChat()
2100
+ - c2144f4: Enable dynamic import of default-storage to reduce runtime/bundle size when not using default storage
2101
+
2102
+ ## 0.6.0-alpha.1
2103
+
2104
+ ### Minor Changes
2105
+
2106
+ - 1c8cda4: Experimental .afterEvent() support. Fixed suspend/resume in first workflow or .after() branch step. Changed suspend metadata to be in context.resumeData instead of resumed step output.
2107
+ - 95b4144: Added server middleware to apply custom functionality in API endpoints like auth
2108
+
2109
+ ### Patch Changes
2110
+
2111
+ - 16b98d9: Reduce default step retry attempts
2112
+ - c2144f4: Enable dynamic import of default-storage to reduce runtime/bundle size when not using default storage
2113
+
2114
+ ## 0.5.1-alpha.0
2115
+
2116
+ ### Patch Changes
2117
+
2118
+ - 3729dbd: Fixed a bug where useChat with client side tool calling and Memory would not work. Added docs for using Memory with useChat()
2119
+
2120
+ ## 0.5.0
2121
+
2122
+ ### Minor Changes
2123
+
2124
+ - 59df7b6: Added a new option to use tool-calls for saving working memory: new Memory({ workingMemory: { enabled: true, use: "tool-call" } }). This is to support response methods like toDataStream where masking working memory chunks would be more resource intensive and complex.
2125
+ To support this `memory` is now passed into tool execute args.
2126
+ - dfbe4e9: Added new looping constructs with while/until and optional enum-based cyclical condition execution
2127
+ - 3764e71: Workflow trigger data should only accept object types
2128
+ - 02ffb7b: Added updateIndexById and deleteIndexById methods in the MastraVector inteface
2129
+ - 358f069: Experimental if-else branching in between steps
2130
+
2131
+ ### Patch Changes
2132
+
2133
+ - a910463: Improve typinges for getStepResult and workflow results
2134
+ - 22643eb: Replace MastraPrimitives with direct Mastra instance
2135
+ - 6feb23f: Fix for else condition with ref/query syntax
2136
+ - f2d6727: Support for compound `.after` syntax
2137
+ - 7a7a547: Fix telemetry getter in hono server
2138
+ - 29f3a82: Improve agent generate,stream returnTypes
2139
+ - 3d0e290: Fixed an issue where messages that were numbers weren't being stored as strings. Fixed incorrect array access when retrieving memory messages
2140
+ - e9fbac5: Update Vercel tools to have id and update deployer
2141
+ - 301e4ee: Fix log level showing number in core logger
2142
+ - ee667a2: Fixed a serialization bug for thread IDs and dates in memory
2143
+ - dab255b: Fixed bug where using an in memory libsql db (config.url = ":memory:) for memory would throw errors about missing tables
2144
+ - 1e8bcbc: Fix suspend types
2145
+ - f6678e4: Fixed an issue where we were using a non-windows-friendly absolute path check for libsql file urls
2146
+ - 9e81f35: Fix query filter for vector search and rerank
2147
+ - c93798b: Added MastraLanguageModel which extends LanguageModelV1
2148
+ - a85ab24: make execute optional for create tool
2149
+ - dbd9f2d: Handle different condition types on workflow graph
2150
+ - 59df7b6: Keep default memory db in .mastra/mastra.db, not .mastra/output/memory.db for consistency
2151
+ - caefaa2: Added optional chaining to a memory function call that may not exist
2152
+ - c151ae6: Fixed an issue where models that don't support structured output would error when generating a thread title. Added an option to disable thread title llm generation `new Memory({ threads: { generateTitle: false }})`
2153
+ - 52e0418: Split up action types between tools and workflows
2154
+ - d79aedf: Fix import/require paths in these package.json
2155
+ - 03236ec: Added GRPC Exporter for Laminar and updated dodcs for Observability Providers
2156
+ - df982db: Updated Agent tool input to accept vercel tool format
2157
+ - a171b37: Better retry mechanisms
2158
+ - 506f1d5: Properly serialize any date object when inserting into libsql
2159
+ - 0461849: Fixed a bug where mastra.db file location was inconsistently created when running mastra dev vs running a file directly (tsx src/index.ts for ex)
2160
+ - 2259379: Add documentation for workflow looping APIs
2161
+ - aeb5e36: Adds default schema for tool when not provided
2162
+ - f2301de: Added the ability to ensure the accessed thread in memory.query() is for the right resource id. ex memory.query({ threadId, resourceId }). If the resourceId doesn't own the thread it will throw an error.
2163
+ - fd4a1d7: Update cjs bundling to make sure files are split
2164
+ - c139344: When converting JSON schemas to Zod schemas, we were sometimes marking optional fields as nullable instead, making them required with a null value, even if the schema didn't mark them as required
2165
+
2166
+ ## 0.5.0-alpha.12
2167
+
2168
+ ### Patch Changes
2169
+
2170
+ - a85ab24: make execute optional for create tool
2171
+
2172
+ ## 0.5.0-alpha.11
2173
+
2174
+ ### Patch Changes
2175
+
2176
+ - 7a7a547: Fix telemetry getter in hono server
2177
+ - c93798b: Added MastraLanguageModel which extends LanguageModelV1
2178
+ - dbd9f2d: Handle different condition types on workflow graph
2179
+ - a171b37: Better retry mechanisms
2180
+ - fd4a1d7: Update cjs bundling to make sure files are split
2181
+
2182
+ ## 0.5.0-alpha.10
2183
+
2184
+ ### Patch Changes
2185
+
2186
+ - a910463: Improve typinges for getStepResult and workflow results
2187
+
2188
+ ## 0.5.0-alpha.9
2189
+
2190
+ ### Patch Changes
2191
+
2192
+ - e9fbac5: Update Vercel tools to have id and update deployer
2193
+ - 1e8bcbc: Fix suspend types
2194
+ - aeb5e36: Adds default schema for tool when not provided
2195
+ - f2301de: Added the ability to ensure the accessed thread in memory.query() is for the right resource id. ex memory.query({ threadId, resourceId }). If the resourceId doesn't own the thread it will throw an error.
2196
+
2197
+ ## 0.5.0-alpha.8
2198
+
2199
+ ### Patch Changes
2200
+
2201
+ - 506f1d5: Properly serialize any date object when inserting into libsql
2202
+
2203
+ ## 0.5.0-alpha.7
2204
+
2205
+ ### Patch Changes
2206
+
2207
+ - ee667a2: Fixed a serialization bug for thread IDs and dates in memory
2208
+
2209
+ ## 0.5.0-alpha.6
2210
+
2211
+ ### Patch Changes
2212
+
2213
+ - f6678e4: Fixed an issue where we were using a non-windows-friendly absolute path check for libsql file urls
2214
+
2215
+ ## 0.5.0-alpha.5
2216
+
2217
+ ### Minor Changes
2218
+
2219
+ - dfbe4e9: Added new looping constructs with while/until and optional enum-based cyclical condition execution
2220
+ - 3764e71: Workflow trigger data should only accept object types
2221
+ - 358f069: Experimental if-else branching in between steps
2222
+
2223
+ ### Patch Changes
2224
+
2225
+ - 22643eb: Replace MastraPrimitives with direct Mastra instance
2226
+ - 6feb23f: Fix for else condition with ref/query syntax
2227
+ - f2d6727: Support for compound `.after` syntax
2228
+ - 301e4ee: Fix log level showing number in core logger
2229
+ - 9e81f35: Fix query filter for vector search and rerank
2230
+ - caefaa2: Added optional chaining to a memory function call that may not exist
2231
+ - c151ae6: Fixed an issue where models that don't support structured output would error when generating a thread title. Added an option to disable thread title llm generation `new Memory({ threads: { generateTitle: false }})`
2232
+ - 52e0418: Split up action types between tools and workflows
2233
+ - 03236ec: Added GRPC Exporter for Laminar and updated dodcs for Observability Providers
2234
+ - df982db: Updated Agent tool input to accept vercel tool format
2235
+ - 0461849: Fixed a bug where mastra.db file location was inconsistently created when running mastra dev vs running a file directly (tsx src/index.ts for ex)
2236
+ - 2259379: Add documentation for workflow looping APIs
2237
+
2238
+ ## 0.5.0-alpha.4
2239
+
2240
+ ### Patch Changes
2241
+
2242
+ - d79aedf: Fix import/require paths in these package.json
2243
+
2244
+ ## 0.5.0-alpha.3
2245
+
2246
+ ### Patch Changes
2247
+
2248
+ - 3d0e290: Fixed an issue where messages that were numbers weren't being stored as strings. Fixed incorrect array access when retrieving memory messages
2249
+
2250
+ ## 0.5.0-alpha.2
2251
+
2252
+ ### Minor Changes
2253
+
2254
+ - 02ffb7b: Added updateIndexById and deleteIndexById methods in the MastraVector inteface
2255
+
2256
+ ## 0.5.0-alpha.1
2257
+
2258
+ ### Patch Changes
2259
+
2260
+ - dab255b: Fixed bug where using an in memory libsql db (config.url = ":memory:) for memory would throw errors about missing tables
2261
+
2262
+ ## 0.5.0-alpha.0
2263
+
2264
+ ### Minor Changes
2265
+
2266
+ - 59df7b6: Added a new option to use tool-calls for saving working memory: new Memory({ workingMemory: { enabled: true, use: "tool-call" } }). This is to support response methods like toDataStream where masking working memory chunks would be more resource intensive and complex.
2267
+ To support this `memory` is now passed into tool execute args.
2268
+
2269
+ ### Patch Changes
2270
+
2271
+ - 29f3a82: Improve agent generate,stream returnTypes
2272
+ - 59df7b6: Keep default memory db in .mastra/mastra.db, not .mastra/output/memory.db for consistency
2273
+ - c139344: When converting JSON schemas to Zod schemas, we were sometimes marking optional fields as nullable instead, making them required with a null value, even if the schema didn't mark them as required
2274
+
2275
+ ## 0.4.4
2276
+
2277
+ ### Patch Changes
2278
+
2279
+ - 1da20e7: Update typechecks for positional args
2280
+
2281
+ ## 0.4.4-alpha.0
2282
+
2283
+ ### Patch Changes
2284
+
2285
+ - 1da20e7: Update typechecks for positional args
2286
+
2287
+ ## 0.4.3
2288
+
2289
+ ### Patch Changes
2290
+
2291
+ - 0d185b1: Ensure proper message sort order for tool calls and results when using Memory semanticRecall feature
2292
+ - ed55f1d: Fixes to watch payload in workloads with nested branching
2293
+ - 06aa827: add option for specifying telemetry settings at generation time
2294
+ - 0fd78ac: Update vector store functions to use object params
2295
+ - 2512a93: Support all aisdk options for agent stream,generate
2296
+ - e62de74: Fix optional tool llm
2297
+ execute
2298
+ - 0d25b75: Add all agent stream,generate option to cliend-js sdk
2299
+ - fd14a3f: Updating filter location from @mastra/core/filter to @mastra/core/vector/filter
2300
+ - 8d13b14: Fixes early exits in workflows with branching
2301
+ - 3f369a2: A better async/await based interface for suspend/resume tracking
2302
+ - 3ee4831: Fixed agent.generate() so it properly infers the return type based on output: schema | string and experimental_output: schema
2303
+ - 4d4e1e1: Updated vector tests and pinecone
2304
+ - bb4f447: Add support for commonjs
2305
+ - 108793c: Throw error when resourceId is not provided but Memory is configured and a threadId was passed
2306
+ - 5f28f44: Updated Chroma Vector to allow for document storage
2307
+ - dabecf4: Pass threadId and resourceId into tool execute functions so that tools are able to query memory
2308
+
2309
+ ## 0.4.3-alpha.4
2310
+
2311
+ ### Patch Changes
2312
+
2313
+ - dabecf4: Pass threadId and resourceId into tool execute functions so that tools are able to query memory
2314
+
2315
+ ## 0.4.3-alpha.3
2316
+
2317
+ ### Patch Changes
2318
+
2319
+ - 0fd78ac: Update vector store functions to use object params
2320
+ - 0d25b75: Add all agent stream,generate option to cliend-js sdk
2321
+ - fd14a3f: Updating filter location from @mastra/core/filter to @mastra/core/vector/filter
2322
+ - 3f369a2: A better async/await based interface for suspend/resume tracking
2323
+ - 4d4e1e1: Updated vector tests and pinecone
2324
+ - bb4f447: Add support for commonjs
2325
+
2326
+ ## 0.4.3-alpha.2
2327
+
2328
+ ### Patch Changes
2329
+
2330
+ - 2512a93: Support all aisdk options for agent stream,generate
2331
+ - e62de74: Fix optional tool llm
2332
+ execute
2333
+
2334
+ ## 0.4.3-alpha.1
2335
+
2336
+ ### Patch Changes
2337
+
2338
+ - 0d185b1: Ensure proper message sort order for tool calls and results when using Memory semanticRecall feature
2339
+ - ed55f1d: Fixes to watch payload in workloads with nested branching
2340
+ - 8d13b14: Fixes early exits in workflows with branching
2341
+ - 3ee4831: Fixed agent.generate() so it properly infers the return type based on output: schema | string and experimental_output: schema
2342
+ - 108793c: Throw error when resourceId is not provided but Memory is configured and a threadId was passed
2343
+ - 5f28f44: Updated Chroma Vector to allow for document storage
2344
+
2345
+ ## 0.4.3-alpha.0
2346
+
2347
+ ### Patch Changes
2348
+
2349
+ - 06aa827: add option for specifying telemetry settings at generation time
2350
+
2351
+ ## 0.4.2
2352
+
2353
+ ### Patch Changes
2354
+
2355
+ - 7fceae1: Removed system prompt with todays date since it can interfere with input token caching. Also removed a memory system prompt that refered to date ranges - we no longer use date ranges for memory so this was removed
2356
+ - 8d94c3e: Optional tool execute
2357
+ - 99dcdb5: Inject primitives into condition function, and renames getStepPayload to getStepResult.
2358
+ - 6cb63e0: Experimental output support
2359
+ - f626fbb: add stt and tts capabilities on agent
2360
+ - e752340: Move storage/vector libSQL to own files so they do not get imported when not using bundlers.
2361
+ - eb91535: Correct typo in LanguageModel-related
2362
+
2363
+ ## 0.4.2-alpha.2
2364
+
2365
+ ### Patch Changes
2366
+
2367
+ - 8d94c3e: Optional tool execute
2368
+ - 99dcdb5: Inject primitives into condition function, and renames getStepPayload to getStepResult.
2369
+ - e752340: Move storage/vector libSQL to own files so they do not get imported when not using bundlers.
2370
+ - eb91535: Correct typo in LanguageModel-related
2371
+
2372
+ ## 0.4.2-alpha.1
2373
+
2374
+ ### Patch Changes
2375
+
2376
+ - 6cb63e0: Experimental output support
2377
+
2378
+ ## 0.4.2-alpha.0
2379
+
2380
+ ### Patch Changes
2381
+
2382
+ - 7fceae1: Removed system prompt with todays date since it can interfere with input token caching. Also removed a memory system prompt that refered to date ranges - we no longer use date ranges for memory so this was removed
2383
+ - f626fbb: add stt and tts capabilities on agent
2384
+
2385
+ ## 0.4.1
2386
+
2387
+ ### Patch Changes
2388
+
2389
+ - ce44b9b: Fixed a bug where embeddings were being created for memory even when semanticRecall was turned off
2390
+ - 967da43: Logger, transport fixes
2391
+ - b405f08: add stt and tts capabilities on agent
2392
+
2393
+ ## 0.4.0
2394
+
2395
+ ### Minor Changes
2396
+
2397
+ - 2fc618f: Add MastraVoice class
2398
+
2399
+ ### Patch Changes
2400
+
2401
+ - fe0fd01: Fixed a bug where masked tags don't work when a chunk includes other text (ex "o <start_tag" or "tag> w") in the maskStreamTags() util
2402
+
2403
+ ## 0.4.0-alpha.1
2404
+
2405
+ ### Patch Changes
2406
+
2407
+ - fe0fd01: Fixed a bug where masked tags don't work when a chunk includes other text (ex "o <start_tag" or "tag> w") in the maskStreamTags() util
2408
+
2409
+ ## 0.4.0-alpha.0
2410
+
2411
+ ### Minor Changes
2412
+
2413
+ - 2fc618f: Add MastraVoice class
2414
+
2415
+ ## 0.3.0
2416
+
2417
+ ### Minor Changes
2418
+
2419
+ - f205ede: Memory can no longer be added to new Mastra(), only to new Agent() - this is for simplicity as each agent will typically need its own memory settings
2420
+
2421
+ ## 0.2.1
2422
+
2423
+ ### Patch Changes
2424
+
2425
+ - d59f1a8: Added example docs for evals and export metricJudge
2426
+ - 91ef439: Add eslint and ran autofix
2427
+ - 4a25be4: Fixed race condition when multiple storage methods attempt to initialize the db at the same time
2428
+ - bf2e88f: Fix treeshake bug
2429
+ - 2f0d707: Fix wrong usage of peerdep of AI pkg
2430
+ - aac1667: Improve treeshaking of core and output
2431
+
2432
+ ## 0.2.1-alpha.0
2433
+
2434
+ ### Patch Changes
2435
+
2436
+ - d59f1a8: Added example docs for evals and export metricJudge
2437
+ - 91ef439: Add eslint and ran autofix
2438
+ - 4a25be4: Fixed race condition when multiple storage methods attempt to initialize the db at the same time
2439
+ - bf2e88f: Fix treeshake bug
2440
+ - 2f0d707: Fix wrong usage of peerdep of AI pkg
2441
+ - aac1667: Improve treeshaking of core and output
2442
+
2443
+ ## 0.2.0
2444
+
2445
+ ### Minor Changes
2446
+
2447
+ - 4d4f6b6: Update deployer
2448
+ - 30322ce: Added new Memory API for managed agent memory via MastraStorage and MastraVector classes
2449
+ - d7d465a: Breaking change for Memory: embeddings: {} has been replaced with embedder: new OpenAIEmbedder() (or whichever embedder you want - check the docs)
2450
+ - 5285356: Renamed MastraLibSQLStorage and MastraLibSQLVector to DefaultStorage and DefaultVectorDB. I left the old export names so that it wont break anyones projects but all docs now show the new names
2451
+ - 74b3078: Reduce verbosity in workflows API
2452
+ - 8b416d9: Breaking changes
2453
+ - 16e5b04: Moved @mastra/vector-libsql into @mastra/core/vector/libsql
2454
+ - 8769a62: Split core into seperate entry fils
2455
+
2456
+ ### Patch Changes
2457
+
2458
+ - f537e33: feat: add default logger
2459
+ - 6f2c0f5: Prevent telemetry proxy from converting sync methods to async
2460
+ - e4d4ede: Better setLogger()
2461
+ - 0be7181: Fix forward version
2462
+ - dd6d87f: Update Agent and LLM config to accept temperature setting
2463
+ - 9029796: add more logs to agent for debugging
2464
+ - 6fa4bd2: New LLM primitive, OpenAI, AmazonBedrock
2465
+ - f031a1f: expose embed from rag, and refactor embed
2466
+ - 8151f44: Added \_\_registerPrimitives to model.ts
2467
+ - d7d465a: Embedding api
2468
+ - 73d112c: Core and deployer fixes
2469
+ - 592e3cf: Add custom rag tools, add vector retrieval, and update docs
2470
+ - 9d1796d: Fix storage and eval serialization on api
2471
+ - e897f1c: Eval change
2472
+ - 4a54c82: Fix dane labelling functionality
2473
+ - 3967e69: Added GraphRAG implementation and updated docs
2474
+ - 8ae2bbc: Dane publishing
2475
+ - e9d1b47: Rename Memory options historySearch to semanticRecall, rename embeddingOptions to embedding
2476
+ - 016493a: Deprecate metrics in favor of evals
2477
+ - bc40916: Pass mastra instance directly into actions allowing access to all registered primitives
2478
+ - 93a3719: Mastra prompt template engine
2479
+ - 7d83b92: Create default storage and move evals towards it
2480
+ - 9fb3039: Storage
2481
+ - d5e12de: optional mastra config object
2482
+ - e1dd94a: update the api for embeddings
2483
+ - 07c069d: Add dotenv as dependency
2484
+ - 5cdfb88: add getWorkflows method to core, add runId to workflow logs, update workflow starter file, add workflows page with table and workflow page with info, endpoints and logs
2485
+ - 837a288: MAJOR Revamp of tools, workflows, syncs.
2486
+ - 685108a: Remove syncs and excess rag
2487
+ - c8ff2f5: Fixed passing CoreMessages to stream/generate where the role is not user. Previously all messages would be rewritten to have role: "user"
2488
+ - 5fdc87c: Update evals storage in attachListeners
2489
+ - ae7bf94: Fix loggers messing up deploys
2490
+ - 8e7814f: Add payload getter on machine context
2491
+ - 66a03ec: Removed an extra llm call that was needed for the old Memory API but is no longer needed
2492
+ - 7d87a15: generate command in agent, and support array of message strings
2493
+ - b97ca96: Tracing into default storage
2494
+ - 23dcb23: Redeploy core
2495
+ - 033eda6: More fixes for refactor
2496
+ - 8105fae: Split embed into embed and embedMany to handle different return types
2497
+ - e097800: TTS in core
2498
+ - 1944807: Unified logger and major step in better logs
2499
+ - 1874f40: Added re ranking tool to RAG
2500
+ - 685108a: Removing mastra syncs
2501
+ - f7d1131: Improved types when missing inputSchema
2502
+ - 79acad0: Better type safety on trigger step
2503
+ - 7a19083: Updates to the LLM class
2504
+ - 382f4dc: move telemetry init to instrumentation.mjs file in build directory
2505
+ - 1ebd071: Add more embedding models
2506
+ - 0b74006: Workflow updates
2507
+ - 2f17a5f: Added filter translator and tests for Qdrant
2508
+ - f368477: Added evals package and added evals in core
2509
+ - 7892533: Updated test evals to use Mastra Storage
2510
+ - 9c10484: update all packages
2511
+ - b726bf5: Fix agent memory int.
2512
+ - 70dabd9: Fix broken publish
2513
+ - 21fe536: add keyword tags for packages and update readmes
2514
+ - 176bc42: Added runId and proper parent spans to workflow tracing
2515
+ - 401a4d9: Add simple conditions test
2516
+ - 2e099d2: Allow trigger passed in to `then` step
2517
+ - 0b826f6: Allow agents to use ZodSchemas in structuredOutput
2518
+ - d68b532: Updated debug logs
2519
+ - 75bf3f0: remove context bug in agent tool execution, update style for mastra dev rendered pages
2520
+ - e6d8055: Added Mastra Storage to add and query live evals
2521
+ - e2e76de: Anthropic model added to new primitive structure
2522
+ - ccbc581: Updated operator validation and handling for all vector stores
2523
+ - 5950de5: Added update instructions API
2524
+ - fe3dcb0: Add fastembed import error handling
2525
+ - 78eec7c: Started implementation on Unified Filter API for several vector stores.
2526
+ - a8a459a: Updated Evals table UI
2527
+ - 0be7181: Add perplexity models
2528
+ - 7b87567: Propagate setLogger calls to more places
2529
+ - b524c22: Package upgrades
2530
+ - df843d3: Fixed libsql db relative file paths so they're always outside the .mastra directory. If they're inside .mastra they will be deleted when code is re-bundled
2531
+ - 4534e77: Fix fastembed imports in mastra cloud for default embedder
2532
+ - d6d8159: Workflow graph diagram
2533
+ - 0bd142c: Fixes learned from docs
2534
+ - 9625602: Use mastra core splitted bundles in other packages
2535
+ - 72d1990: Updated evals table schema
2536
+ - f6ba259: simplify generate api
2537
+ - 2712098: add getAgents method to core and route to cli dev, add homepage interface to cli
2538
+ - eedb829: Better types, and correct payload resolution
2539
+ - cb290ee: Reworked the Memory public API to have more intuitive and simple property names
2540
+ - b4d7416: Added the ability to pass a configured Memory class instance directly to new Agent instances instead of passing memory to Mastra
2541
+ - e608d8c: Export CoreMessage Types from ai sdk
2542
+ - 06b2c0a: Update summarization prompt and fix eval input
2543
+ - 002d6d8: add memory to playground agent
2544
+ - e448a26: Correctly pass down runId to called tools
2545
+ - fd494a3: TTS module
2546
+ - dc90663: Fix issues in packages
2547
+ - c872875: update createMultiLogger to combineLogger
2548
+ - 3c4488b: Fix context not passed in agent tool execution
2549
+ - a7b016d: Added export for MockMastraEngine from @mastra/core
2550
+ - fd75f3c: Added storage, vector, embedder setters to the base MastraMemory class
2551
+ - 7f24c29: Add Chroma Filter translator and updated vector store tests
2552
+ - 2017553: Added fallback title when calling createThread() with no title - this is needed as storage db schemas mark title as non-null
2553
+ - a10b7a3: Implemented new filtering for vectorQueryTool and updated docs
2554
+ - cf6d825: Fixed a bug where 0 values in memory configs were falling back to default val. Removed a noisy log. Removed a deprecated option
2555
+ - 963c15a: Add new toolset primitive and implementation for composio
2556
+ - 7365b6c: More models
2557
+ - 5ee67d3: make trace name configurable for telemetry exporter
2558
+ - d38f7a6: clean up old methods in agent
2559
+ - 38b7f66: Update deployer logic
2560
+ - 2fa7f53: add more logs to workflow, only log failed workflow if all steps fail, animate workflow diagram edges
2561
+ - 1420ae2: Fix storage logger
2562
+ - f6da688: update agents/:agentId page in dev to show agent details and endpoints, add getTools to agent
2563
+ - 3700be1: Added helpful error when using vector with Memory class - error now contains embedding option example
2564
+ - 9ade36e: Changed measure for evals, added endpoints, attached metrics to agent, added ui for evals in playground, and updated docs
2565
+ - 10870bc: Added a default vector db (libsql) and embedder (fastembed) so that new Memory() can be initialized with zero config
2566
+ - 2b01511: Update CONSOLE logger to store logs and return logs, add logs to dev agent page
2567
+ - a870123: Added local embedder class that uses fastembed-js, a Typescript/NodeJS implementation of @Qdrant/fastembed
2568
+ - ccf115c: Fixed incomplete tool call errors when including memory message history in context
2569
+ - 04434b6: Create separate logger file
2570
+ - 5811de6: Updates spec-writer example to use new workflows constructs. Small improvements to workflow internals. Switch transformer tokenizer for js compatible one.
2571
+ - 9f3ab05: pass custom telemetry exporter
2572
+ - 66a5392: batchInsert needs init. Use private version for internal calls
2573
+ - 4b1ce2c: Update Google model support in documentation and type definitions to include new Gemini versions
2574
+ - 14064f2: Deployer abstract class
2575
+ - f5dfa20: only add logger if there is a logger
2576
+ - 327ece7: Updates for ts versions
2577
+ - da2e8d3: Export EmbedManyResult and EmbedResult from ai sdk and update docs
2578
+ - 95a4697: Fixed trace method for telemetry
2579
+ - d5fccfb: expose model function
2580
+ - 3427b95: Updated docs to include intermediate rag examples (metadata filtering, query filters, etc)
2581
+ - 538a136: Added Simple Condition for workflows, updated /api/workflows/{workflowId}/execute endpoint and docs
2582
+ - e66643a: Add o1 models
2583
+ - b5393f1: New example: Dane and many fixes to make it work
2584
+ - d2cd535: configure dotenv in core
2585
+ - c2dd6b5: This set of changes introduces a new .step API for subscribing to step executions for running other step chains. It also improves step types, and enables the ability to create a cyclic step chain.
2586
+ - 67637ba: Fixed storage bugs related to the new Memory API
2587
+ - 836f4e3: Fixed some issues with memory, added Upstash as a memory provider. Silenced dev logs in core
2588
+ - 5ee2e78: Update core for Alpha3 release
2589
+ - cd02c56: Implement a new and improved API for workflows.
2590
+ - 01502b0: fix thread title containing unnecessary text and removed unnecessary logs in memory
2591
+ - d9c8dd0: Logger changes for default transports
2592
+ - 9fb59d6: changeset
2593
+ - a9345f9: Fixed tsc build for core types
2594
+ - 99f1847: Clean up logs
2595
+ - 04f3171: More providers
2596
+ - d5ec619: Remove promptTemplate from core
2597
+ - 27275c9: Added new short term "working" memory for agents. Also added a "maskStreamTags" helper to assist in hiding working memory xml blocks in streamed responses
2598
+ - ae7bf94: Changeset
2599
+ - 4f1d1a1: Enforce types ann cleanup package.json
2600
+ - ee4de15: Dane fixes
2601
+ - 202d404: Added instructions when generating evals
2602
+ - a221426: Simplify workflows watch API
2603
+
2604
+ ## 0.2.0-alpha.110
2605
+
2606
+ ### Patch Changes
2607
+
2608
+ - 016493a: Deprecate metrics in favor of evals
2609
+ - 382f4dc: move telemetry init to instrumentation.mjs file in build directory
2610
+ - 176bc42: Added runId and proper parent spans to workflow tracing
2611
+ - d68b532: Updated debug logs
2612
+ - fe3dcb0: Add fastembed import error handling
2613
+ - e448a26: Correctly pass down runId to called tools
2614
+ - fd75f3c: Added storage, vector, embedder setters to the base MastraMemory class
2615
+ - ccf115c: Fixed incomplete tool call errors when including memory message history in context
2616
+ - a221426: Simplify workflows watch API
2617
+
2618
+ ## 0.2.0-alpha.109
2619
+
2620
+ ### Patch Changes
2621
+
2622
+ - d5fccfb: expose model function
2623
+
2624
+ ## 0.2.0-alpha.108
2625
+
2626
+ ### Patch Changes
2627
+
2628
+ - 5ee67d3: make trace name configurable for telemetry exporter
2629
+ - 95a4697: Fixed trace method for telemetry
2630
+
2631
+ ## 0.2.0-alpha.107
2632
+
2633
+ ### Patch Changes
2634
+
2635
+ - 66a5392: batchInsert needs init. Use private version for internal calls
2636
+
2637
+ ## 0.2.0-alpha.106
2638
+
2639
+ ### Patch Changes
2640
+
2641
+ - 6f2c0f5: Prevent telemetry proxy from converting sync methods to async
2642
+ - a8a459a: Updated Evals table UI
2643
+
2644
+ ## 0.2.0-alpha.105
2645
+
2646
+ ### Patch Changes
2647
+
2648
+ - 1420ae2: Fix storage logger
2649
+ - 99f1847: Clean up logs
2650
+
2651
+ ## 0.2.0-alpha.104
2652
+
2653
+ ### Patch Changes
2654
+
2655
+ - 5fdc87c: Update evals storage in attachListeners
2656
+ - b97ca96: Tracing into default storage
2657
+ - 72d1990: Updated evals table schema
2658
+ - cf6d825: Fixed a bug where 0 values in memory configs were falling back to default val. Removed a noisy log. Removed a deprecated option
2659
+ - 10870bc: Added a default vector db (libsql) and embedder (fastembed) so that new Memory() can be initialized with zero config
2660
+
2661
+ ## 0.2.0-alpha.103
2662
+
2663
+ ### Patch Changes
2664
+
2665
+ - 4534e77: Fix fastembed imports in mastra cloud for default embedder
2666
+
2667
+ ## 0.2.0-alpha.102
2668
+
2669
+ ### Patch Changes
2670
+
2671
+ - a9345f9: Fixed tsc build for core types
2672
+
2673
+ ## 0.2.0-alpha.101
2674
+
2675
+ ### Patch Changes
2676
+
2677
+ - 66a03ec: Removed an extra llm call that was needed for the old Memory API but is no longer needed
2678
+ - 4f1d1a1: Enforce types ann cleanup package.json
2679
+
2680
+ ## 0.2.0-alpha.100
2681
+
2682
+ ### Patch Changes
2683
+
2684
+ - 9d1796d: Fix storage and eval serialization on api
2685
+
2686
+ ## 0.2.0-alpha.99
2687
+
2688
+ ### Patch Changes
2689
+
2690
+ - 7d83b92: Create default storage and move evals towards it
2691
+
2692
+ ## 0.2.0-alpha.98
2693
+
2694
+ ### Patch Changes
2695
+
2696
+ - 70dabd9: Fix broken publish
2697
+ - 202d404: Added instructions when generating evals
2698
+
2699
+ ## 0.2.0-alpha.97
2700
+
2701
+ ### Patch Changes
2702
+
2703
+ - 07c069d: Add dotenv as dependency
2704
+ - 7892533: Updated test evals to use Mastra Storage
2705
+ - e6d8055: Added Mastra Storage to add and query live evals
2706
+ - 5950de5: Added update instructions API
2707
+ - df843d3: Fixed libsql db relative file paths so they're always outside the .mastra directory. If they're inside .mastra they will be deleted when code is re-bundled
2708
+ - a870123: Added local embedder class that uses fastembed-js, a Typescript/NodeJS implementation of @Qdrant/fastembed
2709
+
2710
+ ## 0.2.0-alpha.96
2711
+
2712
+ ### Minor Changes
2713
+
2714
+ - 74b3078: Reduce verbosity in workflows API
2715
+
2716
+ ## 0.2.0-alpha.95
2717
+
2718
+ ### Patch Changes
2719
+
2720
+ - 9fb59d6: changeset
2721
+
2722
+ ## 0.2.0-alpha.94
2723
+
2724
+ ### Minor Changes
2725
+
2726
+ - 8b416d9: Breaking changes
2727
+
2728
+ ### Patch Changes
2729
+
2730
+ - 9c10484: update all packages
2731
+
2732
+ ## 0.2.0-alpha.93
2733
+
2734
+ ### Minor Changes
2735
+
2736
+ - 5285356: Renamed MastraLibSQLStorage and MastraLibSQLVector to DefaultStorage and DefaultVectorDB. I left the old export names so that it wont break anyones projects but all docs now show the new names
2737
+
2738
+ ## 0.2.0-alpha.92
2739
+
2740
+ ### Minor Changes
2741
+
2742
+ - 4d4f6b6: Update deployer
2743
+
2744
+ ## 0.2.0-alpha.91
2745
+
2746
+ ### Minor Changes
2747
+
2748
+ - d7d465a: Breaking change for Memory: embeddings: {} has been replaced with embedder: new OpenAIEmbedder() (or whichever embedder you want - check the docs)
2749
+ - 16e5b04: Moved @mastra/vector-libsql into @mastra/core/vector/libsql
2750
+
2751
+ ### Patch Changes
2752
+
2753
+ - d7d465a: Embedding api
2754
+ - 2017553: Added fallback title when calling createThread() with no title - this is needed as storage db schemas mark title as non-null
2755
+ - a10b7a3: Implemented new filtering for vectorQueryTool and updated docs
2756
+
2757
+ ## 0.2.0-alpha.90
2758
+
2759
+ ### Patch Changes
2760
+
2761
+ - 8151f44: Added \_\_registerPrimitives to model.ts
2762
+ - e897f1c: Eval change
2763
+ - 3700be1: Added helpful error when using vector with Memory class - error now contains embedding option example
2764
+
2765
+ ## 0.2.0-alpha.89
2766
+
2767
+ ### Patch Changes
2768
+
2769
+ - 27275c9: Added new short term "working" memory for agents. Also added a "maskStreamTags" helper to assist in hiding working memory xml blocks in streamed responses
2770
+
2771
+ ## 0.2.0-alpha.88
2772
+
2773
+ ### Patch Changes
2774
+
2775
+ - ccbc581: Updated operator validation and handling for all vector stores
2776
+
2777
+ ## 0.2.0-alpha.87
2778
+
2779
+ ### Patch Changes
2780
+
2781
+ - 7365b6c: More models
2782
+
2783
+ ## 0.2.0-alpha.86
2784
+
2785
+ ### Patch Changes
2786
+
2787
+ - 6fa4bd2: New LLM primitive, OpenAI, AmazonBedrock
2788
+ - e2e76de: Anthropic model added to new primitive structure
2789
+ - 7f24c29: Add Chroma Filter translator and updated vector store tests
2790
+ - 67637ba: Fixed storage bugs related to the new Memory API
2791
+ - 04f3171: More providers
2792
+
2793
+ ## 0.2.0-alpha.85
2794
+
2795
+ ### Patch Changes
2796
+
2797
+ - e9d1b47: Rename Memory options historySearch to semanticRecall, rename embeddingOptions to embedding
2798
+
2799
+ ## 0.2.0-alpha.84
2800
+
2801
+ ### Patch Changes
2802
+
2803
+ - 2f17a5f: Added filter translator and tests for Qdrant
2804
+ - cb290ee: Reworked the Memory public API to have more intuitive and simple property names
2805
+ - b4d7416: Added the ability to pass a configured Memory class instance directly to new Agent instances instead of passing memory to Mastra
2806
+ - 38b7f66: Update deployer logic
2807
+
2808
+ ## 0.2.0-alpha.83
2809
+
2810
+ ### Minor Changes
2811
+
2812
+ - 30322ce: Added new Memory API for managed agent memory via MastraStorage and MastraVector classes
2813
+ - 8769a62: Split core into seperate entry fils
2814
+
2815
+ ### Patch Changes
2816
+
2817
+ - 78eec7c: Started implementation on Unified Filter API for several vector stores.
2818
+ - 9625602: Use mastra core splitted bundles in other packages
2819
+
2820
+ ## 0.1.27-alpha.82
2821
+
2822
+ ### Patch Changes
2823
+
2824
+ - 73d112c: Core and deployer fixes
2825
+
2826
+ ## 0.1.27-alpha.81
2827
+
2828
+ ### Patch Changes
2829
+
2830
+ - 9fb3039: Storage
2831
+
2832
+ ## 0.1.27-alpha.80
2833
+
2834
+ ### Patch Changes
2835
+
2836
+ - 327ece7: Updates for ts versions
2837
+
2838
+ ## 0.1.27-alpha.79
2839
+
2840
+ ### Patch Changes
2841
+
2842
+ - 21fe536: add keyword tags for packages and update readmes
2843
+
2844
+ ## 0.1.27-alpha.78
2845
+
2846
+ ### Patch Changes
2847
+
2848
+ - 685108a: Remove syncs and excess rag
2849
+ - 685108a: Removing mastra syncs
2850
+
2851
+ ## 0.1.27-alpha.77
2852
+
2853
+ ### Patch Changes
2854
+
2855
+ - 8105fae: Split embed into embed and embedMany to handle different return types
2856
+
2857
+ ## 0.1.27-alpha.76
2858
+
2859
+ ### Patch Changes
2860
+
2861
+ - ae7bf94: Fix loggers messing up deploys
2862
+ - ae7bf94: Changeset
2863
+
2864
+ ## 0.1.27-alpha.75
2865
+
2866
+ ### Patch Changes
2867
+
2868
+ - 23dcb23: Redeploy core
2869
+
2870
+ ## 0.1.27-alpha.74
2871
+
2872
+ ### Patch Changes
2873
+
2874
+ - 7b87567: Propagate setLogger calls to more places
2875
+
2876
+ ## 0.1.27-alpha.73
2877
+
2878
+ ### Patch Changes
2879
+
2880
+ - 3427b95: Updated docs to include intermediate rag examples (metadata filtering, query filters, etc)
2881
+
2882
+ ## 0.1.27-alpha.72
2883
+
2884
+ ### Patch Changes
2885
+
2886
+ - e4d4ede: Better setLogger()
2887
+ - 06b2c0a: Update summarization prompt and fix eval input
2888
+
2889
+ ## 0.1.27-alpha.71
2890
+
2891
+ ### Patch Changes
2892
+
2893
+ - d9c8dd0: Logger changes for default transports
2894
+
2895
+ ## 0.1.27-alpha.70
2896
+
2897
+ ### Patch Changes
2898
+
2899
+ - dd6d87f: Update Agent and LLM config to accept temperature setting
2900
+ - 04434b6: Create separate logger file
2901
+
2902
+ ## 0.1.27-alpha.69
2903
+
2904
+ ### Patch Changes
2905
+
2906
+ - 1944807: Unified logger and major step in better logs
2907
+ - 9ade36e: Changed measure for evals, added endpoints, attached metrics to agent, added ui for evals in playground, and updated docs
2908
+
2909
+ ## 0.1.27-alpha.68
2910
+
2911
+ ### Patch Changes
2912
+
2913
+ - 0be7181: Fix forward version
2914
+ - 0be7181: Add perplexity models
2915
+
2916
+ ## 0.1.27-alpha.67
2917
+
2918
+ ### Patch Changes
2919
+
2920
+ - c8ff2f5: Fixed passing CoreMessages to stream/generate where the role is not user. Previously all messages would be rewritten to have role: "user"
2921
+
2922
+ ## 0.1.27-alpha.66
2923
+
2924
+ ### Patch Changes
2925
+
2926
+ - 14064f2: Deployer abstract class
2927
+
2928
+ ## 0.1.27-alpha.65
2929
+
2930
+ ### Patch Changes
2931
+
2932
+ - e66643a: Add o1 models
2933
+
2934
+ ## 0.1.27-alpha.64
2935
+
2936
+ ### Patch Changes
2937
+
2938
+ - f368477: Added evals package and added evals in core
2939
+ - d5ec619: Remove promptTemplate from core
2940
+
2941
+ ## 0.1.27-alpha.63
2942
+
2943
+ ### Patch Changes
2944
+
2945
+ - e097800: TTS in core
2946
+
2947
+ ## 0.1.27-alpha.62
2948
+
2949
+ ### Patch Changes
2950
+
2951
+ - 93a3719: Mastra prompt template engine
2952
+
2953
+ ## 0.1.27-alpha.61
2954
+
2955
+ ### Patch Changes
2956
+
2957
+ - dc90663: Fix issues in packages
2958
+
2959
+ ## 0.1.27-alpha.60
2960
+
2961
+ ### Patch Changes
2962
+
2963
+ - 3967e69: Added GraphRAG implementation and updated docs
2964
+
2965
+ ## 0.1.27-alpha.59
2966
+
2967
+ ### Patch Changes
2968
+
2969
+ - b524c22: Package upgrades
2970
+
2971
+ ## 0.1.27-alpha.58
2972
+
2973
+ ### Patch Changes
2974
+
2975
+ - 1874f40: Added re ranking tool to RAG
2976
+ - 4b1ce2c: Update Google model support in documentation and type definitions to include new Gemini versions
2977
+
2978
+ ## 0.1.27-alpha.57
2979
+
2980
+ ### Patch Changes
2981
+
2982
+ - fd494a3: TTS module
2983
+
2984
+ ## 0.1.27-alpha.56
2985
+
2986
+ ### Patch Changes
2987
+
2988
+ - 9f3ab05: pass custom telemetry exporter
2989
+
2990
+ ## 0.1.27-alpha.55
2991
+
2992
+ ### Patch Changes
2993
+
2994
+ - 592e3cf: Add custom rag tools, add vector retrieval, and update docs
2995
+ - 837a288: MAJOR Revamp of tools, workflows, syncs.
2996
+ - 0b74006: Workflow updates
2997
+
2998
+ ## 0.1.27-alpha.54
2999
+
3000
+ ### Patch Changes
3001
+
3002
+ - d2cd535: configure dotenv in core
3003
+
3004
+ ## 0.1.27-alpha.53
3005
+
3006
+ ### Patch Changes
3007
+
3008
+ - 8e7814f: Add payload getter on machine context
3009
+
3010
+ ## 0.1.27-alpha.52
3011
+
3012
+ ### Patch Changes
3013
+
3014
+ - eedb829: Better types, and correct payload resolution
3015
+
3016
+ ## 0.1.27-alpha.51
3017
+
3018
+ ### Patch Changes
3019
+
3020
+ - a7b016d: Added export for MockMastraEngine from @mastra/core
3021
+ - da2e8d3: Export EmbedManyResult and EmbedResult from ai sdk and update docs
3022
+ - 538a136: Added Simple Condition for workflows, updated /api/workflows/{workflowId}/execute endpoint and docs
3023
+
3024
+ ## 0.1.27-alpha.50
3025
+
3026
+ ### Patch Changes
3027
+
3028
+ - 401a4d9: Add simple conditions test
3029
+
3030
+ ## 0.1.27-alpha.49
3031
+
3032
+ ### Patch Changes
3033
+
3034
+ - 79acad0: Better type safety on trigger step
3035
+ - f5dfa20: only add logger if there is a logger
3036
+
3037
+ ## 0.1.27-alpha.48
3038
+
3039
+ ### Patch Changes
3040
+
3041
+ - b726bf5: Fix agent memory int.
3042
+
3043
+ ## 0.1.27-alpha.47
3044
+
3045
+ ### Patch Changes
3046
+
3047
+ - f6ba259: simplify generate api
3048
+
3049
+ ## 0.1.27-alpha.46
3050
+
3051
+ ### Patch Changes
3052
+
3053
+ - 8ae2bbc: Dane publishing
3054
+ - 0bd142c: Fixes learned from docs
3055
+ - ee4de15: Dane fixes
3056
+
3057
+ ## 0.1.27-alpha.45
3058
+
3059
+ ### Patch Changes
3060
+
3061
+ - e608d8c: Export CoreMessage Types from ai sdk
3062
+ - 002d6d8: add memory to playground agent
3063
+
3064
+ ## 0.1.27-alpha.44
3065
+
3066
+ ### Patch Changes
3067
+
3068
+ - 2fa7f53: add more logs to workflow, only log failed workflow if all steps fail, animate workflow diagram edges
3069
+
3070
+ ## 0.1.27-alpha.43
3071
+
3072
+ ### Patch Changes
3073
+
3074
+ - 2e099d2: Allow trigger passed in to `then` step
3075
+ - d6d8159: Workflow graph diagram
3076
+
3077
+ ## 0.1.27-alpha.42
3078
+
3079
+ ### Patch Changes
3080
+
3081
+ - 4a54c82: Fix dane labelling functionality
3082
+
3083
+ ## 0.1.27-alpha.41
3084
+
3085
+ ### Patch Changes
3086
+
3087
+ - 5cdfb88: add getWorkflows method to core, add runId to workflow logs, update workflow starter file, add workflows page with table and workflow page with info, endpoints and logs
3088
+
3089
+ ## 0.1.27-alpha.40
3090
+
3091
+ ### Patch Changes
3092
+
3093
+ - 9029796: add more logs to agent for debugging
3094
+
3095
+ ## 0.1.27-alpha.39
3096
+
3097
+ ### Patch Changes
3098
+
3099
+ - 2b01511: Update CONSOLE logger to store logs and return logs, add logs to dev agent page
3100
+
3101
+ ## 0.1.27-alpha.38
3102
+
3103
+ ### Patch Changes
3104
+
3105
+ - f031a1f: expose embed from rag, and refactor embed
3106
+
3107
+ ## 0.1.27-alpha.37
3108
+
3109
+ ### Patch Changes
3110
+
3111
+ - c872875: update createMultiLogger to combineLogger
3112
+ - f6da688: update agents/:agentId page in dev to show agent details and endpoints, add getTools to agent
3113
+ - b5393f1: New example: Dane and many fixes to make it work
3114
+
3115
+ ## 0.1.27-alpha.36
3116
+
3117
+ ### Patch Changes
3118
+
3119
+ - f537e33: feat: add default logger
3120
+ - bc40916: Pass mastra instance directly into actions allowing access to all registered primitives
3121
+ - f7d1131: Improved types when missing inputSchema
3122
+ - 75bf3f0: remove context bug in agent tool execution, update style for mastra dev rendered pages
3123
+ - 3c4488b: Fix context not passed in agent tool execution
3124
+ - d38f7a6: clean up old methods in agent
3125
+
3126
+ ## 0.1.27-alpha.35
3127
+
3128
+ ### Patch Changes
3129
+
3130
+ - 033eda6: More fixes for refactor
3131
+
3132
+ ## 0.1.27-alpha.34
3133
+
3134
+ ### Patch Changes
3135
+
3136
+ - 837a288: MAJOR Revamp of tools, workflows, syncs.
3137
+ - 5811de6: Updates spec-writer example to use new workflows constructs. Small improvements to workflow internals. Switch transformer tokenizer for js compatible one.
3138
+
3139
+ ## 0.1.27-alpha.33
3140
+
3141
+ ### Patch Changes
3142
+
3143
+ - e1dd94a: update the api for embeddings
3144
+
3145
+ ## 0.1.27-alpha.32
3146
+
3147
+ ### Patch Changes
3148
+
3149
+ - 2712098: add getAgents method to core and route to cli dev, add homepage interface to cli
3150
+
3151
+ ## 0.1.27-alpha.31
3152
+
3153
+ ### Patch Changes
3154
+
3155
+ - c2dd6b5: This set of changes introduces a new .step API for subscribing to step executions for running other step chains. It also improves step types, and enables the ability to create a cyclic step chain.
3156
+
3157
+ ## 0.1.27-alpha.30
3158
+
3159
+ ### Patch Changes
3160
+
3161
+ - 963c15a: Add new toolset primitive and implementation for composio
3162
+
3163
+ ## 0.1.27-alpha.29
3164
+
3165
+ ### Patch Changes
3166
+
3167
+ - 7d87a15: generate command in agent, and support array of message strings
3168
+
3169
+ ## 0.1.27-alpha.28
3170
+
3171
+ ### Patch Changes
3172
+
3173
+ - 1ebd071: Add more embedding models
3174
+
3175
+ ## 0.1.27-alpha.27
3176
+
3177
+ ### Patch Changes
3178
+
3179
+ - cd02c56: Implement a new and improved API for workflows.
3180
+
3181
+ ## 0.1.27-alpha.26
3182
+
3183
+ ### Patch Changes
3184
+
3185
+ - d5e12de: optional mastra config object
3186
+
3187
+ ## 0.1.27-alpha.25
3188
+
3189
+ ### Patch Changes
3190
+
3191
+ - 01502b0: fix thread title containing unnecessary text and removed unnecessary logs in memory
3192
+
3193
+ ## 0.1.27-alpha.24
3194
+
3195
+ ### Patch Changes
3196
+
3197
+ - 836f4e3: Fixed some issues with memory, added Upstash as a memory provider. Silenced dev logs in core
3198
+
3199
+ ## 0.1.27-alpha.23
3200
+
3201
+ ### Patch Changes
3202
+
3203
+ - 0b826f6: Allow agents to use ZodSchemas in structuredOutput
3204
+
3205
+ ## 0.1.27-alpha.22
3206
+
3207
+ ### Patch Changes
3208
+
3209
+ - 7a19083: Updates to the LLM class
3210
+
3211
+ ## 0.1.27-alpha.21
3212
+
3213
+ ### Patch Changes
3214
+
3215
+ - 5ee2e78: Update core for Alpha3 release