Releases Index
Mastra

Mastra

$npx @buildinternet/releases get mastra
Recently Shipped5 releases · updated Nov 30, 2026

Recently shipped durable dataset experiments, resumable agent streams for every agent, and a built-in MCP endpoint in @mastra/server. The newest releases are @mastra/core 1.83.0 through 1.86.0.

Dataset experiments can now run as durable workflows, so a redeploy or worker crash no longer leaves a run stuck at running; another worker picks up unacked items and continues. Agents can also execute natively on the durable engines via durable.executionEngine while keeping their existing streaming and model-output APIs.

Every agent publishes a resumable run stream with replay caching, so clients can reconnect without killing the run. Cross-instance observe and abort, plus ownership and TTL enforcement, come built in.

Mastra Server ships an MCP endpoint at /api/mcp, enabled by default when server.auth is configured, so MCP clients can call your agents, workflows, and tools without defining an MCPServer. OAuth discovery and audience checks are available via server.mcp.oauth.

Knowledge gained a page-tree model, richer read tools, and opt-in read-only HTTP and JS client routes for building browsing UIs. An experimental importer contract syncs external sources into Knowledge with batching, leases, and replay protection.

Two storage and reliability changes need attention before you upgrade:

  • storageVersion: 2 is experimental but now works on Postgres and libSQL for agents and evented workflows. Long runs write only per-step deltas; one example dropped published payloads from 98 MB to 11 MB.
  • Crashed workflows now restart through startWorkers(), which uses a leader election lease across instances. On Redis/Valkey Streams and Google Cloud Pub/Sub, unacked step messages are redelivered by the broker instead of restarting everything on boot.

Observability now records execution outcome and typed stop reason, exports the model and provider, and measures time to first token.

Experiments survive crashes; Knowledge importers land

This release22 featuresNew capabilities6 enhancementsImprovements to existing features35 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.86.0

Dataset experiments can run as durable evented workflows via durable: true, so redeploys or worker crashes no longer leave runs stuck at running. Mastra also adds an experimental Knowledge importer contract with persisted bookkeeping in memory, LibSQL, and Postgres stores, and agents can now run natively on the durable default or evented engine through durable.executionEngine.

Read more ↗

Storage version 2 cuts agent writes 75 MB to 3.1 MB; knowledge scope IDs changed

This release18 featuresNew capabilities10 enhancementsImprovements to existing features40 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.84.0

Agents and evented workflows can opt into storageVersion 2, which stores runs as a header plus per-step rows and cut an example run's published messages from 98 MB to 11 MB and run time from 3.9 s to 2.7 s. Knowledge scope patterns now match $param as exactly one segment, so IDs containing a colon must be encoded with encodeKnowledgeScopeId, and existing rows under old addresses are not migrated.

Read more ↗

Resumable agent streams everywhere; built-in MCP server at /api/mcp

This release20 featuresNew capabilities15 enhancementsImprovements to existing features60 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.83.0

Every Agent now publishes resumable run streams with replay caching and cross-instance observe/abort, while @mastra/server ships a built-in MCP endpoint at /api/mcp with OAuth discovery. The durable option on plain agents now controls resumable streams only, with durable execution moved to createDurableAgent, and workflow storageVersion 2 delta writes now work on Postgres and libSQL.

Read more ↗

Knowledge v2 page tree ships; durable agents survive API restarts

This release15 featuresNew capabilities5 enhancementsImprovements to existing features20 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.82.0

Knowledge is now a page tree with upgraded list, read, pin and search tools, plus server APIs for syncing external content and opt-in read-only Knowledge routes with an SSE change stream. Evented durable agents keep running when the API process shuts down when backed by fencing-capable shared storage. Breaking changes remove experimental_subconscious, the Memory knowledge option, and knowledge.reindex().

Read more ↗

MCP tasks persist across restarts; traces record outcomes

This release12 featuresNew capabilities6 enhancementsImprovements to existing featuresAI-tallied from the release notes
@mastra/core@1.81.0

