Changelog
Summary
- Total packages with changes: 28
- Packages with major changes: 0
- Packages with minor changes: 1
- Packages with patch changes: 22
@mastra/agent-builder@0.2.6-alpha.0
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/memory@0.15.13-alpha.0
@mastra/braintrust@0.2.4-alpha.0
Patch Changes
- Adds
braintrustLoggeras a parameter toBraintrustExporterallowing developers to pass in their own braintrust logger. (#10698)
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/clickhouse@0.15.10-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/client-js@0.17.0-alpha.1
Minor Changes
-
Add support for custom fetch function in MastraClient to enable environments like Tauri that require custom fetch implementations to avoid timeout errors. (#10679)
You can now pass a custom fetch function when creating a MastraClient:
import { MastraClient } from '@mastra/client-js'; // Before: Only global fetch was available const client = new MastraClient({ baseUrl: 'http://your-api-url', }); // After: Custom fetch can be passed const client = new MastraClient({ baseUrl: 'http://your-api-url', fetch: customFetch, // Your custom fetch implementation });
If no custom fetch is provided, it falls back to the global fetch function, maintaining backward compatibility.
Fixes #10673
Patch Changes
-
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
feat: Add partial response support for agent and workflow list endpoints (#10906)
Add optional
partialquery parameter to/api/agentsand/api/workflowsendpoints to return minimal data without schemas, reducing payload size for list views:- When
partial=true: tool schemas (inputSchema, outputSchema) are omitted - When
partial=true: workflow steps are replaced with stepCount integer - When
partial=true: workflow root schemas (inputSchema, outputSchema) are omitted - Maintains backward compatibility when partial parameter is not provided
Server Endpoint Usage
# Get partial agent data (no tool schemas) GET /api/agents?partial=true # Get full agent data (default behavior) GET /api/agents # Get partial workflow data (stepCount instead of steps, no schemas) GET /api/workflows?partial=true # Get full workflow data (default behavior) GET /api/workflows
Client SDK Usage
import { MastraClient } from '@mastra/client-js'; const client = new MastraClient({ baseUrl: 'http://localhost:4111' }); // Get partial agent list (smaller payload) const partialAgents = await client.listAgents({ partial: true }); // Get full agent list with tool schemas const fullAgents = await client.listAgents(); // Get partial workflow list (smaller payload) const partialWorkflows = await client.listWorkflows({ partial: true }); // Get full workflow list with steps and schemas const fullWorkflows = await client.listWorkflows();
- When
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/cloud@0.1.23-alpha.0
Patch Changes
-
feat: Add partial response support for agent and workflow list endpoints (#10906)
Add optional
partialquery parameter to/api/agentsand/api/workflowsendpoints to return minimal data without schemas, reducing payload size for list views:- When
partial=true: tool schemas (inputSchema, outputSchema) are omitted - When
partial=true: workflow steps are replaced with stepCount integer - When
partial=true: workflow root schemas (inputSchema, outputSchema) are omitted - Maintains backward compatibility when partial parameter is not provided
Server Endpoint Usage
# Get partial agent data (no tool schemas) GET /api/agents?partial=true # Get full agent data (default behavior) GET /api/agents # Get partial workflow data (stepCount instead of steps, no schemas) GET /api/workflows?partial=true # Get full workflow data (default behavior) GET /api/workflows
Client SDK Usage
import { MastraClient } from '@mastra/client-js'; const client = new MastraClient({ baseUrl: 'http://localhost:4111' }); // Get partial agent list (smaller payload) const partialAgents = await client.listAgents({ partial: true }); // Get full agent list with tool schemas const fullAgents = await client.listAgents(); // Get partial workflow list (smaller payload) const partialWorkflows = await client.listWorkflows({ partial: true }); // Get full workflow list with steps and schemas const fullWorkflows = await client.listWorkflows();
- When
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/cloudflare@0.13.4-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/cloudflare-d1@0.13.10-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/core@0.24.7-alpha.1
Patch Changes
-
unexpected json parse issue, log error but dont fail (#10640)
-
Emit error chunk and call onError when agent workflow step fails (#10905)
When a workflow step fails (e.g., tool not found), the error is now properly emitted as an error chunk to the stream and the onError callback is called. This fixes the issue where agent.generate() would throw "promise 'text' was not resolved or rejected" instead of the actual error message.
-
Improved typing for
workflow.thento allow the provided stepsinputSchemato be a subset of the previous stepsoutputSchema. Also errors if the provided stepsinputSchemais a superset of the previous steps outputSchema. (#10775) -
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
Fix backport (#10599)
-
Fix type issue with workflow
.parallel()when passing multiple steps, one or more of which has aresumeSchemaprovided. (#10712) -
Handle state update and bailing in foreach steps (#10826)
-
Fix discriminatedUnion schema information lost when json schema is converted to zod (#10764)
-
Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts -
Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow (#10717)
Example code:
const result = await run.timeTravel({ step: 'step2', inputData: { value: 'input', }, });
-
Fixed OpenAI reasoning message merging so distinct reasoning items are no longer dropped when they share a message ID. Prevents downstream errors where a function call is missing its required "reasoning" item. See #9005. (#10729)
-
Commit registered uncommitted workflows automatically (#10829)
-
Safe stringify objects in telemetry (#10918)
Dependency Updates
- @mastra/schema-compat@0.11.9-alpha.0
@mastra/dane@0.1.24-alpha.1
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/upstash@0.15.10-alpha.0
- @mastra/libsql@0.16.4-alpha.0
- @mastra/memory@0.15.13-alpha.0
@mastra/deployer@0.24.7-alpha.1
Patch Changes
-
Improve nested ts-config paths resolution for NX users (#10766)
-
Fix dev playground auth to allow non-protected paths to bypass authentication when
MASTRA_DEV=true, while still requiring thex-mastra-dev-playgroundheader for protected endpoints (#10723) -
Fixed a bug where ESM shims were incorrectly injected even when the user had already declared
__filenameor__dirname(#10823) -
Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/server@0.24.7-alpha.1
@mastra/deployer-cloud@0.24.7-alpha.1
Patch Changes
-
Fix installing external peer deps for cloud deployer (#10787)
Adds
--forceand--legacy-peer-deps=falseflags to npm install command to ensure peer dependencies for external packages are properly installed in the mastra output directory. The--legacy-peer-deps=falseflag overrides package manager settings (like pnpm's default oftrue) to ensure consistent behavior. -
Fix backport (#10599)
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/deployer@0.24.7-alpha.1
@mastra/dynamodb@0.15.12-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/inngest@0.18.6-alpha.0
Patch Changes
-
Handle state update and bailing in foreach steps (#10826)
-
Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts -
Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow (#10717)
Example code:
const result = await run.timeTravel({ step: 'step2', inputData: { value: 'input', }, });
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/lance@0.3.12-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/libsql@0.16.4-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/longmemeval@0.1.43-alpha.1
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/libsql@0.16.4-alpha.0
- @mastra/memory@0.15.13-alpha.0
@mastra/mcp-docs-server@0.13.46-alpha.1
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/memory@0.15.13-alpha.0
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/schema-compat@0.11.9-alpha.0
@mastra/mongodb@0.14.11-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/mssql@0.5.4-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/pg@0.17.10-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/playground-ui@7.0.0-alpha.1
Patch Changes
-
Fix select options overflow when list is long by adding maximum height (#10833)
-
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
Fix discriminatedUnion schema information lost when json schema is converted to zod (#10764)
Dependency Updates
- @mastra/client-js@0.17.0-alpha.1
- @mastra/core@0.24.7-alpha.1
- @mastra/schema-compat@0.11.9-alpha.0
- @mastra/react@0.0.22-alpha.1
@mastra/react-hooks@0.0.22-alpha.1
Dependency Updates
- @mastra/client-js@0.17.0-alpha.1
@mastra/schema-compat@0.11.9-alpha.0
Patch Changes
- Fix discriminatedUnion schema information lost when json schema is converted to zod (#10764)
@mastra/server@0.24.7-alpha.1
Patch Changes
-
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
feat: Add partial response support for agent and workflow list endpoints (#10906)
Add optional
partialquery parameter to/api/agentsand/api/workflowsendpoints to return minimal data without schemas, reducing payload size for list views:- When
partial=true: tool schemas (inputSchema, outputSchema) are omitted - When
partial=true: workflow steps are replaced with stepCount integer - When
partial=true: workflow root schemas (inputSchema, outputSchema) are omitted - Maintains backward compatibility when partial parameter is not provided
Server Endpoint Usage
# Get partial agent data (no tool schemas) GET /api/agents?partial=true # Get full agent data (default behavior) GET /api/agents # Get partial workflow data (stepCount instead of steps, no schemas) GET /api/workflows?partial=true # Get full workflow data (default behavior) GET /api/workflows
Client SDK Usage
import { MastraClient } from '@mastra/client-js'; const client = new MastraClient({ baseUrl: 'http://localhost:4111' }); // Get partial agent list (smaller payload) const partialAgents = await client.listAgents({ partial: true }); // Get full agent list with tool schemas const fullAgents = await client.listAgents(); // Get partial workflow list (smaller payload) const partialWorkflows = await client.listWorkflows({ partial: true }); // Get full workflow list with steps and schemas const fullWorkflows = await client.listWorkflows();
- When
Dependency Updates
- @mastra/core@0.24.7-alpha.1
@mastra/upstash@0.15.10-alpha.0
Patch Changes
- Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
create-mastra@0.18.7-alpha.1
Patch Changes
-
Fix select options overflow when list is long by adding maximum height (#10833)
-
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
Fix discriminatedUnion schema information lost when json schema is converted to zod (#10764)
mastra@0.18.7-alpha.1
Patch Changes
-
Fix select options overflow when list is long by adding maximum height (#10833)
-
Add timeTravel APIs and add timeTravel feature to studio (#10757)
-
Fix discriminatedUnion schema information lost when json schema is converted to zod (#10764)
-
Add restart method to workflow run that allows restarting an active workflow run (#10703)
Add status filter togetWorkflowRuns
Add automatic restart to restart active workflow runs when server starts
Dependency Updates
- @mastra/core@0.24.7-alpha.1
- @mastra/deployer@0.24.7-alpha.1