@cchevli/inngest 1.8.1-walton.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3981 -0
- package/dist/__tests__/adapters/_utils.d.ts +18 -0
- package/dist/__tests__/adapters/_utils.d.ts.map +1 -0
- package/dist/__tests__/durable-agent.test.utils.d.ts +43 -0
- package/dist/__tests__/durable-agent.test.utils.d.ts.map +1 -0
- package/dist/chunk-MICZJLEE.cjs +1977 -0
- package/dist/chunk-MICZJLEE.cjs.map +1 -0
- package/dist/chunk-SE7QPBOX.js +1970 -0
- package/dist/chunk-SE7QPBOX.js.map +1 -0
- package/dist/connect.cjs +12 -0
- package/dist/connect.cjs.map +1 -0
- package/dist/connect.d.ts +43 -0
- package/dist/connect.d.ts.map +1 -0
- package/dist/connect.js +3 -0
- package/dist/connect.js.map +1 -0
- package/dist/durable-agent/create-inngest-agent.d.ts +425 -0
- package/dist/durable-agent/create-inngest-agent.d.ts.map +1 -0
- package/dist/durable-agent/create-inngest-agentic-workflow.d.ts +56 -0
- package/dist/durable-agent/create-inngest-agentic-workflow.d.ts.map +1 -0
- package/dist/durable-agent/index.d.ts +48 -0
- package/dist/durable-agent/index.d.ts.map +1 -0
- package/dist/execution-engine.d.ts +209 -0
- package/dist/execution-engine.d.ts.map +1 -0
- package/dist/functions.d.ts +7 -0
- package/dist/functions.d.ts.map +1 -0
- package/dist/index.cjs +1576 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +117 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1548 -0
- package/dist/index.js.map +1 -0
- package/dist/nested-workflow-output.d.ts +21 -0
- package/dist/nested-workflow-output.d.ts.map +1 -0
- package/dist/pubsub.d.ts +60 -0
- package/dist/pubsub.d.ts.map +1 -0
- package/dist/run.d.ts +234 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/serve.d.ts +77 -0
- package/dist/serve.d.ts.map +1 -0
- package/dist/types.d.ts +16 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/workflow.d.ts +58 -0
- package/dist/workflow.d.ts.map +1 -0
- package/package.json +98 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,3981 @@
|
|
|
1
|
+
# @mastra/inngest
|
|
2
|
+
|
|
3
|
+
## 1.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Removed the unused @opentelemetry/core dependency. It was left over from an earlier tracing workaround and pulled a vulnerable version (GHSA-8988-4f7v-96qf) into installs. ([#18793](https://github.com/mastra-ai/mastra/pull/18793))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`700619b`](https://github.com/mastra-ai/mastra/commit/700619b61d572e592cbaaf758121d168844ca4d2), [`0f69865`](https://github.com/mastra-ai/mastra/commit/0f69865aced225d98eac812e22699dc445ee18cb), [`9250acd`](https://github.com/mastra-ai/mastra/commit/9250acd1357f0f1f33d0dcca16f9655084c58eca), [`0c3d4bc`](https://github.com/mastra-ai/mastra/commit/0c3d4bcae13ea3699d379403e6f350d5cf4efe9f), [`cc440a3`](https://github.com/mastra-ai/mastra/commit/cc440a39400d8ce06655462b26c1666a1b3d4320), [`6a61846`](https://github.com/mastra-ai/mastra/commit/6a61846eeda29fb714549b70f1bee2bf6b141c44), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`17369b2`](https://github.com/mastra-ai/mastra/commit/17369b25250561e9ed994ae509be1d15bfb33bcb), [`c64c2a8`](https://github.com/mastra-ai/mastra/commit/c64c2a8503a50252f9ca6b8e8c54cadee31b92a2), [`bcae929`](https://github.com/mastra-ai/mastra/commit/bcae929945cbf265bd9f327cc715ecafa072b5b9), [`ea6327b`](https://github.com/mastra-ai/mastra/commit/ea6327ba2d63ca647804bc97b347e03a58617162), [`3439fa8`](https://github.com/mastra-ai/mastra/commit/3439fa836ecfcaa257b40c20b30ac2a8be22e9ea), [`85107f2`](https://github.com/mastra-ai/mastra/commit/85107f2758b527147fccbedff962961927c2d3b8), [`b33822e`](https://github.com/mastra-ai/mastra/commit/b33822e8d470884954b02f7b0745407ee4ef74b1), [`06e2680`](https://github.com/mastra-ai/mastra/commit/06e26806b51d2cbd858afdc66daa2b86ff3ba64a), [`06ff9e0`](https://github.com/mastra-ai/mastra/commit/06ff9e0befd1d642ab87ff749285ee4091205c7e), [`d5c11e3`](https://github.com/mastra-ai/mastra/commit/d5c11e3ba5045969caa7272a7bd1fd141c93ab6c), [`7f5e1ff`](https://github.com/mastra-ai/mastra/commit/7f5e1ff695a92f672bb3976363925d1e9136b54a), [`ff80671`](https://github.com/mastra-ai/mastra/commit/ff8067185e208b27198b4e5b71803013175c3643), [`b8375c1`](https://github.com/mastra-ai/mastra/commit/b8375c1f8fe905df8ae2ae9a893bb365f17aec4e), [`dab1257`](https://github.com/mastra-ai/mastra/commit/dab1257b64e4ed576dc5038bb7a3f7072338bc9f), [`1240f05`](https://github.com/mastra-ai/mastra/commit/1240f051c8e5371f1c014448bf37b1a1b9a05e47), [`705ff39`](https://github.com/mastra-ai/mastra/commit/705ff3969e57214ff2fdaf3815d751dd558886ed), [`e6fbd5b`](https://github.com/mastra-ai/mastra/commit/e6fbd5bfdc28e92c0c0433f29aa1bc152d3430f6), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`6f2026c`](https://github.com/mastra-ai/mastra/commit/6f2026cdf114ff1e21e49133ca774ec7d5085059), [`24c10d3`](https://github.com/mastra-ai/mastra/commit/24c10d333e6649ac06075903aeeee13a933db3b3), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`215f9b0`](https://github.com/mastra-ai/mastra/commit/215f9b0f3f3f6fc165edad360582dd4d3d7ea748), [`003f35d`](https://github.com/mastra-ai/mastra/commit/003f35d19e07b23b4bacc591c8bc0c59b42124ae), [`f890eda`](https://github.com/mastra-ai/mastra/commit/f890eda2c8a2ae83d9b30bc6d85842f93b6c266b), [`1340fb7`](https://github.com/mastra-ai/mastra/commit/1340fb76262a3ca062130aa71859f07257a0a5a4)]:
|
|
10
|
+
- @mastra/core@1.49.0
|
|
11
|
+
|
|
12
|
+
## 1.8.1-alpha.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Removed the unused @opentelemetry/core dependency. It was left over from an earlier tracing workaround and pulled a vulnerable version (GHSA-8988-4f7v-96qf) into installs. ([#18793](https://github.com/mastra-ai/mastra/pull/18793))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`700619b`](https://github.com/mastra-ai/mastra/commit/700619b61d572e592cbaaf758121d168844ca4d2), [`0c3d4bc`](https://github.com/mastra-ai/mastra/commit/0c3d4bcae13ea3699d379403e6f350d5cf4efe9f), [`17369b2`](https://github.com/mastra-ai/mastra/commit/17369b25250561e9ed994ae509be1d15bfb33bcb), [`bcae929`](https://github.com/mastra-ai/mastra/commit/bcae929945cbf265bd9f327cc715ecafa072b5b9), [`b33822e`](https://github.com/mastra-ai/mastra/commit/b33822e8d470884954b02f7b0745407ee4ef74b1), [`d5c11e3`](https://github.com/mastra-ai/mastra/commit/d5c11e3ba5045969caa7272a7bd1fd141c93ab6c), [`ff80671`](https://github.com/mastra-ai/mastra/commit/ff8067185e208b27198b4e5b71803013175c3643), [`dab1257`](https://github.com/mastra-ai/mastra/commit/dab1257b64e4ed576dc5038bb7a3f7072338bc9f), [`705ff39`](https://github.com/mastra-ai/mastra/commit/705ff3969e57214ff2fdaf3815d751dd558886ed), [`e6fbd5b`](https://github.com/mastra-ai/mastra/commit/e6fbd5bfdc28e92c0c0433f29aa1bc152d3430f6), [`6f2026c`](https://github.com/mastra-ai/mastra/commit/6f2026cdf114ff1e21e49133ca774ec7d5085059), [`f890eda`](https://github.com/mastra-ai/mastra/commit/f890eda2c8a2ae83d9b30bc6d85842f93b6c266b)]:
|
|
19
|
+
- @mastra/core@1.49.0-alpha.3
|
|
20
|
+
|
|
21
|
+
## 1.8.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- Added support for the fine-grained authorization (FGA) `actor` signal on the Inngest execution engine. ([#18674](https://github.com/mastra-ai/mastra/pull/18674))
|
|
26
|
+
|
|
27
|
+
Workflows running on the Inngest engine can now pass a trusted `actor` through `run.start()`, `startAsync()`, `resume()`, `stream()`, and `timeTravel()`. The signal is re-threaded across durable step and nested-workflow boundaries, so every nested agent, tool, and memory FGA check sees the same actor. Previously `actor` was only threaded through the default engine, so trusted background workflows on Inngest lost the membership bypass at each step re-entry.
|
|
28
|
+
|
|
29
|
+
**Usage**
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
const run = await workflow.createRun();
|
|
33
|
+
await run.start({
|
|
34
|
+
inputData,
|
|
35
|
+
requestContext, // includes organizationId / tenant scope
|
|
36
|
+
actor: { actorKind: 'system', sourceWorkflow: 'nightly-sync' },
|
|
37
|
+
});
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
- Bring `InngestAgent` (Inngest-backed durable agent) to parity with `DurableAgent` for per-call execution options, abort handling, idle-aware resume, and `generate()`. ([#18615](https://github.com/mastra-ai/mastra/pull/18615))
|
|
41
|
+
|
|
42
|
+
`InngestAgent.stream()` and `resume()` now accept the same execution-option surface as `DurableAgent`, including `stopWhen`, `activeTools`, `structuredOutput`, `versions`, `system`, `disableBackgroundTasks`, `tracingOptions`, `actor`, `transform`, `prepareStep`, `isTaskComplete`, `delegation`, function-form `requireToolApproval`, and the lifecycle callbacks `onAbort` / `onIterationComplete`. Closure-shaped options (`prepareStep`, `transform`, function-form `isTaskComplete` / `requireToolApproval`, `stopWhen` callbacks) continue to work in-process; they degrade after a worker hop the same way they do for in-memory `DurableAgent`.
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
const result = await inngestAgent.stream(messages, {
|
|
46
|
+
runId: 'run-1',
|
|
47
|
+
abortSignal: controller.signal,
|
|
48
|
+
stopWhen: stepCountIs(5),
|
|
49
|
+
onIterationComplete: ({ iteration }) => console.log('done', iteration),
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
// Cancel a live run from the caller
|
|
53
|
+
result.abort();
|
|
54
|
+
|
|
55
|
+
// Resume and drive the run to completion in a single call
|
|
56
|
+
await inngestAgent.resume({ runId: 'run-1', resumeData, untilIdle: true });
|
|
57
|
+
|
|
58
|
+
// Durable equivalents of Agent.generate / resumeGenerate
|
|
59
|
+
const out = await inngestAgent.generate(messages, { runId: 'run-2' });
|
|
60
|
+
const resumed = await inngestAgent.resumeGenerate({ runId: 'run-2', resumeData });
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`@mastra/core` re-exports `globalRunRegistry` and `runResumeDurableStreamUntilIdle` from `@mastra/core/agent/durable` so durable-agent integrations can share the same registry and idle-wrapper plumbing.
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Fix `observe()` on Inngest durable agents so late subscribers replay buffered events before the live stream. ([#18535](https://github.com/mastra-ai/mastra/pull/18535))
|
|
68
|
+
|
|
69
|
+
Previously, calling `observe()` after a run had started — or reconnecting after a disconnect — only delivered chunks emitted from that moment on. Anything published earlier in the run was lost, including events from nested durable steps. `observe()` now replays the full history of `chunk`, `finish`, and `suspended` events for the requested `runId`, then continues on the live stream, matching the in-memory `DurableAgent` behavior.
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
// First connection kicks off the run
|
|
73
|
+
await inngestAgent.stream(messages, { runId: 'run-1' });
|
|
74
|
+
|
|
75
|
+
// Second connection replays earlier events, then continues live
|
|
76
|
+
const { fullStream } = await inngestAgent.observe('run-1');
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
When no cache is configured, an in-process cache is used as a fallback so single-process replay works out of the box. Cross-process `observe()` still requires a shared cache backend (e.g. Redis) passed via `cache` or `mastra.serverCache`.
|
|
80
|
+
|
|
81
|
+
- Updated dependencies [[`b9a2961`](https://github.com/mastra-ai/mastra/commit/b9a2961c1be81e3639c0879e58588c26dd0ae866), [`b33c77d`](https://github.com/mastra-ai/mastra/commit/b33c77d5293f14a794f3ec38dc947a6676de2764), [`1274eb3`](https://github.com/mastra-ai/mastra/commit/1274eb3a9508f579ceb3187fbce34408222d4b71), [`cdd5f93`](https://github.com/mastra-ai/mastra/commit/cdd5f939cefa67390629704dce92563ccbf492b2), [`1274eb3`](https://github.com/mastra-ai/mastra/commit/1274eb3a9508f579ceb3187fbce34408222d4b71), [`0ac14ce`](https://github.com/mastra-ai/mastra/commit/0ac14cea48e1b0a7857782153c78f7242fdf7e1a), [`9566d27`](https://github.com/mastra-ai/mastra/commit/9566d27ead3d95bdbe5a69e5a082a68222829cf2), [`8be63b0`](https://github.com/mastra-ai/mastra/commit/8be63b015fb8d72cea1220f05e7dc3bb997cc249), [`1009f77`](https://github.com/mastra-ai/mastra/commit/1009f772aa40016b49267c8566d0c29f6a16aa3c), [`1b8728a`](https://github.com/mastra-ai/mastra/commit/1b8728a57fd844205a452b0b4216d20ff60c784a), [`23c31de`](https://github.com/mastra-ai/mastra/commit/23c31de96ed8153402dcf092ac84b27a0c3638c1), [`0368766`](https://github.com/mastra-ai/mastra/commit/0368766744c7ea3df4d6059e2cc15f7bdf55f5a6), [`6f578ac`](https://github.com/mastra-ai/mastra/commit/6f578acba84930b406b2a0700b17cfdfaf5aae56), [`345eecc`](https://github.com/mastra-ai/mastra/commit/345eecce6ba519b5d987f0e10b5de4c8e5734580), [`1917c53`](https://github.com/mastra-ai/mastra/commit/1917c53b19dac43926f29c496893b0686462dca4), [`c01012f`](https://github.com/mastra-ai/mastra/commit/c01012f50368d29eb3fc3764df42d48291973d23), [`705ba98`](https://github.com/mastra-ai/mastra/commit/705ba98726d388a596e896225f237907ca6807a9), [`95857bc`](https://github.com/mastra-ai/mastra/commit/95857bcd6669da7193f503e803f0d72a2bd66be6), [`e62c108`](https://github.com/mastra-ai/mastra/commit/e62c108409dfd6a6cac0a48ec39c5cc81d24fd52), [`2866f04`](https://github.com/mastra-ai/mastra/commit/2866f04953edb78c1637fa45cc53abe24122edcb), [`ee14cae`](https://github.com/mastra-ai/mastra/commit/ee14cae244805783bde518a6142de28b744b169c), [`e84e791`](https://github.com/mastra-ai/mastra/commit/e84e79174031d7bc8793ca6c805eb38b06e7cfb1), [`c2f0b7f`](https://github.com/mastra-ai/mastra/commit/c2f0b7f1370f4428d165f51f0d1d9a48331cc257), [`213feb8`](https://github.com/mastra-ai/mastra/commit/213feb87bfdd1d8ec00ea660e218f9bcfcb34e7b), [`58e287b`](https://github.com/mastra-ai/mastra/commit/58e287b1edaf978b13745a1795989cad3826e82b), [`e420b3c`](https://github.com/mastra-ai/mastra/commit/e420b3c3ffc98bbc5b791897ea390bb47af99696), [`be875ed`](https://github.com/mastra-ai/mastra/commit/be875ed43f856742ce58529f531b5ea0ae6911f3), [`9eefdc0`](https://github.com/mastra-ai/mastra/commit/9eefdc0ac03f989718c6d835334940a977938895), [`bfbbb01`](https://github.com/mastra-ai/mastra/commit/bfbbb01bd845ba54cdc0c678c277d08a7cb847e4), [`7d112ca`](https://github.com/mastra-ai/mastra/commit/7d112ca17078479b2659b88ba1c85b936cfc111c)]:
|
|
82
|
+
- @mastra/core@1.48.0
|
|
83
|
+
|
|
84
|
+
## 1.8.0-alpha.2
|
|
85
|
+
|
|
86
|
+
### Minor Changes
|
|
87
|
+
|
|
88
|
+
- Added support for the fine-grained authorization (FGA) `actor` signal on the Inngest execution engine. ([#18674](https://github.com/mastra-ai/mastra/pull/18674))
|
|
89
|
+
|
|
90
|
+
Workflows running on the Inngest engine can now pass a trusted `actor` through `run.start()`, `startAsync()`, `resume()`, `stream()`, and `timeTravel()`. The signal is re-threaded across durable step and nested-workflow boundaries, so every nested agent, tool, and memory FGA check sees the same actor. Previously `actor` was only threaded through the default engine, so trusted background workflows on Inngest lost the membership bypass at each step re-entry.
|
|
91
|
+
|
|
92
|
+
**Usage**
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
const run = await workflow.createRun();
|
|
96
|
+
await run.start({
|
|
97
|
+
inputData,
|
|
98
|
+
requestContext, // includes organizationId / tenant scope
|
|
99
|
+
actor: { actorKind: 'system', sourceWorkflow: 'nightly-sync' },
|
|
100
|
+
});
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Patch Changes
|
|
104
|
+
|
|
105
|
+
- Updated dependencies [[`8be63b0`](https://github.com/mastra-ai/mastra/commit/8be63b015fb8d72cea1220f05e7dc3bb997cc249), [`345eecc`](https://github.com/mastra-ai/mastra/commit/345eecce6ba519b5d987f0e10b5de4c8e5734580), [`ee14cae`](https://github.com/mastra-ai/mastra/commit/ee14cae244805783bde518a6142de28b744b169c)]:
|
|
106
|
+
- @mastra/core@1.48.0-alpha.7
|
|
107
|
+
|
|
108
|
+
## 1.8.0-alpha.1
|
|
109
|
+
|
|
110
|
+
### Minor Changes
|
|
111
|
+
|
|
112
|
+
- Bring `InngestAgent` (Inngest-backed durable agent) to parity with `DurableAgent` for per-call execution options, abort handling, idle-aware resume, and `generate()`. ([#18615](https://github.com/mastra-ai/mastra/pull/18615))
|
|
113
|
+
|
|
114
|
+
`InngestAgent.stream()` and `resume()` now accept the same execution-option surface as `DurableAgent`, including `stopWhen`, `activeTools`, `structuredOutput`, `versions`, `system`, `disableBackgroundTasks`, `tracingOptions`, `actor`, `transform`, `prepareStep`, `isTaskComplete`, `delegation`, function-form `requireToolApproval`, and the lifecycle callbacks `onAbort` / `onIterationComplete`. Closure-shaped options (`prepareStep`, `transform`, function-form `isTaskComplete` / `requireToolApproval`, `stopWhen` callbacks) continue to work in-process; they degrade after a worker hop the same way they do for in-memory `DurableAgent`.
|
|
115
|
+
|
|
116
|
+
```ts
|
|
117
|
+
const result = await inngestAgent.stream(messages, {
|
|
118
|
+
runId: 'run-1',
|
|
119
|
+
abortSignal: controller.signal,
|
|
120
|
+
stopWhen: stepCountIs(5),
|
|
121
|
+
onIterationComplete: ({ iteration }) => console.log('done', iteration),
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
// Cancel a live run from the caller
|
|
125
|
+
result.abort();
|
|
126
|
+
|
|
127
|
+
// Resume and drive the run to completion in a single call
|
|
128
|
+
await inngestAgent.resume({ runId: 'run-1', resumeData, untilIdle: true });
|
|
129
|
+
|
|
130
|
+
// Durable equivalents of Agent.generate / resumeGenerate
|
|
131
|
+
const out = await inngestAgent.generate(messages, { runId: 'run-2' });
|
|
132
|
+
const resumed = await inngestAgent.resumeGenerate({ runId: 'run-2', resumeData });
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
`@mastra/core` re-exports `globalRunRegistry` and `runResumeDurableStreamUntilIdle` from `@mastra/core/agent/durable` so durable-agent integrations can share the same registry and idle-wrapper plumbing.
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [[`705ba98`](https://github.com/mastra-ai/mastra/commit/705ba98726d388a596e896225f237907ca6807a9), [`e62c108`](https://github.com/mastra-ai/mastra/commit/e62c108409dfd6a6cac0a48ec39c5cc81d24fd52), [`bfbbb01`](https://github.com/mastra-ai/mastra/commit/bfbbb01bd845ba54cdc0c678c277d08a7cb847e4)]:
|
|
140
|
+
- @mastra/core@1.48.0-alpha.4
|
|
141
|
+
|
|
142
|
+
## 1.7.1-alpha.0
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- Fix `observe()` on Inngest durable agents so late subscribers replay buffered events before the live stream. ([#18535](https://github.com/mastra-ai/mastra/pull/18535))
|
|
147
|
+
|
|
148
|
+
Previously, calling `observe()` after a run had started — or reconnecting after a disconnect — only delivered chunks emitted from that moment on. Anything published earlier in the run was lost, including events from nested durable steps. `observe()` now replays the full history of `chunk`, `finish`, and `suspended` events for the requested `runId`, then continues on the live stream, matching the in-memory `DurableAgent` behavior.
|
|
149
|
+
|
|
150
|
+
```ts
|
|
151
|
+
// First connection kicks off the run
|
|
152
|
+
await inngestAgent.stream(messages, { runId: 'run-1' });
|
|
153
|
+
|
|
154
|
+
// Second connection replays earlier events, then continues live
|
|
155
|
+
const { fullStream } = await inngestAgent.observe('run-1');
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
When no cache is configured, an in-process cache is used as a fallback so single-process replay works out of the box. Cross-process `observe()` still requires a shared cache backend (e.g. Redis) passed via `cache` or `mastra.serverCache`.
|
|
159
|
+
|
|
160
|
+
## 1.7.0
|
|
161
|
+
|
|
162
|
+
### Minor Changes
|
|
163
|
+
|
|
164
|
+
- Added `untilIdle` option to `InngestAgent.stream()` — pass `untilIdle: true` or `{ maxIdleMs }` to keep the stream open across background-task continuations, matching the `DurableAgent` and non-durable `Agent` APIs. ([#18349](https://github.com/mastra-ai/mastra/pull/18349))
|
|
165
|
+
|
|
166
|
+
```ts
|
|
167
|
+
const result = await inngestAgent.stream('Research topic', {
|
|
168
|
+
untilIdle: true,
|
|
169
|
+
memory: { thread: 't1', resource: 'u1' },
|
|
170
|
+
});
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Patch Changes
|
|
174
|
+
|
|
175
|
+
- Updated dependencies [[`5bd72d2`](https://github.com/mastra-ai/mastra/commit/5bd72d255f45b5ea8ab342643bd463814a980a24), [`1cc9ee1`](https://github.com/mastra-ai/mastra/commit/1cc9ee1ba51db53020a735626d33017a60b4b5b3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`65f255a`](https://github.com/mastra-ai/mastra/commit/65f255a38667beb6ceeadabfa9eb5059bfec8298), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`30ebaf0`](https://github.com/mastra-ai/mastra/commit/30ebaf07bed5f4d30f2f257836c15d1bf7e40aae), [`5704634`](https://github.com/mastra-ai/mastra/commit/5704634b22133167dea337a942a34f57aaa3fa14), [`5c4e9a4`](https://github.com/mastra-ai/mastra/commit/5c4e9a4cfb2216bb3ea7f8988ad3727f3b92bb3a), [`4a88c6e`](https://github.com/mastra-ai/mastra/commit/4a88c6e2bdce316f8d7551b4ec3449b0b06fc71c), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`25961e3`](https://github.com/mastra-ai/mastra/commit/25961e3260ff3b1464637af8fcdb36210551c39f), [`6a1428a`](https://github.com/mastra-ai/mastra/commit/6a1428a23133fc070fc6c1caa08d28f3ba4fe5ff), [`87a17ef`](https://github.com/mastra-ai/mastra/commit/87a17efbd725aca6639febdc5e69e2abb3048689), [`e11ff30`](https://github.com/mastra-ai/mastra/commit/e11ff301408bf1731dca2fb7fbfcd8c819500a35), [`7794d71`](https://github.com/mastra-ai/mastra/commit/7794d71872c68733a30e028dfb7b1705daf6c5d2), [`9d2c946`](https://github.com/mastra-ai/mastra/commit/9d2c946d0859e90ae4bcec5beeb1da7398d2ad1e), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`7b29f33`](https://github.com/mastra-ai/mastra/commit/7b29f332a357a83e555f29e718e5f2fab9979943), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`b13925b`](https://github.com/mastra-ai/mastra/commit/b13925bfa91aa8700f56fa54a9ce707ee7e4ba62), [`f1ec385`](https://github.com/mastra-ai/mastra/commit/f1ec385386f62b1a0847ec5353ae2bb169d1c3d9), [`e14986f`](https://github.com/mastra-ai/mastra/commit/e14986f6e5478d6384d04ff9a7f9a79a46a8b529), [`24912b1`](https://github.com/mastra-ai/mastra/commit/24912b1f855d29ec36af4ef4bde1f7417e20cdf5), [`bf94ec6`](https://github.com/mastra-ai/mastra/commit/bf94ec68192d9f16e46ef7e5ac36370aeeddf35d), [`a29f371`](https://github.com/mastra-ai/mastra/commit/a29f371aef629ac8562661524a497127e93b5131), [`7686216`](https://github.com/mastra-ai/mastra/commit/7686216f37e74568feddec17cef3c3d24e10e60a), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`073f910`](https://github.com/mastra-ai/mastra/commit/073f910481e7d94b95ba3830f96531774ae95d33), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`974f614`](https://github.com/mastra-ai/mastra/commit/974f614e083bd68278536f94453f7b320b86a3c7), [`3818814`](https://github.com/mastra-ai/mastra/commit/38188149ce454c4403fe9fcbdf73b735c68d36be), [`975c59a`](https://github.com/mastra-ai/mastra/commit/975c59ae363ee275fc55062392e1ffd2cbccbd53), [`1f97ce5`](https://github.com/mastra-ai/mastra/commit/1f97ce5695463bebb4eaacf501da6fb403e20885), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`7f51548`](https://github.com/mastra-ai/mastra/commit/7f515481213780be7047cef00640b9d35f3d545c), [`64f58c0`](https://github.com/mastra-ai/mastra/commit/64f58c04e78b40137497d47f781e897e416f22a5), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`d95f394`](https://github.com/mastra-ai/mastra/commit/d95f394fd24c8411886930d727679c4d5252aa26), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`8e25a78`](https://github.com/mastra-ai/mastra/commit/8e25a78e0597575f0b0729bae8c5e190c84869b5), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`f3f0c9d`](https://github.com/mastra-ai/mastra/commit/f3f0c9d7c878db5a13177871ce3523a14f14b311), [`a5b22d3`](https://github.com/mastra-ai/mastra/commit/a5b22d314d62a68d801886a8d3d0eb6c089473db), [`31be1cf`](https://github.com/mastra-ai/mastra/commit/31be1cf5f2a7b5eef12f6123a40653b4d8115c16), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858)]:
|
|
176
|
+
- @mastra/core@1.46.0
|
|
177
|
+
|
|
178
|
+
## 1.7.0-alpha.0
|
|
179
|
+
|
|
180
|
+
### Minor Changes
|
|
181
|
+
|
|
182
|
+
- Added `untilIdle` option to `InngestAgent.stream()` — pass `untilIdle: true` or `{ maxIdleMs }` to keep the stream open across background-task continuations, matching the `DurableAgent` and non-durable `Agent` APIs. ([#18349](https://github.com/mastra-ai/mastra/pull/18349))
|
|
183
|
+
|
|
184
|
+
```ts
|
|
185
|
+
const result = await inngestAgent.stream('Research topic', {
|
|
186
|
+
untilIdle: true,
|
|
187
|
+
memory: { thread: 't1', resource: 'u1' },
|
|
188
|
+
});
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Patch Changes
|
|
192
|
+
|
|
193
|
+
- Updated dependencies [[`65f255a`](https://github.com/mastra-ai/mastra/commit/65f255a38667beb6ceeadabfa9eb5059bfec8298), [`4a88c6e`](https://github.com/mastra-ai/mastra/commit/4a88c6e2bdce316f8d7551b4ec3449b0b06fc71c), [`87a17ef`](https://github.com/mastra-ai/mastra/commit/87a17efbd725aca6639febdc5e69e2abb3048689), [`e11ff30`](https://github.com/mastra-ai/mastra/commit/e11ff301408bf1731dca2fb7fbfcd8c819500a35), [`9d2c946`](https://github.com/mastra-ai/mastra/commit/9d2c946d0859e90ae4bcec5beeb1da7398d2ad1e), [`f1ec385`](https://github.com/mastra-ai/mastra/commit/f1ec385386f62b1a0847ec5353ae2bb169d1c3d9), [`e14986f`](https://github.com/mastra-ai/mastra/commit/e14986f6e5478d6384d04ff9a7f9a79a46a8b529), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`0be490f`](https://github.com/mastra-ai/mastra/commit/0be490fabb538c5a7de796ea0aff7d04a0bea1f3), [`974f614`](https://github.com/mastra-ai/mastra/commit/974f614e083bd68278536f94453f7b320b86a3c7), [`31be1cf`](https://github.com/mastra-ai/mastra/commit/31be1cf5f2a7b5eef12f6123a40653b4d8115c16)]:
|
|
194
|
+
- @mastra/core@1.46.0-alpha.3
|
|
195
|
+
|
|
196
|
+
## 1.6.0
|
|
197
|
+
|
|
198
|
+
### Minor Changes
|
|
199
|
+
|
|
200
|
+
- Random bump ([#18178](https://github.com/mastra-ai/mastra/pull/18178))
|
|
201
|
+
|
|
202
|
+
### Patch Changes
|
|
203
|
+
|
|
204
|
+
- Updated dependencies [[`7c0d868`](https://github.com/mastra-ai/mastra/commit/7c0d868d97d0fdbc04c14d0166dbf44d4c5a4a62), [`d9d2273`](https://github.com/mastra-ai/mastra/commit/d9d2273c702690c9a26eab2aebea879701d4355a), [`b04369d`](https://github.com/mastra-ai/mastra/commit/b04369d6b167c698ef103981171a8bf92808e756), [`8f3c262`](https://github.com/mastra-ai/mastra/commit/8f3c262587b335588a02d96b17fd6aca34c885b3)]:
|
|
205
|
+
- @mastra/core@1.45.0
|
|
206
|
+
|
|
207
|
+
## 1.6.0-alpha.0
|
|
208
|
+
|
|
209
|
+
### Minor Changes
|
|
210
|
+
|
|
211
|
+
- Random bump ([#18178](https://github.com/mastra-ai/mastra/pull/18178))
|
|
212
|
+
|
|
213
|
+
### Patch Changes
|
|
214
|
+
|
|
215
|
+
- Updated dependencies [[`7c0d868`](https://github.com/mastra-ai/mastra/commit/7c0d868d97d0fdbc04c14d0166dbf44d4c5a4a62), [`d9d2273`](https://github.com/mastra-ai/mastra/commit/d9d2273c702690c9a26eab2aebea879701d4355a), [`b04369d`](https://github.com/mastra-ai/mastra/commit/b04369d6b167c698ef103981171a8bf92808e756), [`8f3c262`](https://github.com/mastra-ai/mastra/commit/8f3c262587b335588a02d96b17fd6aca34c885b3)]:
|
|
216
|
+
- @mastra/core@1.45.0-alpha.0
|
|
217
|
+
|
|
218
|
+
## 1.5.2
|
|
219
|
+
|
|
220
|
+
### Patch Changes
|
|
221
|
+
|
|
222
|
+
- Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the `latest` dist-tag forward, superseding the compromised versions that declared the malicious `easy-day-js` dependency. ([#18056](https://github.com/mastra-ai/mastra/pull/18056))
|
|
223
|
+
|
|
224
|
+
- Updated dependencies [[`339c57c`](https://github.com/mastra-ai/mastra/commit/339c57c5b2c6dbe75a125e138228e0556528976f), [`1dd4117`](https://github.com/mastra-ai/mastra/commit/1dd4117dcbd8e031ede9f0489436bfbc6f0315b8), [`2b11d1f`](https://github.com/mastra-ai/mastra/commit/2b11d1f6ac7024c5dd2b2dd12a48a956ac9d63bd), [`77a2351`](https://github.com/mastra-ai/mastra/commit/77a2351ee79296e360bce822cb3391f7cfd6489d), [`b7dff0a`](https://github.com/mastra-ai/mastra/commit/b7dff0a3d1022eb6868f48dc40a2b1febd5c277f), [`02087e1`](https://github.com/mastra-ai/mastra/commit/02087e1fbc54aa07f3071f7a200df1bf5be601a8), [`49af8df`](https://github.com/mastra-ai/mastra/commit/49af8df589c4ff71a5015a4553b377b32704b691), [`30ce559`](https://github.com/mastra-ai/mastra/commit/30ce55902ecf819b8ab8697398dd68b108228063), [`c241b92`](https://github.com/mastra-ai/mastra/commit/c241b929dc8c8d6a7b7219c99ed13ac1f3124a77), [`7d6ff70`](https://github.com/mastra-ai/mastra/commit/7d6ff708727297a0526ca0e26e93eeb5bbaaa187), [`ab975d4`](https://github.com/mastra-ai/mastra/commit/ab975d4dd9488752f05bda7afa03166d207e3e2a), [`9d6aa1b`](https://github.com/mastra-ai/mastra/commit/9d6aa1bae407e2afa6a089abc2a6accbbcb287b8)]:
|
|
225
|
+
- @mastra/core@1.44.0
|
|
226
|
+
|
|
227
|
+
## 1.5.2-alpha.0
|
|
228
|
+
|
|
229
|
+
### Patch Changes
|
|
230
|
+
|
|
231
|
+
- Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the `latest` dist-tag forward, superseding the compromised versions that declared the malicious `easy-day-js` dependency. ([#18056](https://github.com/mastra-ai/mastra/pull/18056))
|
|
232
|
+
|
|
233
|
+
- Updated dependencies [[`77a2351`](https://github.com/mastra-ai/mastra/commit/77a2351ee79296e360bce822cb3391f7cfd6489d)]:
|
|
234
|
+
- @mastra/core@1.43.1-alpha.0
|
|
235
|
+
|
|
236
|
+
## 1.5.1
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- dependencies updates: ([#17850](https://github.com/mastra-ai/mastra/pull/17850))
|
|
241
|
+
- Updated dependency [`inngest@^4.5.0` ↗︎](https://www.npmjs.com/package/inngest/v/4.5.0) (from `^4.2.2`, in `dependencies`)
|
|
242
|
+
- Updated dependencies [[`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`575f815`](https://github.com/mastra-ai/mastra/commit/575f815c5c3567b71c0b83cbb7fa98c8253a9d9c), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`053735a`](https://github.com/mastra-ai/mastra/commit/053735a75c2c18e23ce34d9468007efa4a45f4c4), [`306909a`](https://github.com/mastra-ai/mastra/commit/306909a693de77d709b38706e2673c9547d24a28), [`5191af8`](https://github.com/mastra-ai/mastra/commit/5191af80c799eea25357c545fc05d91b3883531d), [`43bd3d4`](https://github.com/mastra-ai/mastra/commit/43bd3d421987463fdf35386a45199c49499ed069), [`e6fa79e`](https://github.com/mastra-ai/mastra/commit/e6fa79ec72a2ddffdd25e85270398951e9d552a4), [`904bcdf`](https://github.com/mastra-ai/mastra/commit/904bcdf7b8004aa7be823f9f70ca63580e47e470), [`7f5ee1d`](https://github.com/mastra-ai/mastra/commit/7f5ee1dca46daee8d2817f2ebe49e6335da81956), [`1e9aab5`](https://github.com/mastra-ai/mastra/commit/1e9aab50ff11e6e88fde4d7cbf512c44a9fe8d61), [`2bccba4`](https://github.com/mastra-ai/mastra/commit/2bccba4c03cadc815c2d54cbf4dd43a922140a8d), [`bf8eb6d`](https://github.com/mastra-ai/mastra/commit/bf8eb6d0ec213a403eb9265a594ad283c44ab3dc), [`e9be4e7`](https://github.com/mastra-ai/mastra/commit/e9be4e747ec3d8b65548bff92f9377db06105376), [`493a328`](https://github.com/mastra-ai/mastra/commit/493a328f4346a1deeb9f1e2e44c8f2a3a4d7591b), [`d53cfc2`](https://github.com/mastra-ai/mastra/commit/d53cfc2c7f8d78343a4aa84ec4e129ba25f3325e), [`65799d4`](https://github.com/mastra-ai/mastra/commit/65799d4d549e5ebb9c848fbe3f51ac090f64becf), [`c268c89`](https://github.com/mastra-ai/mastra/commit/c268c89f4c63a93ee474d3cffdf3ea60bf00d4f2), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`014e00f`](https://github.com/mastra-ai/mastra/commit/014e00f2b3a597a016b72f9901c6ab27d491f822), [`029a414`](https://github.com/mastra-ai/mastra/commit/029a4141719793bd3e898a39eb5a0466a55f5f3a), [`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`d371ac1`](https://github.com/mastra-ai/mastra/commit/d371ac1d9820afaaf7cfdbc380a475946a994d8f), [`2bccba4`](https://github.com/mastra-ai/mastra/commit/2bccba4c03cadc815c2d54cbf4dd43a922140a8d), [`0c72f03`](https://github.com/mastra-ai/mastra/commit/0c72f032abb13254df5a7856d64be2f207b8006d), [`cf182b7`](https://github.com/mastra-ai/mastra/commit/cf182b7fb495767946d9840ef29f19cfa906f31f), [`3b45ea9`](https://github.com/mastra-ai/mastra/commit/3b45ea95015557a6cb9d70dc5252af54ab1b78ac), [`a049c2a`](https://github.com/mastra-ai/mastra/commit/a049c2a9dfb41d0ee2e7a28874a88cd64fd5669f), [`f084be1`](https://github.com/mastra-ai/mastra/commit/f084be1fcbe33ad7480913e44d6130c421c0976f), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`2a96528`](https://github.com/mastra-ai/mastra/commit/2a9652848dfa3c5a2426f952e9d93554c26fd90f), [`f2ab060`](https://github.com/mastra-ai/mastra/commit/f2ab060162bea81505fda553e2cee29c1979fd04), [`5d302c8`](https://github.com/mastra-ai/mastra/commit/5d302c8eda1a6ac74eab5e442c4f64db6cc97a06), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`a952852`](https://github.com/mastra-ai/mastra/commit/a952852c971a21fb646cd907c75fcf4443cdc963), [`2656d9c`](https://github.com/mastra-ai/mastra/commit/2656d9c2976d4f3354253bfbbbf9b88a1b2bbf34), [`63e3fe1`](https://github.com/mastra-ai/mastra/commit/63e3fe13cc1ea96f91d7c68aea92f400faf9e4da), [`1d4ce8d`](https://github.com/mastra-ai/mastra/commit/1d4ce8daaa54511f325c1b609d31b8e54009d677), [`8c68372`](https://github.com/mastra-ai/mastra/commit/8c68372e85fe0b066ec12c58bd29ffb93e54c552)]:
|
|
243
|
+
- @mastra/core@1.42.0
|
|
244
|
+
|
|
245
|
+
## 1.5.1-alpha.0
|
|
246
|
+
|
|
247
|
+
### Patch Changes
|
|
248
|
+
|
|
249
|
+
- dependencies updates: ([#17850](https://github.com/mastra-ai/mastra/pull/17850))
|
|
250
|
+
- Updated dependency [`inngest@^4.5.0` ↗︎](https://www.npmjs.com/package/inngest/v/4.5.0) (from `^4.2.2`, in `dependencies`)
|
|
251
|
+
- Updated dependencies [[`575f815`](https://github.com/mastra-ai/mastra/commit/575f815c5c3567b71c0b83cbb7fa98c8253a9d9c), [`306909a`](https://github.com/mastra-ai/mastra/commit/306909a693de77d709b38706e2673c9547d24a28), [`5191af8`](https://github.com/mastra-ai/mastra/commit/5191af80c799eea25357c545fc05d91b3883531d), [`43bd3d4`](https://github.com/mastra-ai/mastra/commit/43bd3d421987463fdf35386a45199c49499ed069), [`e6fa79e`](https://github.com/mastra-ai/mastra/commit/e6fa79ec72a2ddffdd25e85270398951e9d552a4), [`904bcdf`](https://github.com/mastra-ai/mastra/commit/904bcdf7b8004aa7be823f9f70ca63580e47e470), [`7f5ee1d`](https://github.com/mastra-ai/mastra/commit/7f5ee1dca46daee8d2817f2ebe49e6335da81956), [`1e9aab5`](https://github.com/mastra-ai/mastra/commit/1e9aab50ff11e6e88fde4d7cbf512c44a9fe8d61), [`bf8eb6d`](https://github.com/mastra-ai/mastra/commit/bf8eb6d0ec213a403eb9265a594ad283c44ab3dc), [`493a328`](https://github.com/mastra-ai/mastra/commit/493a328f4346a1deeb9f1e2e44c8f2a3a4d7591b), [`029a414`](https://github.com/mastra-ai/mastra/commit/029a4141719793bd3e898a39eb5a0466a55f5f3a), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`d371ac1`](https://github.com/mastra-ai/mastra/commit/d371ac1d9820afaaf7cfdbc380a475946a994d8f), [`cf182b7`](https://github.com/mastra-ai/mastra/commit/cf182b7fb495767946d9840ef29f19cfa906f31f), [`a049c2a`](https://github.com/mastra-ai/mastra/commit/a049c2a9dfb41d0ee2e7a28874a88cd64fd5669f), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`2a96528`](https://github.com/mastra-ai/mastra/commit/2a9652848dfa3c5a2426f952e9d93554c26fd90f), [`2656d9c`](https://github.com/mastra-ai/mastra/commit/2656d9c2976d4f3354253bfbbbf9b88a1b2bbf34), [`63e3fe1`](https://github.com/mastra-ai/mastra/commit/63e3fe13cc1ea96f91d7c68aea92f400faf9e4da), [`1d4ce8d`](https://github.com/mastra-ai/mastra/commit/1d4ce8daaa54511f325c1b609d31b8e54009d677), [`8c68372`](https://github.com/mastra-ai/mastra/commit/8c68372e85fe0b066ec12c58bd29ffb93e54c552)]:
|
|
252
|
+
- @mastra/core@1.42.0-alpha.4
|
|
253
|
+
|
|
254
|
+
## 1.5.0
|
|
255
|
+
|
|
256
|
+
### Minor Changes
|
|
257
|
+
|
|
258
|
+
- Add fire-and-forget workflow resume that returns immediately with `{ runId }` without awaiting the run output. ([#17230](https://github.com/mastra-ai/mastra/pull/17230))
|
|
259
|
+
|
|
260
|
+
For `@mastra/inngest`, this skips the `getRunOutput()` polling that previously raced a realtime subscription against the Inngest runs API and could surface spurious 404s even though the durable workflow was running fine.
|
|
261
|
+
- `Run.resumeAsync()` added to core: dispatches the resume in the background and returns `{ runId }` immediately. Engines that poll for results (Inngest) override it to skip polling entirely.
|
|
262
|
+
- `InngestRun.resumeAsync()` sends the resume event and returns `{ runId }`, skipping polling. Send-time failures (bad payload, event send failure) still reject synchronously and roll back the snapshot.
|
|
263
|
+
- New `POST /workflows/:workflowId/resume-no-wait` and `POST /agent-builder/:actionId/resume-no-wait` routes return `{ runId }` immediately.
|
|
264
|
+
- New client SDK `run.resumeNoWait()` resolves with `{ runId }`.
|
|
265
|
+
|
|
266
|
+
The existing `resumeAsync()` client/server surface is unchanged and still resolves with the full workflow result, so there is no breaking change.
|
|
267
|
+
|
|
268
|
+
`resumeNoWait` is intentionally additive in v1. In Mastra v2 the fire-and-forget behavior is planned to become the default behavior of `resumeAsync()` (mirroring `start`/`resume` semantics), at which point `resumeNoWait` and the `resume-no-wait` routes will be removed. The code paths carry `TODO(v2)` comments documenting this consolidation.
|
|
269
|
+
|
|
270
|
+
- Added `connect()` to support Inngest Connect for Mastra workflows. Use this when running workflow execution in a dedicated long-running worker process that should not expose an inbound HTTP endpoint: ([#17064](https://github.com/mastra-ai/mastra/pull/17064))
|
|
271
|
+
|
|
272
|
+
```ts
|
|
273
|
+
import { connect } from '@mastra/inngest/connect';
|
|
274
|
+
|
|
275
|
+
await connect({
|
|
276
|
+
mastra,
|
|
277
|
+
inngest,
|
|
278
|
+
instanceId: 'worker-1',
|
|
279
|
+
maxWorkerConcurrency: 10,
|
|
280
|
+
});
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
`connect()` uses the same Mastra workflow functions as `serve()`, including nested and cron workflows. `serve()` is unchanged.
|
|
284
|
+
|
|
285
|
+
### Patch Changes
|
|
286
|
+
|
|
287
|
+
- Fixed processor workflow steps so `args.systemMessages` only contains untagged system messages. Tagged processor-owned system messages stay on the message list and are still included in the final model input. ([#16950](https://github.com/mastra-ai/mastra/pull/16950))
|
|
288
|
+
|
|
289
|
+
- Updated dependencies [[`fa63872`](https://github.com/mastra-ai/mastra/commit/fa6387280954e6b667bec5714b55ba082bc627ff), [`d779de3`](https://github.com/mastra-ai/mastra/commit/d779de3cd9d2e7ed8110547190e2f15e786a0e41), [`1750c97`](https://github.com/mastra-ai/mastra/commit/1750c975d6179fbf6db2813b15229d4f8f23fc55), [`9283971`](https://github.com/mastra-ai/mastra/commit/928397157009b4aef4d5fdf3a0a273cb371beb55), [`f07b646`](https://github.com/mastra-ai/mastra/commit/f07b64604ab7d25391179790b7fd4823df9e2dff), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`40f9297`](https://github.com/mastra-ai/mastra/commit/40f9297003b921c62373d3e8d3a4bda76c9f6de3), [`19a8658`](https://github.com/mastra-ai/mastra/commit/19a86589c788ef48bb6c1b0612cc82a201857379), [`850af77`](https://github.com/mastra-ai/mastra/commit/850af7779cb87c350804488734544a5b1843de25), [`0f0d1ba`](https://github.com/mastra-ai/mastra/commit/0f0d1ba67bfcb2204e571401662f1eceefc03357), [`a18775a`](https://github.com/mastra-ai/mastra/commit/a18775a693172546ee2378d39b67d4e32895b251), [`1baf2d1`](https://github.com/mastra-ai/mastra/commit/1baf2d152c6881338ff8f114633d5316fe13dd15), [`8c31bcd`](https://github.com/mastra-ai/mastra/commit/8c31bcdb00e597880d5939b1b7d7566fbe5dacae), [`0e32507`](https://github.com/mastra-ai/mastra/commit/0e32507962cdfa5569b7bda5bc6fb3dd34e40b03), [`95b14cd`](https://github.com/mastra-ai/mastra/commit/95b14cdd820e86d97ac05fe568424c513a252e31), [`07c3de7`](https://github.com/mastra-ai/mastra/commit/07c3de7f7bc418beccaea3b5e6b7f7cdda79d492), [`0bf2d93`](https://github.com/mastra-ai/mastra/commit/0bf2d932d20e2936f2d9abb8c0a86e24fbc97ec6), [`7b0d34c`](https://github.com/mastra-ai/mastra/commit/7b0d34cfe4a2fce22ac86ae17404685ff67a2ddb), [`a659a77`](https://github.com/mastra-ai/mastra/commit/a659a779bdebe3a52a518c56d2260592d0240fe0), [`aa36be2`](https://github.com/mastra-ai/mastra/commit/aa36be23aa513b7dc53cb8ca16b7fab8f20e43ad), [`3332be9`](https://github.com/mastra-ai/mastra/commit/3332be9701ecd77aba840959d9a1d1ce7aef02d3), [`212c635`](https://github.com/mastra-ai/mastra/commit/212c635203e61d036ab41db8ff86c3893dc795b3), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`9aa5a73`](https://github.com/mastra-ai/mastra/commit/9aa5a73e7e110f6e9365eec69364a33d5f03bb56), [`f73c789`](https://github.com/mastra-ai/mastra/commit/f73c789e8ef21561580395d2c410119cab5848c8), [`8bd16da`](https://github.com/mastra-ai/mastra/commit/8bd16da73a4cb874d739373643dbd6a6e7f88684), [`c8630f8`](https://github.com/mastra-ai/mastra/commit/c8630f80d4f40cb5d22e60ab162b618b1907167a), [`94dfef6`](https://github.com/mastra-ai/mastra/commit/94dfef6e2bf19a88467ea3940afcbce88a433f0f), [`47f71dc`](https://github.com/mastra-ai/mastra/commit/47f71dc6fbcbd12d71e21a979e676e20a02bd77d), [`50ceae2`](https://github.com/mastra-ai/mastra/commit/50ceae270878e2f8fb2b2c6c2faab09df0007c8a), [`a122f79`](https://github.com/mastra-ai/mastra/commit/a122f79427ae225ec79c7b2ed46278da48d04b17), [`8cdde58`](https://github.com/mastra-ai/mastra/commit/8cdde5875bbba6702d9df226f2b20232b8d75d6c), [`3a081c1`](https://github.com/mastra-ai/mastra/commit/3a081c1255c5ae8c99f6dad91cc612934ef6f2bd), [`49f8abc`](https://github.com/mastra-ai/mastra/commit/49f8abce8258e4f2f87bd326acfbdb641264a47c), [`847ff1e`](https://github.com/mastra-ai/mastra/commit/847ff1e0d94368d94b2e173e4e0908e115568ef3), [`0c1ed1d`](https://github.com/mastra-ai/mastra/commit/0c1ed1d00c7d87b5ac99ca95896211a2fa9189fa), [`259d409`](https://github.com/mastra-ai/mastra/commit/259d409a514174299dbde1ff5e1121209b3ba850), [`9e16c68`](https://github.com/mastra-ai/mastra/commit/9e16c6818b6485ccb43df28aba6f3a2219d28662), [`cefca33`](https://github.com/mastra-ai/mastra/commit/cefca33ae666e69810c935fedf95a929c173d1d7), [`d00e8c5`](https://github.com/mastra-ai/mastra/commit/d00e8c50daebe5bce5bf2f48bde39c86fc3d2fe4), [`36fa7e2`](https://github.com/mastra-ai/mastra/commit/36fa7e24d14e58a1eb46147097b32f583e5b8775), [`87e9774`](https://github.com/mastra-ai/mastra/commit/87e97741c1e493cd6d62f478eb810b49bda4d57c), [`65a72e7`](https://github.com/mastra-ai/mastra/commit/65a72e70c25eedea8ff985a6624b96be2850236b), [`fe9eacd`](https://github.com/mastra-ai/mastra/commit/fe9eacd9545a0a9d64aad31c9fa90294a425289e), [`4c02027`](https://github.com/mastra-ai/mastra/commit/4c020277235eaa6b1dc957c90ad0639eef213992), [`0f77241`](https://github.com/mastra-ai/mastra/commit/0f7724108806703799a8ba80ad0f09414afd5066), [`849efb9`](https://github.com/mastra-ai/mastra/commit/849efb9fca6dc976589c1f90a303fea618769109), [`92ff509`](https://github.com/mastra-ai/mastra/commit/92ff5098ef8a990438ca038077021a5f7541ec1d), [`3fce5e7`](https://github.com/mastra-ai/mastra/commit/3fce5e70d011d289043e75003ef3336ed4aa43c3), [`a763592`](https://github.com/mastra-ai/mastra/commit/a763592c3db46963ef1011cfe16fe372816e775e), [`db79c86`](https://github.com/mastra-ai/mastra/commit/db79c86c60723d57e02f9636ca2611bd4515f194), [`6855012`](https://github.com/mastra-ai/mastra/commit/685501247cc4717506f3e89beed03509d63a5370), [`80c7737`](https://github.com/mastra-ai/mastra/commit/80c7737e32d7917b5f356957d67c169d01744fd3), [`7fef31c`](https://github.com/mastra-ai/mastra/commit/7fef31c0d2a6d362a43a647a8a4f6ab893758a23), [`7fef31c`](https://github.com/mastra-ai/mastra/commit/7fef31c0d2a6d362a43a647a8a4f6ab893758a23), [`3f1cf47`](https://github.com/mastra-ai/mastra/commit/3f1cf476f74c1e4cc2df908837e05853a5347e31)]:
|
|
290
|
+
- @mastra/core@1.38.0
|
|
291
|
+
|
|
292
|
+
## 1.5.0-alpha.1
|
|
293
|
+
|
|
294
|
+
### Minor Changes
|
|
295
|
+
|
|
296
|
+
- Add fire-and-forget workflow resume that returns immediately with `{ runId }` without awaiting the run output. ([#17230](https://github.com/mastra-ai/mastra/pull/17230))
|
|
297
|
+
|
|
298
|
+
For `@mastra/inngest`, this skips the `getRunOutput()` polling that previously raced a realtime subscription against the Inngest runs API and could surface spurious 404s even though the durable workflow was running fine.
|
|
299
|
+
- `Run.resumeAsync()` added to core: dispatches the resume in the background and returns `{ runId }` immediately. Engines that poll for results (Inngest) override it to skip polling entirely.
|
|
300
|
+
- `InngestRun.resumeAsync()` sends the resume event and returns `{ runId }`, skipping polling. Send-time failures (bad payload, event send failure) still reject synchronously and roll back the snapshot.
|
|
301
|
+
- New `POST /workflows/:workflowId/resume-no-wait` and `POST /agent-builder/:actionId/resume-no-wait` routes return `{ runId }` immediately.
|
|
302
|
+
- New client SDK `run.resumeNoWait()` resolves with `{ runId }`.
|
|
303
|
+
|
|
304
|
+
The existing `resumeAsync()` client/server surface is unchanged and still resolves with the full workflow result, so there is no breaking change.
|
|
305
|
+
|
|
306
|
+
`resumeNoWait` is intentionally additive in v1. In Mastra v2 the fire-and-forget behavior is planned to become the default behavior of `resumeAsync()` (mirroring `start`/`resume` semantics), at which point `resumeNoWait` and the `resume-no-wait` routes will be removed. The code paths carry `TODO(v2)` comments documenting this consolidation.
|
|
307
|
+
|
|
308
|
+
### Patch Changes
|
|
309
|
+
|
|
310
|
+
- Fixed processor workflow steps so `args.systemMessages` only contains untagged system messages. Tagged processor-owned system messages stay on the message list and are still included in the final model input. ([#16950](https://github.com/mastra-ai/mastra/pull/16950))
|
|
311
|
+
|
|
312
|
+
- Updated dependencies [[`8ace89d`](https://github.com/mastra-ai/mastra/commit/8ace89df77f762e622d3b9f7f65ad7524350d050), [`fa63872`](https://github.com/mastra-ai/mastra/commit/fa6387280954e6b667bec5714b55ba082bc627ff), [`f07b646`](https://github.com/mastra-ai/mastra/commit/f07b64604ab7d25391179790b7fd4823df9e2dff), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`40f9297`](https://github.com/mastra-ai/mastra/commit/40f9297003b921c62373d3e8d3a4bda76c9f6de3), [`0f0d1ba`](https://github.com/mastra-ai/mastra/commit/0f0d1ba67bfcb2204e571401662f1eceefc03357), [`8c31bcd`](https://github.com/mastra-ai/mastra/commit/8c31bcdb00e597880d5939b1b7d7566fbe5dacae), [`95b14cd`](https://github.com/mastra-ai/mastra/commit/95b14cdd820e86d97ac05fe568424c513a252e31), [`aa36be2`](https://github.com/mastra-ai/mastra/commit/aa36be23aa513b7dc53cb8ca16b7fab8f20e43ad), [`212c635`](https://github.com/mastra-ai/mastra/commit/212c635203e61d036ab41db8ff86c3893dc795b3), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`9aa5a73`](https://github.com/mastra-ai/mastra/commit/9aa5a73e7e110f6e9365eec69364a33d5f03bb56), [`f73c789`](https://github.com/mastra-ai/mastra/commit/f73c789e8ef21561580395d2c410119cab5848c8), [`8bd16da`](https://github.com/mastra-ai/mastra/commit/8bd16da73a4cb874d739373643dbd6a6e7f88684), [`c8630f8`](https://github.com/mastra-ai/mastra/commit/c8630f80d4f40cb5d22e60ab162b618b1907167a), [`47f71dc`](https://github.com/mastra-ai/mastra/commit/47f71dc6fbcbd12d71e21a979e676e20a02bd77d), [`50ceae2`](https://github.com/mastra-ai/mastra/commit/50ceae270878e2f8fb2b2c6c2faab09df0007c8a), [`8cdde58`](https://github.com/mastra-ai/mastra/commit/8cdde5875bbba6702d9df226f2b20232b8d75d6c), [`847ff1e`](https://github.com/mastra-ai/mastra/commit/847ff1e0d94368d94b2e173e4e0908e115568ef3), [`259d409`](https://github.com/mastra-ai/mastra/commit/259d409a514174299dbde1ff5e1121209b3ba850), [`9e16c68`](https://github.com/mastra-ai/mastra/commit/9e16c6818b6485ccb43df28aba6f3a2219d28662), [`cefca33`](https://github.com/mastra-ai/mastra/commit/cefca33ae666e69810c935fedf95a929c173d1d7), [`d00e8c5`](https://github.com/mastra-ai/mastra/commit/d00e8c50daebe5bce5bf2f48bde39c86fc3d2fe4), [`36fa7e2`](https://github.com/mastra-ai/mastra/commit/36fa7e24d14e58a1eb46147097b32f583e5b8775), [`87e9774`](https://github.com/mastra-ai/mastra/commit/87e97741c1e493cd6d62f478eb810b49bda4d57c), [`65a72e7`](https://github.com/mastra-ai/mastra/commit/65a72e70c25eedea8ff985a6624b96be2850236b), [`0f77241`](https://github.com/mastra-ai/mastra/commit/0f7724108806703799a8ba80ad0f09414afd5066), [`92ff509`](https://github.com/mastra-ai/mastra/commit/92ff5098ef8a990438ca038077021a5f7541ec1d), [`3fce5e7`](https://github.com/mastra-ai/mastra/commit/3fce5e70d011d289043e75003ef3336ed4aa43c3), [`a763592`](https://github.com/mastra-ai/mastra/commit/a763592c3db46963ef1011cfe16fe372816e775e), [`80c7737`](https://github.com/mastra-ai/mastra/commit/80c7737e32d7917b5f356957d67c169d01744fd3), [`3f1cf47`](https://github.com/mastra-ai/mastra/commit/3f1cf476f74c1e4cc2df908837e05853a5347e31)]:
|
|
313
|
+
- @mastra/core@1.38.0-alpha.3
|
|
314
|
+
|
|
315
|
+
## 1.5.0-alpha.0
|
|
316
|
+
|
|
317
|
+
### Minor Changes
|
|
318
|
+
|
|
319
|
+
- Added `connect()` to support Inngest Connect for Mastra workflows. Use this when running workflow execution in a dedicated long-running worker process that should not expose an inbound HTTP endpoint: ([#17064](https://github.com/mastra-ai/mastra/pull/17064))
|
|
320
|
+
|
|
321
|
+
```ts
|
|
322
|
+
import { connect } from '@mastra/inngest/connect';
|
|
323
|
+
|
|
324
|
+
await connect({
|
|
325
|
+
mastra,
|
|
326
|
+
inngest,
|
|
327
|
+
instanceId: 'worker-1',
|
|
328
|
+
maxWorkerConcurrency: 10,
|
|
329
|
+
});
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
`connect()` uses the same Mastra workflow functions as `serve()`, including nested and cron workflows. `serve()` is unchanged.
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- Updated dependencies [[`d779de3`](https://github.com/mastra-ai/mastra/commit/d779de3cd9d2e7ed8110547190e2f15e786a0e41), [`1750c97`](https://github.com/mastra-ai/mastra/commit/1750c975d6179fbf6db2813b15229d4f8f23fc55), [`0e32507`](https://github.com/mastra-ai/mastra/commit/0e32507962cdfa5569b7bda5bc6fb3dd34e40b03), [`3a081c1`](https://github.com/mastra-ai/mastra/commit/3a081c1255c5ae8c99f6dad91cc612934ef6f2bd), [`fe9eacd`](https://github.com/mastra-ai/mastra/commit/fe9eacd9545a0a9d64aad31c9fa90294a425289e), [`db79c86`](https://github.com/mastra-ai/mastra/commit/db79c86c60723d57e02f9636ca2611bd4515f194)]:
|
|
337
|
+
- @mastra/core@1.38.0-alpha.2
|
|
338
|
+
|
|
339
|
+
## 1.4.1
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- You can now run ACP-compatible coding agents as Mastra tools or lightweight subagents. ACP agents support incremental response streaming and can be used anywhere Mastra accepts a `SubAgent`, including supervisor delegation and workflow steps. ([#16423](https://github.com/mastra-ai/mastra/pull/16423))
|
|
344
|
+
|
|
345
|
+
```ts
|
|
346
|
+
import { createACPTool, AcpAgent } from '@mastra/acp';
|
|
347
|
+
|
|
348
|
+
export const codingTool = createACPTool({
|
|
349
|
+
id: 'coding-agent',
|
|
350
|
+
command: 'my-acp-agent',
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
export const codingAgent = new AcpAgent({
|
|
354
|
+
id: 'coding-agent',
|
|
355
|
+
command: 'my-acp-agent',
|
|
356
|
+
});
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
You can also wire an `AcpAgent` into a supervisor or workflow as a `SubAgent`-compatible implementation:
|
|
360
|
+
|
|
361
|
+
```ts
|
|
362
|
+
import { Agent } from '@mastra/core/agent';
|
|
363
|
+
|
|
364
|
+
export const supervisor = new Agent({
|
|
365
|
+
name: 'supervisor',
|
|
366
|
+
instructions: 'Delegate coding tasks to the ACP agent.',
|
|
367
|
+
model,
|
|
368
|
+
agents: {
|
|
369
|
+
codingAgent,
|
|
370
|
+
},
|
|
371
|
+
});
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
Workflows and the Inngest workflow adapter now recognize `SubAgent`-compatible implementations when creating agent-backed workflow steps.
|
|
375
|
+
|
|
376
|
+
- Updated dependencies [[`20787de`](https://github.com/mastra-ai/mastra/commit/20787de5965234a1af28fe35f49437c537dbfa0d), [`784ad98`](https://github.com/mastra-ai/mastra/commit/784ad989549de91dc5d33ab8ef36caa6f7dcd34e), [`fceae1f`](https://github.com/mastra-ai/mastra/commit/fceae1f5f5db4722cb078a663c6eb4bd22944123), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bf02acb`](https://github.com/mastra-ai/mastra/commit/bf02acbb8a6110f638ac844e89f1ebf04cb7fe74), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bdb4cbf`](https://github.com/mastra-ai/mastra/commit/bdb4cbf8ba4b685d7481f28bb9dc3de6c79c9ed2), [`0fd3fbe`](https://github.com/mastra-ai/mastra/commit/0fd3fbe40fb63657aedd72f6e7b38c8e8ee6940d), [`f84447d`](https://github.com/mastra-ai/mastra/commit/f84447d6c80f3471836a9b300d246b331fb47e0d), [`a1a5b3e`](https://github.com/mastra-ai/mastra/commit/a1a5b3e42ab2ca5161ea21db59ebf28442680fa7), [`af84f57`](https://github.com/mastra-ai/mastra/commit/af84f571ed762e92e8e61c5f9a72363520914274), [`8b3c6f9`](https://github.com/mastra-ai/mastra/commit/8b3c6f90f7879833ba7d1bc70937e1d8f69d0804), [`fed0475`](https://github.com/mastra-ai/mastra/commit/fed0475ccfea31e4fc251469ac05640d0742c1f0), [`0d53730`](https://github.com/mastra-ai/mastra/commit/0d53730c1ed87ef80c87caa5701c4170ea8028e6), [`522f44d`](https://github.com/mastra-ai/mastra/commit/522f44d947214bfc06cff50599bae1ef3494880d)]:
|
|
377
|
+
- @mastra/core@1.34.0
|
|
378
|
+
|
|
379
|
+
## 1.4.1-alpha.0
|
|
380
|
+
|
|
381
|
+
### Patch Changes
|
|
382
|
+
|
|
383
|
+
- You can now run ACP-compatible coding agents as Mastra tools or lightweight subagents. ACP agents support incremental response streaming and can be used anywhere Mastra accepts a `SubAgent`, including supervisor delegation and workflow steps. ([#16423](https://github.com/mastra-ai/mastra/pull/16423))
|
|
384
|
+
|
|
385
|
+
```ts
|
|
386
|
+
import { createACPTool, AcpAgent } from '@mastra/acp';
|
|
387
|
+
|
|
388
|
+
export const codingTool = createACPTool({
|
|
389
|
+
id: 'coding-agent',
|
|
390
|
+
command: 'my-acp-agent',
|
|
391
|
+
});
|
|
392
|
+
|
|
393
|
+
export const codingAgent = new AcpAgent({
|
|
394
|
+
id: 'coding-agent',
|
|
395
|
+
command: 'my-acp-agent',
|
|
396
|
+
});
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
You can also wire an `AcpAgent` into a supervisor or workflow as a `SubAgent`-compatible implementation:
|
|
400
|
+
|
|
401
|
+
```ts
|
|
402
|
+
import { Agent } from '@mastra/core/agent';
|
|
403
|
+
|
|
404
|
+
export const supervisor = new Agent({
|
|
405
|
+
name: 'supervisor',
|
|
406
|
+
instructions: 'Delegate coding tasks to the ACP agent.',
|
|
407
|
+
model,
|
|
408
|
+
agents: {
|
|
409
|
+
codingAgent,
|
|
410
|
+
},
|
|
411
|
+
});
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
Workflows and the Inngest workflow adapter now recognize `SubAgent`-compatible implementations when creating agent-backed workflow steps.
|
|
415
|
+
|
|
416
|
+
- Updated dependencies [[`20787de`](https://github.com/mastra-ai/mastra/commit/20787de5965234a1af28fe35f49437c537dbfa0d), [`784ad98`](https://github.com/mastra-ai/mastra/commit/784ad989549de91dc5d33ab8ef36caa6f7dcd34e), [`0d53730`](https://github.com/mastra-ai/mastra/commit/0d53730c1ed87ef80c87caa5701c4170ea8028e6)]:
|
|
417
|
+
- @mastra/core@1.34.0-alpha.0
|
|
418
|
+
|
|
419
|
+
## 1.4.0
|
|
420
|
+
|
|
421
|
+
### Minor Changes
|
|
422
|
+
|
|
423
|
+
- Updated `@mastra/inngest` to use Inngest SDK v4. ([#15377](https://github.com/mastra-ai/mastra/pull/15377))
|
|
424
|
+
|
|
425
|
+
**Breaking:** Requires `inngest@^4` and Inngest Dev Server `v1.18.0` or later. The `@inngest/realtime` package is no longer needed — its functionality is now included in `inngest` v4. Remove it from your dependencies and import realtime helpers from `inngest/realtime` instead.
|
|
426
|
+
|
|
427
|
+
```diff
|
|
428
|
+
// package.json
|
|
429
|
+
"dependencies": {
|
|
430
|
+
- "@inngest/realtime": "^0.x",
|
|
431
|
+
- "inngest": "^3.x"
|
|
432
|
+
+ "inngest": "^4.0.0"
|
|
433
|
+
}
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
```diff
|
|
437
|
+
- import { realtimeMiddleware } from '@inngest/realtime/middleware';
|
|
438
|
+
- import { subscribe } from '@inngest/realtime';
|
|
439
|
+
+ import { subscribe } from 'inngest/realtime';
|
|
440
|
+
|
|
441
|
+
const inngest = new Inngest({
|
|
442
|
+
id: 'mastra',
|
|
443
|
+
- middleware: [realtimeMiddleware()],
|
|
444
|
+
});
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
In v4, `subscribe()` and `realtime.publish()` are first-class methods on the client; the standalone middleware is no longer required. `InngestPubSub` publishes via `inngest.realtime.publish()` instead of the function-context `publish` argument that no longer exists in v4, restoring realtime workflow events and agent stream events.
|
|
448
|
+
|
|
449
|
+
**Improved:** Workflow result polling now uses snapshot-based polling, resulting in significantly faster retrieval (~83x).
|
|
450
|
+
|
|
451
|
+
### Patch Changes
|
|
452
|
+
|
|
453
|
+
- Fixed peer dependency ranges so packages that use the Mastra server require a compatible Mastra core version. ([#16208](https://github.com/mastra-ai/mastra/pull/16208))
|
|
454
|
+
|
|
455
|
+
- Updated the `serve` and `createServe` JSDoc adapter examples to register Inngest at `/inngest/api` instead of `/api/inngest`, matching the Inngest deployment guide and in-repo example projects. ([#16186](https://github.com/mastra-ai/mastra/pull/16186))
|
|
456
|
+
|
|
457
|
+
**Why**
|
|
458
|
+
|
|
459
|
+
Mastra reserves the `/api` prefix for built-in routes (agents, workflows, memory). Custom `apiRoutes[].path` values that start with the server's `apiPrefix` (default `/api`) are rejected at startup, so the previous JSDoc snippets threw `Custom API route "/api/inngest" must not start with "/api"` when copy-pasted into a current Mastra project.
|
|
460
|
+
|
|
461
|
+
**Migration**
|
|
462
|
+
|
|
463
|
+
If you registered Inngest with the previous guide or JSDoc example:
|
|
464
|
+
|
|
465
|
+
```ts
|
|
466
|
+
// Before
|
|
467
|
+
apiRoutes: [
|
|
468
|
+
{
|
|
469
|
+
path: '/api/inngest',
|
|
470
|
+
method: 'ALL',
|
|
471
|
+
createHandler: async ({ mastra }) => serve({ mastra, inngest }),
|
|
472
|
+
},
|
|
473
|
+
];
|
|
474
|
+
|
|
475
|
+
// After
|
|
476
|
+
apiRoutes: [
|
|
477
|
+
{
|
|
478
|
+
path: '/inngest/api',
|
|
479
|
+
method: 'ALL',
|
|
480
|
+
createHandler: async ({ mastra }) => serve({ mastra, inngest }),
|
|
481
|
+
},
|
|
482
|
+
];
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
Update the dev server URL (`npx inngest-cli dev -u http://localhost:4111/inngest/api`) and, in production, set the **URL** field on your Inngest app to match.
|
|
486
|
+
|
|
487
|
+
If you cannot change the path, set `server.apiPrefix` (for example `/_mastra`) to relocate the built-in routes and remember to update `server.auth.protected` and any `MastraClient` `apiPrefix` to match. See the [Inngest deployment guide](https://mastra.ai/guides/deployment/inngest) for the full walkthrough.
|
|
488
|
+
|
|
489
|
+
- Updated dependencies [[`9f17410`](https://github.com/mastra-ai/mastra/commit/9f1741080def23d42ee50b39887a385ae316a3c6), [`7ad5585`](https://github.com/mastra-ai/mastra/commit/7ad55856406f1de398dc713f6a9eaa78b2784bb6), [`ac47842`](https://github.com/mastra-ai/mastra/commit/ac478427aa7a5f5fdaed633a911218689b438c60), [`cc189cc`](https://github.com/mastra-ai/mastra/commit/cc189cc0128eb7af233476b5e421ec6888bffde7), [`d1fdbd0`](https://github.com/mastra-ai/mastra/commit/d1fdbd012add5623cb7e6b7f882b605ab358bbb4), [`210ea7a`](https://github.com/mastra-ai/mastra/commit/210ea7af559791b73a44fc9c12179908aaa3183f), [`7c275a8`](https://github.com/mastra-ai/mastra/commit/7c275a810595e1a6c41ccc39720531ab65734700), [`bae019e`](https://github.com/mastra-ai/mastra/commit/bae019ecb6694da96909f7ec7b9eb3a0a33aa887), [`890b24c`](https://github.com/mastra-ai/mastra/commit/890b24cc7d32ed6aa4dfe253e54dc6bf4099f690), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`b59316f`](https://github.com/mastra-ai/mastra/commit/b59316ffa0f7688165b0f9c81ccdf85da461e5b2), [`0f48ebf`](https://github.com/mastra-ai/mastra/commit/0f48ebfc7ac7897b2092a189f45751924cf56d1c), [`37c0dc5`](https://github.com/mastra-ai/mastra/commit/37c0dc5697d343db98628bf867bf71ce6deec6d7), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`83218c8`](https://github.com/mastra-ai/mastra/commit/83218c88b37773c9424fbe733b37be556e55e94d), [`ef6b584`](https://github.com/mastra-ai/mastra/commit/ef6b5847ac33c0a7e80af3a86e8801e2933dd3ee), [`c6eb39e`](https://github.com/mastra-ai/mastra/commit/c6eb39ea6dca381c6563cb240237fbe608e02f93), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`d91ebe2`](https://github.com/mastra-ai/mastra/commit/d91ebe28ee065d8f2ed6df741c3c07f58d359529), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`33f5061`](https://github.com/mastra-ai/mastra/commit/33f5061cd1c0335020c3faae61ce96de822854fa), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`265ec9f`](https://github.com/mastra-ai/mastra/commit/265ec9f887b5c81255c873a76ff7796f16e4f99b), [`ce01024`](https://github.com/mastra-ai/mastra/commit/ce010242eee9bdfc09e4c26725b9d37998679a8d), [`6ce80bf`](https://github.com/mastra-ai/mastra/commit/6ce80bf4872a891e0bddf8b80561a80584efb14b), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`9268531`](https://github.com/mastra-ai/mastra/commit/9268531e7ec4be98beeba3b3ae8be0a7ea380662), [`13ead79`](https://github.com/mastra-ai/mastra/commit/13ead79149486b88144db7e11e6ff551caef5be1), [`dccd8f1`](https://github.com/mastra-ai/mastra/commit/dccd8f1f8b8f1ad203b77556207e5529567c616d), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`f180e49`](https://github.com/mastra-ai/mastra/commit/f180e4990e71b04c9a475b523584071712f0048f), [`9260e01`](https://github.com/mastra-ai/mastra/commit/9260e015276fb1b500f7878ee452b47476bf1583), [`2f6c54e`](https://github.com/mastra-ai/mastra/commit/2f6c54e17c041cac1def54baaa6b771647836414), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`e06a159`](https://github.com/mastra-ai/mastra/commit/e06a1598ca07a6c3778aefc2a2d288363c6294ff), [`4dd900d`](https://github.com/mastra-ai/mastra/commit/4dd900d75dfe9be89f8c15188b368a8622aa1e18), [`b560d6f`](https://github.com/mastra-ai/mastra/commit/b560d6f88b9b904b15c10f75c949eb145bc27684), [`99869ec`](https://github.com/mastra-ai/mastra/commit/99869ecb1f2aa6dfcc44fa4e843e5ee0344efa64), [`900d086`](https://github.com/mastra-ai/mastra/commit/900d086bb737b9cf2fcf68f11b0389b801a2738c), [`4c0e286`](https://github.com/mastra-ai/mastra/commit/4c0e28637c9cfb4f416549b55e97ebfa13319dfc), [`55f1e2d`](https://github.com/mastra-ai/mastra/commit/55f1e2d65425b95a49ae788053b266f256e38c96), [`4ff5bdf`](https://github.com/mastra-ai/mastra/commit/4ff5bdfe170cba6dfb5260c6af0f4ba668430772), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`db34bc6`](https://github.com/mastra-ai/mastra/commit/db34bc6fb36cf125bda0c46be4d3fdc774b70cc4), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`bbcd93c`](https://github.com/mastra-ai/mastra/commit/bbcd93cf7d8aa1007d6d84bfd033b8015c912087), [`8373ff4`](https://github.com/mastra-ai/mastra/commit/8373ff46745d77af79f183c4470f80fa2727a6b2), [`d48a705`](https://github.com/mastra-ai/mastra/commit/d48a705ff3dfbdc7a996e07ecd8293b5effd9a2a), [`308bd07`](https://github.com/mastra-ai/mastra/commit/308bd074f35cef0c75d82fc1eb19382fe04ecf6f), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`36b3bbf`](https://github.com/mastra-ai/mastra/commit/36b3bbf5a8d59f7e23d47e29340e76c681b4929c), [`d86f031`](https://github.com/mastra-ai/mastra/commit/d86f031eb6b0b2570145afafea664e59bf688962), [`b275631`](https://github.com/mastra-ai/mastra/commit/b275631dc10541a482b2e2d4a3e3cfa843bd5fa1), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`bd36d8e`](https://github.com/mastra-ai/mastra/commit/bd36d8eb6de8c9a0310352649dbd4b06703c2299), [`11c1528`](https://github.com/mastra-ai/mastra/commit/11c152848c5d0ef227184853b5040f5b41ee7b1e), [`4999667`](https://github.com/mastra-ai/mastra/commit/49996678b68356cad7f088430009690406c50fbd), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`8ac9141`](https://github.com/mastra-ai/mastra/commit/8ac9141439caa8fdd674944c4d84f29b3c730296), [`25184ff`](https://github.com/mastra-ai/mastra/commit/25184ffaf1293ec95119426eb1a1f8d38831b96c), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`105e454`](https://github.com/mastra-ai/mastra/commit/105e454c95af06a7c741c15969d8f9b0f02463a7), [`aebde9c`](https://github.com/mastra-ai/mastra/commit/aebde9cfacf56592c6b6350cae721740fe090b8a), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066), [`5688881`](https://github.com/mastra-ai/mastra/commit/5688881669c7ed157f31ac77f6fc5f8d95ceea32)]:
|
|
490
|
+
- @mastra/core@1.33.0
|
|
491
|
+
|
|
492
|
+
## 1.4.0-alpha.1
|
|
493
|
+
|
|
494
|
+
### Minor Changes
|
|
495
|
+
|
|
496
|
+
- Updated `@mastra/inngest` to use Inngest SDK v4. ([#15377](https://github.com/mastra-ai/mastra/pull/15377))
|
|
497
|
+
|
|
498
|
+
**Breaking:** Requires `inngest@^4` and Inngest Dev Server `v1.18.0` or later. The `@inngest/realtime` package is no longer needed — its functionality is now included in `inngest` v4. Remove it from your dependencies and import realtime helpers from `inngest/realtime` instead.
|
|
499
|
+
|
|
500
|
+
```diff
|
|
501
|
+
// package.json
|
|
502
|
+
"dependencies": {
|
|
503
|
+
- "@inngest/realtime": "^0.x",
|
|
504
|
+
- "inngest": "^3.x"
|
|
505
|
+
+ "inngest": "^4.0.0"
|
|
506
|
+
}
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
```diff
|
|
510
|
+
- import { realtimeMiddleware } from '@inngest/realtime/middleware';
|
|
511
|
+
- import { subscribe } from '@inngest/realtime';
|
|
512
|
+
+ import { subscribe } from 'inngest/realtime';
|
|
513
|
+
|
|
514
|
+
const inngest = new Inngest({
|
|
515
|
+
id: 'mastra',
|
|
516
|
+
- middleware: [realtimeMiddleware()],
|
|
517
|
+
});
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
In v4, `subscribe()` and `realtime.publish()` are first-class methods on the client; the standalone middleware is no longer required. `InngestPubSub` publishes via `inngest.realtime.publish()` instead of the function-context `publish` argument that no longer exists in v4, restoring realtime workflow events and agent stream events.
|
|
521
|
+
|
|
522
|
+
**Improved:** Workflow result polling now uses snapshot-based polling, resulting in significantly faster retrieval (~83x).
|
|
523
|
+
|
|
524
|
+
## 1.3.1-alpha.0
|
|
525
|
+
|
|
526
|
+
### Patch Changes
|
|
527
|
+
|
|
528
|
+
- Fixed peer dependency ranges so packages that use the Mastra server require a compatible Mastra core version. ([#16208](https://github.com/mastra-ai/mastra/pull/16208))
|
|
529
|
+
|
|
530
|
+
- Updated the `serve` and `createServe` JSDoc adapter examples to register Inngest at `/inngest/api` instead of `/api/inngest`, matching the Inngest deployment guide and in-repo example projects. ([#16186](https://github.com/mastra-ai/mastra/pull/16186))
|
|
531
|
+
|
|
532
|
+
**Why**
|
|
533
|
+
|
|
534
|
+
Mastra reserves the `/api` prefix for built-in routes (agents, workflows, memory). Custom `apiRoutes[].path` values that start with the server's `apiPrefix` (default `/api`) are rejected at startup, so the previous JSDoc snippets threw `Custom API route "/api/inngest" must not start with "/api"` when copy-pasted into a current Mastra project.
|
|
535
|
+
|
|
536
|
+
**Migration**
|
|
537
|
+
|
|
538
|
+
If you registered Inngest with the previous guide or JSDoc example:
|
|
539
|
+
|
|
540
|
+
```ts
|
|
541
|
+
// Before
|
|
542
|
+
apiRoutes: [
|
|
543
|
+
{
|
|
544
|
+
path: '/api/inngest',
|
|
545
|
+
method: 'ALL',
|
|
546
|
+
createHandler: async ({ mastra }) => serve({ mastra, inngest }),
|
|
547
|
+
},
|
|
548
|
+
];
|
|
549
|
+
|
|
550
|
+
// After
|
|
551
|
+
apiRoutes: [
|
|
552
|
+
{
|
|
553
|
+
path: '/inngest/api',
|
|
554
|
+
method: 'ALL',
|
|
555
|
+
createHandler: async ({ mastra }) => serve({ mastra, inngest }),
|
|
556
|
+
},
|
|
557
|
+
];
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
Update the dev server URL (`npx inngest-cli dev -u http://localhost:4111/inngest/api`) and, in production, set the **URL** field on your Inngest app to match.
|
|
561
|
+
|
|
562
|
+
If you cannot change the path, set `server.apiPrefix` (for example `/_mastra`) to relocate the built-in routes and remember to update `server.auth.protected` and any `MastraClient` `apiPrefix` to match. See the [Inngest deployment guide](https://mastra.ai/guides/deployment/inngest) for the full walkthrough.
|
|
563
|
+
|
|
564
|
+
- Updated dependencies [[`ac47842`](https://github.com/mastra-ai/mastra/commit/ac478427aa7a5f5fdaed633a911218689b438c60)]:
|
|
565
|
+
- @mastra/core@1.33.0-alpha.0
|
|
566
|
+
|
|
567
|
+
## 1.3.0
|
|
568
|
+
|
|
569
|
+
### Minor Changes
|
|
570
|
+
|
|
571
|
+
- Add durable agents with resumable streams ([#12557](https://github.com/mastra-ai/mastra/pull/12557))
|
|
572
|
+
|
|
573
|
+
Durable agents make agent execution resilient to disconnections, crashes, and long-running operations.
|
|
574
|
+
|
|
575
|
+
### The Problem
|
|
576
|
+
|
|
577
|
+
Standard agent streaming has two fragility points:
|
|
578
|
+
1. **Connection drops** - If a client disconnects mid-stream (network blip, browser refresh, mobile app backgrounded), all subsequent events are lost. The client has no way to "catch up" on what they missed.
|
|
579
|
+
2. **Long-running operations** - Agent loops with tool calls can take minutes. Holding an HTTP connection open that long is unreliable. If the server restarts or the connection times out, the work is lost.
|
|
580
|
+
|
|
581
|
+
### The Solution
|
|
582
|
+
|
|
583
|
+
**Resumable streams** solve connection drops. Every event is cached with a sequential index. If a client disconnects at event 5, they can reconnect and request events starting from index 6. They receive cached events immediately, then continue with live events as they arrive.
|
|
584
|
+
|
|
585
|
+
**Durable execution** solves long-running operations. Instead of executing the agent loop directly in the HTTP request, execution happens in a workflow engine (built-in evented engine or Inngest). The HTTP request just subscribes to events. If the connection drops, execution continues. The client can reconnect anytime to observe progress.
|
|
586
|
+
|
|
587
|
+
### Usage
|
|
588
|
+
|
|
589
|
+
Wrap any existing `Agent` with durability using factory functions:
|
|
590
|
+
|
|
591
|
+
```typescript
|
|
592
|
+
import { Agent } from '@mastra/core/agent';
|
|
593
|
+
import { createDurableAgent } from '@mastra/core/agent/durable';
|
|
594
|
+
|
|
595
|
+
const agent = new Agent({
|
|
596
|
+
id: 'my-agent',
|
|
597
|
+
model: openai('gpt-4'),
|
|
598
|
+
instructions: 'You are helpful',
|
|
599
|
+
});
|
|
600
|
+
|
|
601
|
+
const durableAgent = createDurableAgent({ agent });
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
**Factory functions for different execution strategies:**
|
|
605
|
+
|
|
606
|
+
| Factory | Execution | Use Case |
|
|
607
|
+
| ---------------------------------------- | ----------------------------------- | ------------------------------- |
|
|
608
|
+
| `createDurableAgent({ agent })` | Local, synchronous | Development, simple deployments |
|
|
609
|
+
| `createEventedAgent({ agent })` | Fire-and-forget via workflow engine | Long-running operations |
|
|
610
|
+
| `createInngestAgent({ agent, inngest })` | Inngest-powered | Production, distributed systems |
|
|
611
|
+
|
|
612
|
+
### Resumable Streams
|
|
613
|
+
|
|
614
|
+
```typescript
|
|
615
|
+
// Start streaming
|
|
616
|
+
const { runId, output } = await durableAgent.stream('Analyze this data...');
|
|
617
|
+
|
|
618
|
+
// Client disconnects at event 5...
|
|
619
|
+
|
|
620
|
+
// Reconnect and resume from where we left off
|
|
621
|
+
const { output: resumed } = await durableAgent.observe(runId, { offset: 6 });
|
|
622
|
+
// Receives events 6, 7, 8... from cache, then continues with live events
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
### PubSub and Cache
|
|
626
|
+
|
|
627
|
+
Durable agents use two infrastructure components:
|
|
628
|
+
|
|
629
|
+
| Component | Purpose | Default |
|
|
630
|
+
| ---------- | ----------------------------------------- | --------------------- |
|
|
631
|
+
| **PubSub** | Real-time event delivery during streaming | `EventEmitterPubSub` |
|
|
632
|
+
| **Cache** | Stores events for replay on reconnection | `InMemoryServerCache` |
|
|
633
|
+
|
|
634
|
+
When `stream()` is called, events flow through pubsub in real-time. The cache stores each event with a sequential index. When `observe()` is called, missed events replay from cache before continuing with live events.
|
|
635
|
+
|
|
636
|
+
**Configure via Mastra instance (recommended):**
|
|
637
|
+
|
|
638
|
+
```typescript
|
|
639
|
+
const mastra = new Mastra({
|
|
640
|
+
cache: new RedisServerCache({ url: 'redis://...' }),
|
|
641
|
+
pubsub: new RedisPubSub({ url: 'redis://...' }),
|
|
642
|
+
agents: {
|
|
643
|
+
// Inherits cache and pubsub from Mastra
|
|
644
|
+
myAgent: createDurableAgent({ agent }),
|
|
645
|
+
},
|
|
646
|
+
});
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
**Configure per-agent (overrides Mastra):**
|
|
650
|
+
|
|
651
|
+
```typescript
|
|
652
|
+
const durableAgent = createDurableAgent({
|
|
653
|
+
agent,
|
|
654
|
+
cache: new RedisServerCache({ url: 'redis://...' }),
|
|
655
|
+
pubsub: new RedisPubSub({ url: 'redis://...' }),
|
|
656
|
+
});
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
**Disable caching (streams won't be resumable):**
|
|
660
|
+
|
|
661
|
+
```typescript
|
|
662
|
+
const durableAgent = createDurableAgent({ agent, cache: false });
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
For single-instance deployments, the defaults work fine. For multi-instance deployments (load balancer, horizontal scaling), use Redis-backed implementations so any instance can serve reconnection requests.
|
|
666
|
+
|
|
667
|
+
### Class Hierarchy
|
|
668
|
+
- `DurableAgent` extends `Agent` - base class with resumable streams
|
|
669
|
+
- `EventedAgent` extends `DurableAgent` - fire-and-forget execution
|
|
670
|
+
- `InngestAgent` extends `DurableAgent` - Inngest-powered execution
|
|
671
|
+
|
|
672
|
+
- Update peer dependencies to match core package version bump (1.0.5) ([#12557](https://github.com/mastra-ai/mastra/pull/12557))
|
|
673
|
+
|
|
674
|
+
### Patch Changes
|
|
675
|
+
|
|
676
|
+
- Updated dependencies [[`920c757`](https://github.com/mastra-ai/mastra/commit/920c75799c6bd71787d86deaf654a35af4c839ca), [`d587199`](https://github.com/mastra-ai/mastra/commit/d5871993c0371bde2b0717d6b47194755baa1443), [`1fe2533`](https://github.com/mastra-ai/mastra/commit/1fe2533c4382ca6858aac7c4b63e888c2eac6541), [`f8694b6`](https://github.com/mastra-ai/mastra/commit/f8694b6fa0b7a5cde71d794c3bbef4957c55bcb8)]:
|
|
677
|
+
- @mastra/core@1.30.0
|
|
678
|
+
|
|
679
|
+
## 1.3.0-alpha.0
|
|
680
|
+
|
|
681
|
+
### Minor Changes
|
|
682
|
+
|
|
683
|
+
- Add durable agents with resumable streams ([#12557](https://github.com/mastra-ai/mastra/pull/12557))
|
|
684
|
+
|
|
685
|
+
Durable agents make agent execution resilient to disconnections, crashes, and long-running operations.
|
|
686
|
+
|
|
687
|
+
### The Problem
|
|
688
|
+
|
|
689
|
+
Standard agent streaming has two fragility points:
|
|
690
|
+
1. **Connection drops** - If a client disconnects mid-stream (network blip, browser refresh, mobile app backgrounded), all subsequent events are lost. The client has no way to "catch up" on what they missed.
|
|
691
|
+
2. **Long-running operations** - Agent loops with tool calls can take minutes. Holding an HTTP connection open that long is unreliable. If the server restarts or the connection times out, the work is lost.
|
|
692
|
+
|
|
693
|
+
### The Solution
|
|
694
|
+
|
|
695
|
+
**Resumable streams** solve connection drops. Every event is cached with a sequential index. If a client disconnects at event 5, they can reconnect and request events starting from index 6. They receive cached events immediately, then continue with live events as they arrive.
|
|
696
|
+
|
|
697
|
+
**Durable execution** solves long-running operations. Instead of executing the agent loop directly in the HTTP request, execution happens in a workflow engine (built-in evented engine or Inngest). The HTTP request just subscribes to events. If the connection drops, execution continues. The client can reconnect anytime to observe progress.
|
|
698
|
+
|
|
699
|
+
### Usage
|
|
700
|
+
|
|
701
|
+
Wrap any existing `Agent` with durability using factory functions:
|
|
702
|
+
|
|
703
|
+
```typescript
|
|
704
|
+
import { Agent } from '@mastra/core/agent';
|
|
705
|
+
import { createDurableAgent } from '@mastra/core/agent/durable';
|
|
706
|
+
|
|
707
|
+
const agent = new Agent({
|
|
708
|
+
id: 'my-agent',
|
|
709
|
+
model: openai('gpt-4'),
|
|
710
|
+
instructions: 'You are helpful',
|
|
711
|
+
});
|
|
712
|
+
|
|
713
|
+
const durableAgent = createDurableAgent({ agent });
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
**Factory functions for different execution strategies:**
|
|
717
|
+
|
|
718
|
+
| Factory | Execution | Use Case |
|
|
719
|
+
| ---------------------------------------- | ----------------------------------- | ------------------------------- |
|
|
720
|
+
| `createDurableAgent({ agent })` | Local, synchronous | Development, simple deployments |
|
|
721
|
+
| `createEventedAgent({ agent })` | Fire-and-forget via workflow engine | Long-running operations |
|
|
722
|
+
| `createInngestAgent({ agent, inngest })` | Inngest-powered | Production, distributed systems |
|
|
723
|
+
|
|
724
|
+
### Resumable Streams
|
|
725
|
+
|
|
726
|
+
```typescript
|
|
727
|
+
// Start streaming
|
|
728
|
+
const { runId, output } = await durableAgent.stream('Analyze this data...');
|
|
729
|
+
|
|
730
|
+
// Client disconnects at event 5...
|
|
731
|
+
|
|
732
|
+
// Reconnect and resume from where we left off
|
|
733
|
+
const { output: resumed } = await durableAgent.observe(runId, { offset: 6 });
|
|
734
|
+
// Receives events 6, 7, 8... from cache, then continues with live events
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
### PubSub and Cache
|
|
738
|
+
|
|
739
|
+
Durable agents use two infrastructure components:
|
|
740
|
+
|
|
741
|
+
| Component | Purpose | Default |
|
|
742
|
+
| ---------- | ----------------------------------------- | --------------------- |
|
|
743
|
+
| **PubSub** | Real-time event delivery during streaming | `EventEmitterPubSub` |
|
|
744
|
+
| **Cache** | Stores events for replay on reconnection | `InMemoryServerCache` |
|
|
745
|
+
|
|
746
|
+
When `stream()` is called, events flow through pubsub in real-time. The cache stores each event with a sequential index. When `observe()` is called, missed events replay from cache before continuing with live events.
|
|
747
|
+
|
|
748
|
+
**Configure via Mastra instance (recommended):**
|
|
749
|
+
|
|
750
|
+
```typescript
|
|
751
|
+
const mastra = new Mastra({
|
|
752
|
+
cache: new RedisServerCache({ url: 'redis://...' }),
|
|
753
|
+
pubsub: new RedisPubSub({ url: 'redis://...' }),
|
|
754
|
+
agents: {
|
|
755
|
+
// Inherits cache and pubsub from Mastra
|
|
756
|
+
myAgent: createDurableAgent({ agent }),
|
|
757
|
+
},
|
|
758
|
+
});
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
**Configure per-agent (overrides Mastra):**
|
|
762
|
+
|
|
763
|
+
```typescript
|
|
764
|
+
const durableAgent = createDurableAgent({
|
|
765
|
+
agent,
|
|
766
|
+
cache: new RedisServerCache({ url: 'redis://...' }),
|
|
767
|
+
pubsub: new RedisPubSub({ url: 'redis://...' }),
|
|
768
|
+
});
|
|
769
|
+
```
|
|
770
|
+
|
|
771
|
+
**Disable caching (streams won't be resumable):**
|
|
772
|
+
|
|
773
|
+
```typescript
|
|
774
|
+
const durableAgent = createDurableAgent({ agent, cache: false });
|
|
775
|
+
```
|
|
776
|
+
|
|
777
|
+
For single-instance deployments, the defaults work fine. For multi-instance deployments (load balancer, horizontal scaling), use Redis-backed implementations so any instance can serve reconnection requests.
|
|
778
|
+
|
|
779
|
+
### Class Hierarchy
|
|
780
|
+
- `DurableAgent` extends `Agent` - base class with resumable streams
|
|
781
|
+
- `EventedAgent` extends `DurableAgent` - fire-and-forget execution
|
|
782
|
+
- `InngestAgent` extends `DurableAgent` - Inngest-powered execution
|
|
783
|
+
|
|
784
|
+
- Update peer dependencies to match core package version bump (1.0.5) ([#12557](https://github.com/mastra-ai/mastra/pull/12557))
|
|
785
|
+
|
|
786
|
+
### Patch Changes
|
|
787
|
+
|
|
788
|
+
- Updated dependencies [[`920c757`](https://github.com/mastra-ai/mastra/commit/920c75799c6bd71787d86deaf654a35af4c839ca), [`1fe2533`](https://github.com/mastra-ai/mastra/commit/1fe2533c4382ca6858aac7c4b63e888c2eac6541), [`f8694b6`](https://github.com/mastra-ai/mastra/commit/f8694b6fa0b7a5cde71d794c3bbef4957c55bcb8)]:
|
|
789
|
+
- @mastra/core@1.30.0-alpha.1
|
|
790
|
+
|
|
791
|
+
## 1.2.2
|
|
792
|
+
|
|
793
|
+
### Patch Changes
|
|
794
|
+
|
|
795
|
+
- dependencies updates: ([#15526](https://github.com/mastra-ai/mastra/pull/15526))
|
|
796
|
+
- Updated dependency [`@opentelemetry/api@^1.9.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.1) (from `^1.9.0`, in `dependencies`)
|
|
797
|
+
- Updated dependency [`@opentelemetry/core@^1.30.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/1.30.1) (from `^1.30.0`, in `dependencies`)
|
|
798
|
+
- Updated dependencies [[`20f59b8`](https://github.com/mastra-ai/mastra/commit/20f59b876cf91199efbc49a0e36b391240708f08), [`aba393e`](https://github.com/mastra-ai/mastra/commit/aba393e2da7390c69b80e516a4f153cda6f09376), [`3d83d06`](https://github.com/mastra-ai/mastra/commit/3d83d06f776f00fb5f4163dddd32a030c5c20844), [`e2687a7`](https://github.com/mastra-ai/mastra/commit/e2687a7408790c384563816a9a28ed06735684c9), [`fdd54cf`](https://github.com/mastra-ai/mastra/commit/fdd54cf612a9af876e9fdd85e534454f6e7dd518), [`6315317`](https://github.com/mastra-ai/mastra/commit/63153175fe9a7b224e5be7c209bbebc01dd9b0d5), [`a371ac5`](https://github.com/mastra-ai/mastra/commit/a371ac534aa1bb368a1acf9d8b313378dfdc787e), [`0474c2b`](https://github.com/mastra-ai/mastra/commit/0474c2b2e7c7e1ad8691dca031284841391ff1ef), [`0a5fa1d`](https://github.com/mastra-ai/mastra/commit/0a5fa1d3cb0583889d06687155f26fd7d2edc76c), [`7e0e63e`](https://github.com/mastra-ai/mastra/commit/7e0e63e2e485e84442351f4c7a79a424c83539dc), [`ea43e64`](https://github.com/mastra-ai/mastra/commit/ea43e646dd95d507694b6112b0bf1df22ad552b2), [`f607106`](https://github.com/mastra-ai/mastra/commit/f607106854c6416c4a07d4082604b9f66d047221), [`30456b6`](https://github.com/mastra-ai/mastra/commit/30456b6b08c8fd17e109dd093b73d93b65e83bc5), [`9d11a8c`](https://github.com/mastra-ai/mastra/commit/9d11a8c1c8924eb975a245a5884d40ca1b7e0491), [`9d3b24b`](https://github.com/mastra-ai/mastra/commit/9d3b24b19407ae9c09586cf7766d38dc4dff4a69), [`00d1b16`](https://github.com/mastra-ai/mastra/commit/00d1b16b401199cb294fa23f43336547db4dca9b), [`47cee3e`](https://github.com/mastra-ai/mastra/commit/47cee3e137fe39109cf7fffd2a8cf47b76dc702e), [`62919a6`](https://github.com/mastra-ai/mastra/commit/62919a6ee0fbf3779ad21a97b1ec6696515d5104), [`d246696`](https://github.com/mastra-ai/mastra/commit/d246696139a3144a5b21b042d41c532688e957e1), [`354f9ce`](https://github.com/mastra-ai/mastra/commit/354f9ce1ca6af2074b6a196a23f8ec30012dccca), [`16e34ca`](https://github.com/mastra-ai/mastra/commit/16e34caa98b9a114b17a6125e4e3fd87f169d0d0), [`7020c06`](https://github.com/mastra-ai/mastra/commit/7020c0690b199d9da337f0e805f16948e557922e), [`8786a61`](https://github.com/mastra-ai/mastra/commit/8786a61fa54ba265f85eeff9985ca39863d18bb6), [`9467ea8`](https://github.com/mastra-ai/mastra/commit/9467ea87695749a53dfc041576410ebf9ee7bb67), [`7338d94`](https://github.com/mastra-ai/mastra/commit/7338d949380cf68b095342e8e42610dc51d557c1), [`c80dc16`](https://github.com/mastra-ai/mastra/commit/c80dc16e113e6cc159f510ffde501ad4711b2189), [`af8a57e`](https://github.com/mastra-ai/mastra/commit/af8a57ed9ba9685ad8601d5b71ae3706da6222f9), [`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c), [`47cee3e`](https://github.com/mastra-ai/mastra/commit/47cee3e137fe39109cf7fffd2a8cf47b76dc702e), [`1bd5104`](https://github.com/mastra-ai/mastra/commit/1bd51048b6da93507276d6623e3fd96a9e1a8944), [`e9837b5`](https://github.com/mastra-ai/mastra/commit/e9837b53699e18711b09e0ca010a4106376f2653), [`8f1b280`](https://github.com/mastra-ai/mastra/commit/8f1b280b7fe6999ec654f160cb69c1a8719e7a57), [`92dcf02`](https://github.com/mastra-ai/mastra/commit/92dcf029294210ac91b090900c1a0555a425c57a), [`0fd90a2`](https://github.com/mastra-ai/mastra/commit/0fd90a215caf5fca8099c15a67ca03e4427747a3), [`8fb2405`](https://github.com/mastra-ai/mastra/commit/8fb2405138f2d208b7962ad03f121ca25bcc28c5), [`12df98c`](https://github.com/mastra-ai/mastra/commit/12df98c4904643d9481f5c78f3bed443725b4c96)]:
|
|
799
|
+
- @mastra/core@1.26.0
|
|
800
|
+
|
|
801
|
+
## 1.2.2-alpha.0
|
|
802
|
+
|
|
803
|
+
### Patch Changes
|
|
804
|
+
|
|
805
|
+
- dependencies updates: ([#15526](https://github.com/mastra-ai/mastra/pull/15526))
|
|
806
|
+
- Updated dependency [`@opentelemetry/api@^1.9.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.1) (from `^1.9.0`, in `dependencies`)
|
|
807
|
+
- Updated dependency [`@opentelemetry/core@^1.30.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/1.30.1) (from `^1.30.0`, in `dependencies`)
|
|
808
|
+
- Updated dependencies [[`aba393e`](https://github.com/mastra-ai/mastra/commit/aba393e2da7390c69b80e516a4f153cda6f09376), [`0a5fa1d`](https://github.com/mastra-ai/mastra/commit/0a5fa1d3cb0583889d06687155f26fd7d2edc76c), [`ea43e64`](https://github.com/mastra-ai/mastra/commit/ea43e646dd95d507694b6112b0bf1df22ad552b2), [`00d1b16`](https://github.com/mastra-ai/mastra/commit/00d1b16b401199cb294fa23f43336547db4dca9b), [`af8a57e`](https://github.com/mastra-ai/mastra/commit/af8a57ed9ba9685ad8601d5b71ae3706da6222f9)]:
|
|
809
|
+
- @mastra/core@1.26.0-alpha.10
|
|
810
|
+
|
|
811
|
+
## 1.2.1
|
|
812
|
+
|
|
813
|
+
### Patch Changes
|
|
814
|
+
|
|
815
|
+
- Add `entityName` to workflow span creation in the Inngest workflow engine, parallel to the core fix in #14949. Without this, workflows created via `init(inngest).createWorkflow({...})` show up as "unknown" in the metrics dashboard's workflow trace volume tab even when they have an explicit `id`. ([#15182](https://github.com/mastra-ai/mastra/pull/15182))
|
|
816
|
+
|
|
817
|
+
- Updated dependencies [[`ef94400`](https://github.com/mastra-ai/mastra/commit/ef9440049402596b31f2ab976c5e4508f6cb6c91), [`3db852b`](https://github.com/mastra-ai/mastra/commit/3db852bff74e29f60d415a7b0f1583d6ce2bad92)]:
|
|
818
|
+
- @mastra/core@1.24.1
|
|
819
|
+
|
|
820
|
+
## 1.2.1-alpha.0
|
|
821
|
+
|
|
822
|
+
### Patch Changes
|
|
823
|
+
|
|
824
|
+
- Add `entityName` to workflow span creation in the Inngest workflow engine, parallel to the core fix in #14949. Without this, workflows created via `init(inngest).createWorkflow({...})` show up as "unknown" in the metrics dashboard's workflow trace volume tab even when they have an explicit `id`. ([#15182](https://github.com/mastra-ai/mastra/pull/15182))
|
|
825
|
+
|
|
826
|
+
- Updated dependencies [[`ef94400`](https://github.com/mastra-ai/mastra/commit/ef9440049402596b31f2ab976c5e4508f6cb6c91)]:
|
|
827
|
+
- @mastra/core@1.24.1-alpha.0
|
|
828
|
+
|
|
829
|
+
## 1.2.0
|
|
830
|
+
|
|
831
|
+
### Minor Changes
|
|
832
|
+
|
|
833
|
+
- Fixed excessive OTel trace pollution from internal polling fetch calls. When using APM tools like Sentry or Datadog, the polling loop in `getRunOutput()` would generate hundreds of identical GET spans per workflow run, inflating observability costs and making traces harder to read. Polling fetch calls are now wrapped with `suppressTracing()` to eliminate this noise while preserving all user-facing spans. ([#14088](https://github.com/mastra-ai/mastra/pull/14088))
|
|
834
|
+
|
|
835
|
+
Closes #13892
|
|
836
|
+
|
|
837
|
+
### Patch Changes
|
|
838
|
+
|
|
839
|
+
- Updated dependencies [[`cb611a1`](https://github.com/mastra-ai/mastra/commit/cb611a1e89a4f4cf74c97b57e0c27bb56f2eceb5), [`da93115`](https://github.com/mastra-ai/mastra/commit/da931155c1a9bc63d455d3d86b4ec984db5991fe), [`62d1d3c`](https://github.com/mastra-ai/mastra/commit/62d1d3cc08fe8182e7080237fd975de862ec8c91), [`9e1a3ed`](https://github.com/mastra-ai/mastra/commit/9e1a3ed07cfafb5e8e19a796ce0bee817002d7c0), [`8681ecb`](https://github.com/mastra-ai/mastra/commit/8681ecb86184d5907267000e4576cc442a9a83fc), [`28d0249`](https://github.com/mastra-ai/mastra/commit/28d0249295782277040ad1e0d243e695b7ab1ce4), [`681ee1c`](https://github.com/mastra-ai/mastra/commit/681ee1c811359efd1b8bebc4bce35b9bb7b14bec), [`bb0f09d`](https://github.com/mastra-ai/mastra/commit/bb0f09dbac58401b36069f483acf5673202db5b5), [`a579f7a`](https://github.com/mastra-ai/mastra/commit/a579f7a31e582674862b5679bc79af7ccf7429b8), [`5f7e9d0`](https://github.com/mastra-ai/mastra/commit/5f7e9d0db664020e1f3d97d7d18c6b0b9d4843d0), [`d7f14c3`](https://github.com/mastra-ai/mastra/commit/d7f14c3285cd253ecdd5f58139b7b6cbdf3678b5), [`0efe12a`](https://github.com/mastra-ai/mastra/commit/0efe12a5f008a939a1aac71699486ba40138054e)]:
|
|
840
|
+
- @mastra/core@1.15.0
|
|
841
|
+
|
|
842
|
+
## 1.2.0-alpha.0
|
|
843
|
+
|
|
844
|
+
### Minor Changes
|
|
845
|
+
|
|
846
|
+
- Fixed excessive OTel trace pollution from internal polling fetch calls. When using APM tools like Sentry or Datadog, the polling loop in `getRunOutput()` would generate hundreds of identical GET spans per workflow run, inflating observability costs and making traces harder to read. Polling fetch calls are now wrapped with `suppressTracing()` to eliminate this noise while preserving all user-facing spans. ([#14088](https://github.com/mastra-ai/mastra/pull/14088))
|
|
847
|
+
|
|
848
|
+
Closes #13892
|
|
849
|
+
|
|
850
|
+
### Patch Changes
|
|
851
|
+
|
|
852
|
+
- Updated dependencies [[`cb611a1`](https://github.com/mastra-ai/mastra/commit/cb611a1e89a4f4cf74c97b57e0c27bb56f2eceb5), [`62d1d3c`](https://github.com/mastra-ai/mastra/commit/62d1d3cc08fe8182e7080237fd975de862ec8c91), [`8681ecb`](https://github.com/mastra-ai/mastra/commit/8681ecb86184d5907267000e4576cc442a9a83fc), [`28d0249`](https://github.com/mastra-ai/mastra/commit/28d0249295782277040ad1e0d243e695b7ab1ce4), [`bb0f09d`](https://github.com/mastra-ai/mastra/commit/bb0f09dbac58401b36069f483acf5673202db5b5), [`5f7e9d0`](https://github.com/mastra-ai/mastra/commit/5f7e9d0db664020e1f3d97d7d18c6b0b9d4843d0)]:
|
|
853
|
+
- @mastra/core@1.15.0-alpha.0
|
|
854
|
+
|
|
855
|
+
## 1.1.2
|
|
856
|
+
|
|
857
|
+
### Patch Changes
|
|
858
|
+
|
|
859
|
+
- Flush observability after Inngest workflow finalize step to ensure span export promises resolve before the function completes. Fixes #13388 where fire-and-forget export promises were abandoned in durable execution contexts. ([#13717](https://github.com/mastra-ai/mastra/pull/13717))
|
|
860
|
+
|
|
861
|
+
- Fixed observability flush to run on all code paths, including when the finalize step throws an error. Previously, if the workflow failed inside step.run, the flush call was skipped because it was placed after the await. ([#13721](https://github.com/mastra-ai/mastra/pull/13721))
|
|
862
|
+
|
|
863
|
+
- Updated dependencies [[`504fc8b`](https://github.com/mastra-ai/mastra/commit/504fc8b9d0ddab717577ad3bf9c95ea4bd5377bd), [`f9c150b`](https://github.com/mastra-ai/mastra/commit/f9c150b7595ad05ad9cc9a11098e2944361e8c22), [`88de7e8`](https://github.com/mastra-ai/mastra/commit/88de7e8dfe4b7e1951a9e441bb33136e705ce24e), [`edee4b3`](https://github.com/mastra-ai/mastra/commit/edee4b37dff0af515fc7cc0e8d71ee39e6a762f0), [`3790c75`](https://github.com/mastra-ai/mastra/commit/3790c7578cc6a47d854eb12d89e6b1912867fe29), [`e7a235b`](https://github.com/mastra-ai/mastra/commit/e7a235be6472e0c870ed6c791ddb17c492dc188b), [`d51d298`](https://github.com/mastra-ai/mastra/commit/d51d298953967aab1f58ec965b644d109214f085), [`6dbeeb9`](https://github.com/mastra-ai/mastra/commit/6dbeeb94a8b1eebb727300d1a98961f882180794), [`d5f0d8d`](https://github.com/mastra-ai/mastra/commit/d5f0d8d6a03e515ddaa9b5da19b7e44b8357b07b), [`09c3b18`](https://github.com/mastra-ai/mastra/commit/09c3b1802ff14e243a8a8baea327440bc8cc2e32), [`b896379`](https://github.com/mastra-ai/mastra/commit/b8963791c6afa79484645fcec596a201f936b9a2), [`85c84eb`](https://github.com/mastra-ai/mastra/commit/85c84ebb78aebfcba9d209c8e152b16d7a00cb71), [`a89272a`](https://github.com/mastra-ai/mastra/commit/a89272a5d71939b9fcd284e6a6dc1dd091a6bdcf), [`ee9c8df`](https://github.com/mastra-ai/mastra/commit/ee9c8df644f19d055af5f496bf4942705f5a47b7), [`77b4a25`](https://github.com/mastra-ai/mastra/commit/77b4a254e51907f8ff3a3ba95596a18e93ae4b35), [`276246e`](https://github.com/mastra-ai/mastra/commit/276246e0b9066a1ea48bbc70df84dbe528daaf99), [`08ecfdb`](https://github.com/mastra-ai/mastra/commit/08ecfdbdad6fb8285deef86a034bdf4a6047cfca), [`d5f628c`](https://github.com/mastra-ai/mastra/commit/d5f628ca86c6f6f3ff1035d52f635df32dd81cab), [`524c0f3`](https://github.com/mastra-ai/mastra/commit/524c0f3c434c3d9d18f66338dcef383d6161b59c), [`c18a0e9`](https://github.com/mastra-ai/mastra/commit/c18a0e9cef1e4ca004b2963d35e4cfc031971eac), [`4bd21ea`](https://github.com/mastra-ai/mastra/commit/4bd21ea43d44d0a0427414fc047577f9f0aa3bec), [`115a7a4`](https://github.com/mastra-ai/mastra/commit/115a7a47db5e9896fec12ae6507501adb9ec89bf), [`22a48ae`](https://github.com/mastra-ai/mastra/commit/22a48ae2513eb54d8d79dad361fddbca97a155e8), [`3c6ef79`](https://github.com/mastra-ai/mastra/commit/3c6ef798481e00d6d22563be2de98818fd4dd5e0), [`9311c17`](https://github.com/mastra-ai/mastra/commit/9311c17d7a0640d9c4da2e71b814dc67c57c6369), [`7edf78f`](https://github.com/mastra-ai/mastra/commit/7edf78f80422c43e84585f08ba11df0d4d0b73c5), [`1c4221c`](https://github.com/mastra-ai/mastra/commit/1c4221cf6032ec98d0e094d4ee11da3e48490d96), [`d25b9ea`](https://github.com/mastra-ai/mastra/commit/d25b9eabd400167255a97b690ffbc4ee4097ded5), [`fe1ce5c`](https://github.com/mastra-ai/mastra/commit/fe1ce5c9211c03d561606fda95cbfe7df1d9a9b5), [`b03c0e0`](https://github.com/mastra-ai/mastra/commit/b03c0e0389a799523929a458b0509c9e4244d562), [`0a8366b`](https://github.com/mastra-ai/mastra/commit/0a8366b0a692fcdde56c4d526e4cf03c502ae4ac), [`85664e9`](https://github.com/mastra-ai/mastra/commit/85664e9fd857320fbc245e301f764f45f66f32a3), [`bc79650`](https://github.com/mastra-ai/mastra/commit/bc796500c6e0334faa158a96077e3fb332274869), [`9257d01`](https://github.com/mastra-ai/mastra/commit/9257d01d1366d81f84c582fe02b5e200cf9621f4), [`3a3a59e`](https://github.com/mastra-ai/mastra/commit/3a3a59e8ffaa6a985fe3d9a126a3f5ade11a6724), [`3108d4e`](https://github.com/mastra-ai/mastra/commit/3108d4e649c9fddbf03253a6feeb388a5fa9fa5a), [`0c33b2c`](https://github.com/mastra-ai/mastra/commit/0c33b2c9db537f815e1c59e2c898ffce2e395a79), [`191e5bd`](https://github.com/mastra-ai/mastra/commit/191e5bd29b82f5bda35243945790da7bc7b695c2), [`f77cd94`](https://github.com/mastra-ai/mastra/commit/f77cd94c44eabed490384e7d19232a865e13214c), [`e8135c7`](https://github.com/mastra-ai/mastra/commit/e8135c7e300dac5040670eec7eab896ac6092e30), [`daca48f`](https://github.com/mastra-ai/mastra/commit/daca48f0fb17b7ae0b62a2ac40cf0e491b2fd0b7), [`257d14f`](https://github.com/mastra-ai/mastra/commit/257d14faca5931f2e4186fc165b6f0b1f915deee), [`352f25d`](https://github.com/mastra-ai/mastra/commit/352f25da316b24cdd5b410fd8dddf6a8b763da2a), [`93477d0`](https://github.com/mastra-ai/mastra/commit/93477d0769b8a13ea5ed73d508d967fb23eaeed9), [`31c78b3`](https://github.com/mastra-ai/mastra/commit/31c78b3eb28f58a8017f1dcc795c33214d87feac), [`0bc0720`](https://github.com/mastra-ai/mastra/commit/0bc07201095791858087cc56f353fcd65e87ab54), [`36516ac`](https://github.com/mastra-ai/mastra/commit/36516aca1021cbeb42e74751b46a2614101f37c8), [`e947652`](https://github.com/mastra-ai/mastra/commit/e9476527fdecb4449e54570e80dfaf8466901254), [`3c6ef79`](https://github.com/mastra-ai/mastra/commit/3c6ef798481e00d6d22563be2de98818fd4dd5e0), [`9257d01`](https://github.com/mastra-ai/mastra/commit/9257d01d1366d81f84c582fe02b5e200cf9621f4), [`ec248f6`](https://github.com/mastra-ai/mastra/commit/ec248f6b56e8a037c066c49b2178e2507471d988)]:
|
|
864
|
+
- @mastra/core@1.9.0
|
|
865
|
+
|
|
866
|
+
## 1.1.2-alpha.0
|
|
867
|
+
|
|
868
|
+
### Patch Changes
|
|
869
|
+
|
|
870
|
+
- Flush observability after Inngest workflow finalize step to ensure span export promises resolve before the function completes. Fixes #13388 where fire-and-forget export promises were abandoned in durable execution contexts. ([#13717](https://github.com/mastra-ai/mastra/pull/13717))
|
|
871
|
+
|
|
872
|
+
- Fixed observability flush to run on all code paths, including when the finalize step throws an error. Previously, if the workflow failed inside step.run, the flush call was skipped because it was placed after the await. ([#13721](https://github.com/mastra-ai/mastra/pull/13721))
|
|
873
|
+
|
|
874
|
+
- Updated dependencies [[`504fc8b`](https://github.com/mastra-ai/mastra/commit/504fc8b9d0ddab717577ad3bf9c95ea4bd5377bd), [`f9c150b`](https://github.com/mastra-ai/mastra/commit/f9c150b7595ad05ad9cc9a11098e2944361e8c22), [`88de7e8`](https://github.com/mastra-ai/mastra/commit/88de7e8dfe4b7e1951a9e441bb33136e705ce24e), [`edee4b3`](https://github.com/mastra-ai/mastra/commit/edee4b37dff0af515fc7cc0e8d71ee39e6a762f0), [`3790c75`](https://github.com/mastra-ai/mastra/commit/3790c7578cc6a47d854eb12d89e6b1912867fe29), [`e7a235b`](https://github.com/mastra-ai/mastra/commit/e7a235be6472e0c870ed6c791ddb17c492dc188b), [`d51d298`](https://github.com/mastra-ai/mastra/commit/d51d298953967aab1f58ec965b644d109214f085), [`6dbeeb9`](https://github.com/mastra-ai/mastra/commit/6dbeeb94a8b1eebb727300d1a98961f882180794), [`d5f0d8d`](https://github.com/mastra-ai/mastra/commit/d5f0d8d6a03e515ddaa9b5da19b7e44b8357b07b), [`09c3b18`](https://github.com/mastra-ai/mastra/commit/09c3b1802ff14e243a8a8baea327440bc8cc2e32), [`b896379`](https://github.com/mastra-ai/mastra/commit/b8963791c6afa79484645fcec596a201f936b9a2), [`85c84eb`](https://github.com/mastra-ai/mastra/commit/85c84ebb78aebfcba9d209c8e152b16d7a00cb71), [`a89272a`](https://github.com/mastra-ai/mastra/commit/a89272a5d71939b9fcd284e6a6dc1dd091a6bdcf), [`ee9c8df`](https://github.com/mastra-ai/mastra/commit/ee9c8df644f19d055af5f496bf4942705f5a47b7), [`77b4a25`](https://github.com/mastra-ai/mastra/commit/77b4a254e51907f8ff3a3ba95596a18e93ae4b35), [`276246e`](https://github.com/mastra-ai/mastra/commit/276246e0b9066a1ea48bbc70df84dbe528daaf99), [`08ecfdb`](https://github.com/mastra-ai/mastra/commit/08ecfdbdad6fb8285deef86a034bdf4a6047cfca), [`d5f628c`](https://github.com/mastra-ai/mastra/commit/d5f628ca86c6f6f3ff1035d52f635df32dd81cab), [`524c0f3`](https://github.com/mastra-ai/mastra/commit/524c0f3c434c3d9d18f66338dcef383d6161b59c), [`c18a0e9`](https://github.com/mastra-ai/mastra/commit/c18a0e9cef1e4ca004b2963d35e4cfc031971eac), [`4bd21ea`](https://github.com/mastra-ai/mastra/commit/4bd21ea43d44d0a0427414fc047577f9f0aa3bec), [`115a7a4`](https://github.com/mastra-ai/mastra/commit/115a7a47db5e9896fec12ae6507501adb9ec89bf), [`22a48ae`](https://github.com/mastra-ai/mastra/commit/22a48ae2513eb54d8d79dad361fddbca97a155e8), [`3c6ef79`](https://github.com/mastra-ai/mastra/commit/3c6ef798481e00d6d22563be2de98818fd4dd5e0), [`9311c17`](https://github.com/mastra-ai/mastra/commit/9311c17d7a0640d9c4da2e71b814dc67c57c6369), [`7edf78f`](https://github.com/mastra-ai/mastra/commit/7edf78f80422c43e84585f08ba11df0d4d0b73c5), [`1c4221c`](https://github.com/mastra-ai/mastra/commit/1c4221cf6032ec98d0e094d4ee11da3e48490d96), [`d25b9ea`](https://github.com/mastra-ai/mastra/commit/d25b9eabd400167255a97b690ffbc4ee4097ded5), [`fe1ce5c`](https://github.com/mastra-ai/mastra/commit/fe1ce5c9211c03d561606fda95cbfe7df1d9a9b5), [`b03c0e0`](https://github.com/mastra-ai/mastra/commit/b03c0e0389a799523929a458b0509c9e4244d562), [`0a8366b`](https://github.com/mastra-ai/mastra/commit/0a8366b0a692fcdde56c4d526e4cf03c502ae4ac), [`85664e9`](https://github.com/mastra-ai/mastra/commit/85664e9fd857320fbc245e301f764f45f66f32a3), [`bc79650`](https://github.com/mastra-ai/mastra/commit/bc796500c6e0334faa158a96077e3fb332274869), [`9257d01`](https://github.com/mastra-ai/mastra/commit/9257d01d1366d81f84c582fe02b5e200cf9621f4), [`3a3a59e`](https://github.com/mastra-ai/mastra/commit/3a3a59e8ffaa6a985fe3d9a126a3f5ade11a6724), [`3108d4e`](https://github.com/mastra-ai/mastra/commit/3108d4e649c9fddbf03253a6feeb388a5fa9fa5a), [`0c33b2c`](https://github.com/mastra-ai/mastra/commit/0c33b2c9db537f815e1c59e2c898ffce2e395a79), [`191e5bd`](https://github.com/mastra-ai/mastra/commit/191e5bd29b82f5bda35243945790da7bc7b695c2), [`f77cd94`](https://github.com/mastra-ai/mastra/commit/f77cd94c44eabed490384e7d19232a865e13214c), [`e8135c7`](https://github.com/mastra-ai/mastra/commit/e8135c7e300dac5040670eec7eab896ac6092e30), [`daca48f`](https://github.com/mastra-ai/mastra/commit/daca48f0fb17b7ae0b62a2ac40cf0e491b2fd0b7), [`257d14f`](https://github.com/mastra-ai/mastra/commit/257d14faca5931f2e4186fc165b6f0b1f915deee), [`352f25d`](https://github.com/mastra-ai/mastra/commit/352f25da316b24cdd5b410fd8dddf6a8b763da2a), [`93477d0`](https://github.com/mastra-ai/mastra/commit/93477d0769b8a13ea5ed73d508d967fb23eaeed9), [`31c78b3`](https://github.com/mastra-ai/mastra/commit/31c78b3eb28f58a8017f1dcc795c33214d87feac), [`0bc0720`](https://github.com/mastra-ai/mastra/commit/0bc07201095791858087cc56f353fcd65e87ab54), [`36516ac`](https://github.com/mastra-ai/mastra/commit/36516aca1021cbeb42e74751b46a2614101f37c8), [`e947652`](https://github.com/mastra-ai/mastra/commit/e9476527fdecb4449e54570e80dfaf8466901254), [`3c6ef79`](https://github.com/mastra-ai/mastra/commit/3c6ef798481e00d6d22563be2de98818fd4dd5e0), [`9257d01`](https://github.com/mastra-ai/mastra/commit/9257d01d1366d81f84c582fe02b5e200cf9621f4), [`ec248f6`](https://github.com/mastra-ai/mastra/commit/ec248f6b56e8a037c066c49b2178e2507471d988)]:
|
|
875
|
+
- @mastra/core@1.9.0-alpha.0
|
|
876
|
+
|
|
877
|
+
## 1.1.1
|
|
878
|
+
|
|
879
|
+
### Patch Changes
|
|
880
|
+
|
|
881
|
+
- dependencies updates: ([#13013](https://github.com/mastra-ai/mastra/pull/13013))
|
|
882
|
+
- Updated dependency [`@inngest/realtime@^0.4.6` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.6) (from `^0.4.5`, in `dependencies`)
|
|
883
|
+
- Updated dependencies [[`252580a`](https://github.com/mastra-ai/mastra/commit/252580a71feb0e46d0ccab04a70a79ff6a2ee0ab), [`f8e819f`](https://github.com/mastra-ai/mastra/commit/f8e819fabdfdc43d2da546a3ad81ba23685f603d), [`5c75261`](https://github.com/mastra-ai/mastra/commit/5c7526120d936757d4ffb7b82232e1641ebd45cb), [`e27d832`](https://github.com/mastra-ai/mastra/commit/e27d83281b5e166fd63a13969689e928d8605944), [`e37ef84`](https://github.com/mastra-ai/mastra/commit/e37ef8404043c94ca0c8e35ecdedb093b8087878), [`6fdd3d4`](https://github.com/mastra-ai/mastra/commit/6fdd3d451a07a8e7e216c62ac364f8dd8e36c2af), [`10cf521`](https://github.com/mastra-ai/mastra/commit/10cf52183344743a0d7babe24cd24fd78870c354), [`efdb682`](https://github.com/mastra-ai/mastra/commit/efdb682887f6522149769383908f9790c188ab88), [`0dee7a0`](https://github.com/mastra-ai/mastra/commit/0dee7a0ff4c2507e6eb6e6ee5f9738877ebd4ad1), [`04c2c8e`](https://github.com/mastra-ai/mastra/commit/04c2c8e888984364194131aecb490a3d6e920e61), [`02dc07a`](https://github.com/mastra-ai/mastra/commit/02dc07acc4ad42d93335825e3308f5b42266eba2), [`bb7262b`](https://github.com/mastra-ai/mastra/commit/bb7262b7c0ca76320d985b40510b6ffbbb936582), [`cf1c6e7`](https://github.com/mastra-ai/mastra/commit/cf1c6e789b131f55638fed52183a89d5078b4876), [`5ffadfe`](https://github.com/mastra-ai/mastra/commit/5ffadfefb1468ac2612b20bb84d24c39de6961c0), [`1e1339c`](https://github.com/mastra-ai/mastra/commit/1e1339cc276e571a48cfff5014487877086bfe68), [`d03df73`](https://github.com/mastra-ai/mastra/commit/d03df73f8fe9496064a33e1c3b74ba0479bf9ee6), [`79b8f45`](https://github.com/mastra-ai/mastra/commit/79b8f45a6767e1a5c3d56cd3c5b1214326b81661), [`9bbf08e`](https://github.com/mastra-ai/mastra/commit/9bbf08e3c20731c79dea13a765895b9fcf29cbf1), [`0a25952`](https://github.com/mastra-ai/mastra/commit/0a259526b5e1ac11e6efa53db1f140272962af2d), [`ffa5468`](https://github.com/mastra-ai/mastra/commit/ffa546857fc4821753979b3a34e13b4d76fbbcd4), [`3264a04`](https://github.com/mastra-ai/mastra/commit/3264a04e30340c3c5447433300a035ea0878df85), [`6fdd3d4`](https://github.com/mastra-ai/mastra/commit/6fdd3d451a07a8e7e216c62ac364f8dd8e36c2af), [`088d9ba`](https://github.com/mastra-ai/mastra/commit/088d9ba2577518703c52b0dccd617178d9ee6b0d), [`74fbebd`](https://github.com/mastra-ai/mastra/commit/74fbebd918a03832a2864965a8bea59bf617d3a2), [`aea6217`](https://github.com/mastra-ai/mastra/commit/aea621790bfb2291431b08da0cc5e6e150303ae7), [`b6a855e`](https://github.com/mastra-ai/mastra/commit/b6a855edc056e088279075506442ba1d6fa6def9), [`ae408ea`](https://github.com/mastra-ai/mastra/commit/ae408ea7128f0d2710b78d8623185198e7cb19c1), [`17e942e`](https://github.com/mastra-ai/mastra/commit/17e942eee2ba44985b1f807e6208cdde672f82f9), [`2015cf9`](https://github.com/mastra-ai/mastra/commit/2015cf921649f44c3f5bcd32a2c052335f8e49b4), [`7ef454e`](https://github.com/mastra-ai/mastra/commit/7ef454eaf9dcec6de60021c8f42192052dd490d6), [`2be1d99`](https://github.com/mastra-ai/mastra/commit/2be1d99564ce79acc4846071082bff353035a87a), [`2708fa1`](https://github.com/mastra-ai/mastra/commit/2708fa1055ac91c03e08b598869f6b8fb51fa37f), [`ba74aef`](https://github.com/mastra-ai/mastra/commit/ba74aef5716142dbbe931351f5243c9c6e4128a9), [`ba74aef`](https://github.com/mastra-ai/mastra/commit/ba74aef5716142dbbe931351f5243c9c6e4128a9), [`ec53e89`](https://github.com/mastra-ai/mastra/commit/ec53e8939c76c638991e21af762e51378eff7543), [`9b5a8cb`](https://github.com/mastra-ai/mastra/commit/9b5a8cb13e120811b0bf14140ada314f1c067894), [`607e66b`](https://github.com/mastra-ai/mastra/commit/607e66b02dc7f531ee37799f3456aa2dc0ca7ac5), [`a215d06`](https://github.com/mastra-ai/mastra/commit/a215d06758dcf590eabfe0b7afd4ae39bdbf082c), [`6909c74`](https://github.com/mastra-ai/mastra/commit/6909c74a7781e0447d475e9dbc1dc871b700f426), [`192438f`](https://github.com/mastra-ai/mastra/commit/192438f8a90c4f375e955f8ff179bf8dc6821a83)]:
|
|
884
|
+
- @mastra/core@1.5.0
|
|
885
|
+
|
|
886
|
+
## 1.1.1-alpha.0
|
|
887
|
+
|
|
888
|
+
### Patch Changes
|
|
889
|
+
|
|
890
|
+
- dependencies updates: ([#13013](https://github.com/mastra-ai/mastra/pull/13013))
|
|
891
|
+
- Updated dependency [`@inngest/realtime@^0.4.6` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.6) (from `^0.4.5`, in `dependencies`)
|
|
892
|
+
- Updated dependencies [[`252580a`](https://github.com/mastra-ai/mastra/commit/252580a71feb0e46d0ccab04a70a79ff6a2ee0ab), [`f8e819f`](https://github.com/mastra-ai/mastra/commit/f8e819fabdfdc43d2da546a3ad81ba23685f603d), [`5c75261`](https://github.com/mastra-ai/mastra/commit/5c7526120d936757d4ffb7b82232e1641ebd45cb), [`e27d832`](https://github.com/mastra-ai/mastra/commit/e27d83281b5e166fd63a13969689e928d8605944), [`e37ef84`](https://github.com/mastra-ai/mastra/commit/e37ef8404043c94ca0c8e35ecdedb093b8087878), [`6fdd3d4`](https://github.com/mastra-ai/mastra/commit/6fdd3d451a07a8e7e216c62ac364f8dd8e36c2af), [`10cf521`](https://github.com/mastra-ai/mastra/commit/10cf52183344743a0d7babe24cd24fd78870c354), [`efdb682`](https://github.com/mastra-ai/mastra/commit/efdb682887f6522149769383908f9790c188ab88), [`0dee7a0`](https://github.com/mastra-ai/mastra/commit/0dee7a0ff4c2507e6eb6e6ee5f9738877ebd4ad1), [`04c2c8e`](https://github.com/mastra-ai/mastra/commit/04c2c8e888984364194131aecb490a3d6e920e61), [`02dc07a`](https://github.com/mastra-ai/mastra/commit/02dc07acc4ad42d93335825e3308f5b42266eba2), [`bb7262b`](https://github.com/mastra-ai/mastra/commit/bb7262b7c0ca76320d985b40510b6ffbbb936582), [`cf1c6e7`](https://github.com/mastra-ai/mastra/commit/cf1c6e789b131f55638fed52183a89d5078b4876), [`5ffadfe`](https://github.com/mastra-ai/mastra/commit/5ffadfefb1468ac2612b20bb84d24c39de6961c0), [`1e1339c`](https://github.com/mastra-ai/mastra/commit/1e1339cc276e571a48cfff5014487877086bfe68), [`d03df73`](https://github.com/mastra-ai/mastra/commit/d03df73f8fe9496064a33e1c3b74ba0479bf9ee6), [`79b8f45`](https://github.com/mastra-ai/mastra/commit/79b8f45a6767e1a5c3d56cd3c5b1214326b81661), [`9bbf08e`](https://github.com/mastra-ai/mastra/commit/9bbf08e3c20731c79dea13a765895b9fcf29cbf1), [`0a25952`](https://github.com/mastra-ai/mastra/commit/0a259526b5e1ac11e6efa53db1f140272962af2d), [`ffa5468`](https://github.com/mastra-ai/mastra/commit/ffa546857fc4821753979b3a34e13b4d76fbbcd4), [`3264a04`](https://github.com/mastra-ai/mastra/commit/3264a04e30340c3c5447433300a035ea0878df85), [`6fdd3d4`](https://github.com/mastra-ai/mastra/commit/6fdd3d451a07a8e7e216c62ac364f8dd8e36c2af), [`088d9ba`](https://github.com/mastra-ai/mastra/commit/088d9ba2577518703c52b0dccd617178d9ee6b0d), [`74fbebd`](https://github.com/mastra-ai/mastra/commit/74fbebd918a03832a2864965a8bea59bf617d3a2), [`aea6217`](https://github.com/mastra-ai/mastra/commit/aea621790bfb2291431b08da0cc5e6e150303ae7), [`b6a855e`](https://github.com/mastra-ai/mastra/commit/b6a855edc056e088279075506442ba1d6fa6def9), [`ae408ea`](https://github.com/mastra-ai/mastra/commit/ae408ea7128f0d2710b78d8623185198e7cb19c1), [`17e942e`](https://github.com/mastra-ai/mastra/commit/17e942eee2ba44985b1f807e6208cdde672f82f9), [`2015cf9`](https://github.com/mastra-ai/mastra/commit/2015cf921649f44c3f5bcd32a2c052335f8e49b4), [`7ef454e`](https://github.com/mastra-ai/mastra/commit/7ef454eaf9dcec6de60021c8f42192052dd490d6), [`2be1d99`](https://github.com/mastra-ai/mastra/commit/2be1d99564ce79acc4846071082bff353035a87a), [`2708fa1`](https://github.com/mastra-ai/mastra/commit/2708fa1055ac91c03e08b598869f6b8fb51fa37f), [`ba74aef`](https://github.com/mastra-ai/mastra/commit/ba74aef5716142dbbe931351f5243c9c6e4128a9), [`ba74aef`](https://github.com/mastra-ai/mastra/commit/ba74aef5716142dbbe931351f5243c9c6e4128a9), [`ec53e89`](https://github.com/mastra-ai/mastra/commit/ec53e8939c76c638991e21af762e51378eff7543), [`9b5a8cb`](https://github.com/mastra-ai/mastra/commit/9b5a8cb13e120811b0bf14140ada314f1c067894), [`607e66b`](https://github.com/mastra-ai/mastra/commit/607e66b02dc7f531ee37799f3456aa2dc0ca7ac5), [`a215d06`](https://github.com/mastra-ai/mastra/commit/a215d06758dcf590eabfe0b7afd4ae39bdbf082c), [`6909c74`](https://github.com/mastra-ai/mastra/commit/6909c74a7781e0447d475e9dbc1dc871b700f426), [`192438f`](https://github.com/mastra-ai/mastra/commit/192438f8a90c4f375e955f8ff179bf8dc6821a83)]:
|
|
893
|
+
- @mastra/core@1.5.0-alpha.0
|
|
894
|
+
|
|
895
|
+
## 1.1.0
|
|
896
|
+
|
|
897
|
+
### Minor Changes
|
|
898
|
+
|
|
899
|
+
- Update peer dependencies to match core package version bump (1.1.0) ([#12508](https://github.com/mastra-ai/mastra/pull/12508))
|
|
900
|
+
|
|
901
|
+
### Patch Changes
|
|
902
|
+
|
|
903
|
+
- Supporting work to enable workflow step metadata ([#12508](https://github.com/mastra-ai/mastra/pull/12508))
|
|
904
|
+
|
|
905
|
+
- Updated dependencies [[`717ffab`](https://github.com/mastra-ai/mastra/commit/717ffab42cfd58ff723b5c19ada4939997773004), [`b31c922`](https://github.com/mastra-ai/mastra/commit/b31c922215b513791d98feaea1b98784aa00803a), [`e4b6dab`](https://github.com/mastra-ai/mastra/commit/e4b6dab171c5960e340b3ea3ea6da8d64d2b8672), [`5719fa8`](https://github.com/mastra-ai/mastra/commit/5719fa8880e86e8affe698ec4b3807c7e0e0a06f), [`83cda45`](https://github.com/mastra-ai/mastra/commit/83cda4523e588558466892bff8f80f631a36945a), [`11804ad`](https://github.com/mastra-ai/mastra/commit/11804adf1d6be46ebe216be40a43b39bb8b397d7), [`aa95f95`](https://github.com/mastra-ai/mastra/commit/aa95f958b186ae5c9f4219c88e268f5565c277a2), [`90f7894`](https://github.com/mastra-ai/mastra/commit/90f7894568dc9481f40a4d29672234fae23090bb), [`f5501ae`](https://github.com/mastra-ai/mastra/commit/f5501aedb0a11106c7db7e480d6eaf3971b7bda8), [`44573af`](https://github.com/mastra-ai/mastra/commit/44573afad0a4bc86f627d6cbc0207961cdcb3bc3), [`00e3861`](https://github.com/mastra-ai/mastra/commit/00e3861863fbfee78faeb1ebbdc7c0223aae13ff), [`8109aee`](https://github.com/mastra-ai/mastra/commit/8109aeeab758e16cd4255a6c36f044b70eefc6a6), [`7bfbc52`](https://github.com/mastra-ai/mastra/commit/7bfbc52a8604feb0fff2c0a082c13c0c2a3df1a2), [`1445994`](https://github.com/mastra-ai/mastra/commit/1445994aee19c9334a6a101cf7bd80ca7ed4d186), [`61f44a2`](https://github.com/mastra-ai/mastra/commit/61f44a26861c89e364f367ff40825bdb7f19df55), [`37145d2`](https://github.com/mastra-ai/mastra/commit/37145d25f99dc31f1a9105576e5452609843ce32), [`fdad759`](https://github.com/mastra-ai/mastra/commit/fdad75939ff008b27625f5ec0ce9c6915d99d9ec), [`e4569c5`](https://github.com/mastra-ai/mastra/commit/e4569c589e00c4061a686c9eb85afe1b7050b0a8), [`7309a85`](https://github.com/mastra-ai/mastra/commit/7309a85427281a8be23f4fb80ca52e18eaffd596), [`99424f6`](https://github.com/mastra-ai/mastra/commit/99424f6862ffb679c4ec6765501486034754a4c2), [`44eb452`](https://github.com/mastra-ai/mastra/commit/44eb4529b10603c279688318bebf3048543a1d61), [`6c40593`](https://github.com/mastra-ai/mastra/commit/6c40593d6d2b1b68b0c45d1a3a4c6ac5ecac3937), [`8c1135d`](https://github.com/mastra-ai/mastra/commit/8c1135dfb91b057283eae7ee11f9ec28753cc64f), [`dd39e54`](https://github.com/mastra-ai/mastra/commit/dd39e54ea34532c995b33bee6e0e808bf41a7341), [`b6fad9a`](https://github.com/mastra-ai/mastra/commit/b6fad9a602182b1cc0df47cd8c55004fa829ad61), [`4129c07`](https://github.com/mastra-ai/mastra/commit/4129c073349b5a66643fd8136ebfe9d7097cf793), [`5b930ab`](https://github.com/mastra-ai/mastra/commit/5b930aba1834d9898e8460a49d15106f31ac7c8d), [`4be93d0`](https://github.com/mastra-ai/mastra/commit/4be93d09d68e20aaf0ea3f210749422719618b5f), [`047635c`](https://github.com/mastra-ai/mastra/commit/047635ccd7861d726c62d135560c0022a5490aec), [`8c90ff4`](https://github.com/mastra-ai/mastra/commit/8c90ff4d3414e7f2a2d216ea91274644f7b29133), [`ed232d1`](https://github.com/mastra-ai/mastra/commit/ed232d1583f403925dc5ae45f7bee948cf2a182b), [`3891795`](https://github.com/mastra-ai/mastra/commit/38917953518eb4154a984ee36e6ededdcfe80f72), [`4f955b2`](https://github.com/mastra-ai/mastra/commit/4f955b20c7f66ed282ee1fd8709696fa64c4f19d), [`55a4c90`](https://github.com/mastra-ai/mastra/commit/55a4c9044ac7454349b9f6aeba0bbab5ee65d10f)]:
|
|
906
|
+
- @mastra/core@1.3.0
|
|
907
|
+
|
|
908
|
+
## 1.1.0-alpha.0
|
|
909
|
+
|
|
910
|
+
### Minor Changes
|
|
911
|
+
|
|
912
|
+
- Update peer dependencies to match core package version bump (1.1.0) ([#12508](https://github.com/mastra-ai/mastra/pull/12508))
|
|
913
|
+
|
|
914
|
+
### Patch Changes
|
|
915
|
+
|
|
916
|
+
- Supporting work to enable workflow step metadata ([#12508](https://github.com/mastra-ai/mastra/pull/12508))
|
|
917
|
+
|
|
918
|
+
- Updated dependencies [[`717ffab`](https://github.com/mastra-ai/mastra/commit/717ffab42cfd58ff723b5c19ada4939997773004), [`e4b6dab`](https://github.com/mastra-ai/mastra/commit/e4b6dab171c5960e340b3ea3ea6da8d64d2b8672), [`5719fa8`](https://github.com/mastra-ai/mastra/commit/5719fa8880e86e8affe698ec4b3807c7e0e0a06f), [`83cda45`](https://github.com/mastra-ai/mastra/commit/83cda4523e588558466892bff8f80f631a36945a), [`11804ad`](https://github.com/mastra-ai/mastra/commit/11804adf1d6be46ebe216be40a43b39bb8b397d7), [`aa95f95`](https://github.com/mastra-ai/mastra/commit/aa95f958b186ae5c9f4219c88e268f5565c277a2), [`f5501ae`](https://github.com/mastra-ai/mastra/commit/f5501aedb0a11106c7db7e480d6eaf3971b7bda8), [`44573af`](https://github.com/mastra-ai/mastra/commit/44573afad0a4bc86f627d6cbc0207961cdcb3bc3), [`00e3861`](https://github.com/mastra-ai/mastra/commit/00e3861863fbfee78faeb1ebbdc7c0223aae13ff), [`7bfbc52`](https://github.com/mastra-ai/mastra/commit/7bfbc52a8604feb0fff2c0a082c13c0c2a3df1a2), [`1445994`](https://github.com/mastra-ai/mastra/commit/1445994aee19c9334a6a101cf7bd80ca7ed4d186), [`61f44a2`](https://github.com/mastra-ai/mastra/commit/61f44a26861c89e364f367ff40825bdb7f19df55), [`37145d2`](https://github.com/mastra-ai/mastra/commit/37145d25f99dc31f1a9105576e5452609843ce32), [`fdad759`](https://github.com/mastra-ai/mastra/commit/fdad75939ff008b27625f5ec0ce9c6915d99d9ec), [`e4569c5`](https://github.com/mastra-ai/mastra/commit/e4569c589e00c4061a686c9eb85afe1b7050b0a8), [`7309a85`](https://github.com/mastra-ai/mastra/commit/7309a85427281a8be23f4fb80ca52e18eaffd596), [`99424f6`](https://github.com/mastra-ai/mastra/commit/99424f6862ffb679c4ec6765501486034754a4c2), [`44eb452`](https://github.com/mastra-ai/mastra/commit/44eb4529b10603c279688318bebf3048543a1d61), [`6c40593`](https://github.com/mastra-ai/mastra/commit/6c40593d6d2b1b68b0c45d1a3a4c6ac5ecac3937), [`8c1135d`](https://github.com/mastra-ai/mastra/commit/8c1135dfb91b057283eae7ee11f9ec28753cc64f), [`dd39e54`](https://github.com/mastra-ai/mastra/commit/dd39e54ea34532c995b33bee6e0e808bf41a7341), [`b6fad9a`](https://github.com/mastra-ai/mastra/commit/b6fad9a602182b1cc0df47cd8c55004fa829ad61), [`4129c07`](https://github.com/mastra-ai/mastra/commit/4129c073349b5a66643fd8136ebfe9d7097cf793), [`5b930ab`](https://github.com/mastra-ai/mastra/commit/5b930aba1834d9898e8460a49d15106f31ac7c8d), [`4be93d0`](https://github.com/mastra-ai/mastra/commit/4be93d09d68e20aaf0ea3f210749422719618b5f), [`047635c`](https://github.com/mastra-ai/mastra/commit/047635ccd7861d726c62d135560c0022a5490aec), [`8c90ff4`](https://github.com/mastra-ai/mastra/commit/8c90ff4d3414e7f2a2d216ea91274644f7b29133), [`ed232d1`](https://github.com/mastra-ai/mastra/commit/ed232d1583f403925dc5ae45f7bee948cf2a182b), [`3891795`](https://github.com/mastra-ai/mastra/commit/38917953518eb4154a984ee36e6ededdcfe80f72), [`4f955b2`](https://github.com/mastra-ai/mastra/commit/4f955b20c7f66ed282ee1fd8709696fa64c4f19d), [`55a4c90`](https://github.com/mastra-ai/mastra/commit/55a4c9044ac7454349b9f6aeba0bbab5ee65d10f)]:
|
|
919
|
+
- @mastra/core@1.3.0-alpha.1
|
|
920
|
+
|
|
921
|
+
## 1.0.2
|
|
922
|
+
|
|
923
|
+
### Patch Changes
|
|
924
|
+
|
|
925
|
+
- Fix long running steps causing inngest workflow to fail ([#12522](https://github.com/mastra-ai/mastra/pull/12522))
|
|
926
|
+
|
|
927
|
+
- Updated dependencies [[`e6fc281`](https://github.com/mastra-ai/mastra/commit/e6fc281896a3584e9e06465b356a44fe7faade65), [`97be6c8`](https://github.com/mastra-ai/mastra/commit/97be6c8963130fca8a664fcf99d7b3a38e463595), [`2770921`](https://github.com/mastra-ai/mastra/commit/2770921eec4d55a36b278d15c3a83f694e462ee5), [`b1695db`](https://github.com/mastra-ai/mastra/commit/b1695db2d7be0c329d499619c7881899649188d0), [`5fe1fe0`](https://github.com/mastra-ai/mastra/commit/5fe1fe0109faf2c87db34b725d8a4571a594f80e), [`4133d48`](https://github.com/mastra-ai/mastra/commit/4133d48eaa354cdb45920dc6265732ffbc96788d), [`5dd01cc`](https://github.com/mastra-ai/mastra/commit/5dd01cce68d61874aa3ecbd91ee17884cfd5aca2), [`13e0a2a`](https://github.com/mastra-ai/mastra/commit/13e0a2a2bcec01ff4d701274b3727d5e907a6a01), [`f6673b8`](https://github.com/mastra-ai/mastra/commit/f6673b893b65b7d273ad25ead42e990704cc1e17), [`cd6be8a`](https://github.com/mastra-ai/mastra/commit/cd6be8ad32741cd41cabf508355bb31b71e8a5bd), [`9eb4e8e`](https://github.com/mastra-ai/mastra/commit/9eb4e8e39efbdcfff7a40ff2ce07ce2714c65fa8), [`c987384`](https://github.com/mastra-ai/mastra/commit/c987384d6c8ca844a9701d7778f09f5a88da7f9f), [`cb8cc12`](https://github.com/mastra-ai/mastra/commit/cb8cc12bfadd526aa95a01125076f1da44e4afa7), [`aa37c84`](https://github.com/mastra-ai/mastra/commit/aa37c84d29b7db68c72517337932ef486c316275), [`62f5d50`](https://github.com/mastra-ai/mastra/commit/62f5d5043debbba497dacb7ab008fe86b38b8de3), [`47eba72`](https://github.com/mastra-ai/mastra/commit/47eba72f0397d0d14fbe324b97940c3d55e5a525)]:
|
|
928
|
+
- @mastra/core@1.2.0
|
|
929
|
+
|
|
930
|
+
## 1.0.2-alpha.0
|
|
931
|
+
|
|
932
|
+
### Patch Changes
|
|
933
|
+
|
|
934
|
+
- Fix long running steps causing inngest workflow to fail ([#12522](https://github.com/mastra-ai/mastra/pull/12522))
|
|
935
|
+
|
|
936
|
+
- Updated dependencies [[`e6fc281`](https://github.com/mastra-ai/mastra/commit/e6fc281896a3584e9e06465b356a44fe7faade65), [`97be6c8`](https://github.com/mastra-ai/mastra/commit/97be6c8963130fca8a664fcf99d7b3a38e463595), [`5fe1fe0`](https://github.com/mastra-ai/mastra/commit/5fe1fe0109faf2c87db34b725d8a4571a594f80e), [`f6673b8`](https://github.com/mastra-ai/mastra/commit/f6673b893b65b7d273ad25ead42e990704cc1e17), [`cd6be8a`](https://github.com/mastra-ai/mastra/commit/cd6be8ad32741cd41cabf508355bb31b71e8a5bd), [`9eb4e8e`](https://github.com/mastra-ai/mastra/commit/9eb4e8e39efbdcfff7a40ff2ce07ce2714c65fa8), [`aa37c84`](https://github.com/mastra-ai/mastra/commit/aa37c84d29b7db68c72517337932ef486c316275), [`47eba72`](https://github.com/mastra-ai/mastra/commit/47eba72f0397d0d14fbe324b97940c3d55e5a525)]:
|
|
937
|
+
- @mastra/core@1.2.0-alpha.0
|
|
938
|
+
|
|
939
|
+
## 1.0.1
|
|
940
|
+
|
|
941
|
+
### Patch Changes
|
|
942
|
+
|
|
943
|
+
- Added requestContextSchema type support. ([#12259](https://github.com/mastra-ai/mastra/pull/12259))
|
|
944
|
+
|
|
945
|
+
- Updated dependencies [[`90fc0e5`](https://github.com/mastra-ai/mastra/commit/90fc0e5717cb280c2d4acf4f0410b510bb4c0a72), [`1cf5d2e`](https://github.com/mastra-ai/mastra/commit/1cf5d2ea1b085be23e34fb506c80c80a4e6d9c2b), [`b99ceac`](https://github.com/mastra-ai/mastra/commit/b99ceace2c830dbdef47c8692d56a91954aefea2), [`deea43e`](https://github.com/mastra-ai/mastra/commit/deea43eb1366d03a864c5e597d16a48592b9893f), [`833ae96`](https://github.com/mastra-ai/mastra/commit/833ae96c3e34370e58a1e979571c41f39a720592), [`943772b`](https://github.com/mastra-ai/mastra/commit/943772b4378f625f0f4e19ea2b7c392bd8e71786), [`b5c711b`](https://github.com/mastra-ai/mastra/commit/b5c711b281dd1fb81a399a766bc9f86c55efc13e), [`3efbe5a`](https://github.com/mastra-ai/mastra/commit/3efbe5ae20864c4f3143457f4f3ee7dc2fa5ca76), [`1e49e7a`](https://github.com/mastra-ai/mastra/commit/1e49e7ab5f173582154cb26b29d424de67d09aef), [`751eaab`](https://github.com/mastra-ai/mastra/commit/751eaab4e0d3820a94e4c3d39a2ff2663ded3d91), [`69d8156`](https://github.com/mastra-ai/mastra/commit/69d81568bcf062557c24471ce26812446bec465d), [`60d9d89`](https://github.com/mastra-ai/mastra/commit/60d9d899e44b35bc43f1bcd967a74e0ce010b1af), [`5c544c8`](https://github.com/mastra-ai/mastra/commit/5c544c8d12b08ab40d64d8f37b3c4215bee95b87), [`771ad96`](https://github.com/mastra-ai/mastra/commit/771ad962441996b5c43549391a3e6a02c6ddedc2), [`2b0936b`](https://github.com/mastra-ai/mastra/commit/2b0936b0c9a43eeed9bef63e614d7e02ee803f7e), [`3b04f30`](https://github.com/mastra-ai/mastra/commit/3b04f3010604f3cdfc8a0674731700ad66471cee), [`97e26de`](https://github.com/mastra-ai/mastra/commit/97e26deaebd9836647a67b96423281d66421ca07), [`ac9ec66`](https://github.com/mastra-ai/mastra/commit/ac9ec6672779b2e6d4344e415481d1a6a7d4911a), [`10523f4`](https://github.com/mastra-ai/mastra/commit/10523f4882d9b874b40ce6e3715f66dbcd4947d2), [`cb72d20`](https://github.com/mastra-ai/mastra/commit/cb72d2069d7339bda8a0e76d4f35615debb07b84), [`42856b1`](https://github.com/mastra-ai/mastra/commit/42856b1c8aeea6371c9ee77ae2f5f5fe34400933), [`66f33ff`](https://github.com/mastra-ai/mastra/commit/66f33ff68620018513e499c394411d1d39b3aa5c), [`ab3c190`](https://github.com/mastra-ai/mastra/commit/ab3c1901980a99910ca9b96a7090c22e24060113), [`d4f06c8`](https://github.com/mastra-ai/mastra/commit/d4f06c85ffa5bb0da38fb82ebf3b040cc6b4ec4e), [`0350626`](https://github.com/mastra-ai/mastra/commit/03506267ec41b67add80d994c0c0fcce93bbc75f), [`bc9fa00`](https://github.com/mastra-ai/mastra/commit/bc9fa00859c5c4a796d53a0a5cae46ab4a3072e4), [`f46a478`](https://github.com/mastra-ai/mastra/commit/f46a4782f595949c696569e891f81c8d26338508), [`90fc0e5`](https://github.com/mastra-ai/mastra/commit/90fc0e5717cb280c2d4acf4f0410b510bb4c0a72), [`f05a3a5`](https://github.com/mastra-ai/mastra/commit/f05a3a5cf2b9a9c2d40c09cb8c762a4b6cd5d565), [`a291da9`](https://github.com/mastra-ai/mastra/commit/a291da9363efd92dafd8775dccb4f2d0511ece7a), [`c5d71da`](https://github.com/mastra-ai/mastra/commit/c5d71da1c680ce5640b1a7f8ca0e024a4ab1cfed), [`07042f9`](https://github.com/mastra-ai/mastra/commit/07042f9f89080f38b8f72713ba1c972d5b1905b8), [`0423442`](https://github.com/mastra-ai/mastra/commit/0423442b7be2dfacba95890bea8f4a810db4d603)]:
|
|
946
|
+
- @mastra/core@1.1.0
|
|
947
|
+
|
|
948
|
+
## 1.0.1-alpha.0
|
|
949
|
+
|
|
950
|
+
### Patch Changes
|
|
951
|
+
|
|
952
|
+
- Added requestContextSchema type support. ([#12259](https://github.com/mastra-ai/mastra/pull/12259))
|
|
953
|
+
|
|
954
|
+
- Updated dependencies [[`90fc0e5`](https://github.com/mastra-ai/mastra/commit/90fc0e5717cb280c2d4acf4f0410b510bb4c0a72), [`1cf5d2e`](https://github.com/mastra-ai/mastra/commit/1cf5d2ea1b085be23e34fb506c80c80a4e6d9c2b), [`833ae96`](https://github.com/mastra-ai/mastra/commit/833ae96c3e34370e58a1e979571c41f39a720592), [`943772b`](https://github.com/mastra-ai/mastra/commit/943772b4378f625f0f4e19ea2b7c392bd8e71786), [`b5c711b`](https://github.com/mastra-ai/mastra/commit/b5c711b281dd1fb81a399a766bc9f86c55efc13e), [`3efbe5a`](https://github.com/mastra-ai/mastra/commit/3efbe5ae20864c4f3143457f4f3ee7dc2fa5ca76), [`1e49e7a`](https://github.com/mastra-ai/mastra/commit/1e49e7ab5f173582154cb26b29d424de67d09aef), [`751eaab`](https://github.com/mastra-ai/mastra/commit/751eaab4e0d3820a94e4c3d39a2ff2663ded3d91), [`69d8156`](https://github.com/mastra-ai/mastra/commit/69d81568bcf062557c24471ce26812446bec465d), [`60d9d89`](https://github.com/mastra-ai/mastra/commit/60d9d899e44b35bc43f1bcd967a74e0ce010b1af), [`5c544c8`](https://github.com/mastra-ai/mastra/commit/5c544c8d12b08ab40d64d8f37b3c4215bee95b87), [`771ad96`](https://github.com/mastra-ai/mastra/commit/771ad962441996b5c43549391a3e6a02c6ddedc2), [`2b0936b`](https://github.com/mastra-ai/mastra/commit/2b0936b0c9a43eeed9bef63e614d7e02ee803f7e), [`3b04f30`](https://github.com/mastra-ai/mastra/commit/3b04f3010604f3cdfc8a0674731700ad66471cee), [`97e26de`](https://github.com/mastra-ai/mastra/commit/97e26deaebd9836647a67b96423281d66421ca07), [`10523f4`](https://github.com/mastra-ai/mastra/commit/10523f4882d9b874b40ce6e3715f66dbcd4947d2), [`cb72d20`](https://github.com/mastra-ai/mastra/commit/cb72d2069d7339bda8a0e76d4f35615debb07b84), [`42856b1`](https://github.com/mastra-ai/mastra/commit/42856b1c8aeea6371c9ee77ae2f5f5fe34400933), [`66f33ff`](https://github.com/mastra-ai/mastra/commit/66f33ff68620018513e499c394411d1d39b3aa5c), [`ab3c190`](https://github.com/mastra-ai/mastra/commit/ab3c1901980a99910ca9b96a7090c22e24060113), [`d4f06c8`](https://github.com/mastra-ai/mastra/commit/d4f06c85ffa5bb0da38fb82ebf3b040cc6b4ec4e), [`0350626`](https://github.com/mastra-ai/mastra/commit/03506267ec41b67add80d994c0c0fcce93bbc75f), [`bc9fa00`](https://github.com/mastra-ai/mastra/commit/bc9fa00859c5c4a796d53a0a5cae46ab4a3072e4), [`f46a478`](https://github.com/mastra-ai/mastra/commit/f46a4782f595949c696569e891f81c8d26338508), [`90fc0e5`](https://github.com/mastra-ai/mastra/commit/90fc0e5717cb280c2d4acf4f0410b510bb4c0a72), [`f05a3a5`](https://github.com/mastra-ai/mastra/commit/f05a3a5cf2b9a9c2d40c09cb8c762a4b6cd5d565), [`a291da9`](https://github.com/mastra-ai/mastra/commit/a291da9363efd92dafd8775dccb4f2d0511ece7a), [`c5d71da`](https://github.com/mastra-ai/mastra/commit/c5d71da1c680ce5640b1a7f8ca0e024a4ab1cfed), [`07042f9`](https://github.com/mastra-ai/mastra/commit/07042f9f89080f38b8f72713ba1c972d5b1905b8), [`0423442`](https://github.com/mastra-ai/mastra/commit/0423442b7be2dfacba95890bea8f4a810db4d603)]:
|
|
955
|
+
- @mastra/core@1.1.0-alpha.0
|
|
956
|
+
|
|
957
|
+
## 1.0.0
|
|
958
|
+
|
|
959
|
+
### Major Changes
|
|
960
|
+
|
|
961
|
+
- Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
|
|
962
|
+
|
|
963
|
+
- Refactor workflow and tool types to remove Zod-specific constraints ([#11814](https://github.com/mastra-ai/mastra/pull/11814))
|
|
964
|
+
|
|
965
|
+
Removed Zod-specific type constraints across all workflow implementations and tool types, replacing them with generic types. This ensures type consistency across default, evented, and inngest workflows while preparing for Zod v4 migration.
|
|
966
|
+
|
|
967
|
+
**Workflow Changes:**
|
|
968
|
+
- Removed `z.ZodObject<any>` and `z.ZodType<any>` constraints from all workflow generic types
|
|
969
|
+
- Updated method signatures to use `TInput` and `TState` directly instead of `z.infer<TInput>` and `z.infer<TState>`
|
|
970
|
+
- Aligned conditional types across all workflow implementations using `TInput extends unknown` pattern
|
|
971
|
+
- Fixed `TSteps` generic to properly use `TEngineType` instead of `any`
|
|
972
|
+
|
|
973
|
+
**Tool Changes:**
|
|
974
|
+
- Removed Zod schema constraints from `ToolExecutionContext` and related interfaces
|
|
975
|
+
- Simplified type parameters from `TSuspendSchema extends ZodLikeSchema` to `TSuspend` and `TResume`
|
|
976
|
+
- Updated tool execution context types to use generic types
|
|
977
|
+
|
|
978
|
+
**Type Utilities:**
|
|
979
|
+
- Refactored type helpers to work with generic schemas instead of Zod-specific types
|
|
980
|
+
- Updated type extraction utilities for better compatibility
|
|
981
|
+
|
|
982
|
+
This change maintains backward compatibility while improving type consistency and preparing for Zod v4 support across all affected packages.
|
|
983
|
+
|
|
984
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
985
|
+
|
|
986
|
+
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
987
|
+
|
|
988
|
+
- **Breaking Change**: Convert OUTPUT generic from `OutputSchema` constraint to plain generic ([#11741](https://github.com/mastra-ai/mastra/pull/11741))
|
|
989
|
+
|
|
990
|
+
This change removes the direct dependency on Zod typings in the public API by converting all `OUTPUT extends OutputSchema` generic constraints to plain `OUTPUT` generics throughout the codebase. This is preparation for moving to a standard schema approach.
|
|
991
|
+
- All generic type parameters previously constrained to `OutputSchema` (e.g., `<OUTPUT extends OutputSchema = undefined>`) are now plain generics with defaults (e.g., `<OUTPUT = undefined>`)
|
|
992
|
+
- Affects all public APIs including `Agent`, `MastraModelOutput`, `AgentExecutionOptions`, and stream/generate methods
|
|
993
|
+
- `InferSchemaOutput<OUTPUT>` replaced with `OUTPUT` throughout
|
|
994
|
+
- `PartialSchemaOutput<OUTPUT>` replaced with `Partial<OUTPUT>`
|
|
995
|
+
- Schema fields now use `NonNullable<OutputSchema<OUTPUT>>` instead of `OUTPUT` directly
|
|
996
|
+
- Added `FullOutput<OUTPUT>` type representing complete output with all fields
|
|
997
|
+
- Added `AgentExecutionOptionsBase<OUTPUT>` type
|
|
998
|
+
- `getFullOutput()` method now returns `Promise<FullOutput<OUTPUT>>`
|
|
999
|
+
- `Agent` class now generic: `Agent<TAgentId, TTools, TOutput>`
|
|
1000
|
+
- `agent.generate()` and `agent.stream()` methods have updated signatures
|
|
1001
|
+
- `MastraModelOutput<OUTPUT>` no longer requires `OutputSchema` constraint
|
|
1002
|
+
- Network route and streaming APIs updated to use plain OUTPUT generic
|
|
1003
|
+
|
|
1004
|
+
**Before:**
|
|
1005
|
+
|
|
1006
|
+
```typescript
|
|
1007
|
+
const output = await agent.generate<z.ZodType>([...], {
|
|
1008
|
+
structuredOutput: { schema: mySchema }
|
|
1009
|
+
});
|
|
1010
|
+
|
|
1011
|
+
**After:**
|
|
1012
|
+
const output = await agent.generate<z.infer<typeof mySchema>>([...], {
|
|
1013
|
+
structuredOutput: { schema: mySchema }
|
|
1014
|
+
});
|
|
1015
|
+
// Or rely on type inference:
|
|
1016
|
+
const output = await agent.generate([...], {
|
|
1017
|
+
structuredOutput: { schema: mySchema }
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1022
|
+
- **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
|
|
1023
|
+
|
|
1024
|
+
This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
|
|
1025
|
+
|
|
1026
|
+
**What's Changed**
|
|
1027
|
+
- Removed legacy v1 watch event handlers and types
|
|
1028
|
+
- Renamed `watch-v2` to `watch` throughout the codebase
|
|
1029
|
+
- Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
|
|
1030
|
+
- Removed `/watch` HTTP endpoints from server and deployer
|
|
1031
|
+
- Removed `WorkflowWatchResult` and v1 `WatchEvent` types
|
|
1032
|
+
|
|
1033
|
+
- ```ts ([#9709](https://github.com/mastra-ai/mastra/pull/9709))
|
|
1034
|
+
import { Mastra } from '@mastra/core';
|
|
1035
|
+
import { Observability } from '@mastra/observability'; // Explicit import
|
|
1036
|
+
|
|
1037
|
+
const mastra = new Mastra({
|
|
1038
|
+
...other_config,
|
|
1039
|
+
observability: new Observability({
|
|
1040
|
+
default: { enabled: true },
|
|
1041
|
+
}), // Instance
|
|
1042
|
+
});
|
|
1043
|
+
```
|
|
1044
|
+
|
|
1045
|
+
Instead of:
|
|
1046
|
+
|
|
1047
|
+
```ts
|
|
1048
|
+
import { Mastra } from '@mastra/core';
|
|
1049
|
+
import '@mastra/observability/init'; // Explicit import
|
|
1050
|
+
|
|
1051
|
+
const mastra = new Mastra({
|
|
1052
|
+
...other_config,
|
|
1053
|
+
observability: {
|
|
1054
|
+
default: { enabled: true },
|
|
1055
|
+
},
|
|
1056
|
+
});
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
Also renamed a bunch of:
|
|
1060
|
+
- `Tracing` things to `Observability` things.
|
|
1061
|
+
- `AI-` things to just things.
|
|
1062
|
+
|
|
1063
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
1064
|
+
|
|
1065
|
+
- Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
1066
|
+
|
|
1067
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
1068
|
+
|
|
1069
|
+
- moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
|
|
1070
|
+
|
|
1071
|
+
- Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
|
|
1072
|
+
|
|
1073
|
+
### Minor Changes
|
|
1074
|
+
|
|
1075
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
1076
|
+
|
|
1077
|
+
- Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
1078
|
+
|
|
1079
|
+
- Update peer dependencies to match core package version bump (0.22.3) ([#9153](https://github.com/mastra-ai/mastra/pull/9153))
|
|
1080
|
+
|
|
1081
|
+
- Unified observability schema with entity-based span identification ([#11132](https://github.com/mastra-ai/mastra/pull/11132))
|
|
1082
|
+
|
|
1083
|
+
## What changed
|
|
1084
|
+
|
|
1085
|
+
Spans now use a unified identification model with `entityId`, `entityType`, and `entityName` instead of separate `agentId`, `toolId`, `workflowId` fields.
|
|
1086
|
+
|
|
1087
|
+
**Before:**
|
|
1088
|
+
|
|
1089
|
+
```typescript
|
|
1090
|
+
// Old span structure
|
|
1091
|
+
span.agentId; // 'my-agent'
|
|
1092
|
+
span.toolId; // undefined
|
|
1093
|
+
span.workflowId; // undefined
|
|
1094
|
+
```
|
|
1095
|
+
|
|
1096
|
+
**After:**
|
|
1097
|
+
|
|
1098
|
+
```typescript
|
|
1099
|
+
// New span structure
|
|
1100
|
+
span.entityType; // EntityType.AGENT
|
|
1101
|
+
span.entityId; // 'my-agent'
|
|
1102
|
+
span.entityName; // 'My Agent'
|
|
1103
|
+
```
|
|
1104
|
+
|
|
1105
|
+
## New `listTraces()` API
|
|
1106
|
+
|
|
1107
|
+
Query traces with filtering, pagination, and sorting:
|
|
1108
|
+
|
|
1109
|
+
```typescript
|
|
1110
|
+
const { spans, pagination } = await storage.listTraces({
|
|
1111
|
+
filters: {
|
|
1112
|
+
entityType: EntityType.AGENT,
|
|
1113
|
+
entityId: 'my-agent',
|
|
1114
|
+
userId: 'user-123',
|
|
1115
|
+
environment: 'production',
|
|
1116
|
+
status: TraceStatus.SUCCESS,
|
|
1117
|
+
startedAt: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
|
|
1118
|
+
},
|
|
1119
|
+
pagination: { page: 0, perPage: 50 },
|
|
1120
|
+
orderBy: { field: 'startedAt', direction: 'DESC' },
|
|
1121
|
+
});
|
|
1122
|
+
```
|
|
1123
|
+
|
|
1124
|
+
**Available filters:** date ranges (`startedAt`, `endedAt`), entity (`entityType`, `entityId`, `entityName`), identity (`userId`, `organizationId`), correlation IDs (`runId`, `sessionId`, `threadId`), deployment (`environment`, `source`, `serviceName`), `tags`, `metadata`, and `status`.
|
|
1125
|
+
|
|
1126
|
+
## New retrieval methods
|
|
1127
|
+
- `getSpan({ traceId, spanId })` - Get a single span
|
|
1128
|
+
- `getRootSpan({ traceId })` - Get the root span of a trace
|
|
1129
|
+
- `getTrace({ traceId })` - Get all spans for a trace
|
|
1130
|
+
|
|
1131
|
+
## Backward compatibility
|
|
1132
|
+
|
|
1133
|
+
The legacy `getTraces()` method continues to work. When you pass `name: "agent run: my-agent"`, it automatically transforms to `entityId: "my-agent", entityType: AGENT`.
|
|
1134
|
+
|
|
1135
|
+
## Migration
|
|
1136
|
+
|
|
1137
|
+
**Automatic:** SQL-based stores (PostgreSQL, LibSQL, MSSQL) automatically add new columns to existing `spans` tables on initialization. Existing data is preserved with new columns set to `NULL`.
|
|
1138
|
+
|
|
1139
|
+
**No action required:** Your existing code continues to work. Adopt the new fields and `listTraces()` API at your convenience.
|
|
1140
|
+
|
|
1141
|
+
- Added `createServe` factory function to support multiple web framework adapters for Inngest workflows. ([#11667](https://github.com/mastra-ai/mastra/pull/11667))
|
|
1142
|
+
|
|
1143
|
+
Previously, the `serve` function only supported Hono. Now you can use any framework adapter provided by the Inngest package (Express, Fastify, Koa, Next.js, and more).
|
|
1144
|
+
|
|
1145
|
+
**Before (Hono only)**
|
|
1146
|
+
|
|
1147
|
+
```typescript
|
|
1148
|
+
import { serve } from '@mastra/inngest';
|
|
1149
|
+
|
|
1150
|
+
// Only worked with Hono
|
|
1151
|
+
app.all('/api/inngest', c => serve({ mastra, inngest })(c));
|
|
1152
|
+
```
|
|
1153
|
+
|
|
1154
|
+
**After (any framework)**
|
|
1155
|
+
|
|
1156
|
+
```typescript
|
|
1157
|
+
import { createServe } from '@mastra/inngest';
|
|
1158
|
+
import { serve as expressAdapter } from 'inngest/express';
|
|
1159
|
+
import { serve as fastifyAdapter } from 'inngest/fastify';
|
|
1160
|
+
|
|
1161
|
+
// Express
|
|
1162
|
+
app.use('/api/inngest', createServe(expressAdapter)({ mastra, inngest }));
|
|
1163
|
+
|
|
1164
|
+
// Fastify
|
|
1165
|
+
fastify.route({
|
|
1166
|
+
method: ['GET', 'POST', 'PUT'],
|
|
1167
|
+
url: '/api/inngest',
|
|
1168
|
+
handler: createServe(fastifyAdapter)({ mastra, inngest }),
|
|
1169
|
+
});
|
|
1170
|
+
```
|
|
1171
|
+
|
|
1172
|
+
The existing `serve` export remains available for backward compatibility with Hono.
|
|
1173
|
+
|
|
1174
|
+
Fixes #10053
|
|
1175
|
+
|
|
1176
|
+
### Patch Changes
|
|
1177
|
+
|
|
1178
|
+
- dependencies updates: ([#10120](https://github.com/mastra-ai/mastra/pull/10120))
|
|
1179
|
+
- Updated dependency [`@inngest/realtime@^0.4.5` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.5) (from `^0.4.4`, in `dependencies`)
|
|
1180
|
+
|
|
1181
|
+
- Add support for `retries` and `scorers` parameters across all `createStep` overloads.
|
|
1182
|
+
([#11495](https://github.com/mastra-ai/mastra/pull/11495))
|
|
1183
|
+
|
|
1184
|
+
The `createStep` function now includes support for the `retries` and `scorers` fields across all step creation patterns, enabling step-level retry configuration and AI evaluation support for regular steps, agent-based steps, and tool-based steps.
|
|
1185
|
+
|
|
1186
|
+
```typescript
|
|
1187
|
+
import { init } from '@mastra/inngest';
|
|
1188
|
+
import { z } from 'zod';
|
|
1189
|
+
|
|
1190
|
+
const { createStep } = init(inngest);
|
|
1191
|
+
|
|
1192
|
+
// 1. Regular step with retries
|
|
1193
|
+
const regularStep = createStep({
|
|
1194
|
+
id: 'api-call',
|
|
1195
|
+
inputSchema: z.object({ url: z.string() }),
|
|
1196
|
+
outputSchema: z.object({ data: z.any() }),
|
|
1197
|
+
retries: 3, // ← Will retry up to 3 times on failure
|
|
1198
|
+
execute: async ({ inputData }) => {
|
|
1199
|
+
const response = await fetch(inputData.url);
|
|
1200
|
+
return { data: await response.json() };
|
|
1201
|
+
},
|
|
1202
|
+
});
|
|
1203
|
+
|
|
1204
|
+
// 2. Agent step with retries and scorers
|
|
1205
|
+
const agentStep = createStep(myAgent, {
|
|
1206
|
+
retries: 3,
|
|
1207
|
+
scorers: [{ id: 'accuracy-scorer', scorer: myAccuracyScorer }],
|
|
1208
|
+
});
|
|
1209
|
+
|
|
1210
|
+
// 3. Tool step with retries and scorers
|
|
1211
|
+
const toolStep = createStep(myTool, {
|
|
1212
|
+
retries: 2,
|
|
1213
|
+
scorers: [{ id: 'quality-scorer', scorer: myQualityScorer }],
|
|
1214
|
+
});
|
|
1215
|
+
```
|
|
1216
|
+
|
|
1217
|
+
This change ensures API consistency across all `createStep` overloads. All step types now support retry and evaluation configurations.
|
|
1218
|
+
|
|
1219
|
+
This is a non-breaking change - steps without these parameters continue to work exactly as before.
|
|
1220
|
+
|
|
1221
|
+
Fixes #9351
|
|
1222
|
+
|
|
1223
|
+
- Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
|
|
1224
|
+
|
|
1225
|
+
```diff
|
|
1226
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
1227
|
+
- const stream = await run.streamVNext({ inputData: { ... } });
|
|
1228
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
1229
|
+
```
|
|
1230
|
+
|
|
1231
|
+
- Add additional context to workflow `onFinish` and `onError` callbacks ([#11705](https://github.com/mastra-ai/mastra/pull/11705))
|
|
1232
|
+
|
|
1233
|
+
The `onFinish` and `onError` lifecycle callbacks now receive additional properties:
|
|
1234
|
+
- `runId` - The unique identifier for the workflow run
|
|
1235
|
+
- `workflowId` - The workflow's identifier
|
|
1236
|
+
- `resourceId` - Optional resource identifier (if provided when creating the run)
|
|
1237
|
+
- `getInitData()` - Function that returns the initial input data passed to the workflow
|
|
1238
|
+
- `mastra` - The Mastra instance (if workflow is registered with Mastra)
|
|
1239
|
+
- `requestContext` - Request-scoped context data
|
|
1240
|
+
- `logger` - The workflow's logger instance
|
|
1241
|
+
- `state` - The workflow's current state object
|
|
1242
|
+
|
|
1243
|
+
```typescript
|
|
1244
|
+
const workflow = createWorkflow({
|
|
1245
|
+
id: 'order-processing',
|
|
1246
|
+
inputSchema: z.object({ orderId: z.string() }),
|
|
1247
|
+
outputSchema: z.object({ status: z.string() }),
|
|
1248
|
+
options: {
|
|
1249
|
+
onFinish: async ({ runId, workflowId, getInitData, logger, state, mastra }) => {
|
|
1250
|
+
const inputData = getInitData();
|
|
1251
|
+
logger.info(`Workflow ${workflowId} run ${runId} completed`, {
|
|
1252
|
+
orderId: inputData.orderId,
|
|
1253
|
+
finalState: state,
|
|
1254
|
+
});
|
|
1255
|
+
|
|
1256
|
+
// Access other Mastra components if needed
|
|
1257
|
+
const agent = mastra?.getAgent('notification-agent');
|
|
1258
|
+
},
|
|
1259
|
+
onError: async ({ runId, workflowId, error, logger, requestContext }) => {
|
|
1260
|
+
logger.error(`Workflow ${workflowId} run ${runId} failed: ${error?.message}`);
|
|
1261
|
+
// Access request context for additional debugging
|
|
1262
|
+
const userId = requestContext.get('userId');
|
|
1263
|
+
},
|
|
1264
|
+
},
|
|
1265
|
+
});
|
|
1266
|
+
```
|
|
1267
|
+
|
|
1268
|
+
- Deprecate `runCount` parameter in favor of `retryCount` for better naming clarity. The name `runCount` was misleading as it doesn't represent the total number of times a step has run, but rather the number of retry attempts made for a step. ([#9153](https://github.com/mastra-ai/mastra/pull/9153))
|
|
1269
|
+
|
|
1270
|
+
`runCount` is available in `execute()` functions and methods that interact with the step execution. This also applies to condition functions and loop condition functions that use this parameter. If your code uses `runCount`, change the name to `retryCount`.
|
|
1271
|
+
|
|
1272
|
+
Here's an example migration:
|
|
1273
|
+
|
|
1274
|
+
```diff
|
|
1275
|
+
const myStep = createStep({
|
|
1276
|
+
// Rest of step...
|
|
1277
|
+
- execute: async ({ runCount, ...params }) => {
|
|
1278
|
+
+ execute: async ({ retryCount, ...params }) => {
|
|
1279
|
+
// ... rest of your logic
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
- - Fix tool suspension throwing error when `outputSchema` is passed to tool during creation ([#10444](https://github.com/mastra-ai/mastra/pull/10444))
|
|
1285
|
+
- Pass `suspendSchema` and `resumeSchema` from tool into step created when creating step from tool
|
|
1286
|
+
|
|
1287
|
+
- Fix Inngest workflow tests by adding missing imports and updating middleware path. ([#9259](https://github.com/mastra-ai/mastra/pull/9259))
|
|
1288
|
+
|
|
1289
|
+
- Internal code refactoring ([#10830](https://github.com/mastra-ai/mastra/pull/10830))
|
|
1290
|
+
|
|
1291
|
+
- Add `onFinish` and `onError` lifecycle callbacks to workflow options ([#11200](https://github.com/mastra-ai/mastra/pull/11200))
|
|
1292
|
+
|
|
1293
|
+
Workflows now support lifecycle callbacks for server-side handling of workflow completion and errors:
|
|
1294
|
+
- `onFinish`: Called when workflow completes with any status (success, failed, suspended, tripwire)
|
|
1295
|
+
- `onError`: Called only when workflow fails (failed or tripwire status)
|
|
1296
|
+
|
|
1297
|
+
```typescript
|
|
1298
|
+
const workflow = createWorkflow({
|
|
1299
|
+
id: 'my-workflow',
|
|
1300
|
+
inputSchema: z.object({ ... }),
|
|
1301
|
+
outputSchema: z.object({ ... }),
|
|
1302
|
+
options: {
|
|
1303
|
+
onFinish: async (result) => {
|
|
1304
|
+
// Handle any workflow completion
|
|
1305
|
+
await updateJobStatus(result.status);
|
|
1306
|
+
},
|
|
1307
|
+
onError: async (errorInfo) => {
|
|
1308
|
+
// Handle workflow failures
|
|
1309
|
+
await logError(errorInfo.error);
|
|
1310
|
+
},
|
|
1311
|
+
},
|
|
1312
|
+
});
|
|
1313
|
+
```
|
|
1314
|
+
|
|
1315
|
+
Both callbacks support sync and async functions. Callback errors are caught and logged, not propagated to the workflow result.
|
|
1316
|
+
|
|
1317
|
+
- Include `.input` in workflow results for both engines and remove the option to omit them from Inngest workflows. ([#10688](https://github.com/mastra-ai/mastra/pull/10688))
|
|
1318
|
+
|
|
1319
|
+
- Add support for typed structured output in agent workflow steps ([#11014](https://github.com/mastra-ai/mastra/pull/11014))
|
|
1320
|
+
|
|
1321
|
+
When wrapping an agent with `createStep()` and providing a `structuredOutput.schema`, the step's `outputSchema` is now correctly inferred from the provided schema instead of defaulting to `{ text: string }`.
|
|
1322
|
+
|
|
1323
|
+
This enables type-safe chaining of agent steps with structured output to subsequent steps:
|
|
1324
|
+
|
|
1325
|
+
```typescript
|
|
1326
|
+
const articleSchema = z.object({
|
|
1327
|
+
title: z.string(),
|
|
1328
|
+
summary: z.string(),
|
|
1329
|
+
tags: z.array(z.string()),
|
|
1330
|
+
});
|
|
1331
|
+
|
|
1332
|
+
// Agent step with structured output - outputSchema is now articleSchema
|
|
1333
|
+
const agentStep = createStep(agent, {
|
|
1334
|
+
structuredOutput: { schema: articleSchema },
|
|
1335
|
+
});
|
|
1336
|
+
|
|
1337
|
+
// Next step can receive the structured output directly
|
|
1338
|
+
const processStep = createStep({
|
|
1339
|
+
id: 'process',
|
|
1340
|
+
inputSchema: articleSchema, // Matches agent's outputSchema
|
|
1341
|
+
outputSchema: z.object({ tagCount: z.number() }),
|
|
1342
|
+
execute: async ({ inputData }) => ({
|
|
1343
|
+
tagCount: inputData.tags.length, // Fully typed!
|
|
1344
|
+
}),
|
|
1345
|
+
});
|
|
1346
|
+
|
|
1347
|
+
workflow.then(agentStep).then(processStep).commit();
|
|
1348
|
+
```
|
|
1349
|
+
|
|
1350
|
+
When `structuredOutput` is not provided, the agent step continues to use the default `{ text: string }` output schema.
|
|
1351
|
+
|
|
1352
|
+
- Preserve error details when thrown from workflow steps ([#10992](https://github.com/mastra-ai/mastra/pull/10992))
|
|
1353
|
+
- Errors thrown in workflow steps now preserve full error details including `cause` chain and custom properties
|
|
1354
|
+
- Added `SerializedError` type with proper cause chain support
|
|
1355
|
+
- Added `SerializedStepResult` and `SerializedStepFailure` types for handling errors loaded from storage
|
|
1356
|
+
- Enhanced `addErrorToJSON` to recursively serialize error cause chains with max depth protection
|
|
1357
|
+
- Added `hydrateSerializedStepErrors` to convert serialized errors back to Error instances
|
|
1358
|
+
- Fixed Inngest workflow error handling to extract original error from `NonRetriableError.cause`
|
|
1359
|
+
|
|
1360
|
+
- Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
|
|
1361
|
+
|
|
1362
|
+
Consolidated the 3 different execution contexts to one
|
|
1363
|
+
|
|
1364
|
+
```typescript
|
|
1365
|
+
// before depending on the context the tool was executed in
|
|
1366
|
+
tool.execute({ context: data });
|
|
1367
|
+
tool.execute({ context: { inputData: data } });
|
|
1368
|
+
tool.execute(data);
|
|
1369
|
+
|
|
1370
|
+
// now, for all contexts
|
|
1371
|
+
tool.execute(data, context);
|
|
1372
|
+
```
|
|
1373
|
+
|
|
1374
|
+
**Before:**
|
|
1375
|
+
|
|
1376
|
+
```typescript
|
|
1377
|
+
inputSchema: z.object({ something: z.string() }),
|
|
1378
|
+
execute: async ({ context, tracingContext, runId, ... }) => {
|
|
1379
|
+
return doSomething(context.string);
|
|
1380
|
+
}
|
|
1381
|
+
```
|
|
1382
|
+
|
|
1383
|
+
**After:**
|
|
1384
|
+
|
|
1385
|
+
```typescript
|
|
1386
|
+
inputSchema: z.object({ something: z.string() }),
|
|
1387
|
+
execute: async (inputData, context) => {
|
|
1388
|
+
const { agent, mcp, workflow, ...sharedContext } = context
|
|
1389
|
+
|
|
1390
|
+
// context that only an agent would get like toolCallId, messages, suspend, resume, etc
|
|
1391
|
+
if (agent) {
|
|
1392
|
+
doSomething(inputData.something, agent)
|
|
1393
|
+
// context that only a workflow would get like runId, state, suspend, resume, etc
|
|
1394
|
+
} else if (workflow) {
|
|
1395
|
+
doSomething(inputData.something, workflow)
|
|
1396
|
+
// context that only a workflow would get like "extra", "elicitation"
|
|
1397
|
+
} else if (mcp) {
|
|
1398
|
+
doSomething(inputData.something, mcp)
|
|
1399
|
+
} else {
|
|
1400
|
+
// Running a tool in no execution context
|
|
1401
|
+
return doSomething(inputData.something);
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
```
|
|
1405
|
+
|
|
1406
|
+
- Refactor internal event system from Emitter to PubSub abstraction for workflow event handling. This change replaces the EventEmitter-based event system with a pluggable PubSub interface, enabling support for distributed workflow execution backends like Inngest. Adds `close()` method to PubSub implementations for proper cleanup. ([#11052](https://github.com/mastra-ai/mastra/pull/11052))
|
|
1407
|
+
|
|
1408
|
+
- Add `startAsync()` method and fix Inngest duplicate workflow execution bug ([#11093](https://github.com/mastra-ai/mastra/pull/11093))
|
|
1409
|
+
|
|
1410
|
+
**New Feature: `startAsync()` for fire-and-forget workflow execution**
|
|
1411
|
+
- Add `Run.startAsync()` to base workflow class - starts workflow in background and returns `{ runId }` immediately
|
|
1412
|
+
- Add `EventedRun.startAsync()` - publishes workflow start event without subscribing for completion
|
|
1413
|
+
- Add `InngestRun.startAsync()` - sends Inngest event without polling for result
|
|
1414
|
+
|
|
1415
|
+
**Prevent duplicate Inngest workflow executions**
|
|
1416
|
+
- Fix `getRuns()` to properly handle rate limits (429), empty responses, and JSON parse errors with retry logic and exponential backoff
|
|
1417
|
+
- Fix `getRunOutput()` to throw `NonRetriableError` when polling fails, preventing Inngest from retrying the parent function and re-triggering the workflow
|
|
1418
|
+
- Add timeout to `getRunOutput()` polling (default 5 minutes) with `NonRetriableError` on timeout
|
|
1419
|
+
|
|
1420
|
+
This fixes a production issue where polling failures after successful workflow completion caused Inngest to retry the parent function, which fired a new workflow event and resulted in duplicate executions (e.g., duplicate Slack messages).
|
|
1421
|
+
|
|
1422
|
+
- Preserve error details when thrown from workflow steps ([#10992](https://github.com/mastra-ai/mastra/pull/10992))
|
|
1423
|
+
|
|
1424
|
+
Workflow errors now retain custom properties like `statusCode`, `responseHeaders`, and `cause` chains. This enables error-specific recovery logic in your applications.
|
|
1425
|
+
|
|
1426
|
+
**Before:**
|
|
1427
|
+
|
|
1428
|
+
```typescript
|
|
1429
|
+
const result = await workflow.execute({ input });
|
|
1430
|
+
if (result.status === 'failed') {
|
|
1431
|
+
// Custom error properties were lost
|
|
1432
|
+
console.log(result.error); // "Step execution failed" (just a string)
|
|
1433
|
+
}
|
|
1434
|
+
```
|
|
1435
|
+
|
|
1436
|
+
**After:**
|
|
1437
|
+
|
|
1438
|
+
```typescript
|
|
1439
|
+
const result = await workflow.execute({ input });
|
|
1440
|
+
if (result.status === 'failed') {
|
|
1441
|
+
// Custom properties are preserved
|
|
1442
|
+
console.log(result.error.message); // "Step execution failed"
|
|
1443
|
+
console.log(result.error.statusCode); // 429
|
|
1444
|
+
console.log(result.error.cause?.name); // "RateLimitError"
|
|
1445
|
+
}
|
|
1446
|
+
```
|
|
1447
|
+
|
|
1448
|
+
**Type change:** `WorkflowState.error` and `WorkflowRunState.error` types changed from `string | Error` to `SerializedError`.
|
|
1449
|
+
|
|
1450
|
+
Other changes:
|
|
1451
|
+
- Added `UpdateWorkflowStateOptions` type for workflow state updates
|
|
1452
|
+
|
|
1453
|
+
- Improved TypeScript type inference for workflow steps. ([#11953](https://github.com/mastra-ai/mastra/pull/11953))
|
|
1454
|
+
|
|
1455
|
+
**What changed:**
|
|
1456
|
+
- Step input/output type mismatches are now caught at compile time when chaining steps with `.then()`
|
|
1457
|
+
- The `execute` function now properly infers types from `inputSchema`, `outputSchema`, `stateSchema`, and other schema parameters
|
|
1458
|
+
- Clearer error messages when step types don't match workflow requirements
|
|
1459
|
+
|
|
1460
|
+
**Why:**
|
|
1461
|
+
Previously, type errors in workflow step chains would only surface at runtime. Now TypeScript validates that each step's input requirements are satisfied by the previous step's output, helping you catch integration issues earlier in development.
|
|
1462
|
+
|
|
1463
|
+
- fix resumeStream type to use resumeSchema ([#10202](https://github.com/mastra-ai/mastra/pull/10202))
|
|
1464
|
+
|
|
1465
|
+
- feat: Add field filtering and nested workflow control to workflow execution result endpoint ([#11246](https://github.com/mastra-ai/mastra/pull/11246))
|
|
1466
|
+
|
|
1467
|
+
Adds two optional query parameters to `/api/workflows/:workflowId/runs/:runId/execution-result` endpoint:
|
|
1468
|
+
- `fields`: Request only specific fields (e.g., `status`, `result`, `error`)
|
|
1469
|
+
- `withNestedWorkflows`: Control whether to fetch nested workflow data
|
|
1470
|
+
|
|
1471
|
+
This significantly reduces response payload size and improves response times for large workflows.
|
|
1472
|
+
|
|
1473
|
+
## Server Endpoint Usage
|
|
1474
|
+
|
|
1475
|
+
```http
|
|
1476
|
+
# Get only status (minimal payload - fastest)
|
|
1477
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status
|
|
1478
|
+
|
|
1479
|
+
# Get status and result
|
|
1480
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status,result
|
|
1481
|
+
|
|
1482
|
+
# Get all fields but without nested workflow data (faster)
|
|
1483
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?withNestedWorkflows=false
|
|
1484
|
+
|
|
1485
|
+
# Get only specific fields without nested workflow data
|
|
1486
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status,steps&withNestedWorkflows=false
|
|
1487
|
+
|
|
1488
|
+
# Get full data (default behavior)
|
|
1489
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result
|
|
1490
|
+
```
|
|
1491
|
+
|
|
1492
|
+
## Client SDK Usage
|
|
1493
|
+
|
|
1494
|
+
```typescript
|
|
1495
|
+
import { MastraClient } from '@mastra/client-js';
|
|
1496
|
+
|
|
1497
|
+
const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
|
|
1498
|
+
const workflow = client.getWorkflow('myWorkflow');
|
|
1499
|
+
|
|
1500
|
+
// Get only status (minimal payload - fastest)
|
|
1501
|
+
const statusOnly = await workflow.runExecutionResult(runId, {
|
|
1502
|
+
fields: ['status'],
|
|
1503
|
+
});
|
|
1504
|
+
console.log(statusOnly.status); // 'success' | 'failed' | 'running' | etc.
|
|
1505
|
+
|
|
1506
|
+
// Get status and result
|
|
1507
|
+
const statusAndResult = await workflow.runExecutionResult(runId, {
|
|
1508
|
+
fields: ['status', 'result'],
|
|
1509
|
+
});
|
|
1510
|
+
|
|
1511
|
+
// Get all fields but without nested workflow data (faster)
|
|
1512
|
+
const resultWithoutNested = await workflow.runExecutionResult(runId, {
|
|
1513
|
+
withNestedWorkflows: false,
|
|
1514
|
+
});
|
|
1515
|
+
|
|
1516
|
+
// Get specific fields without nested workflow data
|
|
1517
|
+
const optimized = await workflow.runExecutionResult(runId, {
|
|
1518
|
+
fields: ['status', 'steps'],
|
|
1519
|
+
withNestedWorkflows: false,
|
|
1520
|
+
});
|
|
1521
|
+
|
|
1522
|
+
// Get full execution result (default behavior)
|
|
1523
|
+
const fullResult = await workflow.runExecutionResult(runId);
|
|
1524
|
+
```
|
|
1525
|
+
|
|
1526
|
+
## Core API Changes
|
|
1527
|
+
|
|
1528
|
+
The `Workflow.getWorkflowRunExecutionResult` method now accepts an options object:
|
|
1529
|
+
|
|
1530
|
+
```typescript
|
|
1531
|
+
await workflow.getWorkflowRunExecutionResult(runId, {
|
|
1532
|
+
withNestedWorkflows: false, // default: true, set to false to skip nested workflow data
|
|
1533
|
+
fields: ['status', 'result'], // optional field filtering
|
|
1534
|
+
});
|
|
1535
|
+
```
|
|
1536
|
+
|
|
1537
|
+
## Inngest Compatibility
|
|
1538
|
+
|
|
1539
|
+
The `@mastra/inngest` package has been updated to use the new options object API. This is a non-breaking internal change - no action required from inngest workflow users.
|
|
1540
|
+
|
|
1541
|
+
## Performance Impact
|
|
1542
|
+
|
|
1543
|
+
For workflows with large step outputs:
|
|
1544
|
+
- Requesting only `status`: ~99% reduction in payload size
|
|
1545
|
+
- Requesting `status,result,error`: ~95% reduction in payload size
|
|
1546
|
+
- Using `withNestedWorkflows=false`: Avoids expensive nested workflow data fetching
|
|
1547
|
+
- Combining both: Maximum performance optimization
|
|
1548
|
+
|
|
1549
|
+
- Refactor storage architecture to use domain-specific stores via `getStore()` pattern ([#11361](https://github.com/mastra-ai/mastra/pull/11361))
|
|
1550
|
+
|
|
1551
|
+
### Summary
|
|
1552
|
+
|
|
1553
|
+
This release introduces a new storage architecture that replaces passthrough methods on `MastraStorage` with domain-specific storage interfaces accessed via `getStore()`. This change reduces code duplication across storage adapters and provides a cleaner, more modular API.
|
|
1554
|
+
|
|
1555
|
+
### Migration Guide
|
|
1556
|
+
|
|
1557
|
+
All direct method calls on storage instances should be updated to use `getStore()`:
|
|
1558
|
+
|
|
1559
|
+
```typescript
|
|
1560
|
+
// Before
|
|
1561
|
+
const thread = await storage.getThreadById({ threadId });
|
|
1562
|
+
await storage.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
1563
|
+
await storage.createSpan(span);
|
|
1564
|
+
|
|
1565
|
+
// After
|
|
1566
|
+
const memory = await storage.getStore('memory');
|
|
1567
|
+
const thread = await memory?.getThreadById({ threadId });
|
|
1568
|
+
|
|
1569
|
+
const workflows = await storage.getStore('workflows');
|
|
1570
|
+
await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
1571
|
+
|
|
1572
|
+
const observability = await storage.getStore('observability');
|
|
1573
|
+
await observability?.createSpan(span);
|
|
1574
|
+
```
|
|
1575
|
+
|
|
1576
|
+
### Available Domains
|
|
1577
|
+
- **`memory`**: Thread and message operations (`getThreadById`, `saveThread`, `saveMessages`, etc.)
|
|
1578
|
+
- **`workflows`**: Workflow state persistence (`persistWorkflowSnapshot`, `loadWorkflowSnapshot`, `getWorkflowRunById`, etc.)
|
|
1579
|
+
- **`scores`**: Evaluation scores (`saveScore`, `listScoresByScorerId`, etc.)
|
|
1580
|
+
- **`observability`**: Tracing and spans (`createSpan`, `updateSpan`, `getTrace`, etc.)
|
|
1581
|
+
- **`agents`**: Stored agent configurations (`createAgent`, `getAgentById`, `listAgents`, etc.)
|
|
1582
|
+
|
|
1583
|
+
### Breaking Changes
|
|
1584
|
+
- Passthrough methods have been removed from `MastraStorage` base class
|
|
1585
|
+
- All storage adapters now require accessing domains via `getStore()`
|
|
1586
|
+
- The `stores` property on storage instances is now the canonical way to access domain storage
|
|
1587
|
+
|
|
1588
|
+
### Internal Changes
|
|
1589
|
+
- Each storage adapter now initializes domain-specific stores in its constructor
|
|
1590
|
+
- Domain stores share database connections and handle their own table initialization
|
|
1591
|
+
|
|
1592
|
+
- Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
1593
|
+
|
|
1594
|
+
- Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
|
|
1595
|
+
|
|
1596
|
+
- Using `createStep` with a nested Inngest workflow now returns the workflow itself, maintaining the correct `.invoke()` execution flow Inngest workflows need to operate. ([#10689](https://github.com/mastra-ai/mastra/pull/10689))
|
|
1597
|
+
|
|
1598
|
+
- Refactored default engine to fit durable execution better, and the inngest engine to match. ([#10627](https://github.com/mastra-ai/mastra/pull/10627))
|
|
1599
|
+
Also fixes requestContext persistence by relying on inngest step memoization.
|
|
1600
|
+
|
|
1601
|
+
Unifies some of the stepResults and error formats in both engines.
|
|
1602
|
+
|
|
1603
|
+
- Add `perStep` option to workflow run methods, allowing a workflow to run just a step instead of all the workflow steps ([#11276](https://github.com/mastra-ai/mastra/pull/11276))
|
|
1604
|
+
|
|
1605
|
+
- Miscellanous bug fixes and test fixes: ([#10515](https://github.com/mastra-ai/mastra/pull/10515))
|
|
1606
|
+
- cloneWorkflow passing options correctly
|
|
1607
|
+
- start event in streamLegacy
|
|
1608
|
+
- Many test cases with outdated or incorrect expected values
|
|
1609
|
+
|
|
1610
|
+
- Added support for .streamVNext and .stream that uses it in the inngest execution engine ([#9434](https://github.com/mastra-ai/mastra/pull/9434))
|
|
1611
|
+
|
|
1612
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#9750](https://github.com/mastra-ai/mastra/pull/9750))
|
|
1613
|
+
Add status filter to `listWorkflowRuns`
|
|
1614
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
1615
|
+
|
|
1616
|
+
- Prevent changing workflow status to suspended when some parallel steps are still running ([#9431](https://github.com/mastra-ai/mastra/pull/9431))
|
|
1617
|
+
|
|
1618
|
+
- Fix custom error properties being lost through Inngest serialization ([#11962](https://github.com/mastra-ai/mastra/pull/11962))
|
|
1619
|
+
|
|
1620
|
+
Inngest's error serialization only captures standard Error properties (message, name, stack, code, cause). Custom properties like `statusCode`, `responseHeaders`, or `isRetryable` from API/AI SDK errors were being stripped during serialization. Errors are now wrapped with a cause structure that preserves custom properties through the serialization boundary.
|
|
1621
|
+
|
|
1622
|
+
- Validate schemas by default in workflow. Previously, if you want schemas in the workflow to be validated, you'd have to add `validateInputs` option, now, this will be done by default but can be disabled. ([#10186](https://github.com/mastra-ai/mastra/pull/10186))
|
|
1623
|
+
|
|
1624
|
+
For workflows whose schemas and step schemas you don't want validated, do this
|
|
1625
|
+
|
|
1626
|
+
```diff
|
|
1627
|
+
createWorkflow({
|
|
1628
|
+
+ options: {
|
|
1629
|
+
+ validateInputs: false
|
|
1630
|
+
+ }
|
|
1631
|
+
})
|
|
1632
|
+
```
|
|
1633
|
+
|
|
1634
|
+
- Fix inngest parallel workflow ([#10169](https://github.com/mastra-ai/mastra/pull/10169))
|
|
1635
|
+
Fix tool as step in inngest
|
|
1636
|
+
Fix inngest nested workflow
|
|
1637
|
+
|
|
1638
|
+
- Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
|
|
1639
|
+
|
|
1640
|
+
- Emit workflow-step-result and workflow-step-finish when step fails in inngest workflow ([#10555](https://github.com/mastra-ai/mastra/pull/10555))
|
|
1641
|
+
|
|
1642
|
+
- Real-time span export for Inngest workflow engine ([#11973](https://github.com/mastra-ai/mastra/pull/11973))
|
|
1643
|
+
- Spans are now exported immediately when created and ended, instead of being batched at workflow completion
|
|
1644
|
+
- Added durable span lifecycle hooks (`createStepSpan`, `endStepSpan`, `errorStepSpan`, `createChildSpan`, `endChildSpan`, `errorChildSpan`) that wrap span operations in Inngest's `step.run()` for memoization
|
|
1645
|
+
- Added `rebuildSpan()` method to reconstruct span objects from exported data after Inngest replay
|
|
1646
|
+
- Fixed nested workflow step spans missing output data
|
|
1647
|
+
- Spans correctly maintain parent-child relationships across Inngest's durable execution boundaries using `tracingIds`
|
|
1648
|
+
|
|
1649
|
+
- Support new Workflow tripwire run status. Tripwires that are thrown from within a workflow will now bubble up and return a graceful state with information about tripwires. ([#10947](https://github.com/mastra-ai/mastra/pull/10947))
|
|
1650
|
+
|
|
1651
|
+
When a workflow contains an agent step that triggers a tripwire, the workflow returns with `status: 'tripwire'` and includes tripwire details:
|
|
1652
|
+
|
|
1653
|
+
```typescript
|
|
1654
|
+
const run = await workflow.createRun();
|
|
1655
|
+
const result = await run.start({ inputData: { message: 'Hello' } });
|
|
1656
|
+
|
|
1657
|
+
if (result.status === 'tripwire') {
|
|
1658
|
+
console.log('Workflow terminated by tripwire:', result.tripwire?.reason);
|
|
1659
|
+
console.log('Processor ID:', result.tripwire?.processorId);
|
|
1660
|
+
console.log('Retry requested:', result.tripwire?.retry);
|
|
1661
|
+
}
|
|
1662
|
+
```
|
|
1663
|
+
|
|
1664
|
+
Adds new UI state for tripwire in agent chat and workflow UI.
|
|
1665
|
+
|
|
1666
|
+
This is distinct from `status: 'failed'` which indicates an unexpected error. A tripwire status means a processor intentionally stopped execution (e.g., for content moderation).
|
|
1667
|
+
|
|
1668
|
+
- Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow ([#9994](https://github.com/mastra-ai/mastra/pull/9994))
|
|
1669
|
+
|
|
1670
|
+
Example code:
|
|
1671
|
+
|
|
1672
|
+
```ts
|
|
1673
|
+
const result = await run.timeTravel({
|
|
1674
|
+
step: 'step2',
|
|
1675
|
+
inputData: {
|
|
1676
|
+
value: 'input',
|
|
1677
|
+
},
|
|
1678
|
+
});
|
|
1679
|
+
```
|
|
1680
|
+
|
|
1681
|
+
- Unified `getWorkflowRunById` and `getWorkflowRunExecutionResult` into a single API that returns `WorkflowState` with both metadata and execution state. ([#11429](https://github.com/mastra-ai/mastra/pull/11429))
|
|
1682
|
+
|
|
1683
|
+
**What changed:**
|
|
1684
|
+
- `getWorkflowRunById` now returns a unified `WorkflowState` object containing metadata (runId, workflowName, resourceId, createdAt, updatedAt) along with processed execution state (status, result, error, payload, steps)
|
|
1685
|
+
- Added optional `fields` parameter to request only specific fields for better performance
|
|
1686
|
+
- Added optional `withNestedWorkflows` parameter to control nested workflow step inclusion
|
|
1687
|
+
- Removed `getWorkflowRunExecutionResult` - use `getWorkflowRunById` instead (breaking change)
|
|
1688
|
+
- Removed `/execution-result` API endpoints from server (breaking change)
|
|
1689
|
+
- Removed `runExecutionResult()` method from client SDK (breaking change)
|
|
1690
|
+
- Removed `GetWorkflowRunExecutionResultResponse` type from client SDK (breaking change)
|
|
1691
|
+
|
|
1692
|
+
**Before:**
|
|
1693
|
+
|
|
1694
|
+
```typescript
|
|
1695
|
+
// Had to call two different methods for different data
|
|
1696
|
+
const run = await workflow.getWorkflowRunById(runId); // Returns raw WorkflowRun with snapshot
|
|
1697
|
+
const result = await workflow.getWorkflowRunExecutionResult(runId); // Returns processed execution state
|
|
1698
|
+
```
|
|
1699
|
+
|
|
1700
|
+
**After:**
|
|
1701
|
+
|
|
1702
|
+
```typescript
|
|
1703
|
+
// Single method returns everything
|
|
1704
|
+
const run = await workflow.getWorkflowRunById(runId);
|
|
1705
|
+
// Returns: { runId, workflowName, resourceId, createdAt, updatedAt, status, result, error, payload, steps }
|
|
1706
|
+
|
|
1707
|
+
// Request only specific fields for better performance (avoids expensive step fetching)
|
|
1708
|
+
const status = await workflow.getWorkflowRunById(runId, { fields: ['status'] });
|
|
1709
|
+
|
|
1710
|
+
// Skip nested workflow steps for faster response
|
|
1711
|
+
const run = await workflow.getWorkflowRunById(runId, { withNestedWorkflows: false });
|
|
1712
|
+
```
|
|
1713
|
+
|
|
1714
|
+
**Why:** The previous API required calling two separate methods to get complete workflow run information. This unification simplifies the API surface and gives users control over performance - fetching all steps (especially nested workflows) can be expensive, so the `fields` and `withNestedWorkflows` options let users request only what they need.
|
|
1715
|
+
|
|
1716
|
+
- Make suspendPayload optional when calling `suspend()` ([#9926](https://github.com/mastra-ai/mastra/pull/9926))
|
|
1717
|
+
Save value returned as `suspendOutput` if user returns data still after calling `suspend()`
|
|
1718
|
+
Automatically call `commit()` on uncommitted workflows when registering in Mastra instance
|
|
1719
|
+
Show actual suspendPayload on Studio in suspend/resume flow
|
|
1720
|
+
|
|
1721
|
+
- Fix observability tracing for Inngest workflows ([#11885](https://github.com/mastra-ai/mastra/pull/11885))
|
|
1722
|
+
- Use SpanCollector to capture span hierarchy during execution and create real spans in the memoized finalize step
|
|
1723
|
+
- Fix span timing by using step result `startedAt`/`endedAt` (memoized by Inngest) instead of replay-time timestamps
|
|
1724
|
+
- Ensures proper parent-child span relationships and accurate durations in traces
|
|
1725
|
+
- Multi-replica safe: no shared state needed across server instances
|
|
1726
|
+
|
|
1727
|
+
- Add cron scheduling support to Inngest workflows. Workflows can now be automatically triggered on a schedule by adding a `cron` property along with optional `inputData` and `initialState`: ([#11518](https://github.com/mastra-ai/mastra/pull/11518))
|
|
1728
|
+
|
|
1729
|
+
```typescript
|
|
1730
|
+
const workflow = createWorkflow({
|
|
1731
|
+
id: 'scheduled-workflow',
|
|
1732
|
+
inputSchema: z.object({ value: z.string() }),
|
|
1733
|
+
outputSchema: z.object({ result: z.string() }),
|
|
1734
|
+
steps: [step1],
|
|
1735
|
+
cron: '0 0 * * *', // Run daily at midnight
|
|
1736
|
+
inputData: { value: 'scheduled-run' }, // Optional inputData for the scheduled workflow run
|
|
1737
|
+
initialState: { count: 0 }, // Optional initialState for the scheduled workflow run
|
|
1738
|
+
});
|
|
1739
|
+
```
|
|
1740
|
+
|
|
1741
|
+
- Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`d2d3e22`](https://github.com/mastra-ai/mastra/commit/d2d3e22a419ee243f8812a84e3453dd44365ecb0), [`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`72df8ae`](https://github.com/mastra-ai/mastra/commit/72df8ae595584cdd7747d5c39ffaca45e4507227), [`ebae12a`](https://github.com/mastra-ai/mastra/commit/ebae12a2dd0212e75478981053b148a2c246962d), [`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`bc72b52`](https://github.com/mastra-ai/mastra/commit/bc72b529ee4478fe89ecd85a8be47ce0127b82a0), [`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c61a0a5`](https://github.com/mastra-ai/mastra/commit/c61a0a5de4904c88fd8b3718bc26d1be1c2ec6e7), [`05b8bee`](https://github.com/mastra-ai/mastra/commit/05b8bee9e50e6c2a4a2bf210eca25ee212ca24fa), [`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`9198899`](https://github.com/mastra-ai/mastra/commit/91988995c427b185c33714b7f3be955367911324), [`ed3e3dd`](https://github.com/mastra-ai/mastra/commit/ed3e3ddec69d564fe2b125e083437f76331f1283), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`c042bd0`](https://github.com/mastra-ai/mastra/commit/c042bd0b743e0e86199d0cb83344ca7690e34a9c), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`e54953e`](https://github.com/mastra-ai/mastra/commit/e54953ed8ce1b28c0d62a19950163039af7834b4), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`940a2b2`](https://github.com/mastra-ai/mastra/commit/940a2b27480626ed7e74f55806dcd2181c1dd0c2), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`33a4d2e`](https://github.com/mastra-ai/mastra/commit/33a4d2e4ed8af51f69256232f00c34d6b6b51d48), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`910db9e`](https://github.com/mastra-ai/mastra/commit/910db9e0312888495eb5617b567f247d03303814), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`4aaa844`](https://github.com/mastra-ai/mastra/commit/4aaa844a4f19d054490f43638a990cc57bda8d2f), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`6833c69`](https://github.com/mastra-ai/mastra/commit/6833c69607418d257750bbcdd84638993d343539), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`4a1a6cb`](https://github.com/mastra-ai/mastra/commit/4a1a6cb3facad54b2bb6780b00ce91d6de1edc08), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`69136e7`](https://github.com/mastra-ai/mastra/commit/69136e748e32f57297728a4e0f9a75988462f1a7), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`449aed2`](https://github.com/mastra-ai/mastra/commit/449aed2ba9d507b75bf93d427646ea94f734dfd1), [`eb648a2`](https://github.com/mastra-ai/mastra/commit/eb648a2cc1728f7678768dd70cd77619b448dab9), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`e0941c3`](https://github.com/mastra-ai/mastra/commit/e0941c3d7fc75695d5d258e7008fd5d6e650800c), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`0c0580a`](https://github.com/mastra-ai/mastra/commit/0c0580a42f697cd2a7d5973f25bfe7da9055038a), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`0131105`](https://github.com/mastra-ai/mastra/commit/0131105532e83bdcbb73352fc7d0879eebf140dc), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`47b1c16`](https://github.com/mastra-ai/mastra/commit/47b1c16a01c7ffb6765fe1e499b49092f8b7eba3), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d5059e`](https://github.com/mastra-ai/mastra/commit/9d5059eae810829935fb08e81a9bb7ecd5b144a7), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`31d13d5`](https://github.com/mastra-ai/mastra/commit/31d13d5fdc2e2380e2e3ee3ec9fb29d2a00f265d), [`ef756c6`](https://github.com/mastra-ai/mastra/commit/ef756c65f82d16531c43f49a27290a416611e526), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`b00ccd3`](https://github.com/mastra-ai/mastra/commit/b00ccd325ebd5d9e37e34dd0a105caae67eb568f), [`28f5f89`](https://github.com/mastra-ai/mastra/commit/28f5f89705f2409921e3c45178796c0e0d0bbb64), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`4c62166`](https://github.com/mastra-ai/mastra/commit/4c621669f4a29b1f443eca3ba70b814afa286266), [`e601b27`](https://github.com/mastra-ai/mastra/commit/e601b272c70f3a5ecca610373aa6223012704892), [`7d56d92`](https://github.com/mastra-ai/mastra/commit/7d56d9213886e8353956d7d40df10045fd12b299), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7bcbf10`](https://github.com/mastra-ai/mastra/commit/7bcbf10133516e03df964b941f9a34e9e4ab4177), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`4353600`](https://github.com/mastra-ai/mastra/commit/43536005a65988a8eede236f69122e7f5a284ba2), [`653e65a`](https://github.com/mastra-ai/mastra/commit/653e65ae1f9502c2958a32f47a5a2df11e612a92), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`3d3366f`](https://github.com/mastra-ai/mastra/commit/3d3366f31683e7137d126a3a57174a222c5801fb), [`5a4953f`](https://github.com/mastra-ai/mastra/commit/5a4953f7d25bb15ca31ed16038092a39cb3f98b3), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`eb9e522`](https://github.com/mastra-ai/mastra/commit/eb9e522ce3070a405e5b949b7bf5609ca51d7fe2), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`20e6f19`](https://github.com/mastra-ai/mastra/commit/20e6f1971d51d3ff6dd7accad8aaaae826d540ed), [`053e979`](https://github.com/mastra-ai/mastra/commit/053e9793b28e970086b0507f7f3b76ea32c1e838), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`3bdfa75`](https://github.com/mastra-ai/mastra/commit/3bdfa7507a91db66f176ba8221aa28dd546e464a), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`c6fd6fe`](https://github.com/mastra-ai/mastra/commit/c6fd6fedd09e9cf8004b03a80925f5e94826ad7e), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`fdac646`](https://github.com/mastra-ai/mastra/commit/fdac646033a0930a1a4e00d13aa64c40bb7f1e02), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`d07b568`](https://github.com/mastra-ai/mastra/commit/d07b5687819ea8cb1dffa776d0c1765faf4aa1ae), [`e770de9`](https://github.com/mastra-ai/mastra/commit/e770de941a287a49b1964d44db5a5763d19890a6), [`e26dc9c`](https://github.com/mastra-ai/mastra/commit/e26dc9c3ccfec54ae3dc3e2b2589f741f9ae60a6), [`55edf73`](https://github.com/mastra-ai/mastra/commit/55edf7302149d6c964fbb7908b43babfc2b52145), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`52e2716`](https://github.com/mastra-ai/mastra/commit/52e2716b42df6eff443de72360ae83e86ec23993), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`4f0b3c6`](https://github.com/mastra-ai/mastra/commit/4f0b3c66f196c06448487f680ccbb614d281e2f7), [`27b4040`](https://github.com/mastra-ai/mastra/commit/27b4040bfa1a95d92546f420a02a626b1419a1d6), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`74c4f22`](https://github.com/mastra-ai/mastra/commit/74c4f22ed4c71e72598eacc346ba95cdbc00294f), [`3a76a80`](https://github.com/mastra-ai/mastra/commit/3a76a80284cb71a0faa975abb3d4b2a9631e60cd), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`dee388d`](https://github.com/mastra-ai/mastra/commit/dee388dde02f2e63c53385ae69252a47ab6825cc), [`610a70b`](https://github.com/mastra-ai/mastra/commit/610a70bdad282079f0c630e0d7bb284578f20151), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`3f3fc30`](https://github.com/mastra-ai/mastra/commit/3f3fc3096f24c4a26cffeecfe73085928f72aa63), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`81b6a8f`](https://github.com/mastra-ai/mastra/commit/81b6a8ff79f49a7549d15d66624ac1a0b8f5f971), [`8538a0d`](https://github.com/mastra-ai/mastra/commit/8538a0d232619bf55dad7ddc2a8b0ca77c679a87), [`d90ea65`](https://github.com/mastra-ai/mastra/commit/d90ea6536f7aa51c6545a4e9215b55858e98e16d), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`e4d366a`](https://github.com/mastra-ai/mastra/commit/e4d366aeb500371dd4210d6aa8361a4c21d87034), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`d171e55`](https://github.com/mastra-ai/mastra/commit/d171e559ead9f52ec728d424844c8f7b164c4510), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`a4f010b`](https://github.com/mastra-ai/mastra/commit/a4f010b22e4355a5fdee70a1fe0f6e4a692cc29e), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`68ec97d`](https://github.com/mastra-ai/mastra/commit/68ec97d4c07c6393fcf95c2481fc5d73da99f8c8), [`8dc7f55`](https://github.com/mastra-ai/mastra/commit/8dc7f55900395771da851dc7d78d53ae84fe34ec), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8), [`8379099`](https://github.com/mastra-ai/mastra/commit/8379099fc467af6bef54dd7f80c9bd75bf8bbddf), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`10c2735`](https://github.com/mastra-ai/mastra/commit/10c27355edfdad1ee2b826b897df74125eb81fb8), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`8c0ec25`](https://github.com/mastra-ai/mastra/commit/8c0ec25646c8a7df253ed1e5ff4863a0d3f1316c), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`73b0bb3`](https://github.com/mastra-ai/mastra/commit/73b0bb394dba7c9482eb467a97ab283dbc0ef4db), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`5627a8c`](https://github.com/mastra-ai/mastra/commit/5627a8c6dc11fe3711b3fa7a6ffd6eb34100a306), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`3ff45d1`](https://github.com/mastra-ai/mastra/commit/3ff45d10e0c80c5335a957ab563da72feb623520), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`251df45`](https://github.com/mastra-ai/mastra/commit/251df4531407dfa46d805feb40ff3fb49769f455), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`f894d14`](https://github.com/mastra-ai/mastra/commit/f894d148946629af7b1f452d65a9cf864cec3765), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`1924cf0`](https://github.com/mastra-ai/mastra/commit/1924cf06816e5e4d4d5333065ec0f4bb02a97799), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`c2b9547`](https://github.com/mastra-ai/mastra/commit/c2b9547bf435f56339f23625a743b2147ab1c7a6), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`9312dcd`](https://github.com/mastra-ai/mastra/commit/9312dcd1c6f5b321929e7d382e763d95fdc030f5), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`ff4d9a6`](https://github.com/mastra-ai/mastra/commit/ff4d9a6704fc87b31a380a76ed22736fdedbba5a), [`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`69821ef`](https://github.com/mastra-ai/mastra/commit/69821ef806482e2c44e2197ac0b050c3fe3a5285), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`58e3931`](https://github.com/mastra-ai/mastra/commit/58e3931af9baa5921688566210f00fb0c10479fa), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`5947fcd`](https://github.com/mastra-ai/mastra/commit/5947fcdd425531f29f9422026d466c2ee3113c93), [`4aa55b3`](https://github.com/mastra-ai/mastra/commit/4aa55b383cf06043943359ea316572fd969861a7), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b), [`1ed5716`](https://github.com/mastra-ai/mastra/commit/1ed5716830867b3774c4a1b43cc0d82935f32b96), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c), [`b339816`](https://github.com/mastra-ai/mastra/commit/b339816df0984d0243d944ac2655d6ba5f809cde), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176), [`4186bdd`](https://github.com/mastra-ai/mastra/commit/4186bdd00731305726fa06adba0b076a1d50b49f), [`08bb631`](https://github.com/mastra-ai/mastra/commit/08bb631ae2b14684b2678e3549d0b399a6f0561e), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`7aaf973`](https://github.com/mastra-ai/mastra/commit/7aaf973f83fbbe9521f1f9e7a4fd99b8de464617), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`4fba91b`](https://github.com/mastra-ai/mastra/commit/4fba91bec7c95911dc28e369437596b152b04cd0), [`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019), [`12b0cc4`](https://github.com/mastra-ai/mastra/commit/12b0cc4077d886b1a552637dedb70a7ade93528c), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
|
|
1742
|
+
- @mastra/core@1.0.0
|
|
1743
|
+
|
|
1744
|
+
## 1.0.0-beta.13
|
|
1745
|
+
|
|
1746
|
+
### Major Changes
|
|
1747
|
+
|
|
1748
|
+
- Refactor workflow and tool types to remove Zod-specific constraints ([#11814](https://github.com/mastra-ai/mastra/pull/11814))
|
|
1749
|
+
|
|
1750
|
+
Removed Zod-specific type constraints across all workflow implementations and tool types, replacing them with generic types. This ensures type consistency across default, evented, and inngest workflows while preparing for Zod v4 migration.
|
|
1751
|
+
|
|
1752
|
+
**Workflow Changes:**
|
|
1753
|
+
- Removed `z.ZodObject<any>` and `z.ZodType<any>` constraints from all workflow generic types
|
|
1754
|
+
- Updated method signatures to use `TInput` and `TState` directly instead of `z.infer<TInput>` and `z.infer<TState>`
|
|
1755
|
+
- Aligned conditional types across all workflow implementations using `TInput extends unknown` pattern
|
|
1756
|
+
- Fixed `TSteps` generic to properly use `TEngineType` instead of `any`
|
|
1757
|
+
|
|
1758
|
+
**Tool Changes:**
|
|
1759
|
+
- Removed Zod schema constraints from `ToolExecutionContext` and related interfaces
|
|
1760
|
+
- Simplified type parameters from `TSuspendSchema extends ZodLikeSchema` to `TSuspend` and `TResume`
|
|
1761
|
+
- Updated tool execution context types to use generic types
|
|
1762
|
+
|
|
1763
|
+
**Type Utilities:**
|
|
1764
|
+
- Refactored type helpers to work with generic schemas instead of Zod-specific types
|
|
1765
|
+
- Updated type extraction utilities for better compatibility
|
|
1766
|
+
|
|
1767
|
+
This change maintains backward compatibility while improving type consistency and preparing for Zod v4 support across all affected packages.
|
|
1768
|
+
|
|
1769
|
+
- **Breaking Change**: Convert OUTPUT generic from `OutputSchema` constraint to plain generic ([#11741](https://github.com/mastra-ai/mastra/pull/11741))
|
|
1770
|
+
|
|
1771
|
+
This change removes the direct dependency on Zod typings in the public API by converting all `OUTPUT extends OutputSchema` generic constraints to plain `OUTPUT` generics throughout the codebase. This is preparation for moving to a standard schema approach.
|
|
1772
|
+
- All generic type parameters previously constrained to `OutputSchema` (e.g., `<OUTPUT extends OutputSchema = undefined>`) are now plain generics with defaults (e.g., `<OUTPUT = undefined>`)
|
|
1773
|
+
- Affects all public APIs including `Agent`, `MastraModelOutput`, `AgentExecutionOptions`, and stream/generate methods
|
|
1774
|
+
- `InferSchemaOutput<OUTPUT>` replaced with `OUTPUT` throughout
|
|
1775
|
+
- `PartialSchemaOutput<OUTPUT>` replaced with `Partial<OUTPUT>`
|
|
1776
|
+
- Schema fields now use `NonNullable<OutputSchema<OUTPUT>>` instead of `OUTPUT` directly
|
|
1777
|
+
- Added `FullOutput<OUTPUT>` type representing complete output with all fields
|
|
1778
|
+
- Added `AgentExecutionOptionsBase<OUTPUT>` type
|
|
1779
|
+
- `getFullOutput()` method now returns `Promise<FullOutput<OUTPUT>>`
|
|
1780
|
+
- `Agent` class now generic: `Agent<TAgentId, TTools, TOutput>`
|
|
1781
|
+
- `agent.generate()` and `agent.stream()` methods have updated signatures
|
|
1782
|
+
- `MastraModelOutput<OUTPUT>` no longer requires `OutputSchema` constraint
|
|
1783
|
+
- Network route and streaming APIs updated to use plain OUTPUT generic
|
|
1784
|
+
|
|
1785
|
+
**Before:**
|
|
1786
|
+
|
|
1787
|
+
```typescript
|
|
1788
|
+
const output = await agent.generate<z.ZodType>({
|
|
1789
|
+
messages: [...],
|
|
1790
|
+
structuredOutput: { schema: mySchema }
|
|
1791
|
+
});
|
|
1792
|
+
|
|
1793
|
+
**After:**
|
|
1794
|
+
const output = await agent.generate<z.infer<typeof mySchema>>({
|
|
1795
|
+
messages: [...],
|
|
1796
|
+
structuredOutput: { schema: mySchema }
|
|
1797
|
+
});
|
|
1798
|
+
// Or rely on type inference:
|
|
1799
|
+
const output = await agent.generate({
|
|
1800
|
+
messages: [...],
|
|
1801
|
+
structuredOutput: { schema: mySchema }
|
|
1802
|
+
});
|
|
1803
|
+
|
|
1804
|
+
```
|
|
1805
|
+
|
|
1806
|
+
### Patch Changes
|
|
1807
|
+
|
|
1808
|
+
- Improved TypeScript type inference for workflow steps. ([#11953](https://github.com/mastra-ai/mastra/pull/11953))
|
|
1809
|
+
|
|
1810
|
+
**What changed:**
|
|
1811
|
+
- Step input/output type mismatches are now caught at compile time when chaining steps with `.then()`
|
|
1812
|
+
- The `execute` function now properly infers types from `inputSchema`, `outputSchema`, `stateSchema`, and other schema parameters
|
|
1813
|
+
- Clearer error messages when step types don't match workflow requirements
|
|
1814
|
+
|
|
1815
|
+
**Why:**
|
|
1816
|
+
Previously, type errors in workflow step chains would only surface at runtime. Now TypeScript validates that each step's input requirements are satisfied by the previous step's output, helping you catch integration issues earlier in development.
|
|
1817
|
+
|
|
1818
|
+
- Fix custom error properties being lost through Inngest serialization ([#11962](https://github.com/mastra-ai/mastra/pull/11962))
|
|
1819
|
+
|
|
1820
|
+
Inngest's error serialization only captures standard Error properties (message, name, stack, code, cause). Custom properties like `statusCode`, `responseHeaders`, or `isRetryable` from API/AI SDK errors were being stripped during serialization. Errors are now wrapped with a cause structure that preserves custom properties through the serialization boundary.
|
|
1821
|
+
|
|
1822
|
+
- Real-time span export for Inngest workflow engine ([#11973](https://github.com/mastra-ai/mastra/pull/11973))
|
|
1823
|
+
- Spans are now exported immediately when created and ended, instead of being batched at workflow completion
|
|
1824
|
+
- Added durable span lifecycle hooks (`createStepSpan`, `endStepSpan`, `errorStepSpan`, `createChildSpan`, `endChildSpan`, `errorChildSpan`) that wrap span operations in Inngest's `step.run()` for memoization
|
|
1825
|
+
- Added `rebuildSpan()` method to reconstruct span objects from exported data after Inngest replay
|
|
1826
|
+
- Fixed nested workflow step spans missing output data
|
|
1827
|
+
- Spans correctly maintain parent-child relationships across Inngest's durable execution boundaries using `tracingIds`
|
|
1828
|
+
|
|
1829
|
+
- Fix observability tracing for Inngest workflows ([#11885](https://github.com/mastra-ai/mastra/pull/11885))
|
|
1830
|
+
- Use SpanCollector to capture span hierarchy during execution and create real spans in the memoized finalize step
|
|
1831
|
+
- Fix span timing by using step result `startedAt`/`endedAt` (memoized by Inngest) instead of replay-time timestamps
|
|
1832
|
+
- Ensures proper parent-child span relationships and accurate durations in traces
|
|
1833
|
+
- Multi-replica safe: no shared state needed across server instances
|
|
1834
|
+
|
|
1835
|
+
- Updated dependencies [[`ebae12a`](https://github.com/mastra-ai/mastra/commit/ebae12a2dd0212e75478981053b148a2c246962d), [`c61a0a5`](https://github.com/mastra-ai/mastra/commit/c61a0a5de4904c88fd8b3718bc26d1be1c2ec6e7), [`69136e7`](https://github.com/mastra-ai/mastra/commit/69136e748e32f57297728a4e0f9a75988462f1a7), [`449aed2`](https://github.com/mastra-ai/mastra/commit/449aed2ba9d507b75bf93d427646ea94f734dfd1), [`eb648a2`](https://github.com/mastra-ai/mastra/commit/eb648a2cc1728f7678768dd70cd77619b448dab9), [`0131105`](https://github.com/mastra-ai/mastra/commit/0131105532e83bdcbb73352fc7d0879eebf140dc), [`9d5059e`](https://github.com/mastra-ai/mastra/commit/9d5059eae810829935fb08e81a9bb7ecd5b144a7), [`ef756c6`](https://github.com/mastra-ai/mastra/commit/ef756c65f82d16531c43f49a27290a416611e526), [`b00ccd3`](https://github.com/mastra-ai/mastra/commit/b00ccd325ebd5d9e37e34dd0a105caae67eb568f), [`3bdfa75`](https://github.com/mastra-ai/mastra/commit/3bdfa7507a91db66f176ba8221aa28dd546e464a), [`e770de9`](https://github.com/mastra-ai/mastra/commit/e770de941a287a49b1964d44db5a5763d19890a6), [`52e2716`](https://github.com/mastra-ai/mastra/commit/52e2716b42df6eff443de72360ae83e86ec23993), [`27b4040`](https://github.com/mastra-ai/mastra/commit/27b4040bfa1a95d92546f420a02a626b1419a1d6), [`610a70b`](https://github.com/mastra-ai/mastra/commit/610a70bdad282079f0c630e0d7bb284578f20151), [`8dc7f55`](https://github.com/mastra-ai/mastra/commit/8dc7f55900395771da851dc7d78d53ae84fe34ec), [`8379099`](https://github.com/mastra-ai/mastra/commit/8379099fc467af6bef54dd7f80c9bd75bf8bbddf), [`8c0ec25`](https://github.com/mastra-ai/mastra/commit/8c0ec25646c8a7df253ed1e5ff4863a0d3f1316c), [`ff4d9a6`](https://github.com/mastra-ai/mastra/commit/ff4d9a6704fc87b31a380a76ed22736fdedbba5a), [`69821ef`](https://github.com/mastra-ai/mastra/commit/69821ef806482e2c44e2197ac0b050c3fe3a5285), [`1ed5716`](https://github.com/mastra-ai/mastra/commit/1ed5716830867b3774c4a1b43cc0d82935f32b96), [`4186bdd`](https://github.com/mastra-ai/mastra/commit/4186bdd00731305726fa06adba0b076a1d50b49f), [`7aaf973`](https://github.com/mastra-ai/mastra/commit/7aaf973f83fbbe9521f1f9e7a4fd99b8de464617)]:
|
|
1836
|
+
- @mastra/core@1.0.0-beta.22
|
|
1837
|
+
|
|
1838
|
+
## 1.0.0-beta.12
|
|
1839
|
+
|
|
1840
|
+
### Minor Changes
|
|
1841
|
+
|
|
1842
|
+
- Added `createServe` factory function to support multiple web framework adapters for Inngest workflows. ([#11667](https://github.com/mastra-ai/mastra/pull/11667))
|
|
1843
|
+
|
|
1844
|
+
Previously, the `serve` function only supported Hono. Now you can use any framework adapter provided by the Inngest package (Express, Fastify, Koa, Next.js, and more).
|
|
1845
|
+
|
|
1846
|
+
**Before (Hono only)**
|
|
1847
|
+
|
|
1848
|
+
```typescript
|
|
1849
|
+
import { serve } from '@mastra/inngest';
|
|
1850
|
+
|
|
1851
|
+
// Only worked with Hono
|
|
1852
|
+
app.all('/api/inngest', c => serve({ mastra, inngest })(c));
|
|
1853
|
+
```
|
|
1854
|
+
|
|
1855
|
+
**After (any framework)**
|
|
1856
|
+
|
|
1857
|
+
```typescript
|
|
1858
|
+
import { createServe } from '@mastra/inngest';
|
|
1859
|
+
import { serve as expressAdapter } from 'inngest/express';
|
|
1860
|
+
import { serve as fastifyAdapter } from 'inngest/fastify';
|
|
1861
|
+
|
|
1862
|
+
// Express
|
|
1863
|
+
app.use('/api/inngest', createServe(expressAdapter)({ mastra, inngest }));
|
|
1864
|
+
|
|
1865
|
+
// Fastify
|
|
1866
|
+
fastify.route({
|
|
1867
|
+
method: ['GET', 'POST', 'PUT'],
|
|
1868
|
+
url: '/api/inngest',
|
|
1869
|
+
handler: createServe(fastifyAdapter)({ mastra, inngest }),
|
|
1870
|
+
});
|
|
1871
|
+
```
|
|
1872
|
+
|
|
1873
|
+
The existing `serve` export remains available for backward compatibility with Hono.
|
|
1874
|
+
|
|
1875
|
+
Fixes #10053
|
|
1876
|
+
|
|
1877
|
+
### Patch Changes
|
|
1878
|
+
|
|
1879
|
+
- Add additional context to workflow `onFinish` and `onError` callbacks ([#11705](https://github.com/mastra-ai/mastra/pull/11705))
|
|
1880
|
+
|
|
1881
|
+
The `onFinish` and `onError` lifecycle callbacks now receive additional properties:
|
|
1882
|
+
- `runId` - The unique identifier for the workflow run
|
|
1883
|
+
- `workflowId` - The workflow's identifier
|
|
1884
|
+
- `resourceId` - Optional resource identifier (if provided when creating the run)
|
|
1885
|
+
- `getInitData()` - Function that returns the initial input data passed to the workflow
|
|
1886
|
+
- `mastra` - The Mastra instance (if workflow is registered with Mastra)
|
|
1887
|
+
- `requestContext` - Request-scoped context data
|
|
1888
|
+
- `logger` - The workflow's logger instance
|
|
1889
|
+
- `state` - The workflow's current state object
|
|
1890
|
+
|
|
1891
|
+
```typescript
|
|
1892
|
+
const workflow = createWorkflow({
|
|
1893
|
+
id: 'order-processing',
|
|
1894
|
+
inputSchema: z.object({ orderId: z.string() }),
|
|
1895
|
+
outputSchema: z.object({ status: z.string() }),
|
|
1896
|
+
options: {
|
|
1897
|
+
onFinish: async ({ runId, workflowId, getInitData, logger, state, mastra }) => {
|
|
1898
|
+
const inputData = getInitData();
|
|
1899
|
+
logger.info(`Workflow ${workflowId} run ${runId} completed`, {
|
|
1900
|
+
orderId: inputData.orderId,
|
|
1901
|
+
finalState: state,
|
|
1902
|
+
});
|
|
1903
|
+
|
|
1904
|
+
// Access other Mastra components if needed
|
|
1905
|
+
const agent = mastra?.getAgent('notification-agent');
|
|
1906
|
+
},
|
|
1907
|
+
onError: async ({ runId, workflowId, error, logger, requestContext }) => {
|
|
1908
|
+
logger.error(`Workflow ${workflowId} run ${runId} failed: ${error?.message}`);
|
|
1909
|
+
// Access request context for additional debugging
|
|
1910
|
+
const userId = requestContext.get('userId');
|
|
1911
|
+
},
|
|
1912
|
+
},
|
|
1913
|
+
});
|
|
1914
|
+
```
|
|
1915
|
+
|
|
1916
|
+
- Updated dependencies [[`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c)]:
|
|
1917
|
+
- @mastra/core@1.0.0-beta.21
|
|
1918
|
+
|
|
1919
|
+
## 1.0.0-beta.11
|
|
1920
|
+
|
|
1921
|
+
### Patch Changes
|
|
1922
|
+
|
|
1923
|
+
- Add support for `retries` and `scorers` parameters across all `createStep` overloads.
|
|
1924
|
+
([#11495](https://github.com/mastra-ai/mastra/pull/11495))
|
|
1925
|
+
|
|
1926
|
+
The `createStep` function now includes support for the `retries` and `scorers` fields across all step creation patterns, enabling step-level retry configuration and AI evaluation support for regular steps, agent-based steps, and tool-based steps.
|
|
1927
|
+
|
|
1928
|
+
```typescript
|
|
1929
|
+
import { init } from '@mastra/inngest';
|
|
1930
|
+
import { z } from 'zod';
|
|
1931
|
+
|
|
1932
|
+
const { createStep } = init(inngest);
|
|
1933
|
+
|
|
1934
|
+
// 1. Regular step with retries
|
|
1935
|
+
const regularStep = createStep({
|
|
1936
|
+
id: 'api-call',
|
|
1937
|
+
inputSchema: z.object({ url: z.string() }),
|
|
1938
|
+
outputSchema: z.object({ data: z.any() }),
|
|
1939
|
+
retries: 3, // ← Will retry up to 3 times on failure
|
|
1940
|
+
execute: async ({ inputData }) => {
|
|
1941
|
+
const response = await fetch(inputData.url);
|
|
1942
|
+
return { data: await response.json() };
|
|
1943
|
+
},
|
|
1944
|
+
});
|
|
1945
|
+
|
|
1946
|
+
// 2. Agent step with retries and scorers
|
|
1947
|
+
const agentStep = createStep(myAgent, {
|
|
1948
|
+
retries: 3,
|
|
1949
|
+
scorers: [{ id: 'accuracy-scorer', scorer: myAccuracyScorer }],
|
|
1950
|
+
});
|
|
1951
|
+
|
|
1952
|
+
// 3. Tool step with retries and scorers
|
|
1953
|
+
const toolStep = createStep(myTool, {
|
|
1954
|
+
retries: 2,
|
|
1955
|
+
scorers: [{ id: 'quality-scorer', scorer: myQualityScorer }],
|
|
1956
|
+
});
|
|
1957
|
+
```
|
|
1958
|
+
|
|
1959
|
+
This change ensures API consistency across all `createStep` overloads. All step types now support retry and evaluation configurations.
|
|
1960
|
+
|
|
1961
|
+
This is a non-breaking change - steps without these parameters continue to work exactly as before.
|
|
1962
|
+
|
|
1963
|
+
Fixes #9351
|
|
1964
|
+
|
|
1965
|
+
- Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
|
|
1966
|
+
|
|
1967
|
+
```diff
|
|
1968
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
1969
|
+
- const stream = await run.streamVNext({ inputData: { ... } });
|
|
1970
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
1971
|
+
```
|
|
1972
|
+
|
|
1973
|
+
- Unified `getWorkflowRunById` and `getWorkflowRunExecutionResult` into a single API that returns `WorkflowState` with both metadata and execution state. ([#11429](https://github.com/mastra-ai/mastra/pull/11429))
|
|
1974
|
+
|
|
1975
|
+
**What changed:**
|
|
1976
|
+
- `getWorkflowRunById` now returns a unified `WorkflowState` object containing metadata (runId, workflowName, resourceId, createdAt, updatedAt) along with processed execution state (status, result, error, payload, steps)
|
|
1977
|
+
- Added optional `fields` parameter to request only specific fields for better performance
|
|
1978
|
+
- Added optional `withNestedWorkflows` parameter to control nested workflow step inclusion
|
|
1979
|
+
- Removed `getWorkflowRunExecutionResult` - use `getWorkflowRunById` instead (breaking change)
|
|
1980
|
+
- Removed `/execution-result` API endpoints from server (breaking change)
|
|
1981
|
+
- Removed `runExecutionResult()` method from client SDK (breaking change)
|
|
1982
|
+
- Removed `GetWorkflowRunExecutionResultResponse` type from client SDK (breaking change)
|
|
1983
|
+
|
|
1984
|
+
**Before:**
|
|
1985
|
+
|
|
1986
|
+
```typescript
|
|
1987
|
+
// Had to call two different methods for different data
|
|
1988
|
+
const run = await workflow.getWorkflowRunById(runId); // Returns raw WorkflowRun with snapshot
|
|
1989
|
+
const result = await workflow.getWorkflowRunExecutionResult(runId); // Returns processed execution state
|
|
1990
|
+
```
|
|
1991
|
+
|
|
1992
|
+
**After:**
|
|
1993
|
+
|
|
1994
|
+
```typescript
|
|
1995
|
+
// Single method returns everything
|
|
1996
|
+
const run = await workflow.getWorkflowRunById(runId);
|
|
1997
|
+
// Returns: { runId, workflowName, resourceId, createdAt, updatedAt, status, result, error, payload, steps }
|
|
1998
|
+
|
|
1999
|
+
// Request only specific fields for better performance (avoids expensive step fetching)
|
|
2000
|
+
const status = await workflow.getWorkflowRunById(runId, { fields: ['status'] });
|
|
2001
|
+
|
|
2002
|
+
// Skip nested workflow steps for faster response
|
|
2003
|
+
const run = await workflow.getWorkflowRunById(runId, { withNestedWorkflows: false });
|
|
2004
|
+
```
|
|
2005
|
+
|
|
2006
|
+
**Why:** The previous API required calling two separate methods to get complete workflow run information. This unification simplifies the API surface and gives users control over performance - fetching all steps (especially nested workflows) can be expensive, so the `fields` and `withNestedWorkflows` options let users request only what they need.
|
|
2007
|
+
|
|
2008
|
+
- Add cron scheduling support to Inngest workflows. Workflows can now be automatically triggered on a schedule by adding a `cron` property along with optional `inputData` and `initialState`: ([#11518](https://github.com/mastra-ai/mastra/pull/11518))
|
|
2009
|
+
|
|
2010
|
+
```typescript
|
|
2011
|
+
const workflow = createWorkflow({
|
|
2012
|
+
id: 'scheduled-workflow',
|
|
2013
|
+
inputSchema: z.object({ value: z.string() }),
|
|
2014
|
+
outputSchema: z.object({ result: z.string() }),
|
|
2015
|
+
steps: [step1],
|
|
2016
|
+
cron: '0 0 * * *', // Run daily at midnight
|
|
2017
|
+
inputData: { value: 'scheduled-run' }, // Optional inputData for the scheduled workflow run
|
|
2018
|
+
initialState: { count: 0 }, // Optional initialState for the scheduled workflow run
|
|
2019
|
+
});
|
|
2020
|
+
```
|
|
2021
|
+
|
|
2022
|
+
- Updated dependencies [[`d2d3e22`](https://github.com/mastra-ai/mastra/commit/d2d3e22a419ee243f8812a84e3453dd44365ecb0), [`bc72b52`](https://github.com/mastra-ai/mastra/commit/bc72b529ee4478fe89ecd85a8be47ce0127b82a0), [`05b8bee`](https://github.com/mastra-ai/mastra/commit/05b8bee9e50e6c2a4a2bf210eca25ee212ca24fa), [`c042bd0`](https://github.com/mastra-ai/mastra/commit/c042bd0b743e0e86199d0cb83344ca7690e34a9c), [`940a2b2`](https://github.com/mastra-ai/mastra/commit/940a2b27480626ed7e74f55806dcd2181c1dd0c2), [`e0941c3`](https://github.com/mastra-ai/mastra/commit/e0941c3d7fc75695d5d258e7008fd5d6e650800c), [`0c0580a`](https://github.com/mastra-ai/mastra/commit/0c0580a42f697cd2a7d5973f25bfe7da9055038a), [`28f5f89`](https://github.com/mastra-ai/mastra/commit/28f5f89705f2409921e3c45178796c0e0d0bbb64), [`e601b27`](https://github.com/mastra-ai/mastra/commit/e601b272c70f3a5ecca610373aa6223012704892), [`3d3366f`](https://github.com/mastra-ai/mastra/commit/3d3366f31683e7137d126a3a57174a222c5801fb), [`5a4953f`](https://github.com/mastra-ai/mastra/commit/5a4953f7d25bb15ca31ed16038092a39cb3f98b3), [`eb9e522`](https://github.com/mastra-ai/mastra/commit/eb9e522ce3070a405e5b949b7bf5609ca51d7fe2), [`20e6f19`](https://github.com/mastra-ai/mastra/commit/20e6f1971d51d3ff6dd7accad8aaaae826d540ed), [`4f0b3c6`](https://github.com/mastra-ai/mastra/commit/4f0b3c66f196c06448487f680ccbb614d281e2f7), [`74c4f22`](https://github.com/mastra-ai/mastra/commit/74c4f22ed4c71e72598eacc346ba95cdbc00294f), [`81b6a8f`](https://github.com/mastra-ai/mastra/commit/81b6a8ff79f49a7549d15d66624ac1a0b8f5f971), [`e4d366a`](https://github.com/mastra-ai/mastra/commit/e4d366aeb500371dd4210d6aa8361a4c21d87034), [`a4f010b`](https://github.com/mastra-ai/mastra/commit/a4f010b22e4355a5fdee70a1fe0f6e4a692cc29e), [`73b0bb3`](https://github.com/mastra-ai/mastra/commit/73b0bb394dba7c9482eb467a97ab283dbc0ef4db), [`5627a8c`](https://github.com/mastra-ai/mastra/commit/5627a8c6dc11fe3711b3fa7a6ffd6eb34100a306), [`3ff45d1`](https://github.com/mastra-ai/mastra/commit/3ff45d10e0c80c5335a957ab563da72feb623520), [`251df45`](https://github.com/mastra-ai/mastra/commit/251df4531407dfa46d805feb40ff3fb49769f455), [`f894d14`](https://github.com/mastra-ai/mastra/commit/f894d148946629af7b1f452d65a9cf864cec3765), [`c2b9547`](https://github.com/mastra-ai/mastra/commit/c2b9547bf435f56339f23625a743b2147ab1c7a6), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`58e3931`](https://github.com/mastra-ai/mastra/commit/58e3931af9baa5921688566210f00fb0c10479fa), [`08bb631`](https://github.com/mastra-ai/mastra/commit/08bb631ae2b14684b2678e3549d0b399a6f0561e), [`4fba91b`](https://github.com/mastra-ai/mastra/commit/4fba91bec7c95911dc28e369437596b152b04cd0), [`12b0cc4`](https://github.com/mastra-ai/mastra/commit/12b0cc4077d886b1a552637dedb70a7ade93528c)]:
|
|
2023
|
+
- @mastra/core@1.0.0-beta.20
|
|
2024
|
+
|
|
2025
|
+
## 1.0.0-beta.10
|
|
2026
|
+
|
|
2027
|
+
### Minor Changes
|
|
2028
|
+
|
|
2029
|
+
- Unified observability schema with entity-based span identification ([#11132](https://github.com/mastra-ai/mastra/pull/11132))
|
|
2030
|
+
|
|
2031
|
+
## What changed
|
|
2032
|
+
|
|
2033
|
+
Spans now use a unified identification model with `entityId`, `entityType`, and `entityName` instead of separate `agentId`, `toolId`, `workflowId` fields.
|
|
2034
|
+
|
|
2035
|
+
**Before:**
|
|
2036
|
+
|
|
2037
|
+
```typescript
|
|
2038
|
+
// Old span structure
|
|
2039
|
+
span.agentId; // 'my-agent'
|
|
2040
|
+
span.toolId; // undefined
|
|
2041
|
+
span.workflowId; // undefined
|
|
2042
|
+
```
|
|
2043
|
+
|
|
2044
|
+
**After:**
|
|
2045
|
+
|
|
2046
|
+
```typescript
|
|
2047
|
+
// New span structure
|
|
2048
|
+
span.entityType; // EntityType.AGENT
|
|
2049
|
+
span.entityId; // 'my-agent'
|
|
2050
|
+
span.entityName; // 'My Agent'
|
|
2051
|
+
```
|
|
2052
|
+
|
|
2053
|
+
## New `listTraces()` API
|
|
2054
|
+
|
|
2055
|
+
Query traces with filtering, pagination, and sorting:
|
|
2056
|
+
|
|
2057
|
+
```typescript
|
|
2058
|
+
const { spans, pagination } = await storage.listTraces({
|
|
2059
|
+
filters: {
|
|
2060
|
+
entityType: EntityType.AGENT,
|
|
2061
|
+
entityId: 'my-agent',
|
|
2062
|
+
userId: 'user-123',
|
|
2063
|
+
environment: 'production',
|
|
2064
|
+
status: TraceStatus.SUCCESS,
|
|
2065
|
+
startedAt: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
|
|
2066
|
+
},
|
|
2067
|
+
pagination: { page: 0, perPage: 50 },
|
|
2068
|
+
orderBy: { field: 'startedAt', direction: 'DESC' },
|
|
2069
|
+
});
|
|
2070
|
+
```
|
|
2071
|
+
|
|
2072
|
+
**Available filters:** date ranges (`startedAt`, `endedAt`), entity (`entityType`, `entityId`, `entityName`), identity (`userId`, `organizationId`), correlation IDs (`runId`, `sessionId`, `threadId`), deployment (`environment`, `source`, `serviceName`), `tags`, `metadata`, and `status`.
|
|
2073
|
+
|
|
2074
|
+
## New retrieval methods
|
|
2075
|
+
- `getSpan({ traceId, spanId })` - Get a single span
|
|
2076
|
+
- `getRootSpan({ traceId })` - Get the root span of a trace
|
|
2077
|
+
- `getTrace({ traceId })` - Get all spans for a trace
|
|
2078
|
+
|
|
2079
|
+
## Backward compatibility
|
|
2080
|
+
|
|
2081
|
+
The legacy `getTraces()` method continues to work. When you pass `name: "agent run: my-agent"`, it automatically transforms to `entityId: "my-agent", entityType: AGENT`.
|
|
2082
|
+
|
|
2083
|
+
## Migration
|
|
2084
|
+
|
|
2085
|
+
**Automatic:** SQL-based stores (PostgreSQL, LibSQL, MSSQL) automatically add new columns to existing `spans` tables on initialization. Existing data is preserved with new columns set to `NULL`.
|
|
2086
|
+
|
|
2087
|
+
**No action required:** Your existing code continues to work. Adopt the new fields and `listTraces()` API at your convenience.
|
|
2088
|
+
|
|
2089
|
+
### Patch Changes
|
|
2090
|
+
|
|
2091
|
+
- Refactor storage architecture to use domain-specific stores via `getStore()` pattern ([#11361](https://github.com/mastra-ai/mastra/pull/11361))
|
|
2092
|
+
|
|
2093
|
+
### Summary
|
|
2094
|
+
|
|
2095
|
+
This release introduces a new storage architecture that replaces passthrough methods on `MastraStorage` with domain-specific storage interfaces accessed via `getStore()`. This change reduces code duplication across storage adapters and provides a cleaner, more modular API.
|
|
2096
|
+
|
|
2097
|
+
### Migration Guide
|
|
2098
|
+
|
|
2099
|
+
All direct method calls on storage instances should be updated to use `getStore()`:
|
|
2100
|
+
|
|
2101
|
+
```typescript
|
|
2102
|
+
// Before
|
|
2103
|
+
const thread = await storage.getThreadById({ threadId });
|
|
2104
|
+
await storage.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
2105
|
+
await storage.createSpan(span);
|
|
2106
|
+
|
|
2107
|
+
// After
|
|
2108
|
+
const memory = await storage.getStore('memory');
|
|
2109
|
+
const thread = await memory?.getThreadById({ threadId });
|
|
2110
|
+
|
|
2111
|
+
const workflows = await storage.getStore('workflows');
|
|
2112
|
+
await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
2113
|
+
|
|
2114
|
+
const observability = await storage.getStore('observability');
|
|
2115
|
+
await observability?.createSpan(span);
|
|
2116
|
+
```
|
|
2117
|
+
|
|
2118
|
+
### Available Domains
|
|
2119
|
+
- **`memory`**: Thread and message operations (`getThreadById`, `saveThread`, `saveMessages`, etc.)
|
|
2120
|
+
- **`workflows`**: Workflow state persistence (`persistWorkflowSnapshot`, `loadWorkflowSnapshot`, `getWorkflowRunById`, etc.)
|
|
2121
|
+
- **`scores`**: Evaluation scores (`saveScore`, `listScoresByScorerId`, etc.)
|
|
2122
|
+
- **`observability`**: Tracing and spans (`createSpan`, `updateSpan`, `getTrace`, etc.)
|
|
2123
|
+
- **`agents`**: Stored agent configurations (`createAgent`, `getAgentById`, `listAgents`, etc.)
|
|
2124
|
+
|
|
2125
|
+
### Breaking Changes
|
|
2126
|
+
- Passthrough methods have been removed from `MastraStorage` base class
|
|
2127
|
+
- All storage adapters now require accessing domains via `getStore()`
|
|
2128
|
+
- The `stores` property on storage instances is now the canonical way to access domain storage
|
|
2129
|
+
|
|
2130
|
+
### Internal Changes
|
|
2131
|
+
- Each storage adapter now initializes domain-specific stores in its constructor
|
|
2132
|
+
- Domain stores share database connections and handle their own table initialization
|
|
2133
|
+
|
|
2134
|
+
- Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
|
|
2135
|
+
|
|
2136
|
+
- Add `perStep` option to workflow run methods, allowing a workflow to run just a step instead of all the workflow steps ([#11276](https://github.com/mastra-ai/mastra/pull/11276))
|
|
2137
|
+
|
|
2138
|
+
- Updated dependencies [[`33a4d2e`](https://github.com/mastra-ai/mastra/commit/33a4d2e4ed8af51f69256232f00c34d6b6b51d48), [`4aaa844`](https://github.com/mastra-ai/mastra/commit/4aaa844a4f19d054490f43638a990cc57bda8d2f), [`4a1a6cb`](https://github.com/mastra-ai/mastra/commit/4a1a6cb3facad54b2bb6780b00ce91d6de1edc08), [`31d13d5`](https://github.com/mastra-ai/mastra/commit/31d13d5fdc2e2380e2e3ee3ec9fb29d2a00f265d), [`4c62166`](https://github.com/mastra-ai/mastra/commit/4c621669f4a29b1f443eca3ba70b814afa286266), [`7bcbf10`](https://github.com/mastra-ai/mastra/commit/7bcbf10133516e03df964b941f9a34e9e4ab4177), [`4353600`](https://github.com/mastra-ai/mastra/commit/43536005a65988a8eede236f69122e7f5a284ba2), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`053e979`](https://github.com/mastra-ai/mastra/commit/053e9793b28e970086b0507f7f3b76ea32c1e838), [`e26dc9c`](https://github.com/mastra-ai/mastra/commit/e26dc9c3ccfec54ae3dc3e2b2589f741f9ae60a6), [`55edf73`](https://github.com/mastra-ai/mastra/commit/55edf7302149d6c964fbb7908b43babfc2b52145), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`dee388d`](https://github.com/mastra-ai/mastra/commit/dee388dde02f2e63c53385ae69252a47ab6825cc), [`3f3fc30`](https://github.com/mastra-ai/mastra/commit/3f3fc3096f24c4a26cffeecfe73085928f72aa63), [`d90ea65`](https://github.com/mastra-ai/mastra/commit/d90ea6536f7aa51c6545a4e9215b55858e98e16d), [`d171e55`](https://github.com/mastra-ai/mastra/commit/d171e559ead9f52ec728d424844c8f7b164c4510), [`10c2735`](https://github.com/mastra-ai/mastra/commit/10c27355edfdad1ee2b826b897df74125eb81fb8), [`1924cf0`](https://github.com/mastra-ai/mastra/commit/1924cf06816e5e4d4d5333065ec0f4bb02a97799), [`b339816`](https://github.com/mastra-ai/mastra/commit/b339816df0984d0243d944ac2655d6ba5f809cde)]:
|
|
2139
|
+
- @mastra/core@1.0.0-beta.15
|
|
2140
|
+
|
|
2141
|
+
## 1.0.0-beta.9
|
|
2142
|
+
|
|
2143
|
+
### Patch Changes
|
|
2144
|
+
|
|
2145
|
+
- feat: Add field filtering and nested workflow control to workflow execution result endpoint ([#11246](https://github.com/mastra-ai/mastra/pull/11246))
|
|
2146
|
+
|
|
2147
|
+
Adds two optional query parameters to `/api/workflows/:workflowId/runs/:runId/execution-result` endpoint:
|
|
2148
|
+
- `fields`: Request only specific fields (e.g., `status`, `result`, `error`)
|
|
2149
|
+
- `withNestedWorkflows`: Control whether to fetch nested workflow data
|
|
2150
|
+
|
|
2151
|
+
This significantly reduces response payload size and improves response times for large workflows.
|
|
2152
|
+
|
|
2153
|
+
## Server Endpoint Usage
|
|
2154
|
+
|
|
2155
|
+
```http
|
|
2156
|
+
# Get only status (minimal payload - fastest)
|
|
2157
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status
|
|
2158
|
+
|
|
2159
|
+
# Get status and result
|
|
2160
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status,result
|
|
2161
|
+
|
|
2162
|
+
# Get all fields but without nested workflow data (faster)
|
|
2163
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?withNestedWorkflows=false
|
|
2164
|
+
|
|
2165
|
+
# Get only specific fields without nested workflow data
|
|
2166
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result?fields=status,steps&withNestedWorkflows=false
|
|
2167
|
+
|
|
2168
|
+
# Get full data (default behavior)
|
|
2169
|
+
GET /api/workflows/:workflowId/runs/:runId/execution-result
|
|
2170
|
+
```
|
|
2171
|
+
|
|
2172
|
+
## Client SDK Usage
|
|
2173
|
+
|
|
2174
|
+
```typescript
|
|
2175
|
+
import { MastraClient } from '@mastra/client-js';
|
|
2176
|
+
|
|
2177
|
+
const client = new MastraClient({ baseUrl: 'http://localhost:4111' });
|
|
2178
|
+
const workflow = client.getWorkflow('myWorkflow');
|
|
2179
|
+
|
|
2180
|
+
// Get only status (minimal payload - fastest)
|
|
2181
|
+
const statusOnly = await workflow.runExecutionResult(runId, {
|
|
2182
|
+
fields: ['status'],
|
|
2183
|
+
});
|
|
2184
|
+
console.log(statusOnly.status); // 'success' | 'failed' | 'running' | etc.
|
|
2185
|
+
|
|
2186
|
+
// Get status and result
|
|
2187
|
+
const statusAndResult = await workflow.runExecutionResult(runId, {
|
|
2188
|
+
fields: ['status', 'result'],
|
|
2189
|
+
});
|
|
2190
|
+
|
|
2191
|
+
// Get all fields but without nested workflow data (faster)
|
|
2192
|
+
const resultWithoutNested = await workflow.runExecutionResult(runId, {
|
|
2193
|
+
withNestedWorkflows: false,
|
|
2194
|
+
});
|
|
2195
|
+
|
|
2196
|
+
// Get specific fields without nested workflow data
|
|
2197
|
+
const optimized = await workflow.runExecutionResult(runId, {
|
|
2198
|
+
fields: ['status', 'steps'],
|
|
2199
|
+
withNestedWorkflows: false,
|
|
2200
|
+
});
|
|
2201
|
+
|
|
2202
|
+
// Get full execution result (default behavior)
|
|
2203
|
+
const fullResult = await workflow.runExecutionResult(runId);
|
|
2204
|
+
```
|
|
2205
|
+
|
|
2206
|
+
## Core API Changes
|
|
2207
|
+
|
|
2208
|
+
The `Workflow.getWorkflowRunExecutionResult` method now accepts an options object:
|
|
2209
|
+
|
|
2210
|
+
```typescript
|
|
2211
|
+
await workflow.getWorkflowRunExecutionResult(runId, {
|
|
2212
|
+
withNestedWorkflows: false, // default: true, set to false to skip nested workflow data
|
|
2213
|
+
fields: ['status', 'result'], // optional field filtering
|
|
2214
|
+
});
|
|
2215
|
+
```
|
|
2216
|
+
|
|
2217
|
+
## Inngest Compatibility
|
|
2218
|
+
|
|
2219
|
+
The `@mastra/inngest` package has been updated to use the new options object API. This is a non-breaking internal change - no action required from inngest workflow users.
|
|
2220
|
+
|
|
2221
|
+
## Performance Impact
|
|
2222
|
+
|
|
2223
|
+
For workflows with large step outputs:
|
|
2224
|
+
- Requesting only `status`: ~99% reduction in payload size
|
|
2225
|
+
- Requesting `status,result,error`: ~95% reduction in payload size
|
|
2226
|
+
- Using `withNestedWorkflows=false`: Avoids expensive nested workflow data fetching
|
|
2227
|
+
- Combining both: Maximum performance optimization
|
|
2228
|
+
|
|
2229
|
+
- Updated dependencies [[`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7)]:
|
|
2230
|
+
- @mastra/core@1.0.0-beta.14
|
|
2231
|
+
|
|
2232
|
+
## 1.0.0-beta.8
|
|
2233
|
+
|
|
2234
|
+
### Patch Changes
|
|
2235
|
+
|
|
2236
|
+
- Add `onFinish` and `onError` lifecycle callbacks to workflow options ([#11200](https://github.com/mastra-ai/mastra/pull/11200))
|
|
2237
|
+
|
|
2238
|
+
Workflows now support lifecycle callbacks for server-side handling of workflow completion and errors:
|
|
2239
|
+
- `onFinish`: Called when workflow completes with any status (success, failed, suspended, tripwire)
|
|
2240
|
+
- `onError`: Called only when workflow fails (failed or tripwire status)
|
|
2241
|
+
|
|
2242
|
+
```typescript
|
|
2243
|
+
const workflow = createWorkflow({
|
|
2244
|
+
id: 'my-workflow',
|
|
2245
|
+
inputSchema: z.object({ ... }),
|
|
2246
|
+
outputSchema: z.object({ ... }),
|
|
2247
|
+
options: {
|
|
2248
|
+
onFinish: async (result) => {
|
|
2249
|
+
// Handle any workflow completion
|
|
2250
|
+
await updateJobStatus(result.status);
|
|
2251
|
+
},
|
|
2252
|
+
onError: async (errorInfo) => {
|
|
2253
|
+
// Handle workflow failures
|
|
2254
|
+
await logError(errorInfo.error);
|
|
2255
|
+
},
|
|
2256
|
+
},
|
|
2257
|
+
});
|
|
2258
|
+
```
|
|
2259
|
+
|
|
2260
|
+
Both callbacks support sync and async functions. Callback errors are caught and logged, not propagated to the workflow result.
|
|
2261
|
+
|
|
2262
|
+
- Updated dependencies [[`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497)]:
|
|
2263
|
+
- @mastra/core@1.0.0-beta.13
|
|
2264
|
+
|
|
2265
|
+
## 1.0.0-beta.7
|
|
2266
|
+
|
|
2267
|
+
### Patch Changes
|
|
2268
|
+
|
|
2269
|
+
- Preserve error details when thrown from workflow steps ([#10992](https://github.com/mastra-ai/mastra/pull/10992))
|
|
2270
|
+
- Errors thrown in workflow steps now preserve full error details including `cause` chain and custom properties
|
|
2271
|
+
- Added `SerializedError` type with proper cause chain support
|
|
2272
|
+
- Added `SerializedStepResult` and `SerializedStepFailure` types for handling errors loaded from storage
|
|
2273
|
+
- Enhanced `addErrorToJSON` to recursively serialize error cause chains with max depth protection
|
|
2274
|
+
- Added `hydrateSerializedStepErrors` to convert serialized errors back to Error instances
|
|
2275
|
+
- Fixed Inngest workflow error handling to extract original error from `NonRetriableError.cause`
|
|
2276
|
+
|
|
2277
|
+
- Refactor internal event system from Emitter to PubSub abstraction for workflow event handling. This change replaces the EventEmitter-based event system with a pluggable PubSub interface, enabling support for distributed workflow execution backends like Inngest. Adds `close()` method to PubSub implementations for proper cleanup. ([#11052](https://github.com/mastra-ai/mastra/pull/11052))
|
|
2278
|
+
|
|
2279
|
+
- Add `startAsync()` method and fix Inngest duplicate workflow execution bug ([#11093](https://github.com/mastra-ai/mastra/pull/11093))
|
|
2280
|
+
|
|
2281
|
+
**New Feature: `startAsync()` for fire-and-forget workflow execution**
|
|
2282
|
+
- Add `Run.startAsync()` to base workflow class - starts workflow in background and returns `{ runId }` immediately
|
|
2283
|
+
- Add `EventedRun.startAsync()` - publishes workflow start event without subscribing for completion
|
|
2284
|
+
- Add `InngestRun.startAsync()` - sends Inngest event without polling for result
|
|
2285
|
+
|
|
2286
|
+
**Bug Fix: Prevent duplicate Inngest workflow executions**
|
|
2287
|
+
- Fix `getRuns()` to properly handle rate limits (429), empty responses, and JSON parse errors with retry logic and exponential backoff
|
|
2288
|
+
- Fix `getRunOutput()` to throw `NonRetriableError` when polling fails, preventing Inngest from retrying the parent function and re-triggering the workflow
|
|
2289
|
+
- Add timeout to `getRunOutput()` polling (default 5 minutes) with `NonRetriableError` on timeout
|
|
2290
|
+
|
|
2291
|
+
This fixes a production issue where polling failures after successful workflow completion caused Inngest to retry the parent function, which fired a new workflow event and resulted in duplicate executions (e.g., duplicate Slack messages).
|
|
2292
|
+
|
|
2293
|
+
- Preserve error details when thrown from workflow steps ([#10992](https://github.com/mastra-ai/mastra/pull/10992))
|
|
2294
|
+
|
|
2295
|
+
Workflow errors now retain custom properties like `statusCode`, `responseHeaders`, and `cause` chains. This enables error-specific recovery logic in your applications.
|
|
2296
|
+
|
|
2297
|
+
**Before:**
|
|
2298
|
+
|
|
2299
|
+
```typescript
|
|
2300
|
+
const result = await workflow.execute({ input });
|
|
2301
|
+
if (result.status === 'failed') {
|
|
2302
|
+
// Custom error properties were lost
|
|
2303
|
+
console.log(result.error); // "Step execution failed" (just a string)
|
|
2304
|
+
}
|
|
2305
|
+
```
|
|
2306
|
+
|
|
2307
|
+
**After:**
|
|
2308
|
+
|
|
2309
|
+
```typescript
|
|
2310
|
+
const result = await workflow.execute({ input });
|
|
2311
|
+
if (result.status === 'failed') {
|
|
2312
|
+
// Custom properties are preserved
|
|
2313
|
+
console.log(result.error.message); // "Step execution failed"
|
|
2314
|
+
console.log(result.error.statusCode); // 429
|
|
2315
|
+
console.log(result.error.cause?.name); // "RateLimitError"
|
|
2316
|
+
}
|
|
2317
|
+
```
|
|
2318
|
+
|
|
2319
|
+
**Type change:** `WorkflowState.error` and `WorkflowRunState.error` types changed from `string | Error` to `SerializedError`.
|
|
2320
|
+
|
|
2321
|
+
Other changes:
|
|
2322
|
+
- Added `UpdateWorkflowStateOptions` type for workflow state updates
|
|
2323
|
+
|
|
2324
|
+
- Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176)]:
|
|
2325
|
+
- @mastra/core@1.0.0-beta.12
|
|
2326
|
+
|
|
2327
|
+
## 1.0.0-beta.6
|
|
2328
|
+
|
|
2329
|
+
### Patch Changes
|
|
2330
|
+
|
|
2331
|
+
- Support new Workflow tripwire run status. Tripwires that are thrown from within a workflow will now bubble up and return a graceful state with information about tripwires. ([#10947](https://github.com/mastra-ai/mastra/pull/10947))
|
|
2332
|
+
|
|
2333
|
+
When a workflow contains an agent step that triggers a tripwire, the workflow returns with `status: 'tripwire'` and includes tripwire details:
|
|
2334
|
+
|
|
2335
|
+
```typescript showLineNumbers copy
|
|
2336
|
+
const run = await workflow.createRun();
|
|
2337
|
+
const result = await run.start({ inputData: { message: 'Hello' } });
|
|
2338
|
+
|
|
2339
|
+
if (result.status === 'tripwire') {
|
|
2340
|
+
console.log('Workflow terminated by tripwire:', result.tripwire?.reason);
|
|
2341
|
+
console.log('Processor ID:', result.tripwire?.processorId);
|
|
2342
|
+
console.log('Retry requested:', result.tripwire?.retry);
|
|
2343
|
+
}
|
|
2344
|
+
```
|
|
2345
|
+
|
|
2346
|
+
Adds new UI state for tripwire in agent chat and workflow UI.
|
|
2347
|
+
|
|
2348
|
+
This is distinct from `status: 'failed'` which indicates an unexpected error. A tripwire status means a processor intentionally stopped execution (e.g., for content moderation).
|
|
2349
|
+
|
|
2350
|
+
- Updated dependencies [[`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
|
|
2351
|
+
- @mastra/core@1.0.0-beta.11
|
|
2352
|
+
|
|
2353
|
+
## 1.0.0-beta.5
|
|
2354
|
+
|
|
2355
|
+
### Patch Changes
|
|
2356
|
+
|
|
2357
|
+
- Internal code refactoring ([#10830](https://github.com/mastra-ai/mastra/pull/10830))
|
|
2358
|
+
|
|
2359
|
+
- Add support for typed structured output in agent workflow steps ([#11014](https://github.com/mastra-ai/mastra/pull/11014))
|
|
2360
|
+
|
|
2361
|
+
When wrapping an agent with `createStep()` and providing a `structuredOutput.schema`, the step's `outputSchema` is now correctly inferred from the provided schema instead of defaulting to `{ text: string }`.
|
|
2362
|
+
|
|
2363
|
+
This enables type-safe chaining of agent steps with structured output to subsequent steps:
|
|
2364
|
+
|
|
2365
|
+
```typescript
|
|
2366
|
+
const articleSchema = z.object({
|
|
2367
|
+
title: z.string(),
|
|
2368
|
+
summary: z.string(),
|
|
2369
|
+
tags: z.array(z.string()),
|
|
2370
|
+
});
|
|
2371
|
+
|
|
2372
|
+
// Agent step with structured output - outputSchema is now articleSchema
|
|
2373
|
+
const agentStep = createStep(agent, {
|
|
2374
|
+
structuredOutput: { schema: articleSchema },
|
|
2375
|
+
});
|
|
2376
|
+
|
|
2377
|
+
// Next step can receive the structured output directly
|
|
2378
|
+
const processStep = createStep({
|
|
2379
|
+
id: 'process',
|
|
2380
|
+
inputSchema: articleSchema, // Matches agent's outputSchema
|
|
2381
|
+
outputSchema: z.object({ tagCount: z.number() }),
|
|
2382
|
+
execute: async ({ inputData }) => ({
|
|
2383
|
+
tagCount: inputData.tags.length, // Fully typed!
|
|
2384
|
+
}),
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
workflow.then(agentStep).then(processStep).commit();
|
|
2388
|
+
```
|
|
2389
|
+
|
|
2390
|
+
When `structuredOutput` is not provided, the agent step continues to use the default `{ text: string }` output schema.
|
|
2391
|
+
|
|
2392
|
+
- Updated dependencies [[`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393)]:
|
|
2393
|
+
- @mastra/core@1.0.0-beta.10
|
|
2394
|
+
|
|
2395
|
+
## 1.0.0-beta.4
|
|
2396
|
+
|
|
2397
|
+
### Patch Changes
|
|
2398
|
+
|
|
2399
|
+
- Include `.input` in workflow results for both engines and remove the option to omit them from Inngest workflows. ([#10688](https://github.com/mastra-ai/mastra/pull/10688))
|
|
2400
|
+
|
|
2401
|
+
- Using `createStep` with a nested Inngest workflow now returns the workflow itself, maintaining the correct `.invoke()` execution flow Inngest workflows need to operate. ([#10689](https://github.com/mastra-ai/mastra/pull/10689))
|
|
2402
|
+
|
|
2403
|
+
- Refactored default engine to fit durable execution better, and the inngest engine to match. ([#10627](https://github.com/mastra-ai/mastra/pull/10627))
|
|
2404
|
+
Also fixes requestContext persistence by relying on inngest step memoization.
|
|
2405
|
+
|
|
2406
|
+
Unifies some of the stepResults and error formats in both engines.
|
|
2407
|
+
|
|
2408
|
+
- Miscellanous bug fixes and test fixes: ([#10515](https://github.com/mastra-ai/mastra/pull/10515))
|
|
2409
|
+
- cloneWorkflow passing options correctly
|
|
2410
|
+
- start event in streamLegacy
|
|
2411
|
+
- Many test cases with outdated or incorrect expected values
|
|
2412
|
+
|
|
2413
|
+
- Emit workflow-step-result and workflow-step-finish when step fails in inngest workflow ([#10555](https://github.com/mastra-ai/mastra/pull/10555))
|
|
2414
|
+
|
|
2415
|
+
- Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749)]:
|
|
2416
|
+
- @mastra/core@1.0.0-beta.6
|
|
2417
|
+
|
|
2418
|
+
## 1.0.0-beta.3
|
|
2419
|
+
|
|
2420
|
+
### Patch Changes
|
|
2421
|
+
|
|
2422
|
+
- - Fix tool suspension throwing error when `outputSchema` is passed to tool during creation ([#10444](https://github.com/mastra-ai/mastra/pull/10444))
|
|
2423
|
+
- Pass `suspendSchema` and `resumeSchema` from tool into step created when creating step from tool
|
|
2424
|
+
- Updated dependencies [[`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc)]:
|
|
2425
|
+
- @mastra/core@1.0.0-beta.5
|
|
2426
|
+
|
|
2427
|
+
## 1.0.0-beta.2
|
|
2428
|
+
|
|
2429
|
+
### Patch Changes
|
|
2430
|
+
|
|
2431
|
+
- dependencies updates: ([#10120](https://github.com/mastra-ai/mastra/pull/10120))
|
|
2432
|
+
- Updated dependency [`@inngest/realtime@^0.4.5` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.5) (from `^0.4.4`, in `dependencies`)
|
|
2433
|
+
|
|
2434
|
+
- fix resumeStream type to use resumeSchema ([#10202](https://github.com/mastra-ai/mastra/pull/10202))
|
|
2435
|
+
|
|
2436
|
+
- Add restart method to workflow run that allows restarting an active workflow run ([#9750](https://github.com/mastra-ai/mastra/pull/9750))
|
|
2437
|
+
Add status filter to `listWorkflowRuns`
|
|
2438
|
+
Add automatic restart to restart active workflow runs when server starts
|
|
2439
|
+
|
|
2440
|
+
- Validate schemas by default in workflow. Previously, if you want schemas in the workflow to be validated, you'd have to add `validateInputs` option, now, this will be done by default but can be disabled. ([#10186](https://github.com/mastra-ai/mastra/pull/10186))
|
|
2441
|
+
|
|
2442
|
+
For workflows whose schemas and step schemas you don't want validated, do this
|
|
2443
|
+
|
|
2444
|
+
```diff
|
|
2445
|
+
createWorkflow({
|
|
2446
|
+
+ options: {
|
|
2447
|
+
+ validateInputs: false
|
|
2448
|
+
+ }
|
|
2449
|
+
})
|
|
2450
|
+
```
|
|
2451
|
+
|
|
2452
|
+
- Fix inngest parallel workflow ([#10169](https://github.com/mastra-ai/mastra/pull/10169))
|
|
2453
|
+
Fix tool as step in inngest
|
|
2454
|
+
Fix inngest nested workflow
|
|
2455
|
+
|
|
2456
|
+
- Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow ([#9994](https://github.com/mastra-ai/mastra/pull/9994))
|
|
2457
|
+
|
|
2458
|
+
Example code:
|
|
2459
|
+
|
|
2460
|
+
```ts
|
|
2461
|
+
const result = await run.timeTravel({
|
|
2462
|
+
step: 'step2',
|
|
2463
|
+
inputData: {
|
|
2464
|
+
value: 'input',
|
|
2465
|
+
},
|
|
2466
|
+
});
|
|
2467
|
+
```
|
|
2468
|
+
|
|
2469
|
+
- Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
|
|
2470
|
+
- @mastra/core@1.0.0-beta.3
|
|
2471
|
+
|
|
2472
|
+
## 1.0.0-beta.1
|
|
2473
|
+
|
|
2474
|
+
### Patch Changes
|
|
2475
|
+
|
|
2476
|
+
- Make suspendPayload optional when calling `suspend()` ([#9926](https://github.com/mastra-ai/mastra/pull/9926))
|
|
2477
|
+
Save value returned as `suspendOutput` if user returns data still after calling `suspend()`
|
|
2478
|
+
Automatically call `commit()` on uncommitted workflows when registering in Mastra instance
|
|
2479
|
+
Show actual suspendPayload on Studio in suspend/resume flow
|
|
2480
|
+
- Updated dependencies [[`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46)]:
|
|
2481
|
+
- @mastra/core@1.0.0-beta.2
|
|
2482
|
+
|
|
2483
|
+
## 1.0.0-beta.0
|
|
2484
|
+
|
|
2485
|
+
### Major Changes
|
|
2486
|
+
|
|
2487
|
+
- Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
|
|
2488
|
+
|
|
2489
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
2490
|
+
|
|
2491
|
+
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
2492
|
+
|
|
2493
|
+
- **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
|
|
2494
|
+
|
|
2495
|
+
This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
|
|
2496
|
+
|
|
2497
|
+
### What's Changed
|
|
2498
|
+
- Removed legacy v1 watch event handlers and types
|
|
2499
|
+
- Renamed `watch-v2` to `watch` throughout the codebase
|
|
2500
|
+
- Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
|
|
2501
|
+
- Removed `/watch` HTTP endpoints from server and deployer
|
|
2502
|
+
- Removed `WorkflowWatchResult` and v1 `WatchEvent` types
|
|
2503
|
+
|
|
2504
|
+
- ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
|
|
2505
|
+
import { Mastra } from '@mastra/core';
|
|
2506
|
+
import { Observability } from '@mastra/observability'; // Explicit import
|
|
2507
|
+
|
|
2508
|
+
const mastra = new Mastra({
|
|
2509
|
+
...other_config,
|
|
2510
|
+
observability: new Observability({
|
|
2511
|
+
default: { enabled: true }
|
|
2512
|
+
}) // Instance
|
|
2513
|
+
});
|
|
2514
|
+
```
|
|
2515
|
+
|
|
2516
|
+
Instead of:
|
|
2517
|
+
|
|
2518
|
+
```
|
|
2519
|
+
import { Mastra } from '@mastra/core';
|
|
2520
|
+
import '@mastra/observability/init'; // Explicit import
|
|
2521
|
+
|
|
2522
|
+
const mastra = new Mastra({
|
|
2523
|
+
...other_config,
|
|
2524
|
+
observability: {
|
|
2525
|
+
default: { enabled: true }
|
|
2526
|
+
}
|
|
2527
|
+
});
|
|
2528
|
+
```
|
|
2529
|
+
|
|
2530
|
+
Also renamed a bunch of:
|
|
2531
|
+
- `Tracing` things to `Observability` things.
|
|
2532
|
+
- `AI-` things to just things.
|
|
2533
|
+
|
|
2534
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
2535
|
+
|
|
2536
|
+
- Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
2537
|
+
|
|
2538
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
2539
|
+
|
|
2540
|
+
- moved ai-tracing code into @mastra/observability ([#9661](https://github.com/mastra-ai/mastra/pull/9661))
|
|
2541
|
+
|
|
2542
|
+
- Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
|
|
2543
|
+
|
|
2544
|
+
### Minor Changes
|
|
2545
|
+
|
|
2546
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
2547
|
+
|
|
2548
|
+
- Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
2549
|
+
|
|
2550
|
+
- Update peer dependencies to match core package version bump (0.22.3) ([#9153](https://github.com/mastra-ai/mastra/pull/9153))
|
|
2551
|
+
|
|
2552
|
+
### Patch Changes
|
|
2553
|
+
|
|
2554
|
+
- Deprecate `runCount` parameter in favor of `retryCount` for better naming clarity. The name `runCount` was misleading as it doesn't represent the total number of times a step has run, but rather the number of retry attempts made for a step. ([#9153](https://github.com/mastra-ai/mastra/pull/9153))
|
|
2555
|
+
|
|
2556
|
+
`runCount` is available in `execute()` functions and methods that interact with the step execution. This also applies to condition functions and loop condition functions that use this parameter. If your code uses `runCount`, change the name to `retryCount`.
|
|
2557
|
+
|
|
2558
|
+
Here's an example migration:
|
|
2559
|
+
|
|
2560
|
+
```diff
|
|
2561
|
+
const myStep = createStep({
|
|
2562
|
+
// Rest of step...
|
|
2563
|
+
- execute: async ({ runCount, ...params }) => {
|
|
2564
|
+
+ execute: async ({ retryCount, ...params }) => {
|
|
2565
|
+
// ... rest of your logic
|
|
2566
|
+
}
|
|
2567
|
+
});
|
|
2568
|
+
```
|
|
2569
|
+
|
|
2570
|
+
- Fix Inngest workflow tests by adding missing imports and updating middleware path. ([#9259](https://github.com/mastra-ai/mastra/pull/9259))
|
|
2571
|
+
|
|
2572
|
+
- Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
|
|
2573
|
+
|
|
2574
|
+
Consolidated the 3 different execution contexts to one
|
|
2575
|
+
|
|
2576
|
+
```typescript
|
|
2577
|
+
// before depending on the context the tool was executed in
|
|
2578
|
+
tool.execute({ context: data });
|
|
2579
|
+
tool.execute({ context: { inputData: data } });
|
|
2580
|
+
tool.execute(data);
|
|
2581
|
+
|
|
2582
|
+
// now, for all contexts
|
|
2583
|
+
tool.execute(data, context);
|
|
2584
|
+
```
|
|
2585
|
+
|
|
2586
|
+
**Before:**
|
|
2587
|
+
|
|
2588
|
+
```typescript
|
|
2589
|
+
inputSchema: z.object({ something: z.string() }),
|
|
2590
|
+
execute: async ({ context, tracingContext, runId, ... }) => {
|
|
2591
|
+
return doSomething(context.string);
|
|
2592
|
+
}
|
|
2593
|
+
```
|
|
2594
|
+
|
|
2595
|
+
**After:**
|
|
2596
|
+
|
|
2597
|
+
```typescript
|
|
2598
|
+
inputSchema: z.object({ something: z.string() }),
|
|
2599
|
+
execute: async (inputData, context) => {
|
|
2600
|
+
const { agent, mcp, workflow, ...sharedContext } = context
|
|
2601
|
+
|
|
2602
|
+
// context that only an agent would get like toolCallId, messages, suspend, resume, etc
|
|
2603
|
+
if (agent) {
|
|
2604
|
+
doSomething(inputData.something, agent)
|
|
2605
|
+
// context that only a workflow would get like runId, state, suspend, resume, etc
|
|
2606
|
+
} else if (workflow) {
|
|
2607
|
+
doSomething(inputData.something, workflow)
|
|
2608
|
+
// context that only a workflow would get like "extra", "elicitation"
|
|
2609
|
+
} else if (mcp) {
|
|
2610
|
+
doSomething(inputData.something, mcp)
|
|
2611
|
+
} else {
|
|
2612
|
+
// Running a tool in no execution context
|
|
2613
|
+
return doSomething(inputData.something);
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
```
|
|
2617
|
+
|
|
2618
|
+
- Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
2619
|
+
|
|
2620
|
+
- Added support for .streamVNext and .stream that uses it in the inngest execution engine ([#9434](https://github.com/mastra-ai/mastra/pull/9434))
|
|
2621
|
+
|
|
2622
|
+
- Prevent changing workflow status to suspended when some parallel steps are still running ([#9431](https://github.com/mastra-ai/mastra/pull/9431))
|
|
2623
|
+
|
|
2624
|
+
- Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
|
|
2625
|
+
|
|
2626
|
+
- Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
|
|
2627
|
+
- @mastra/core@1.0.0-beta.0
|
|
2628
|
+
|
|
2629
|
+
## 0.17.0
|
|
2630
|
+
|
|
2631
|
+
### Minor Changes
|
|
2632
|
+
|
|
2633
|
+
- Consolidate streamVNext logic into stream, move old stream function into streamLegacy ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
|
|
2634
|
+
|
|
2635
|
+
- Update peer dependencies to match core package version bump (0.22.0) ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
|
|
2636
|
+
|
|
2637
|
+
- Update peer dependencies to match core package version bump (0.21.2) ([#8941](https://github.com/mastra-ai/mastra/pull/8941))
|
|
2638
|
+
|
|
2639
|
+
### Patch Changes
|
|
2640
|
+
|
|
2641
|
+
- Updated `watch` and `watchAsync` methods to use proper function overloads instead of generic conditional types, ensuring compatibility with the base Run class signatures. ([#9048](https://github.com/mastra-ai/mastra/pull/9048))
|
|
2642
|
+
|
|
2643
|
+
- Support for custom resume labels mapping to step to be resumed ([#8941](https://github.com/mastra-ai/mastra/pull/8941))
|
|
2644
|
+
|
|
2645
|
+
- Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
|
|
2646
|
+
|
|
2647
|
+
- Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
|
|
2648
|
+
- @mastra/core@0.22.0
|
|
2649
|
+
|
|
2650
|
+
## 0.17.0-alpha.1
|
|
2651
|
+
|
|
2652
|
+
### Minor Changes
|
|
2653
|
+
|
|
2654
|
+
- Consolidate streamVNext logic into stream, move old stream function into streamLegacy ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
|
|
2655
|
+
|
|
2656
|
+
- Update peer dependencies to match core package version bump (0.22.0) ([#9092](https://github.com/mastra-ai/mastra/pull/9092))
|
|
2657
|
+
|
|
2658
|
+
### Patch Changes
|
|
2659
|
+
|
|
2660
|
+
- Updated `watch` and `watchAsync` methods to use proper function overloads instead of generic conditional types, ensuring compatibility with the base Run class signatures. ([#9048](https://github.com/mastra-ai/mastra/pull/9048))
|
|
2661
|
+
|
|
2662
|
+
- Update peerdeps to 0.23.0-0 ([#9043](https://github.com/mastra-ai/mastra/pull/9043))
|
|
2663
|
+
|
|
2664
|
+
- Updated dependencies [[`efb5ed9`](https://github.com/mastra-ai/mastra/commit/efb5ed946ae7f410bc68c9430beb4b010afd25ec), [`8ea07b4`](https://github.com/mastra-ai/mastra/commit/8ea07b4bdc73e4218437dbb6dcb0f4b23e745a44), [`ba201b8`](https://github.com/mastra-ai/mastra/commit/ba201b8f8feac4c72350f2dbd52c13c7297ba7b0), [`4fc4136`](https://github.com/mastra-ai/mastra/commit/4fc413652866a8d2240694fddb2562e9edbb70df), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`d10baf5`](https://github.com/mastra-ai/mastra/commit/d10baf5a3c924f2a6654e23a3e318ed03f189b76), [`038c55a`](https://github.com/mastra-ai/mastra/commit/038c55a7090fc1b1513a966386d3072617f836ac), [`182f045`](https://github.com/mastra-ai/mastra/commit/182f0458f25bd70aa774e64fd923c8a483eddbf1), [`7620d2b`](https://github.com/mastra-ai/mastra/commit/7620d2bddeb4fae4c3c0a0b4e672969795fca11a), [`b2365f0`](https://github.com/mastra-ai/mastra/commit/b2365f038dd4c5f06400428b224af963f399ad50), [`9029ba3`](https://github.com/mastra-ai/mastra/commit/9029ba34459c8859fed4c6b73efd8e2d0021e7ba), [`426cc56`](https://github.com/mastra-ai/mastra/commit/426cc561c85ae76a112ded2385532a91f9f9f074), [`00931fb`](https://github.com/mastra-ai/mastra/commit/00931fb1a21aa42c4fbc20c2c40dd62466b8fc8f), [`e473bfe`](https://github.com/mastra-ai/mastra/commit/e473bfe416c0b8e876973c2b6a6f13c394b7a93f), [`b78e04d`](https://github.com/mastra-ai/mastra/commit/b78e04d935a16ecb1e59c5c96e564903527edddd), [`648e2ca`](https://github.com/mastra-ai/mastra/commit/648e2ca42da54838c6ccbdaadc6fadd808fa6b86), [`b65c5e0`](https://github.com/mastra-ai/mastra/commit/b65c5e0fe6f3c390a9a8bbcf69304d972c3a4afb)]:
|
|
2665
|
+
- @mastra/core@0.22.0-alpha.1
|
|
2666
|
+
|
|
2667
|
+
## 0.17.0-alpha.0
|
|
2668
|
+
|
|
2669
|
+
### Minor Changes
|
|
2670
|
+
|
|
2671
|
+
- Update peer dependencies to match core package version bump (0.21.2) ([#8941](https://github.com/mastra-ai/mastra/pull/8941))
|
|
2672
|
+
|
|
2673
|
+
### Patch Changes
|
|
2674
|
+
|
|
2675
|
+
- Support for custom resume labels mapping to step to be resumed ([#8941](https://github.com/mastra-ai/mastra/pull/8941))
|
|
2676
|
+
|
|
2677
|
+
- Updated dependencies [[`c67ca32`](https://github.com/mastra-ai/mastra/commit/c67ca32e3c2cf69bfc146580770c720220ca44ac), [`dbc9e12`](https://github.com/mastra-ai/mastra/commit/dbc9e1216ba575ba59ead4afb727a01215f7de4f), [`99e41b9`](https://github.com/mastra-ai/mastra/commit/99e41b94957cdd25137d3ac12e94e8b21aa01b68), [`c28833c`](https://github.com/mastra-ai/mastra/commit/c28833c5b6d8e10eeffd7f7d39129d53b8bca240), [`f053e89`](https://github.com/mastra-ai/mastra/commit/f053e89160dbd0bd3333fc3492f68231b5c7c349), [`9a1a485`](https://github.com/mastra-ai/mastra/commit/9a1a4859b855e37239f652bf14b1ecd1029b8c4e), [`9257233`](https://github.com/mastra-ai/mastra/commit/9257233c4ffce09b2bedc2a9adbd70d7a83fa8e2), [`0f1a4c9`](https://github.com/mastra-ai/mastra/commit/0f1a4c984fb4b104b2f0b63ba18c9fa77f567700), [`2db6160`](https://github.com/mastra-ai/mastra/commit/2db6160e2022ff8827c15d30157e684683b934b5), [`8aeea37`](https://github.com/mastra-ai/mastra/commit/8aeea37efdde347c635a67fed56794943b7f74ec), [`02fe153`](https://github.com/mastra-ai/mastra/commit/02fe15351d6021d214da48ec982a0e9e4150bcee), [`74567b3`](https://github.com/mastra-ai/mastra/commit/74567b3d237ae3915cd0bca3cf55fa0a64e4e4a4), [`15a1733`](https://github.com/mastra-ai/mastra/commit/15a1733074cee8bd37370e1af34cd818e89fa7ac), [`fc2a774`](https://github.com/mastra-ai/mastra/commit/fc2a77468981aaddc3e77f83f0c4ad4a4af140da), [`4e08933`](https://github.com/mastra-ai/mastra/commit/4e08933625464dfde178347af5b6278fcf34188e)]:
|
|
2678
|
+
- @mastra/core@0.21.2-alpha.0
|
|
2679
|
+
|
|
2680
|
+
## 0.16.1
|
|
2681
|
+
|
|
2682
|
+
### Patch Changes
|
|
2683
|
+
|
|
2684
|
+
- dependencies updates: ([#8647](https://github.com/mastra-ai/mastra/pull/8647))
|
|
2685
|
+
- Updated dependency [`@inngest/realtime@^0.4.4` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.4) (from `^0.3.1`, in `dependencies`)
|
|
2686
|
+
|
|
2687
|
+
- dependencies updates: ([#8651](https://github.com/mastra-ai/mastra/pull/8651))
|
|
2688
|
+
- Updated dependency [`inngest@^3.44.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.44.2) (from `^3.40.3`, in `dependencies`)
|
|
2689
|
+
|
|
2690
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
2691
|
+
|
|
2692
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
2693
|
+
|
|
2694
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
2695
|
+
|
|
2696
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
2697
|
+
|
|
2698
|
+
- Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
|
|
2699
|
+
- @mastra/core@0.21.0
|
|
2700
|
+
|
|
2701
|
+
## 0.16.1-alpha.1
|
|
2702
|
+
|
|
2703
|
+
### Patch Changes
|
|
2704
|
+
|
|
2705
|
+
- dependencies updates: ([#8651](https://github.com/mastra-ai/mastra/pull/8651))
|
|
2706
|
+
- Updated dependency [`inngest@^3.44.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.44.2) (from `^3.40.3`, in `dependencies`)
|
|
2707
|
+
- Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61)]:
|
|
2708
|
+
- @mastra/core@0.21.0-alpha.1
|
|
2709
|
+
|
|
2710
|
+
## 0.16.1-alpha.0
|
|
2711
|
+
|
|
2712
|
+
### Patch Changes
|
|
2713
|
+
|
|
2714
|
+
- dependencies updates: ([#8647](https://github.com/mastra-ai/mastra/pull/8647))
|
|
2715
|
+
- Updated dependency [`@inngest/realtime@^0.4.4` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.4) (from `^0.3.1`, in `dependencies`)
|
|
2716
|
+
|
|
2717
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
2718
|
+
|
|
2719
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
2720
|
+
|
|
2721
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
2722
|
+
|
|
2723
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
2724
|
+
|
|
2725
|
+
- Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
|
|
2726
|
+
- @mastra/core@0.21.0-alpha.0
|
|
2727
|
+
|
|
2728
|
+
## 0.16.0
|
|
2729
|
+
|
|
2730
|
+
### Minor Changes
|
|
2731
|
+
|
|
2732
|
+
- Update peer dependencies to match core package version bump (0.20.2) ([#8617](https://github.com/mastra-ai/mastra/pull/8617))
|
|
2733
|
+
|
|
2734
|
+
### Patch Changes
|
|
2735
|
+
|
|
2736
|
+
- Add shouldPersistSnapshot to control when to persist run snapshot ([#8617](https://github.com/mastra-ai/mastra/pull/8617))
|
|
2737
|
+
|
|
2738
|
+
- Updated dependencies [[`07eaf25`](https://github.com/mastra-ai/mastra/commit/07eaf25aada9e42235dbf905854de53da4d8121b), [`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372), [`68b1111`](https://github.com/mastra-ai/mastra/commit/68b11118a1303f93e9c0c157850c0751309304c5)]:
|
|
2739
|
+
- @mastra/core@0.20.2
|
|
2740
|
+
|
|
2741
|
+
## 0.16.0-alpha.0
|
|
2742
|
+
|
|
2743
|
+
### Minor Changes
|
|
2744
|
+
|
|
2745
|
+
- Update peer dependencies to match core package version bump (0.20.2) ([#8617](https://github.com/mastra-ai/mastra/pull/8617))
|
|
2746
|
+
|
|
2747
|
+
### Patch Changes
|
|
2748
|
+
|
|
2749
|
+
- Add shouldPersistSnapshot to control when to persist run snapshot ([#8617](https://github.com/mastra-ai/mastra/pull/8617))
|
|
2750
|
+
|
|
2751
|
+
- Updated dependencies [[`0d71771`](https://github.com/mastra-ai/mastra/commit/0d71771f5711164c79f8e80919bc84d6bffeb6bc), [`0d6e55e`](https://github.com/mastra-ai/mastra/commit/0d6e55ecc5a2e689cd4fc9c86525e0eb54d82372)]:
|
|
2752
|
+
- @mastra/core@0.20.2-alpha.0
|
|
2753
|
+
|
|
2754
|
+
## 0.15.1
|
|
2755
|
+
|
|
2756
|
+
### Patch Changes
|
|
2757
|
+
|
|
2758
|
+
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
2759
|
+
|
|
2760
|
+
- Handle workflow run failures (fix #8130) ([#8370](https://github.com/mastra-ai/mastra/pull/8370))
|
|
2761
|
+
|
|
2762
|
+
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0), [`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
2763
|
+
- @mastra/core@0.20.1
|
|
2764
|
+
|
|
2765
|
+
## 0.15.1-alpha.1
|
|
2766
|
+
|
|
2767
|
+
### Patch Changes
|
|
2768
|
+
|
|
2769
|
+
- Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
|
|
2770
|
+
|
|
2771
|
+
- Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
|
|
2772
|
+
- @mastra/core@0.20.1-alpha.1
|
|
2773
|
+
|
|
2774
|
+
## 0.15.1-alpha.0
|
|
2775
|
+
|
|
2776
|
+
### Patch Changes
|
|
2777
|
+
|
|
2778
|
+
- Handle workflow run failures (fix #8130) ([#8370](https://github.com/mastra-ai/mastra/pull/8370))
|
|
2779
|
+
|
|
2780
|
+
- Updated dependencies [[`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0)]:
|
|
2781
|
+
- @mastra/core@0.20.1-alpha.0
|
|
2782
|
+
|
|
2783
|
+
## 0.15.0
|
|
2784
|
+
|
|
2785
|
+
### Minor Changes
|
|
2786
|
+
|
|
2787
|
+
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
2788
|
+
|
|
2789
|
+
### Patch Changes
|
|
2790
|
+
|
|
2791
|
+
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
2792
|
+
- @mastra/core@0.20.0
|
|
2793
|
+
|
|
2794
|
+
## 0.15.0-alpha.0
|
|
2795
|
+
|
|
2796
|
+
### Minor Changes
|
|
2797
|
+
|
|
2798
|
+
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
2799
|
+
|
|
2800
|
+
### Patch Changes
|
|
2801
|
+
|
|
2802
|
+
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
2803
|
+
- @mastra/core@0.20.0-alpha.0
|
|
2804
|
+
|
|
2805
|
+
## 0.14.2
|
|
2806
|
+
|
|
2807
|
+
### Patch Changes
|
|
2808
|
+
|
|
2809
|
+
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
2810
|
+
|
|
2811
|
+
- add register options to serve function ([#8139](https://github.com/mastra-ai/mastra/pull/8139))
|
|
2812
|
+
|
|
2813
|
+
- Add input data validation to workflow step execution ([#7779](https://github.com/mastra-ai/mastra/pull/7779))
|
|
2814
|
+
Add resume data validation to resume workflow method
|
|
2815
|
+
Add input data validation to start workflow method
|
|
2816
|
+
Use default value from inputSchema/resumeSchema
|
|
2817
|
+
|
|
2818
|
+
- When step is created from agent or tool, add the description and component key to show that ([#8151](https://github.com/mastra-ai/mastra/pull/8151))
|
|
2819
|
+
|
|
2820
|
+
- Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`67b0f00`](https://github.com/mastra-ai/mastra/commit/67b0f005b520335c71fb85cbaa25df4ce8484a81), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
2821
|
+
- @mastra/core@0.19.0
|
|
2822
|
+
|
|
2823
|
+
## 0.14.2-alpha.1
|
|
2824
|
+
|
|
2825
|
+
### Patch Changes
|
|
2826
|
+
|
|
2827
|
+
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
2828
|
+
|
|
2829
|
+
- Updated dependencies [[`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
2830
|
+
- @mastra/core@0.19.0-alpha.1
|
|
2831
|
+
|
|
2832
|
+
## 0.14.2-alpha.0
|
|
2833
|
+
|
|
2834
|
+
### Patch Changes
|
|
2835
|
+
|
|
2836
|
+
- add register options to serve function ([#8139](https://github.com/mastra-ai/mastra/pull/8139))
|
|
2837
|
+
|
|
2838
|
+
- Add input data validation to workflow step execution ([#7779](https://github.com/mastra-ai/mastra/pull/7779))
|
|
2839
|
+
Add resume data validation to resume workflow method
|
|
2840
|
+
Add input data validation to start workflow method
|
|
2841
|
+
Use default value from inputSchema/resumeSchema
|
|
2842
|
+
|
|
2843
|
+
- When step is created from agent or tool, add the description and component key to show that ([#8151](https://github.com/mastra-ai/mastra/pull/8151))
|
|
2844
|
+
|
|
2845
|
+
- Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5)]:
|
|
2846
|
+
- @mastra/core@0.18.1-alpha.0
|
|
2847
|
+
|
|
2848
|
+
## 0.14.1
|
|
2849
|
+
|
|
2850
|
+
### Patch Changes
|
|
2851
|
+
|
|
2852
|
+
- Fixes for `getStepResult` in workflow steps ([#8065](https://github.com/mastra-ai/mastra/pull/8065))
|
|
2853
|
+
|
|
2854
|
+
- Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
|
|
2855
|
+
|
|
2856
|
+
- Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`4b339b8`](https://github.com/mastra-ai/mastra/commit/4b339b8141c20d6a6d80583c7e8c5c05d8c19492), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad), [`c591dfc`](https://github.com/mastra-ai/mastra/commit/c591dfc1e600fae1dedffe239357d250e146378f), [`1920c5c`](https://github.com/mastra-ai/mastra/commit/1920c5c6d666f687785c73021196aa551e579e0d), [`b6a3b65`](https://github.com/mastra-ai/mastra/commit/b6a3b65d830fa0ca7754ad6481661d1f2c878f21), [`af3abb6`](https://github.com/mastra-ai/mastra/commit/af3abb6f7c7585d856e22d27f4e7d2ece2186b9a)]:
|
|
2857
|
+
- @mastra/core@0.18.0
|
|
2858
|
+
|
|
2859
|
+
## 0.14.1-alpha.0
|
|
2860
|
+
|
|
2861
|
+
### Patch Changes
|
|
2862
|
+
|
|
2863
|
+
- Fixes for `getStepResult` in workflow steps ([#8065](https://github.com/mastra-ai/mastra/pull/8065))
|
|
2864
|
+
|
|
2865
|
+
- Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
|
|
2866
|
+
|
|
2867
|
+
- Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
|
|
2868
|
+
- @mastra/core@0.18.0-alpha.2
|
|
2869
|
+
|
|
2870
|
+
## 0.14.0
|
|
2871
|
+
|
|
2872
|
+
### Minor Changes
|
|
2873
|
+
|
|
2874
|
+
- Fully deprecated createRun (now throws an error) in favour of createRunAsync ([#7897](https://github.com/mastra-ai/mastra/pull/7897))
|
|
2875
|
+
|
|
2876
|
+
### Patch Changes
|
|
2877
|
+
|
|
2878
|
+
- dependencies updates: ([#7865](https://github.com/mastra-ai/mastra/pull/7865))
|
|
2879
|
+
- Updated dependency [`inngest@^3.40.3` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.3) (from `^3.40.2`, in `dependencies`)
|
|
2880
|
+
|
|
2881
|
+
- Added the ability to hide internal ai tracing spans (enabled by default) ([#7764](https://github.com/mastra-ai/mastra/pull/7764))
|
|
2882
|
+
|
|
2883
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
2884
|
+
|
|
2885
|
+
- refactored handling of internal ai spans to be more intelligent ([#7876](https://github.com/mastra-ai/mastra/pull/7876))
|
|
2886
|
+
|
|
2887
|
+
- fix(workflows/inngest): handle Date serialization in sleepUntil execution ([#7863](https://github.com/mastra-ai/mastra/pull/7863))
|
|
2888
|
+
|
|
2889
|
+
- add resourceId support to inngest workflow execution engine for workflow snapshot persistance ([#7792](https://github.com/mastra-ai/mastra/pull/7792))
|
|
2890
|
+
|
|
2891
|
+
- feat(inngest): add support for user-supplied functions in `serve` / `inngestServe` ([#7900](https://github.com/mastra-ai/mastra/pull/7900))
|
|
2892
|
+
|
|
2893
|
+
- Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
2894
|
+
- @mastra/core@0.17.0
|
|
2895
|
+
|
|
2896
|
+
## 0.14.0-alpha.2
|
|
2897
|
+
|
|
2898
|
+
### Minor Changes
|
|
2899
|
+
|
|
2900
|
+
- Fully deprecated createRun (now throws an error) in favour of createRunAsync ([#7897](https://github.com/mastra-ai/mastra/pull/7897))
|
|
2901
|
+
|
|
2902
|
+
### Patch Changes
|
|
2903
|
+
|
|
2904
|
+
- refactored handling of internal ai spans to be more intelligent ([#7876](https://github.com/mastra-ai/mastra/pull/7876))
|
|
2905
|
+
|
|
2906
|
+
- feat(inngest): add support for user-supplied functions in `serve` / `inngestServe` ([#7900](https://github.com/mastra-ai/mastra/pull/7900))
|
|
2907
|
+
|
|
2908
|
+
- Updated dependencies [[`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b)]:
|
|
2909
|
+
- @mastra/core@0.17.0-alpha.4
|
|
2910
|
+
|
|
2911
|
+
## 0.13.3-alpha.1
|
|
2912
|
+
|
|
2913
|
+
### Patch Changes
|
|
2914
|
+
|
|
2915
|
+
- dependencies updates: ([#7865](https://github.com/mastra-ai/mastra/pull/7865))
|
|
2916
|
+
- Updated dependency [`inngest@^3.40.3` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.3) (from `^3.40.2`, in `dependencies`)
|
|
2917
|
+
|
|
2918
|
+
- Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
|
|
2919
|
+
|
|
2920
|
+
- fix(workflows/inngest): handle Date serialization in sleepUntil execution ([#7863](https://github.com/mastra-ai/mastra/pull/7863))
|
|
2921
|
+
|
|
2922
|
+
- add resourceId support to inngest workflow execution engine for workflow snapshot persistance ([#7792](https://github.com/mastra-ai/mastra/pull/7792))
|
|
2923
|
+
|
|
2924
|
+
- Updated dependencies [[`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
2925
|
+
- @mastra/core@0.17.0-alpha.3
|
|
2926
|
+
|
|
2927
|
+
## 0.13.3-alpha.0
|
|
2928
|
+
|
|
2929
|
+
### Patch Changes
|
|
2930
|
+
|
|
2931
|
+
- Added the ability to hide internal ai tracing spans (enabled by default) ([#7764](https://github.com/mastra-ai/mastra/pull/7764))
|
|
2932
|
+
|
|
2933
|
+
- Updated dependencies [[`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11)]:
|
|
2934
|
+
- @mastra/core@0.16.4-alpha.0
|
|
2935
|
+
|
|
2936
|
+
## 0.13.2
|
|
2937
|
+
|
|
2938
|
+
### Patch Changes
|
|
2939
|
+
|
|
2940
|
+
- various improvements to input & output data on ai spans ([#7636](https://github.com/mastra-ai/mastra/pull/7636))
|
|
2941
|
+
|
|
2942
|
+
- Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
|
|
2943
|
+
- @mastra/core@0.16.3
|
|
2944
|
+
|
|
2945
|
+
## 0.13.2-alpha.0
|
|
2946
|
+
|
|
2947
|
+
### Patch Changes
|
|
2948
|
+
|
|
2949
|
+
- various improvements to input & output data on ai spans ([#7636](https://github.com/mastra-ai/mastra/pull/7636))
|
|
2950
|
+
|
|
2951
|
+
- Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
|
|
2952
|
+
- @mastra/core@0.16.3-alpha.0
|
|
2953
|
+
|
|
2954
|
+
## 0.13.1
|
|
2955
|
+
|
|
2956
|
+
### Patch Changes
|
|
2957
|
+
|
|
2958
|
+
- dependencies updates: ([#7612](https://github.com/mastra-ai/mastra/pull/7612))
|
|
2959
|
+
- Updated dependency [`inngest@^3.40.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.2) (from `^3.40.1`, in `dependencies`)
|
|
2960
|
+
- Updated dependencies [[`47b6dc9`](https://github.com/mastra-ai/mastra/commit/47b6dc94f4976d4f3d3882e8f19eb365bbc5976c), [`827d876`](https://github.com/mastra-ai/mastra/commit/827d8766f36a900afcaf64a040f7ba76249009b3), [`0662d02`](https://github.com/mastra-ai/mastra/commit/0662d02ef16916e67531890639fcd72c69cfb6e2), [`565d65f`](https://github.com/mastra-ai/mastra/commit/565d65fc16314a99f081975ec92f2636dff0c86d), [`6189844`](https://github.com/mastra-ai/mastra/commit/61898448e65bda02bb814fb15801a89dc6476938), [`4da3d68`](https://github.com/mastra-ai/mastra/commit/4da3d68a778e5c4d5a17351ef223289fe2f45a45), [`fd9bbfe`](https://github.com/mastra-ai/mastra/commit/fd9bbfee22484f8493582325f53e8171bf8e682b), [`7eaf1d1`](https://github.com/mastra-ai/mastra/commit/7eaf1d1cec7e828d7a98efc2a748ac395bbdba3b), [`6f046b5`](https://github.com/mastra-ai/mastra/commit/6f046b5ccc5c8721302a9a61d5d16c12374cc8d7), [`d7a8f59`](https://github.com/mastra-ai/mastra/commit/d7a8f59154b0621aec4f41a6b2ea2b3882f03cb7), [`0b0bbb2`](https://github.com/mastra-ai/mastra/commit/0b0bbb24f4198ead69792e92b68a350f52b45cf3), [`d951f41`](https://github.com/mastra-ai/mastra/commit/d951f41771e4e5da8da4b9f870949f9509e38756), [`4dda259`](https://github.com/mastra-ai/mastra/commit/4dda2593b6343f9258671de5fb237aeba3ef6bb7), [`8049e2e`](https://github.com/mastra-ai/mastra/commit/8049e2e8cce80a00353c64894c62b695ac34e35e), [`f3427cd`](https://github.com/mastra-ai/mastra/commit/f3427cdaf9eecd63360dfc897a4acbf5f4143a4e), [`defed1c`](https://github.com/mastra-ai/mastra/commit/defed1ca8040cc8d42e645c5a50a1bc52a4918d7), [`6991ced`](https://github.com/mastra-ai/mastra/commit/6991cedcb5a44a49d9fe58ef67926e1f96ba55b1), [`9cb9c42`](https://github.com/mastra-ai/mastra/commit/9cb9c422854ee81074989dd2d8dccc0500ba8d3e), [`8334859`](https://github.com/mastra-ai/mastra/commit/83348594d4f37b311ba4a94d679c5f8721d796d4), [`05f13b8`](https://github.com/mastra-ai/mastra/commit/05f13b8fb269ccfc4de98e9db58dbe16eae55a5e)]:
|
|
2961
|
+
- @mastra/core@0.16.1
|
|
2962
|
+
|
|
2963
|
+
## 0.13.1-alpha.0
|
|
2964
|
+
|
|
2965
|
+
### Patch Changes
|
|
2966
|
+
|
|
2967
|
+
- dependencies updates: ([#7612](https://github.com/mastra-ai/mastra/pull/7612))
|
|
2968
|
+
- Updated dependency [`inngest@^3.40.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.2) (from `^3.40.1`, in `dependencies`)
|
|
2969
|
+
- Updated dependencies [[`827d876`](https://github.com/mastra-ai/mastra/commit/827d8766f36a900afcaf64a040f7ba76249009b3), [`7eaf1d1`](https://github.com/mastra-ai/mastra/commit/7eaf1d1cec7e828d7a98efc2a748ac395bbdba3b), [`f3427cd`](https://github.com/mastra-ai/mastra/commit/f3427cdaf9eecd63360dfc897a4acbf5f4143a4e), [`05f13b8`](https://github.com/mastra-ai/mastra/commit/05f13b8fb269ccfc4de98e9db58dbe16eae55a5e)]:
|
|
2970
|
+
- @mastra/core@0.16.1-alpha.2
|
|
2971
|
+
|
|
2972
|
+
## 0.13.0
|
|
2973
|
+
|
|
2974
|
+
### Minor Changes
|
|
2975
|
+
|
|
2976
|
+
- 376913a: Update peerdeps of @mastra/core
|
|
2977
|
+
|
|
2978
|
+
### Patch Changes
|
|
2979
|
+
|
|
2980
|
+
- fd83526: Stream agent events with workflow `.streamVNext()`
|
|
2981
|
+
- c9f4e4a: Pass tracing context to scorer run
|
|
2982
|
+
- Updated dependencies [8fbf79e]
|
|
2983
|
+
- Updated dependencies [fd83526]
|
|
2984
|
+
- Updated dependencies [d0b90ab]
|
|
2985
|
+
- Updated dependencies [6f5eb7a]
|
|
2986
|
+
- Updated dependencies [a01cf14]
|
|
2987
|
+
- Updated dependencies [a9e50ee]
|
|
2988
|
+
- Updated dependencies [5397eb4]
|
|
2989
|
+
- Updated dependencies [c9f4e4a]
|
|
2990
|
+
- Updated dependencies [0acbc80]
|
|
2991
|
+
- @mastra/core@0.16.0
|
|
2992
|
+
|
|
2993
|
+
## 0.13.0-alpha.1
|
|
2994
|
+
|
|
2995
|
+
### Minor Changes
|
|
2996
|
+
|
|
2997
|
+
- 376913a: Update peerdeps of @mastra/core
|
|
2998
|
+
|
|
2999
|
+
### Patch Changes
|
|
3000
|
+
|
|
3001
|
+
- Updated dependencies [8fbf79e]
|
|
3002
|
+
- @mastra/core@0.16.0-alpha.1
|
|
3003
|
+
|
|
3004
|
+
## 0.12.4-alpha.0
|
|
3005
|
+
|
|
3006
|
+
### Patch Changes
|
|
3007
|
+
|
|
3008
|
+
- fd83526: Stream agent events with workflow `.streamVNext()`
|
|
3009
|
+
- c9f4e4a: Pass tracing context to scorer run
|
|
3010
|
+
- Updated dependencies [fd83526]
|
|
3011
|
+
- Updated dependencies [d0b90ab]
|
|
3012
|
+
- Updated dependencies [6f5eb7a]
|
|
3013
|
+
- Updated dependencies [a01cf14]
|
|
3014
|
+
- Updated dependencies [a9e50ee]
|
|
3015
|
+
- Updated dependencies [5397eb4]
|
|
3016
|
+
- Updated dependencies [c9f4e4a]
|
|
3017
|
+
- Updated dependencies [0acbc80]
|
|
3018
|
+
- @mastra/core@0.16.0-alpha.0
|
|
3019
|
+
|
|
3020
|
+
## 0.12.3
|
|
3021
|
+
|
|
3022
|
+
### Patch Changes
|
|
3023
|
+
|
|
3024
|
+
- 85ef90b: Return nested workflow steps information in getWorkflowRunExecutionResult
|
|
3025
|
+
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
3026
|
+
- 4474d04: fix: do not pass tracing context to score run
|
|
3027
|
+
- e3d8fea: Support Inngest flow control features for Mastra Inngest workflows
|
|
3028
|
+
- ad78bfc: "piped tracingContext through inngest and mcp packages"
|
|
3029
|
+
- 7f3b8da: Automatically pipe writer to workflows as a tool.
|
|
3030
|
+
Also changed start, finish, step-output events to be workflow-start, workflow-finish and workflow-step-output
|
|
3031
|
+
- f210435: Inngest: move zod to peerDependencies
|
|
3032
|
+
- 5de1555: Fixed tracingContext on tool executions in AI tracing
|
|
3033
|
+
- 1ed5a3e: Support workflows for run experiments
|
|
3034
|
+
- Updated dependencies [ab48c97]
|
|
3035
|
+
- Updated dependencies [85ef90b]
|
|
3036
|
+
- Updated dependencies [aedbbfa]
|
|
3037
|
+
- Updated dependencies [ff89505]
|
|
3038
|
+
- Updated dependencies [637f323]
|
|
3039
|
+
- Updated dependencies [de3cbc6]
|
|
3040
|
+
- Updated dependencies [c19bcf7]
|
|
3041
|
+
- Updated dependencies [4474d04]
|
|
3042
|
+
- Updated dependencies [183dc95]
|
|
3043
|
+
- Updated dependencies [a1111e2]
|
|
3044
|
+
- Updated dependencies [b42a961]
|
|
3045
|
+
- Updated dependencies [61debef]
|
|
3046
|
+
- Updated dependencies [9beaeff]
|
|
3047
|
+
- Updated dependencies [29de0e1]
|
|
3048
|
+
- Updated dependencies [f643c65]
|
|
3049
|
+
- Updated dependencies [00c74e7]
|
|
3050
|
+
- Updated dependencies [fef7375]
|
|
3051
|
+
- Updated dependencies [e3d8fea]
|
|
3052
|
+
- Updated dependencies [45e4d39]
|
|
3053
|
+
- Updated dependencies [9eee594]
|
|
3054
|
+
- Updated dependencies [7149d8d]
|
|
3055
|
+
- Updated dependencies [822c2e8]
|
|
3056
|
+
- Updated dependencies [979912c]
|
|
3057
|
+
- Updated dependencies [7dcf4c0]
|
|
3058
|
+
- Updated dependencies [4106a58]
|
|
3059
|
+
- Updated dependencies [ad78bfc]
|
|
3060
|
+
- Updated dependencies [0302f50]
|
|
3061
|
+
- Updated dependencies [6ac697e]
|
|
3062
|
+
- Updated dependencies [74db265]
|
|
3063
|
+
- Updated dependencies [0ce418a]
|
|
3064
|
+
- Updated dependencies [af90672]
|
|
3065
|
+
- Updated dependencies [8387952]
|
|
3066
|
+
- Updated dependencies [7f3b8da]
|
|
3067
|
+
- Updated dependencies [905352b]
|
|
3068
|
+
- Updated dependencies [599d04c]
|
|
3069
|
+
- Updated dependencies [56041d0]
|
|
3070
|
+
- Updated dependencies [3412597]
|
|
3071
|
+
- Updated dependencies [5eca5d2]
|
|
3072
|
+
- Updated dependencies [f2cda47]
|
|
3073
|
+
- Updated dependencies [5de1555]
|
|
3074
|
+
- Updated dependencies [cfd377a]
|
|
3075
|
+
- Updated dependencies [1ed5a3e]
|
|
3076
|
+
- @mastra/core@0.15.3
|
|
3077
|
+
|
|
3078
|
+
## 0.12.3-alpha.5
|
|
3079
|
+
|
|
3080
|
+
### Patch Changes
|
|
3081
|
+
|
|
3082
|
+
- [#7397](https://github.com/mastra-ai/mastra/pull/7397) [`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5) Thanks [@YujohnNattrass](https://github.com/YujohnNattrass)! - fix: do not pass tracing context to score run
|
|
3083
|
+
|
|
3084
|
+
- Updated dependencies [[`4474d04`](https://github.com/mastra-ai/mastra/commit/4474d0489b1e152e0985c33a4f529207317d27b5), [`4106a58`](https://github.com/mastra-ai/mastra/commit/4106a58b15b4c0a060a4a9ccab52d119d00d8edb)]:
|
|
3085
|
+
- @mastra/core@0.15.3-alpha.8
|
|
3086
|
+
|
|
3087
|
+
## 0.12.3-alpha.4
|
|
3088
|
+
|
|
3089
|
+
### Patch Changes
|
|
3090
|
+
|
|
3091
|
+
- [#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.
|
|
3092
|
+
Also changed start, finish, step-output events to be workflow-start, workflow-finish and workflow-step-output
|
|
3093
|
+
- Updated dependencies [[`c19bcf7`](https://github.com/mastra-ai/mastra/commit/c19bcf7b43542b02157b5e17303e519933a153ab), [`b42a961`](https://github.com/mastra-ai/mastra/commit/b42a961a5aefd19d6e938a7705fc0ecc90e8f756), [`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e), [`0302f50`](https://github.com/mastra-ai/mastra/commit/0302f50861a53c66ff28801fc371b37c5f97e41e), [`74db265`](https://github.com/mastra-ai/mastra/commit/74db265b96aa01a72ffd91dcae0bc3b346cca0f2), [`7f3b8da`](https://github.com/mastra-ai/mastra/commit/7f3b8da6dd21c35d3672e44b4f5dd3502b8f8f92), [`905352b`](https://github.com/mastra-ai/mastra/commit/905352bcda134552400eb252bca1cb05a7975c14), [`f2cda47`](https://github.com/mastra-ai/mastra/commit/f2cda47ae911038c5d5489f54c36517d6f15bdcc), [`cfd377a`](https://github.com/mastra-ai/mastra/commit/cfd377a3a33a9c88b644f6540feed9cd9832db47)]:
|
|
3094
|
+
- @mastra/core@0.15.3-alpha.6
|
|
3095
|
+
|
|
3096
|
+
## 0.12.3-alpha.3
|
|
3097
|
+
|
|
3098
|
+
### Patch Changes
|
|
3099
|
+
|
|
3100
|
+
- [#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
|
|
3101
|
+
|
|
3102
|
+
- [#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`.
|
|
3103
|
+
|
|
3104
|
+
- Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
|
|
3105
|
+
- @mastra/core@0.15.3-alpha.5
|
|
3106
|
+
|
|
3107
|
+
## 0.12.3-alpha.2
|
|
3108
|
+
|
|
3109
|
+
### Patch Changes
|
|
3110
|
+
|
|
3111
|
+
- [#7274](https://github.com/mastra-ai/mastra/pull/7274) [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668) Thanks [@epinzur](https://github.com/epinzur)! - "piped tracingContext through inngest and mcp packages"
|
|
3112
|
+
|
|
3113
|
+
- Updated dependencies [[`ab48c97`](https://github.com/mastra-ai/mastra/commit/ab48c979098ea571faf998a55d3a00e7acd7a715), [`ff89505`](https://github.com/mastra-ai/mastra/commit/ff895057c8c7e91a5535faef46c5e5391085ddfa), [`183dc95`](https://github.com/mastra-ai/mastra/commit/183dc95596f391b977bd1a2c050b8498dac74891), [`a1111e2`](https://github.com/mastra-ai/mastra/commit/a1111e24e705488adfe5e0a6f20c53bddf26cb22), [`61debef`](https://github.com/mastra-ai/mastra/commit/61debefd80ad3a7ed5737e19df6a23d40091689a), [`9beaeff`](https://github.com/mastra-ai/mastra/commit/9beaeffa4a97b1d5fd01a7f8af8708b16067f67c), [`9eee594`](https://github.com/mastra-ai/mastra/commit/9eee594e35e0ca2a650fcc33fa82009a142b9ed0), [`979912c`](https://github.com/mastra-ai/mastra/commit/979912cfd180aad53287cda08af771df26454e2c), [`7dcf4c0`](https://github.com/mastra-ai/mastra/commit/7dcf4c04f44d9345b1f8bc5d41eae3f11ac61611), [`ad78bfc`](https://github.com/mastra-ai/mastra/commit/ad78bfc4ea6a1fff140432bf4f638e01af7af668), [`0ce418a`](https://github.com/mastra-ai/mastra/commit/0ce418a1ccaa5e125d4483a9651b635046152569), [`8387952`](https://github.com/mastra-ai/mastra/commit/838795227b4edf758c84a2adf6f7fba206c27719), [`5eca5d2`](https://github.com/mastra-ai/mastra/commit/5eca5d2655788863ea0442a46c9ef5d3c6dbe0a8)]:
|
|
3114
|
+
- @mastra/core@0.15.3-alpha.4
|
|
3115
|
+
|
|
3116
|
+
## 0.12.3-alpha.1
|
|
3117
|
+
|
|
3118
|
+
### Patch Changes
|
|
3119
|
+
|
|
3120
|
+
- [#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
|
|
3121
|
+
|
|
3122
|
+
- Updated dependencies [[`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48), [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb), [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b), [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe), [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8)]:
|
|
3123
|
+
- @mastra/core@0.15.3-alpha.3
|
|
3124
|
+
|
|
3125
|
+
## 0.12.3-alpha.0
|
|
3126
|
+
|
|
3127
|
+
### Patch Changes
|
|
3128
|
+
|
|
3129
|
+
- [#7093](https://github.com/mastra-ai/mastra/pull/7093) [`f210435`](https://github.com/mastra-ai/mastra/commit/f210435d0a2b3b946bc054f45f948027d71a8518) Thanks [@rase-](https://github.com/rase-)! - Inngest: move zod to peerDependencies
|
|
3130
|
+
|
|
3131
|
+
- [#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
|
|
3132
|
+
|
|
3133
|
+
- [#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
|
|
3134
|
+
|
|
3135
|
+
- Updated dependencies [[`00c74e7`](https://github.com/mastra-ai/mastra/commit/00c74e73b1926be0d475693bb886fb67a22ff352), [`af90672`](https://github.com/mastra-ai/mastra/commit/af906722d8da28688882193b1e531026f9e2e81e), [`56041d0`](https://github.com/mastra-ai/mastra/commit/56041d018863a3da6b98c512e47348647c075fb3), [`5de1555`](https://github.com/mastra-ai/mastra/commit/5de15554d3d6695211945a36928f6657e76cddc9), [`1ed5a3e`](https://github.com/mastra-ai/mastra/commit/1ed5a3e19330374c4347a4237cd2f4b9ffb60376)]:
|
|
3136
|
+
- @mastra/core@0.15.3-alpha.0
|
|
3137
|
+
|
|
3138
|
+
## 0.12.2
|
|
3139
|
+
|
|
3140
|
+
### Patch Changes
|
|
3141
|
+
|
|
3142
|
+
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
3143
|
+
|
|
3144
|
+
- Updated dependencies []:
|
|
3145
|
+
- @mastra/core@0.15.2
|
|
3146
|
+
|
|
3147
|
+
## 0.12.1
|
|
3148
|
+
|
|
3149
|
+
### Patch Changes
|
|
3150
|
+
|
|
3151
|
+
- [`95b2aa9`](https://github.com/mastra-ai/mastra/commit/95b2aa908230919e67efcac0d69005a2d5745298) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdeps @mastra/core
|
|
3152
|
+
|
|
3153
|
+
- Updated dependencies []:
|
|
3154
|
+
- @mastra/core@0.15.1
|
|
3155
|
+
|
|
3156
|
+
## 0.12.0
|
|
3157
|
+
|
|
3158
|
+
### Minor Changes
|
|
3159
|
+
|
|
3160
|
+
- [#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"
|
|
3161
|
+
|
|
3162
|
+
- [#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
|
|
3163
|
+
|
|
3164
|
+
### Patch Changes
|
|
3165
|
+
|
|
3166
|
+
- [#6996](https://github.com/mastra-ai/mastra/pull/6996) [`24d9ee3`](https://github.com/mastra-ai/mastra/commit/24d9ee3db1c09d15f27a5d0971b102abcfcf7dfd) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving
|
|
3167
|
+
|
|
3168
|
+
- [#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
|
|
3169
|
+
|
|
3170
|
+
- Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
|
|
3171
|
+
- @mastra/core@0.15.0
|
|
3172
|
+
|
|
3173
|
+
## 0.12.0-alpha.1
|
|
3174
|
+
|
|
3175
|
+
### Minor Changes
|
|
3176
|
+
|
|
3177
|
+
- [#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"
|
|
3178
|
+
|
|
3179
|
+
- [#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
|
|
3180
|
+
|
|
3181
|
+
### Patch Changes
|
|
3182
|
+
|
|
3183
|
+
- [#6996](https://github.com/mastra-ai/mastra/pull/6996) [`24d9ee3`](https://github.com/mastra-ai/mastra/commit/24d9ee3db1c09d15f27a5d0971b102abcfcf7dfd) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving
|
|
3184
|
+
|
|
3185
|
+
- Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01)]:
|
|
3186
|
+
- @mastra/core@0.14.2-alpha.1
|
|
3187
|
+
|
|
3188
|
+
## 0.11.11-alpha.0
|
|
3189
|
+
|
|
3190
|
+
### Patch Changes
|
|
3191
|
+
|
|
3192
|
+
- [#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
|
|
3193
|
+
|
|
3194
|
+
- Updated dependencies [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
|
|
3195
|
+
- @mastra/core@0.14.2-alpha.0
|
|
3196
|
+
|
|
3197
|
+
## 0.11.10
|
|
3198
|
+
|
|
3199
|
+
### Patch Changes
|
|
3200
|
+
|
|
3201
|
+
- 03997ae: Update peerdeps
|
|
3202
|
+
- Updated dependencies [227c7e6]
|
|
3203
|
+
- Updated dependencies [12cae67]
|
|
3204
|
+
- Updated dependencies [fd3a3eb]
|
|
3205
|
+
- Updated dependencies [6faaee5]
|
|
3206
|
+
- Updated dependencies [4232b14]
|
|
3207
|
+
- Updated dependencies [a89de7e]
|
|
3208
|
+
- Updated dependencies [5a37d0c]
|
|
3209
|
+
- Updated dependencies [4bde0cb]
|
|
3210
|
+
- Updated dependencies [cf4f357]
|
|
3211
|
+
- Updated dependencies [ad888a2]
|
|
3212
|
+
- Updated dependencies [481751d]
|
|
3213
|
+
- Updated dependencies [2454423]
|
|
3214
|
+
- Updated dependencies [194e395]
|
|
3215
|
+
- Updated dependencies [a722c0b]
|
|
3216
|
+
- Updated dependencies [c30bca8]
|
|
3217
|
+
- Updated dependencies [3b5fec7]
|
|
3218
|
+
- Updated dependencies [a8f129d]
|
|
3219
|
+
- @mastra/core@0.14.0
|
|
3220
|
+
|
|
3221
|
+
## 0.11.10-alpha.0
|
|
3222
|
+
|
|
3223
|
+
### Patch Changes
|
|
3224
|
+
|
|
3225
|
+
- 03997ae: Update peerdeps
|
|
3226
|
+
- @mastra/core@0.14.0-alpha.7
|
|
3227
|
+
|
|
3228
|
+
## 0.11.9
|
|
3229
|
+
|
|
3230
|
+
### Patch Changes
|
|
3231
|
+
|
|
3232
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
3233
|
+
- Updated dependencies [cb36de0]
|
|
3234
|
+
- Updated dependencies [d0496e6]
|
|
3235
|
+
- Updated dependencies [a82b851]
|
|
3236
|
+
- Updated dependencies [ea0c5f2]
|
|
3237
|
+
- Updated dependencies [41a0a0e]
|
|
3238
|
+
- Updated dependencies [2871020]
|
|
3239
|
+
- Updated dependencies [94f4812]
|
|
3240
|
+
- Updated dependencies [e202b82]
|
|
3241
|
+
- Updated dependencies [e00f6a0]
|
|
3242
|
+
- Updated dependencies [4a406ec]
|
|
3243
|
+
- Updated dependencies [b0e43c1]
|
|
3244
|
+
- Updated dependencies [5d377e5]
|
|
3245
|
+
- Updated dependencies [1fb812e]
|
|
3246
|
+
- Updated dependencies [35c5798]
|
|
3247
|
+
- @mastra/core@0.13.0
|
|
3248
|
+
|
|
3249
|
+
## 0.11.9-alpha.0
|
|
3250
|
+
|
|
3251
|
+
### Patch Changes
|
|
3252
|
+
|
|
3253
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
3254
|
+
- Updated dependencies [cb36de0]
|
|
3255
|
+
- Updated dependencies [a82b851]
|
|
3256
|
+
- Updated dependencies [41a0a0e]
|
|
3257
|
+
- Updated dependencies [2871020]
|
|
3258
|
+
- Updated dependencies [4a406ec]
|
|
3259
|
+
- Updated dependencies [5d377e5]
|
|
3260
|
+
- @mastra/core@0.13.0-alpha.2
|
|
3261
|
+
|
|
3262
|
+
## 0.11.8
|
|
3263
|
+
|
|
3264
|
+
### Patch Changes
|
|
3265
|
+
|
|
3266
|
+
- 7257912: dependencies updates:
|
|
3267
|
+
- Updated dependency [`inngest@^3.40.1` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.1) (from `^3.40.0`, in `dependencies`)
|
|
3268
|
+
- Updated dependencies [33dcb07]
|
|
3269
|
+
- Updated dependencies [d0d9500]
|
|
3270
|
+
- Updated dependencies [d30b1a0]
|
|
3271
|
+
- Updated dependencies [bff87f7]
|
|
3272
|
+
- Updated dependencies [b4a8df0]
|
|
3273
|
+
- @mastra/core@0.12.1
|
|
3274
|
+
|
|
3275
|
+
## 0.11.8-alpha.0
|
|
3276
|
+
|
|
3277
|
+
### Patch Changes
|
|
3278
|
+
|
|
3279
|
+
- 7257912: dependencies updates:
|
|
3280
|
+
- Updated dependency [`inngest@^3.40.1` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.1) (from `^3.40.0`, in `dependencies`)
|
|
3281
|
+
- Updated dependencies [33dcb07]
|
|
3282
|
+
- Updated dependencies [d30b1a0]
|
|
3283
|
+
- Updated dependencies [bff87f7]
|
|
3284
|
+
- Updated dependencies [b4a8df0]
|
|
3285
|
+
- @mastra/core@0.12.1-alpha.0
|
|
3286
|
+
|
|
3287
|
+
## 0.11.7
|
|
3288
|
+
|
|
3289
|
+
### Patch Changes
|
|
3290
|
+
|
|
3291
|
+
- f42c4c2: update peer deps for packages to latest core range
|
|
3292
|
+
- Updated dependencies [510e2c8]
|
|
3293
|
+
- Updated dependencies [2f72fb2]
|
|
3294
|
+
- Updated dependencies [27cc97a]
|
|
3295
|
+
- Updated dependencies [3f89307]
|
|
3296
|
+
- Updated dependencies [9eda7d4]
|
|
3297
|
+
- Updated dependencies [9d49408]
|
|
3298
|
+
- Updated dependencies [41daa63]
|
|
3299
|
+
- Updated dependencies [ad0a58b]
|
|
3300
|
+
- Updated dependencies [254a36b]
|
|
3301
|
+
- Updated dependencies [2ecf658]
|
|
3302
|
+
- Updated dependencies [7a7754f]
|
|
3303
|
+
- Updated dependencies [fc92d80]
|
|
3304
|
+
- Updated dependencies [e0f73c6]
|
|
3305
|
+
- Updated dependencies [0b89602]
|
|
3306
|
+
- Updated dependencies [4d37822]
|
|
3307
|
+
- Updated dependencies [23a6a7c]
|
|
3308
|
+
- Updated dependencies [cda801d]
|
|
3309
|
+
- Updated dependencies [a77c823]
|
|
3310
|
+
- Updated dependencies [ff9c125]
|
|
3311
|
+
- Updated dependencies [09bca64]
|
|
3312
|
+
- Updated dependencies [b8efbb9]
|
|
3313
|
+
- Updated dependencies [71466e7]
|
|
3314
|
+
- Updated dependencies [0c99fbe]
|
|
3315
|
+
- @mastra/core@0.12.0
|
|
3316
|
+
|
|
3317
|
+
## 0.11.7-alpha.0
|
|
3318
|
+
|
|
3319
|
+
### Patch Changes
|
|
3320
|
+
|
|
3321
|
+
- f42c4c2: update peer deps for packages to latest core range
|
|
3322
|
+
- @mastra/core@0.12.0-alpha.5
|
|
3323
|
+
|
|
3324
|
+
## 0.11.6
|
|
3325
|
+
|
|
3326
|
+
### Patch Changes
|
|
3327
|
+
|
|
3328
|
+
- ce088f5: Update all peerdeps to latest core
|
|
3329
|
+
- @mastra/core@0.11.1
|
|
3330
|
+
|
|
3331
|
+
## 0.11.5
|
|
3332
|
+
|
|
3333
|
+
### Patch Changes
|
|
3334
|
+
|
|
3335
|
+
- a723d69: Pass workflowId through
|
|
3336
|
+
- Updated dependencies [f248d53]
|
|
3337
|
+
- Updated dependencies [2affc57]
|
|
3338
|
+
- Updated dependencies [66e13e3]
|
|
3339
|
+
- Updated dependencies [edd9482]
|
|
3340
|
+
- Updated dependencies [18344d7]
|
|
3341
|
+
- Updated dependencies [9d372c2]
|
|
3342
|
+
- Updated dependencies [40c2525]
|
|
3343
|
+
- Updated dependencies [e473f27]
|
|
3344
|
+
- Updated dependencies [032cb66]
|
|
3345
|
+
- Updated dependencies [703ac71]
|
|
3346
|
+
- Updated dependencies [a723d69]
|
|
3347
|
+
- Updated dependencies [7827943]
|
|
3348
|
+
- Updated dependencies [5889a31]
|
|
3349
|
+
- Updated dependencies [bf1e7e7]
|
|
3350
|
+
- Updated dependencies [65e3395]
|
|
3351
|
+
- Updated dependencies [4933192]
|
|
3352
|
+
- Updated dependencies [d1c77a4]
|
|
3353
|
+
- Updated dependencies [bea9dd1]
|
|
3354
|
+
- Updated dependencies [dcd4802]
|
|
3355
|
+
- Updated dependencies [cbddd18]
|
|
3356
|
+
- Updated dependencies [7ba91fa]
|
|
3357
|
+
- @mastra/core@0.11.0
|
|
3358
|
+
|
|
3359
|
+
## 0.11.5-alpha.0
|
|
3360
|
+
|
|
3361
|
+
### Patch Changes
|
|
3362
|
+
|
|
3363
|
+
- a723d69: Pass workflowId through
|
|
3364
|
+
- Updated dependencies [f248d53]
|
|
3365
|
+
- Updated dependencies [2affc57]
|
|
3366
|
+
- Updated dependencies [66e13e3]
|
|
3367
|
+
- Updated dependencies [edd9482]
|
|
3368
|
+
- Updated dependencies [18344d7]
|
|
3369
|
+
- Updated dependencies [9d372c2]
|
|
3370
|
+
- Updated dependencies [40c2525]
|
|
3371
|
+
- Updated dependencies [e473f27]
|
|
3372
|
+
- Updated dependencies [032cb66]
|
|
3373
|
+
- Updated dependencies [703ac71]
|
|
3374
|
+
- Updated dependencies [a723d69]
|
|
3375
|
+
- Updated dependencies [5889a31]
|
|
3376
|
+
- Updated dependencies [65e3395]
|
|
3377
|
+
- Updated dependencies [4933192]
|
|
3378
|
+
- Updated dependencies [d1c77a4]
|
|
3379
|
+
- Updated dependencies [bea9dd1]
|
|
3380
|
+
- Updated dependencies [dcd4802]
|
|
3381
|
+
- Updated dependencies [7ba91fa]
|
|
3382
|
+
- @mastra/core@0.11.0-alpha.2
|
|
3383
|
+
|
|
3384
|
+
## 0.11.4
|
|
3385
|
+
|
|
3386
|
+
### Patch Changes
|
|
3387
|
+
|
|
3388
|
+
- 0b56518: Ensure removed runtimeContext values are not saved in snapshot
|
|
3389
|
+
- Updated dependencies [0b56518]
|
|
3390
|
+
- Updated dependencies [db5cc15]
|
|
3391
|
+
- Updated dependencies [2ba5b76]
|
|
3392
|
+
- Updated dependencies [5237998]
|
|
3393
|
+
- Updated dependencies [c3a30de]
|
|
3394
|
+
- Updated dependencies [37c1acd]
|
|
3395
|
+
- Updated dependencies [1aa60b1]
|
|
3396
|
+
- Updated dependencies [89ec9d4]
|
|
3397
|
+
- Updated dependencies [cf3a184]
|
|
3398
|
+
- Updated dependencies [d6bfd60]
|
|
3399
|
+
- Updated dependencies [626b0f4]
|
|
3400
|
+
- Updated dependencies [c22a91f]
|
|
3401
|
+
- Updated dependencies [f7403ab]
|
|
3402
|
+
- Updated dependencies [6c89d7f]
|
|
3403
|
+
- @mastra/core@0.10.15
|
|
3404
|
+
|
|
3405
|
+
## 0.11.4-alpha.0
|
|
3406
|
+
|
|
3407
|
+
### Patch Changes
|
|
3408
|
+
|
|
3409
|
+
- 0b56518: Ensure removed runtimeContext values are not saved in snapshot
|
|
3410
|
+
- Updated dependencies [0b56518]
|
|
3411
|
+
- Updated dependencies [2ba5b76]
|
|
3412
|
+
- Updated dependencies [c3a30de]
|
|
3413
|
+
- Updated dependencies [cf3a184]
|
|
3414
|
+
- Updated dependencies [d6bfd60]
|
|
3415
|
+
- @mastra/core@0.10.15-alpha.1
|
|
3416
|
+
|
|
3417
|
+
## 0.11.3
|
|
3418
|
+
|
|
3419
|
+
### Patch Changes
|
|
3420
|
+
|
|
3421
|
+
- 515488a: dependencies updates:
|
|
3422
|
+
- Updated dependency [`inngest@^3.39.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.39.2) (from `^3.39.1`, in `dependencies`)
|
|
3423
|
+
- defb5ae: dependencies updates:
|
|
3424
|
+
- Updated dependency [`inngest@^3.40.0` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.0) (from `^3.39.2`, in `dependencies`)
|
|
3425
|
+
- b790fd1: Ability to pass a function to .sleep()/.sleepUntil()
|
|
3426
|
+
- c1cceea: Bump peerdeps of @matra/core
|
|
3427
|
+
- Updated dependencies [2873c7f]
|
|
3428
|
+
- Updated dependencies [1c1c6a1]
|
|
3429
|
+
- Updated dependencies [f8ce2cc]
|
|
3430
|
+
- Updated dependencies [8c846b6]
|
|
3431
|
+
- Updated dependencies [c7bbf1e]
|
|
3432
|
+
- Updated dependencies [8722d53]
|
|
3433
|
+
- Updated dependencies [565cc0c]
|
|
3434
|
+
- Updated dependencies [b790fd1]
|
|
3435
|
+
- Updated dependencies [132027f]
|
|
3436
|
+
- Updated dependencies [0c85311]
|
|
3437
|
+
- Updated dependencies [d7ed04d]
|
|
3438
|
+
- Updated dependencies [cb16baf]
|
|
3439
|
+
- Updated dependencies [f36e4f1]
|
|
3440
|
+
- Updated dependencies [7f6e403]
|
|
3441
|
+
- @mastra/core@0.10.11
|
|
3442
|
+
|
|
3443
|
+
## 0.11.3-alpha.3
|
|
3444
|
+
|
|
3445
|
+
### Patch Changes
|
|
3446
|
+
|
|
3447
|
+
- c1cceea: Bump peerdeps of @matra/core
|
|
3448
|
+
- @mastra/core@0.10.11-alpha.4
|
|
3449
|
+
|
|
3450
|
+
## 0.11.3-alpha.2
|
|
3451
|
+
|
|
3452
|
+
### Patch Changes
|
|
3453
|
+
|
|
3454
|
+
- defb5ae: dependencies updates:
|
|
3455
|
+
- Updated dependency [`inngest@^3.40.0` ↗︎](https://www.npmjs.com/package/inngest/v/3.40.0) (from `^3.39.2`, in `dependencies`)
|
|
3456
|
+
- Updated dependencies [c7bbf1e]
|
|
3457
|
+
- Updated dependencies [8722d53]
|
|
3458
|
+
- Updated dependencies [132027f]
|
|
3459
|
+
- Updated dependencies [0c85311]
|
|
3460
|
+
- Updated dependencies [cb16baf]
|
|
3461
|
+
- @mastra/core@0.10.11-alpha.3
|
|
3462
|
+
|
|
3463
|
+
## 0.11.3-alpha.1
|
|
3464
|
+
|
|
3465
|
+
### Patch Changes
|
|
3466
|
+
|
|
3467
|
+
- 515488a: dependencies updates:
|
|
3468
|
+
- Updated dependency [`inngest@^3.39.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.39.2) (from `^3.39.1`, in `dependencies`)
|
|
3469
|
+
- Updated dependencies [7f6e403]
|
|
3470
|
+
- @mastra/core@0.10.11-alpha.1
|
|
3471
|
+
|
|
3472
|
+
## 0.11.3-alpha.0
|
|
3473
|
+
|
|
3474
|
+
### Patch Changes
|
|
3475
|
+
|
|
3476
|
+
- b790fd1: Ability to pass a function to .sleep()/.sleepUntil()
|
|
3477
|
+
- Updated dependencies [f8ce2cc]
|
|
3478
|
+
- Updated dependencies [8c846b6]
|
|
3479
|
+
- Updated dependencies [b790fd1]
|
|
3480
|
+
- Updated dependencies [d7ed04d]
|
|
3481
|
+
- Updated dependencies [f36e4f1]
|
|
3482
|
+
- @mastra/core@0.10.11-alpha.0
|
|
3483
|
+
|
|
3484
|
+
## 0.11.2
|
|
3485
|
+
|
|
3486
|
+
### Patch Changes
|
|
3487
|
+
|
|
3488
|
+
- 48d9738: Fix inngest sleep stream events
|
|
3489
|
+
- Updated dependencies [4d3fbdf]
|
|
3490
|
+
- @mastra/core@0.10.10
|
|
3491
|
+
|
|
3492
|
+
## 0.11.2-alpha.0
|
|
3493
|
+
|
|
3494
|
+
### Patch Changes
|
|
3495
|
+
|
|
3496
|
+
- 48d9738: Fix inngest sleep stream events
|
|
3497
|
+
- Updated dependencies [4d3fbdf]
|
|
3498
|
+
- @mastra/core@0.10.10-alpha.0
|
|
3499
|
+
|
|
3500
|
+
## 0.11.1
|
|
3501
|
+
|
|
3502
|
+
### Patch Changes
|
|
3503
|
+
|
|
3504
|
+
- e423a31: Fix bug where nested workflows would cause Inngest duplicate key error
|
|
3505
|
+
- 764f86a: Introduces the runCount property in the execution parameters for the steps execute function
|
|
3506
|
+
- 1760a1c: Use workflow stream in playground instead of watch
|
|
3507
|
+
- 038e5ae: Add cancel workflow run
|
|
3508
|
+
- 81a1b3b: Update peerdeps
|
|
3509
|
+
- Updated dependencies [9dda1ac]
|
|
3510
|
+
- Updated dependencies [c984582]
|
|
3511
|
+
- Updated dependencies [7e801dd]
|
|
3512
|
+
- Updated dependencies [a606c75]
|
|
3513
|
+
- Updated dependencies [7aa70a4]
|
|
3514
|
+
- Updated dependencies [764f86a]
|
|
3515
|
+
- Updated dependencies [1760a1c]
|
|
3516
|
+
- Updated dependencies [038e5ae]
|
|
3517
|
+
- Updated dependencies [7dda16a]
|
|
3518
|
+
- Updated dependencies [5ebfcdd]
|
|
3519
|
+
- Updated dependencies [b2d0c91]
|
|
3520
|
+
- Updated dependencies [4e809ad]
|
|
3521
|
+
- Updated dependencies [57929df]
|
|
3522
|
+
- Updated dependencies [b7852ed]
|
|
3523
|
+
- Updated dependencies [6320a61]
|
|
3524
|
+
- @mastra/core@0.10.9
|
|
3525
|
+
|
|
3526
|
+
## 0.11.1-alpha.0
|
|
3527
|
+
|
|
3528
|
+
### Patch Changes
|
|
3529
|
+
|
|
3530
|
+
- e423a31: Fix bug where nested workflows would cause Inngest duplicate key error
|
|
3531
|
+
- 764f86a: Introduces the runCount property in the execution parameters for the steps execute function
|
|
3532
|
+
- 1760a1c: Use workflow stream in playground instead of watch
|
|
3533
|
+
- 038e5ae: Add cancel workflow run
|
|
3534
|
+
- 81a1b3b: Update peerdeps
|
|
3535
|
+
- Updated dependencies [9dda1ac]
|
|
3536
|
+
- Updated dependencies [c984582]
|
|
3537
|
+
- Updated dependencies [7e801dd]
|
|
3538
|
+
- Updated dependencies [a606c75]
|
|
3539
|
+
- Updated dependencies [7aa70a4]
|
|
3540
|
+
- Updated dependencies [764f86a]
|
|
3541
|
+
- Updated dependencies [1760a1c]
|
|
3542
|
+
- Updated dependencies [038e5ae]
|
|
3543
|
+
- Updated dependencies [7dda16a]
|
|
3544
|
+
- Updated dependencies [5ebfcdd]
|
|
3545
|
+
- Updated dependencies [b2d0c91]
|
|
3546
|
+
- Updated dependencies [4e809ad]
|
|
3547
|
+
- Updated dependencies [57929df]
|
|
3548
|
+
- Updated dependencies [b7852ed]
|
|
3549
|
+
- Updated dependencies [6320a61]
|
|
3550
|
+
- @mastra/core@0.10.9-alpha.0
|
|
3551
|
+
|
|
3552
|
+
## 0.11.0
|
|
3553
|
+
|
|
3554
|
+
### Minor Changes
|
|
3555
|
+
|
|
3556
|
+
- 8a3bfd2: Update peerdeps to latest core
|
|
3557
|
+
|
|
3558
|
+
### Patch Changes
|
|
3559
|
+
|
|
3560
|
+
- 8e1b6e9: dependencies updates:
|
|
3561
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
3562
|
+
- 9d52b17: Fix inngest workflows streaming and add step metadata
|
|
3563
|
+
- 4fb0cc2: Type safe variable mapping
|
|
3564
|
+
- 502fe05: createRun() -> createRunAsync()
|
|
3565
|
+
- 4efcfa0: Added bail() method and more ergonomic suspend function return value
|
|
3566
|
+
- Updated dependencies [15e9d26]
|
|
3567
|
+
- Updated dependencies [d1baedb]
|
|
3568
|
+
- Updated dependencies [d8f2d19]
|
|
3569
|
+
- Updated dependencies [4d21bf2]
|
|
3570
|
+
- Updated dependencies [07d6d88]
|
|
3571
|
+
- Updated dependencies [9d52b17]
|
|
3572
|
+
- Updated dependencies [2097952]
|
|
3573
|
+
- Updated dependencies [792c4c0]
|
|
3574
|
+
- Updated dependencies [5d74aab]
|
|
3575
|
+
- Updated dependencies [a8b194f]
|
|
3576
|
+
- Updated dependencies [4fb0cc2]
|
|
3577
|
+
- Updated dependencies [d2a7a31]
|
|
3578
|
+
- Updated dependencies [502fe05]
|
|
3579
|
+
- Updated dependencies [144eb0b]
|
|
3580
|
+
- Updated dependencies [8ba1b51]
|
|
3581
|
+
- Updated dependencies [4efcfa0]
|
|
3582
|
+
- Updated dependencies [0e17048]
|
|
3583
|
+
- @mastra/core@0.10.7
|
|
3584
|
+
|
|
3585
|
+
## 0.11.0-alpha.3
|
|
3586
|
+
|
|
3587
|
+
### Minor Changes
|
|
3588
|
+
|
|
3589
|
+
- 8a3bfd2: Update peerdeps to latest core
|
|
3590
|
+
|
|
3591
|
+
### Patch Changes
|
|
3592
|
+
|
|
3593
|
+
- 502fe05: createRun() -> createRunAsync()
|
|
3594
|
+
- 4efcfa0: Added bail() method and more ergonomic suspend function return value
|
|
3595
|
+
- Updated dependencies [792c4c0]
|
|
3596
|
+
- Updated dependencies [502fe05]
|
|
3597
|
+
- Updated dependencies [4efcfa0]
|
|
3598
|
+
- @mastra/core@0.10.7-alpha.3
|
|
3599
|
+
|
|
3600
|
+
## 0.10.6-alpha.2
|
|
3601
|
+
|
|
3602
|
+
### Patch Changes
|
|
3603
|
+
|
|
3604
|
+
- 8e1b6e9: dependencies updates:
|
|
3605
|
+
- Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
|
|
3606
|
+
- Updated dependencies [15e9d26]
|
|
3607
|
+
- Updated dependencies [07d6d88]
|
|
3608
|
+
- Updated dependencies [5d74aab]
|
|
3609
|
+
- Updated dependencies [144eb0b]
|
|
3610
|
+
- @mastra/core@0.10.7-alpha.2
|
|
3611
|
+
|
|
3612
|
+
## 0.10.6-alpha.1
|
|
3613
|
+
|
|
3614
|
+
### Patch Changes
|
|
3615
|
+
|
|
3616
|
+
- 4fb0cc2: Type safe variable mapping
|
|
3617
|
+
- Updated dependencies [d1baedb]
|
|
3618
|
+
- Updated dependencies [4d21bf2]
|
|
3619
|
+
- Updated dependencies [2097952]
|
|
3620
|
+
- Updated dependencies [4fb0cc2]
|
|
3621
|
+
- Updated dependencies [d2a7a31]
|
|
3622
|
+
- Updated dependencies [0e17048]
|
|
3623
|
+
- @mastra/core@0.10.7-alpha.1
|
|
3624
|
+
|
|
3625
|
+
## 0.10.6-alpha.0
|
|
3626
|
+
|
|
3627
|
+
### Patch Changes
|
|
3628
|
+
|
|
3629
|
+
- 9d52b17: Fix inngest workflows streaming and add step metadata
|
|
3630
|
+
- Updated dependencies [d8f2d19]
|
|
3631
|
+
- Updated dependencies [9d52b17]
|
|
3632
|
+
- Updated dependencies [8ba1b51]
|
|
3633
|
+
- @mastra/core@0.10.7-alpha.0
|
|
3634
|
+
|
|
3635
|
+
## 0.10.5
|
|
3636
|
+
|
|
3637
|
+
### Patch Changes
|
|
3638
|
+
|
|
3639
|
+
- 63f6b7d: dependencies updates:
|
|
3640
|
+
- Updated dependency [`inngest@^3.39.1` ↗︎](https://www.npmjs.com/package/inngest/v/3.39.1) (from `^3.35.1`, in `dependencies`)
|
|
3641
|
+
- Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
|
|
3642
|
+
- ee9af57: Add api for polling run execution result and get run by id
|
|
3643
|
+
- Updated dependencies [63f6b7d]
|
|
3644
|
+
- Updated dependencies [12a95fc]
|
|
3645
|
+
- Updated dependencies [4b0f8a6]
|
|
3646
|
+
- Updated dependencies [51264a5]
|
|
3647
|
+
- Updated dependencies [8e6f677]
|
|
3648
|
+
- Updated dependencies [d70c420]
|
|
3649
|
+
- Updated dependencies [ee9af57]
|
|
3650
|
+
- Updated dependencies [36f1c36]
|
|
3651
|
+
- Updated dependencies [2a16996]
|
|
3652
|
+
- Updated dependencies [10d352e]
|
|
3653
|
+
- Updated dependencies [9589624]
|
|
3654
|
+
- Updated dependencies [53d3c37]
|
|
3655
|
+
- Updated dependencies [751c894]
|
|
3656
|
+
- Updated dependencies [577ce3a]
|
|
3657
|
+
- Updated dependencies [9260b3a]
|
|
3658
|
+
- @mastra/core@0.10.6
|
|
3659
|
+
|
|
3660
|
+
## 0.10.5-alpha.1
|
|
3661
|
+
|
|
3662
|
+
### Patch Changes
|
|
3663
|
+
|
|
3664
|
+
- ee9af57: Add api for polling run execution result and get run by id
|
|
3665
|
+
- Updated dependencies [ee9af57]
|
|
3666
|
+
- Updated dependencies [751c894]
|
|
3667
|
+
- Updated dependencies [577ce3a]
|
|
3668
|
+
- Updated dependencies [9260b3a]
|
|
3669
|
+
- @mastra/core@0.10.6-alpha.1
|
|
3670
|
+
|
|
3671
|
+
## 0.10.5-alpha.0
|
|
3672
|
+
|
|
3673
|
+
### Patch Changes
|
|
3674
|
+
|
|
3675
|
+
- 63f6b7d: dependencies updates:
|
|
3676
|
+
- Updated dependency [`inngest@^3.39.1` ↗︎](https://www.npmjs.com/package/inngest/v/3.39.1) (from `^3.35.1`, in `dependencies`)
|
|
3677
|
+
- Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
|
|
3678
|
+
- Updated dependencies [63f6b7d]
|
|
3679
|
+
- Updated dependencies [36f1c36]
|
|
3680
|
+
- Updated dependencies [10d352e]
|
|
3681
|
+
- Updated dependencies [53d3c37]
|
|
3682
|
+
- @mastra/core@0.10.6-alpha.0
|
|
3683
|
+
|
|
3684
|
+
## 0.10.4
|
|
3685
|
+
|
|
3686
|
+
### Patch Changes
|
|
3687
|
+
|
|
3688
|
+
- 13c97f9: Save run status, result and error in storage snapshot
|
|
3689
|
+
- Updated dependencies [13c97f9]
|
|
3690
|
+
- @mastra/core@0.10.5
|
|
3691
|
+
|
|
3692
|
+
## 0.10.3
|
|
3693
|
+
|
|
3694
|
+
### Patch Changes
|
|
3695
|
+
|
|
3696
|
+
- 1ccccff: dependencies updates:
|
|
3697
|
+
- Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.2`, in `dependencies`)
|
|
3698
|
+
- 1ccccff: dependencies updates:
|
|
3699
|
+
- Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.2`, in `dependencies`)
|
|
3700
|
+
- Updated dependencies [d1ed912]
|
|
3701
|
+
- Updated dependencies [f6fd25f]
|
|
3702
|
+
- Updated dependencies [dffb67b]
|
|
3703
|
+
- Updated dependencies [f1f1f1b]
|
|
3704
|
+
- Updated dependencies [925ab94]
|
|
3705
|
+
- Updated dependencies [f9816ae]
|
|
3706
|
+
- Updated dependencies [82090c1]
|
|
3707
|
+
- Updated dependencies [1b443fd]
|
|
3708
|
+
- Updated dependencies [ce97900]
|
|
3709
|
+
- Updated dependencies [f1309d3]
|
|
3710
|
+
- Updated dependencies [14a2566]
|
|
3711
|
+
- Updated dependencies [f7f8293]
|
|
3712
|
+
- Updated dependencies [48eddb9]
|
|
3713
|
+
- @mastra/core@0.10.4
|
|
3714
|
+
|
|
3715
|
+
## 0.10.3-alpha.0
|
|
3716
|
+
|
|
3717
|
+
### Patch Changes
|
|
3718
|
+
|
|
3719
|
+
- 1ccccff: dependencies updates:
|
|
3720
|
+
- Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.2`, in `dependencies`)
|
|
3721
|
+
- 1ccccff: dependencies updates:
|
|
3722
|
+
- Updated dependency [`zod@^3.25.56` ↗︎](https://www.npmjs.com/package/zod/v/3.25.56) (from `^3.24.2`, in `dependencies`)
|
|
3723
|
+
- Updated dependencies [f6fd25f]
|
|
3724
|
+
- Updated dependencies [dffb67b]
|
|
3725
|
+
- Updated dependencies [f1309d3]
|
|
3726
|
+
- Updated dependencies [f7f8293]
|
|
3727
|
+
- @mastra/core@0.10.4-alpha.1
|
|
3728
|
+
|
|
3729
|
+
## 0.10.2
|
|
3730
|
+
|
|
3731
|
+
### Patch Changes
|
|
3732
|
+
|
|
3733
|
+
- 195c428: Add runId to step execute fn
|
|
3734
|
+
- 12b7002: Add serializedStepGraph to workflow run snapshot in storage
|
|
3735
|
+
- f0d559f: Fix peerdeps for alpha channel
|
|
3736
|
+
- 1ee6894: inngest production url fix
|
|
3737
|
+
- Updated dependencies [ee77e78]
|
|
3738
|
+
- Updated dependencies [592a2db]
|
|
3739
|
+
- Updated dependencies [e5dc18d]
|
|
3740
|
+
- Updated dependencies [ab5adbe]
|
|
3741
|
+
- Updated dependencies [1e8bb40]
|
|
3742
|
+
- Updated dependencies [1b5fc55]
|
|
3743
|
+
- Updated dependencies [195c428]
|
|
3744
|
+
- Updated dependencies [f73e11b]
|
|
3745
|
+
- Updated dependencies [37643b8]
|
|
3746
|
+
- Updated dependencies [99fd6cf]
|
|
3747
|
+
- Updated dependencies [c5bf1ce]
|
|
3748
|
+
- Updated dependencies [add596e]
|
|
3749
|
+
- Updated dependencies [8dc94d8]
|
|
3750
|
+
- Updated dependencies [ecebbeb]
|
|
3751
|
+
- Updated dependencies [79d5145]
|
|
3752
|
+
- Updated dependencies [12b7002]
|
|
3753
|
+
- Updated dependencies [2901125]
|
|
3754
|
+
- @mastra/core@0.10.2
|
|
3755
|
+
|
|
3756
|
+
## 0.10.2-alpha.3
|
|
3757
|
+
|
|
3758
|
+
### Patch Changes
|
|
3759
|
+
|
|
3760
|
+
- 1ee6894: inngest production url fix
|
|
3761
|
+
- Updated dependencies [1b5fc55]
|
|
3762
|
+
- Updated dependencies [add596e]
|
|
3763
|
+
- Updated dependencies [ecebbeb]
|
|
3764
|
+
- @mastra/core@0.10.2-alpha.5
|
|
3765
|
+
|
|
3766
|
+
## 0.10.2-alpha.2
|
|
3767
|
+
|
|
3768
|
+
### Patch Changes
|
|
3769
|
+
|
|
3770
|
+
- 12b7002: Add serializedStepGraph to workflow run snapshot in storage
|
|
3771
|
+
- Updated dependencies [c5bf1ce]
|
|
3772
|
+
- Updated dependencies [12b7002]
|
|
3773
|
+
- @mastra/core@0.10.2-alpha.4
|
|
3774
|
+
|
|
3775
|
+
## 0.10.2-alpha.1
|
|
3776
|
+
|
|
3777
|
+
### Patch Changes
|
|
3778
|
+
|
|
3779
|
+
- 195c428: Add runId to step execute fn
|
|
3780
|
+
- Updated dependencies [ab5adbe]
|
|
3781
|
+
- Updated dependencies [195c428]
|
|
3782
|
+
- Updated dependencies [f73e11b]
|
|
3783
|
+
- @mastra/core@0.10.2-alpha.3
|
|
3784
|
+
|
|
3785
|
+
## 0.10.2-alpha.0
|
|
3786
|
+
|
|
3787
|
+
### Patch Changes
|
|
3788
|
+
|
|
3789
|
+
- f0d559f: Fix peerdeps for alpha channel
|
|
3790
|
+
- Updated dependencies [1e8bb40]
|
|
3791
|
+
- @mastra/core@0.10.2-alpha.2
|
|
3792
|
+
|
|
3793
|
+
## 0.10.1
|
|
3794
|
+
|
|
3795
|
+
### Patch Changes
|
|
3796
|
+
|
|
3797
|
+
- 200d0da: Return payload data, start time, end time, resume time and suspend time for each step in workflow state
|
|
3798
|
+
Return error stack for failed workflow runs
|
|
3799
|
+
- 5343f93: Move emitter to symbol to make private
|
|
3800
|
+
- Updated dependencies [d70b807]
|
|
3801
|
+
- Updated dependencies [6d16390]
|
|
3802
|
+
- Updated dependencies [1e4a421]
|
|
3803
|
+
- Updated dependencies [200d0da]
|
|
3804
|
+
- Updated dependencies [bf5f17b]
|
|
3805
|
+
- Updated dependencies [5343f93]
|
|
3806
|
+
- Updated dependencies [38aee50]
|
|
3807
|
+
- Updated dependencies [5c41100]
|
|
3808
|
+
- Updated dependencies [d6a759b]
|
|
3809
|
+
- Updated dependencies [6015bdf]
|
|
3810
|
+
- @mastra/core@0.10.1
|
|
3811
|
+
|
|
3812
|
+
## 0.10.1-alpha.0
|
|
3813
|
+
|
|
3814
|
+
### Patch Changes
|
|
3815
|
+
|
|
3816
|
+
- 200d0da: Return payload data, start time, end time, resume time and suspend time for each step in workflow state
|
|
3817
|
+
Return error stack for failed workflow runs
|
|
3818
|
+
- 5343f93: Move emitter to symbol to make private
|
|
3819
|
+
- Updated dependencies [200d0da]
|
|
3820
|
+
- Updated dependencies [bf5f17b]
|
|
3821
|
+
- Updated dependencies [5343f93]
|
|
3822
|
+
- Updated dependencies [38aee50]
|
|
3823
|
+
- Updated dependencies [5c41100]
|
|
3824
|
+
- Updated dependencies [d6a759b]
|
|
3825
|
+
- @mastra/core@0.10.1-alpha.1
|
|
3826
|
+
|
|
3827
|
+
## 0.10.0
|
|
3828
|
+
|
|
3829
|
+
### Minor Changes
|
|
3830
|
+
|
|
3831
|
+
- 83da932: Move @mastra/core to peerdeps
|
|
3832
|
+
|
|
3833
|
+
### Patch Changes
|
|
3834
|
+
|
|
3835
|
+
- b3a3d63: BREAKING: Make vnext workflow the default worklow, and old workflow legacy_workflow
|
|
3836
|
+
- e4172d9: Update getWorkflowRuns type for inngest workflow
|
|
3837
|
+
- Updated dependencies [b3a3d63]
|
|
3838
|
+
- Updated dependencies [344f453]
|
|
3839
|
+
- Updated dependencies [0a3ae6d]
|
|
3840
|
+
- Updated dependencies [95911be]
|
|
3841
|
+
- Updated dependencies [f53a6ac]
|
|
3842
|
+
- Updated dependencies [5eb5a99]
|
|
3843
|
+
- Updated dependencies [7e632c5]
|
|
3844
|
+
- Updated dependencies [1e9fbfa]
|
|
3845
|
+
- Updated dependencies [eabdcd9]
|
|
3846
|
+
- Updated dependencies [90be034]
|
|
3847
|
+
- Updated dependencies [99f050a]
|
|
3848
|
+
- Updated dependencies [d0ee3c6]
|
|
3849
|
+
- Updated dependencies [b2ae5aa]
|
|
3850
|
+
- Updated dependencies [23f258c]
|
|
3851
|
+
- Updated dependencies [a7292b0]
|
|
3852
|
+
- Updated dependencies [0dcb9f0]
|
|
3853
|
+
- Updated dependencies [2672a05]
|
|
3854
|
+
- @mastra/core@0.10.0
|
|
3855
|
+
|
|
3856
|
+
## 0.1.0-alpha.1
|
|
3857
|
+
|
|
3858
|
+
### Minor Changes
|
|
3859
|
+
|
|
3860
|
+
- 83da932: Move @mastra/core to peerdeps
|
|
3861
|
+
|
|
3862
|
+
### Patch Changes
|
|
3863
|
+
|
|
3864
|
+
- b3a3d63: BREAKING: Make vnext workflow the default worklow, and old workflow legacy_workflow
|
|
3865
|
+
- Updated dependencies [b3a3d63]
|
|
3866
|
+
- Updated dependencies [344f453]
|
|
3867
|
+
- Updated dependencies [0a3ae6d]
|
|
3868
|
+
- Updated dependencies [95911be]
|
|
3869
|
+
- Updated dependencies [5eb5a99]
|
|
3870
|
+
- Updated dependencies [7e632c5]
|
|
3871
|
+
- Updated dependencies [1e9fbfa]
|
|
3872
|
+
- Updated dependencies [b2ae5aa]
|
|
3873
|
+
- Updated dependencies [a7292b0]
|
|
3874
|
+
- Updated dependencies [0dcb9f0]
|
|
3875
|
+
- @mastra/core@0.10.0-alpha.1
|
|
3876
|
+
|
|
3877
|
+
## 0.0.4-alpha.0
|
|
3878
|
+
|
|
3879
|
+
### Patch Changes
|
|
3880
|
+
|
|
3881
|
+
- e4172d9: Update getWorkflowRuns type for inngest workflow
|
|
3882
|
+
- Updated dependencies [f53a6ac]
|
|
3883
|
+
- Updated dependencies [eabdcd9]
|
|
3884
|
+
- Updated dependencies [90be034]
|
|
3885
|
+
- Updated dependencies [99f050a]
|
|
3886
|
+
- Updated dependencies [d0ee3c6]
|
|
3887
|
+
- Updated dependencies [23f258c]
|
|
3888
|
+
- Updated dependencies [2672a05]
|
|
3889
|
+
- @mastra/core@0.9.5-alpha.0
|
|
3890
|
+
|
|
3891
|
+
## 0.0.3
|
|
3892
|
+
|
|
3893
|
+
### Patch Changes
|
|
3894
|
+
|
|
3895
|
+
- Updated dependencies [396be50]
|
|
3896
|
+
- Updated dependencies [ab80e7e]
|
|
3897
|
+
- Updated dependencies [c3bd795]
|
|
3898
|
+
- Updated dependencies [da082f8]
|
|
3899
|
+
- Updated dependencies [a5810ce]
|
|
3900
|
+
- Updated dependencies [3e9c131]
|
|
3901
|
+
- Updated dependencies [3171b5b]
|
|
3902
|
+
- Updated dependencies [973e5ac]
|
|
3903
|
+
- Updated dependencies [daf942f]
|
|
3904
|
+
- Updated dependencies [0b8b868]
|
|
3905
|
+
- Updated dependencies [9e1eff5]
|
|
3906
|
+
- Updated dependencies [6fa1ad1]
|
|
3907
|
+
- Updated dependencies [c28d7a0]
|
|
3908
|
+
- Updated dependencies [edf1e88]
|
|
3909
|
+
- @mastra/core@0.9.4
|
|
3910
|
+
|
|
3911
|
+
## 0.0.3-alpha.4
|
|
3912
|
+
|
|
3913
|
+
### Patch Changes
|
|
3914
|
+
|
|
3915
|
+
- Updated dependencies [3e9c131]
|
|
3916
|
+
- @mastra/core@0.9.4-alpha.4
|
|
3917
|
+
|
|
3918
|
+
## 0.0.3-alpha.3
|
|
3919
|
+
|
|
3920
|
+
### Patch Changes
|
|
3921
|
+
|
|
3922
|
+
- Updated dependencies [396be50]
|
|
3923
|
+
- Updated dependencies [c3bd795]
|
|
3924
|
+
- Updated dependencies [da082f8]
|
|
3925
|
+
- Updated dependencies [a5810ce]
|
|
3926
|
+
- @mastra/core@0.9.4-alpha.3
|
|
3927
|
+
|
|
3928
|
+
## 0.0.3-alpha.2
|
|
3929
|
+
|
|
3930
|
+
### Patch Changes
|
|
3931
|
+
|
|
3932
|
+
- Updated dependencies [3171b5b]
|
|
3933
|
+
- Updated dependencies [973e5ac]
|
|
3934
|
+
- Updated dependencies [9e1eff5]
|
|
3935
|
+
- @mastra/core@0.9.4-alpha.2
|
|
3936
|
+
|
|
3937
|
+
## 0.0.3-alpha.1
|
|
3938
|
+
|
|
3939
|
+
### Patch Changes
|
|
3940
|
+
|
|
3941
|
+
- Updated dependencies [ab80e7e]
|
|
3942
|
+
- Updated dependencies [6fa1ad1]
|
|
3943
|
+
- Updated dependencies [c28d7a0]
|
|
3944
|
+
- Updated dependencies [edf1e88]
|
|
3945
|
+
- @mastra/core@0.9.4-alpha.1
|
|
3946
|
+
|
|
3947
|
+
## 0.0.3-alpha.0
|
|
3948
|
+
|
|
3949
|
+
### Patch Changes
|
|
3950
|
+
|
|
3951
|
+
- Updated dependencies [daf942f]
|
|
3952
|
+
- Updated dependencies [0b8b868]
|
|
3953
|
+
- @mastra/core@0.9.4-alpha.0
|
|
3954
|
+
|
|
3955
|
+
## 0.0.2
|
|
3956
|
+
|
|
3957
|
+
### Patch Changes
|
|
3958
|
+
|
|
3959
|
+
- e450778: vnext: Inngest playground fixes
|
|
3960
|
+
- Updated dependencies [e450778]
|
|
3961
|
+
- Updated dependencies [8902157]
|
|
3962
|
+
- Updated dependencies [ca0dc88]
|
|
3963
|
+
- Updated dependencies [526c570]
|
|
3964
|
+
- Updated dependencies [d7a6a33]
|
|
3965
|
+
- Updated dependencies [9cd1a46]
|
|
3966
|
+
- Updated dependencies [b5d2de0]
|
|
3967
|
+
- Updated dependencies [644f8ad]
|
|
3968
|
+
- Updated dependencies [70dbf51]
|
|
3969
|
+
- @mastra/core@0.9.3
|
|
3970
|
+
|
|
3971
|
+
## 0.0.2-alpha.0
|
|
3972
|
+
|
|
3973
|
+
### Patch Changes
|
|
3974
|
+
|
|
3975
|
+
- e450778: vnext: Inngest playground fixes
|
|
3976
|
+
- Updated dependencies [e450778]
|
|
3977
|
+
- Updated dependencies [8902157]
|
|
3978
|
+
- Updated dependencies [ca0dc88]
|
|
3979
|
+
- Updated dependencies [9cd1a46]
|
|
3980
|
+
- Updated dependencies [70dbf51]
|
|
3981
|
+
- @mastra/core@0.9.3-alpha.1
|