MCP tools, agents and workflows can now run as storage-backed tasks that survive restarts, and observability records execution outcomes, stop reasons, model, provider and time to first token. Breaking changes remove several @mastra/playground-ui metrics and fluid-hover APIs and the @mastra/core/network/vNext and telemetry/otel-vendor subpaths.

Read more ↗
@mastra/core@1.80.0

Highlights End-user (per-resource) connections in @mastra/connect tools({ resourceId }) and new userConnectRoutes() enable user-scoped OAuth connections so agents can safely use each end user’s accounts (in addition to global connections), with built-in caching and hard…

Read more ↗
@mastra/core@1.79.0

Highlights MCP Events (poll/stream/webhooks + Studio inspection) Experimental MCP Events (SEP-3415 draft) let MCP servers publish event streams that clients can poll, keep a stream open for, or receive via signed webhooks. Core/server/client add inspection APIs so Studio can…

Read more ↗
@mastra/core@1.78.0

Highlights Agent Scopes (multi-tenant identity + safer memory/thread routing) Agents now support scopes (:) passed per call, configured on the agent, or injected by trusted middleware via MASTRA_SCOPES_KEY; Mastra merges all three. Memory can derive resource and…

Read more ↗
@mastra/core@1.77.0

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…

Read more ↗
@mastra/core@1.76.0

Highlights Durable agent run ownership + storage-level run fencing Crash recovery is now safe across multiple instances: runs are claimed by the execution driving them, recovery skips live-claimed runs (or can force take over), and storage adapters can enforce “run fences” to…

Read more ↗
@mastra/core@1.75.0

Highlights Span Query API (list completed spans across traces) New core/server/client support lets you query individual completed spans (with filters, cursors, previews, and model cost) via storage.querySpans() / client.querySpans() / POST /api/observability/spans/query,…

Read more ↗
@mastra/core@1.72.0

Highlights Live channel resolvers (no-redeploy channel connections) Mastra({ channels }) now accepts a resolver function (via channels() in @mastra/connect) so channel connections added/removed on Mastra Platform appear on a running server without redeploy; use…

Read more ↗

ClassifierProcessor fails closed by default; classifiers as workflow steps

This release7 featuresNew capabilities3 enhancementsImprovements to existing featuresAI-tallied from the release notes
@mastra/core@1.69.0

Classifiers are now registerable on Mastra with a management API and usable as typed workflow steps, while the new ClassifierProcessor enforces classifier policies on agent input, output, and streaming and fails closed by default (opt in to prior fail-open with errorStrategy: 'warn'). Tools can adopt long-running native background operations via context.background.adopt(), @mastra/connect 0.3.0 adds ten generated SaaS tool providers, and Inngest workflows accept a retries option for durable runs.

Read more ↗
@mastra/core@1.68.0

Highlights MCP v2 (2026-07-28) server architecture in @mastra/mcp@2.0.0 @mastra/mcp is now rebuilt on the MCP 2026-07-28 revision: no initialize handshake/session headers, and tools that need input use first-class suspend/resume (context.suspend() + context.resumeData) with…

Read more ↗
@mastra/core@1.67.0

Highlights Studio Workflow Builder Backend (persisted workflows) A new Studio Workflow Builder backend can be enabled via the workflowBuilder editor option, adding an editor-owned agent that authors persisted workflow definitions plus new server endpoints (GET…

Read more ↗

Advanced trace queries; observability feedback/scores deletion

This release8 featuresNew capabilities2 enhancementsImprovements to existing features3 fixesBug fixesAI-tallied from the release notes
@mastra/core@1.66.0

Trace querying gains rich predicates for same-span properties (model/provider, duration, outcome, identity, lineage), portable top-level metadata.* filters, and richer feedback/scores filters across Postgres, ClickHouse, and DuckDB. Observability storage adds idempotent batch deleteFeedback() and deleteScores() with matching DELETE /api/observability routes and client methods, plus a deploy-scoped Cloud worker provisioning manifest and first-chunk streaming timeout.

Read more ↗