@mastra/core@1.77.0 @mastra/core@1.78.0
mastra-ai/mastraOct 14, 2026 → Oct 16, 20262 days between releases
What's New
Introduces Agent Scopes and Trace Aggregation API while deprecating preview utilities.
Breaking Changes
- Deprecated `buildInputPreview()` and `INPUT_PREVIEW_MAX_LENGTH` in favor of `buildPreview()` and `PREVIEW_MAX_LENGTH`.
- Removed Plan/Explore modes from Factory sessions; thinking defaults now use a single global setting.
- Removed cross-scope credential fallback; custom credential providers must use explicit `credentialScope` or policy resolution.
New Features
- Agent Scopes support for multi-tenant identity and safer memory/thread routing.
- Trace Aggregation API for end-to-end trace grouping and measurement.
- Typed Signal Queueing allows agents to queue signals without degrading them into plain user messages.
- Faster trace lists due to stored input/output/error previews reducing payload reads.
- Tool approval hook (`beforeApproval`) to reject calls before pausing.
Improvements
- Workflow reliability is enhanced for long-running executions.
- Preview storage is now available in ClickHouse, Postgres, and DuckDB stores.
Upgrade Notes
Update code to use `buildPreview()` and `PREVIEW_MAX_LENGTH` as `buildInputPreview()` is deprecated. Remove any usage of Plan/Explore modes in Factory sessions or update configuration to use the new global thinking setting. Ensure custom credential providers explicitly define `credentialScope` as cross-scope fallback is removed.
The Two Releases
October 14, 2026
Oct 14, 2026· 8 days ago
This release introduces Factory Sandbox Provider contracts with new implementations for Docker and E2B, along with environment builds and multi-repository sessions. It significantly improves durable agent safety through run fencing across multiple storage backends and enhances observational memory concurrency.
Full release notesOctober 15, 2026
Oct 16, 2026· 6 days ago
A major release introducing Agent Scopes for multi-tenant identity, a Trace Aggregation API, and typed signal queueing. Performance is improved with stored previews for traces and spans, and workflow reliability is enhanced for long-running executions.
Full release notes