releases.shpreview
Mastra

Mastra

$npx @buildinternet/releases get mastra
@mastra/core@1.51.0

Highlights

Durable Agent Crash Recovery (server + client + boot-time)

Durable agents can now discover and recover orphaned RUNNING runs after a restart via DurableAgent.listActiveRuns(), recover(), and recoverActiveRuns(), plus…

Read more →

LiveKit voice agents ship; heartbeats → schedules (breaking)

This release6 featuresNew capabilities2 enhancementsImprovements to existing featuresAI-tallied from the release notes
@mastra/core@1.50.0

The heartbeats API is renamed to schedules across methods, routes, and types; agent schedule IDs now use the agent_ prefix and the default fire signal tag is <schedule>. New @mastra/livekit package enables realtime voice agents with WebRTC, VAD, STT/TTS, turn detection, and barge-in handled by LiveKit while Mastra drives replies, tools, and memory. File-system routing now auto-discovers storage.ts, observability.ts, server.ts, workflows, and agent processors from src/mastra, and @mastra/deployer can auto-construct a Mastra instance when src/mastra/index.ts is absent.

Read more →

Storage retention; multi-tenant datasets/experiments; trace scoring APIs

This release8 featuresNew capabilities3 enhancementsImprovements to existing features4 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.49.0

Storage retention policies can now be declared per table with a safe storage.prune() method to delete aged data across growth tables. Multi-tenant isolation is now available end-to-end for datasets, experiments, scores, and scorers via optional organizationId/projectId scoping at the storage layer. New scoreTrace() and scoreTraceBatch() APIs let you score already-stored traces without re-running agents, with optional provenance metadata linking scores back to dataset items.

Read more →
@mastra/core@1.46.0

Highlights

Multi-session Harness architecture (Session-first APIs)

Harness is now a pure factory/shared-resource owner: create isolated sessions via harness.createSession() (get-or-create by resourceId), with run control, state, event bus, model/mode switching,…

Read more →

Mastra v1.45.0 fixes WorkOS OAuth login and agent signal drain for reliable signal turns

This release2 featuresNew capabilities3 enhancementsImprovements to existing features2 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.45.0

Fixed a WorkOS OAuth login failure caused by a missing PKCE verifier cookie. Agent signal drains now record pending signals through the canonical transcript path and rotate response message IDs consistently, preventing follow-up signal turns from attaching to the wrong assistant response. Also includes faster long-thread resume via optimized state signal restoration and redesigned Studio UI panels.

Read more →
@mastra/core@1.42.0

Highlights

Trusted “system actor” execution for workflows, tools, memory, and agents

You can now run server-side/background work (cron jobs, schedulers, queues) as a trusted actor across workflow.execute(), tool.execute(), agent.generate()/stream(), and memory…

Read more →

Thread-scoped notifications; processor state signals for thread context

This release5 featuresNew capabilitiesAI-tallied from the release notes
@mastra/core@1.39.0

New record-first notification signals add a thread-scoped inbox with agent.sendNotificationSignal(), priority-aware delivery, due-notification dispatch, and low-priority rollups, persisted across Postgres, MongoDB, and LibSQL backends. Processors can now publish replayable state lanes via computeStateSignal() and external producers can update them with agent.sendStateSignal(), enabling efficient snapshot/delta state history. @mastra/react adds a fully type-safe MessageFactory for per-part rendering with strongly-typed status slots, while @mastra/core/stream exports canonical IsTaskCompletePayload and TripwirePayload types for consistent UI typing.

Read more →
@mastra/core@1.38.0

Highlights

OAuth ToolProviders runtime for stored agents (connections + toolkit-scoped tool resolution)

Mastra now includes the v1 ToolProvider runtime plus server routes, editor wiring, and client SDK methods to manage OAuth-backed connections and let stored agents…

Read more →
@mastra/core@1.36.0

Highlights

Stored Entity HTTP APIs (Agents/Skills/Workspaces) + Builder/Registry Introspection

@mastra/server adds a full HTTP surface for stored entities (CRUD, versioning, activation/restore) including favorites metadata, plus builder introspection endpoints and…

Read more →
@mastra/core@1.37.0

Highlights

Google Cloud Spanner Storage Adapter (@mastra/spanner@1.0.0)

New first-party storage backend for Google Cloud Spanner (GoogleSQL) covering most Mastra storage domains (memory, workflows, schedules, observability, etc.), including persisting tracing spans…

Read more →

FGA route policy coverage; favorites domain across storage backends

This release3 featuresNew capabilities1 enhancementImprovements to existing features4 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.35.0

New FGA route policy coverage controls add guardrails for protected routes with built-in resource route metadata resolution and resolver hooks, and a favorites storage domain lets users favorite agents and skills with visibility and favorite count fields. Implemented across PostgreSQL, LibSQL, MongoDB, and ClickHouse adapters. Token estimation for large file parts in observational memory is improved, and fixes address workspace PATCH undefined overwrites, scheduled workflow schedule application, and a circular ESM import crash in @mastra/core/workflows.

Read more →
@mastra/core@1.34.0

New @mastra/acp package lets you run ACP-compatible coding agents as Mastra tools or lightweight subagents with incremental streaming support in supervisors, workflows, and the Inngest adapter. New @mastra/voice-xai-realtime adds realtime voice integration for xAI Grok Voice Agent API. Agents now support optional metadata for client-side filtering and cloning, enterprise entry points for admin model policies and RBAC enhancements, improved file handling in workspace.read_file with native media parts, and a lightweight trace listing API for observability.

Read more →
@mastra/core@1.33.0

Mastra now supports push delivery for workflow events via PubSubs and HTTP endpoints, enabling brokers like GCP Pub/Sub and SNS to deliver events without a pull worker. A new opt-in ResponseCache input processor skips redundant model calls by replaying cached responses per step. Agents can accept contextual signals mid-run and clients can subscribe to thread activity for reliable follow-ups during streaming responses. Breaking changes include Inngest v4 requirement, paginated list methods now requiring orderBy, and removal of some Playground UI exports.

Read more →
@mastra/core@1.32.0

Highlights

Fine-Grained Authorization (FGA) across Mastra (core + server adapters + MCP)

Mastra now supports relationship-based, resource-level authorization with centralized enforcement before agent runs (generate()/stream()), tool/workflow execution, and memory…

Read more →
@mastra/core@1.31.0

Highlights

Platform Channels Framework (Core + Server + Client)

A new channels architecture adds ChannelProvider, a dedicated ChannelsStorage domain, and ChannelConnectResult connection flows (OAuth, deep link, immediate), with Mastra-level…

Read more →
@mastra/core@1.30.0

Highlights

Durable Agents + Resumable Streams (crash/disconnect resilient execution)

New DurableAgent support lets agent streams resume after client disconnects and continue through server crashes/restarts by caching stream events and enabling reconnection via…

Read more →