Mastra 1.78.0 released
A feature release adding agent scopes for multi-tenant identity, trace aggregation APIs, typed signal queueing, and improved workflow reliability.
What changed in 1.78.0
- Agents now support scopes (like org:acme, resource:user-123) passed per call, configured on the agent, or injected via middleware; memory derives resource and thread from these scopes.
- New trace aggregation API with POST /observability/traces/aggregate endpoint, client method aggregateTraces(), and React hook useTraceAggregateAvailable().
- Agents can queue typed signals via queueSignal() method without converting them to plain messages; signal metadata now appears on AGENT_RUN span.
- Trace and span lists now include outputPreview and errorPreview fields (max 100 characters) stored at write time, reducing latency and memory use.
- Workflow .foreach() now correctly fails runs on iteration errors; durable agents work across both workflow engines; resume preserves suspendData after crashes.
Check before you update
- buildInputPreview() and INPUT_PREVIEW_MAX_LENGTH deprecated; use buildPreview() and PREVIEW_MAX_LENGTH instead.
- Factory sessions no longer support Plan/Explore modes; thinking configuration now uses single global default; PUT /web/config/thinking rejects modeDefaults.
- Cross-scope credential fallback removed; custom credential providers must use explicit credentialScope and policy resolution instead of orgFirst.
Summarised by AgentGid from Mastra's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Mastra at a glance
| What it is | A TypeScript framework for building agents and AI workflows, with memory, evals, retrieval and observability built in. |
|---|---|
| Latest version | 1.83.0, Nov 13, 2026. This page is about an earlier release. |
| Release pace | 5 stable releases in the last 30 days; 1.78.0 came 2 days after the previous one |
| Price | Free (OSS). Mastra is open source and free to use; you pay only for the models and infrastructure it runs on. (checked Nov 9, 2026) |
| Downloads, last 7 days | 3.6M up 13.1% |
| Gid Score | 61 #5 in Agent frameworks and SDKs |