47 model prices
  1. Home
  2. Releases
  3. Mastra
  4. 1.77.0

Mastra 1.77.0 release notes

Mastra 1.77.0 was released on October 14, 2026. The latest version is 1.86.0.

@mastra/core@1.77.0 · · 240 listed changesBreaking

The release notes for this version mention breaking changes.

Release notes

Highlights

Factory Sandbox Provider Contract + New Providers (Docker/E2B/Platform)

Mastra Factory now has a first-class FactorySandbox contract for sandbox providers, enabling tunable settings schemas, repository templates, and prebuilt environment builds. New *FactorySandbox implementations ship for Docker (@mastra/docker), E2B (@mastra/e2b), and Mastra Platform (@mastra/platform-workspace) to plug in with a single provider instance.

Factory Environment Builds + Multi-Repo Sessions

Factory can now build environment templates ahead of sessions (manual, scheduled cron, or push-triggered builds) when the sandbox supports builds, reducing first-session cold starts. Sessions also boot every repository in the environment (ordered, shared workspace root) and can push/open change requests across any environment repo via source_control_* tools with a repository slug.

Durable Agent Safety: Run Fencing Across Storage Backends

Multiple storage adapters (Cloudflare DO/D1, Convex, DynamoDB, DSQL, MongoDB, MSSQL, MySQL, OracleDB, Spanner, Redis/Upstash/Valkey) now support “run fencing” so a durable execution that lost ownership (e.g., crash recovery) can’t overwrite the recovered run’s threads/messages/workflow state—significantly improving correctness in distributed deployments.

Observational Memory Concurrency + New Conflict-Aware Storage Writes

A large set of fixes harden Observational Memory against overlapping buffering/activation/reflection across processes, adding “generation” protection (supersededBy) and new write-result APIs like commitActiveObservations({ applied, reason }) and appendBufferedObservations({ persisted, recordId }). Observational memory also blocks less often (blockAfter band), preserves correct ordering, and improves reflection fidelity for long-running threads.

Trace Linking & Cross-System Observability (Spans + MCP)

Spans now support links (including W3C traceparent helpers) and exporters propagate them (Datadog/Sentry/OTel bridge/exporter), enabling correlation across traces without joining them. @mastra/mcp additionally links client tool-call spans to server request spans bidirectionally, making it easy to navigate between agent traces and MCP server traces.

Breaking Changes

Changelog

@mastra/core@1.77.0
Minor Changes
Patch Changes
@mastra/ai-sdk@1.11.1
Patch Changes
@mastra/auth-better-auth@1.1.7
Patch Changes
@mastra/braintrust@1.3.21
Patch Changes
@mastra/clickhouse@1.25.0
Minor Changes
Patch Changes
@mastra/client-js@1.54.0
Minor Changes
Patch Changes
@mastra/cloudflare@1.7.3
Patch Changes
@mastra/cloudflare-d1@1.4.2
Patch Changes
@mastra/code-sdk@1.13.0
Minor Changes
Patch Changes
@mastra/connect@1.0.2
Patch Changes
@mastra/convex@1.7.3
Patch Changes
@mastra/datadog@1.4.16
Patch Changes
@mastra/docker@0.11.0
Minor Changes
@mastra/dsql@1.5.2
Patch Changes
@mastra/dynamodb@1.4.2
Patch Changes
@mastra/e2b@0.14.0
Minor Changes
@mastra/factory@0.22.0
Minor Changes
Patch Changes
@mastra/fastembed@1.3.3
Patch Changes
@mastra/langfuse@1.6.0
Minor Changes
@mastra/langsmith@1.3.26
Patch Changes
@mastra/libsql@1.26.1
Patch Changes
@mastra/loggers@1.3.7
Patch Changes
@mastra/mcp@2.4.0
Minor Changes
@mastra/memory@1.37.1
Patch Changes
@mastra/mongodb@1.23.1
Patch Changes
@mastra/mssql@1.10.3
Patch Changes
@mastra/mysql@0.13.1
Patch Changes
@mastra/next@0.2.35
Patch Changes
@mastra/observability@1.20.0
Minor Changes
Patch Changes
@mastra/oracledb@0.5.2
Patch Changes
@mastra/otel-bridge@1.5.16
Patch Changes
@mastra/otel-exporter@1.4.7
Patch Changes
@mastra/pg@1.31.1
Patch Changes
@mastra/platform-workspace@1.8.0
Minor Changes
@mastra/playground-ui@63.0.0
Minor Changes
Patch Changes
@mastra/posthog@1.4.1
Patch Changes
@mastra/react@1.10.0
Minor Changes
@mastra/redis@1.4.10
Patch Changes
@mastra/sentry@1.2.26
Patch Changes
@mastra/server@1.77.0
Minor Changes
Patch Changes
@mastra/spanner@1.9.4
Patch Changes
@mastra/upstash@1.5.3
Patch Changes
@mastra/valkey@0.2.6
Patch Changes
Other updated packages

The following packages were updated with dependency changes only:

Source: GitHub release @mastra/core@1.77.0

Newer: 1.78.0Older: 1.76.0Mastra