---
title: "@mastra/server 2.0.4 Breaking Changes on npm | Since.dev"
description: "What each @mastra/server release removed, renamed or changed: 2,737 breaking changes in 75 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@mastra/server
last_updated: 2026-12-04
---

# @mastra/server breaking changes

@mastra/server 2.0.4 (May 13, 2025) is its newest release with breaking changes, 8 of them. The first: Signature changed handlers:agents.getAgentByIdHandler. Every breaking API change we have recorded in @mastra/server on npm: 2,737 breaking changes in 75 versions. Below, its 75 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.4`, released May 13, 2025. [Source repository](https://github.com/mastra-ai/mastra)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.82.0](#v-1-82-0) to [2.0.4](#v-2-0-4): 992 breaking changes in 8 versions.
- From [1.0.0](#v-1-0-0) to [2.0.4](#v-2-0-4): 2,615 breaking changes in 74 versions.

## @mastra/server 2.0.4 breaking changes

@mastra/server 2.0.4, released May 13, 2025: 8 breaking changes.

- **Signature changed** `handlers:agents.getAgentByIdHandler`  

Was function getAgentByIdHandler({mastra, runtimeContext, agentId}: Context & {runtimeContext: RuntimeContext; agentId: string;}): Promise<{name: any; instructions: string; tools: any; provider: string; modelId: string;}>; now function... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:memory.getMessagesHandler`  

Was function getMessagesHandler({mastra, agentId, threadId}: Pick\<MemoryContext, 'mastra' | 'agentId' | 'threadId'>): Promise<{messages: CoreMessage\[\]; uiMessages: Message\[\];}>; now function getMessagesHandler({mastra, agentId, threadId... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:tools.executeAgentToolHandler`  

Was function executeAgentToolHandler({mastra, agentId, toolId, data, runtimeContext}: Pick\<ToolsContext, 'mastra' | 'toolId'> & {agentId?: string; data: any; runtimeContext: RuntimeContext;}): Promise\<any>; now function... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:tools.executeToolHandler`  

Was function executeToolHandler(tools: ToolsContext\['tools'\]): ({mastra, runId, toolId, data, runtimeContext}: Pick\<ToolsContext, "mastra" | "toolId" | "runId"> & {data?: unknown; runtimeContext: RuntimeContext;}) => Promise\<any>; now... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:vNextWorkflows.getVNextWorkflowByIdHandler`  

Was function getVNextWorkflowByIdHandler({mastra, workflowId}: VNextWorkflowContext): Promise<{steps: any; name: string | undefined; stepGraph: SerializedStepFlowEntry\[\]; inputSchema: string | undefined; outputSchema: string |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:vNextWorkflows.resumeAsyncVNextWorkflowHandler`  

Was function resumeAsyncVNextWorkflowHandler({mastra, workflowId, runId, body, runtimeContext}: VNextWorkflowContext & {body: {step: string | string\[\]; resumeData?: unknown;}; runtimeContext?: RuntimeContext_2;})... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:vNextWorkflows.startAsyncVNextWorkflowHandler`  

Was function startAsyncVNextWorkflowHandler({mastra, runtimeContext, workflowId, runId, inputData}: Pick\<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {inputData?: unknown; runtimeContext?: RuntimeContext_2;})... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)
- **Signature changed** `handlers:vNextWorkflows.startVNextWorkflowRunHandler`  

Was function startVNextWorkflowRunHandler({mastra, runtimeContext, workflowId, runId, inputData}: Pick\<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'> & {inputData?: unknown; runtimeContext?: RuntimeContext_2;}): Promise<{message... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.4)

## @mastra/server 2.0.4-alpha.0 breaking changes

@mastra/server 2.0.4-alpha.0, released May 13, 2025: 1 breaking change.

- **Behavior changed**  

Agents, tools and workflows now take runtimeContext set from the playground; code relying on the previous context may behave differently. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@2.0.4/packages/server/CHANGELOG.md)

## @mastra/server 2.0.3 breaking changes

@mastra/server 2.0.3, released May 9, 2025: 2 breaking changes.

- **Signature changed** `handlers:agents.generateHandler`  

Was function generateHandler({mastra, runtimeContext, agentId, body}: Context & {runtimeContext: RuntimeContext; agentId: string; body: GetBody<'generate'> & {resourceid?: string;};}): Promise\<GenerateTextResult\<any, any>>; now function... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.3)
- **Signature changed** `handlers:agents.streamGenerateHandler`  

Was function streamGenerateHandler({mastra, runtimeContext, agentId, body}: Context & {runtimeContext: RuntimeContext; agentId: string; body: GetBody<'stream'> & {resourceid?: string;};}): Promise\<Response | undefined>; now function... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.3)

## @mastra/server 2.0.2 breaking changes

@mastra/server 2.0.2, released May 6, 2025: 4 breaking changes.

- **Removed** `handlers:vNextWorkflows.getVNextWorkflowRunHandler`  

vNextWorkflows.getVNextWorkflowRunHandler was removed in @mastra/server 2.0.2 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.2)
- **Signature changed** `handlers:vNextWorkflows.getVNextWorkflowByIdHandler`  

Was function getVNextWorkflowByIdHandler({mastra, workflowId}: VNextWorkflowContext): Promise<{steps: any; name: string | undefined; stepGraph: StepFlowEntry\[\]; inputSchema: string | undefined; outputSchema: string | undefined;}>; now... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.2)
- **Signature changed** `handlers:vNextWorkflows.getVNextWorkflowRunsHandler`  

Was function getVNextWorkflowRunsHandler({mastra, workflowId}: VNextWorkflowContext): Promise\<WorkflowRuns>; now function getVNextWorkflowRunsHandler({mastra, workflowId, fromDate, toDate, limit, offset, resourceId}: VNextWorkflowContext &... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.2)
- **Signature changed** `handlers:workflows.getWorkflowRunsHandler`  

Was function getWorkflowRunsHandler({mastra, workflowId}: WorkflowContext): Promise\<WorkflowRuns>; now function getWorkflowRunsHandler({mastra, workflowId, fromDate, toDate, limit, offset, resourceId}: WorkflowContext & {fromDate?: Date... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.2)

## @mastra/server 2.0.1 breaking changes

@mastra/server 2.0.1, released April 30, 2025: 7 breaking changes.

- **Signature changed** `handlers:agents.getAgentByIdHandler`  

Was function getAgentByIdHandler({mastra, agentId}: Context & {agentId: string;}): Promise<{name: any; instructions: string; tools: any; provider: string; modelId: string;}>; now function getAgentByIdHandler({mastra, runtimeContext... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:agents.getAgentsHandler`  

Was function getAgentsHandler({mastra}: Context): Promise\<any>; now function getAgentsHandler({mastra, runtimeContext}: Context & {runtimeContext: RuntimeContext;}): Promise\<any>. [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:agents.getEvalsByAgentIdHandler`  

Was function getEvalsByAgentIdHandler({mastra, agentId}: Context & {agentId: string;}): Promise<{id: string; name: any; instructions: string; evals: EvalRow\[\];}>; now function getEvalsByAgentIdHandler({mastra, runtimeContext, agentId}... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:agents.getLiveEvalsByAgentIdHandler`  

Was function getLiveEvalsByAgentIdHandler({mastra, agentId}: Context & {agentId: string;}): Promise<{id: string; name: any; instructions: string; evals: EvalRow\[\];}>; now function getLiveEvalsByAgentIdHandler({mastra, runtimeContext... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:network.getNetworkByIdHandler`  

Was function getNetworkByIdHandler({mastra, networkId}: Pick\<NetworkContext, 'mastra' | 'networkId'>): Promise<{id: string; name: string; instructions: string; agents: {name: string; provider: string; modelId: string;}\[\]; routingModel... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:network.getNetworksHandler`  

Was function getNetworksHandler({mastra}: Pick\<NetworkContext, 'mastra'>): Promise<{id: string; name: string; instructions: string; agents: {name: string; provider: string; modelId: string;}\[\]; routingModel: {provider: string; modelId... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)
- **Signature changed** `handlers:voice.generateSpeechHandler`  

Was function generateSpeechHandler({mastra, agentId, body}: VoiceContext & {body?: {text?: string; speakerId?: string;};}): Promise<{audioData: Buffer\<ArrayBuffer>;}>; now function generateSpeechHandler({mastra, agentId, body}... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.1)

## @mastra/server 2.0.0 breaking changes

@mastra/server 2.0.0, released April 23, 2025: 968 breaking changes.

- **Removed**  

The \_\_ functions in storage were removed and moved to a storage proxy so that init is always called. Code that calls the old \_\_ storage functions must switch to the storage proxy. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@2.0.0/packages/server/CHANGELOG.md)
- **Removed** `a2a/store:InMemoryTaskStore`  

InMemoryTaskStore was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `a2a/store:TaskStoreVersionConflictError`  

TaskStoreVersionConflictError was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:AuthMiddlewareContext`  

AuthMiddlewareContext was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:AuthResult`  

AuthResult was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:canAccessPublicly`  

canAccessPublicly was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:checkRules`  

checkRules was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:coreAuthMiddleware`  

coreAuthMiddleware was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:defaultAuthConfig`  

defaultAuthConfig was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)
- **Removed** `auth:findMatchingCustomRoute`  

findMatchingCustomRoute was removed in @mastra/server 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/2.0.0)

And 958 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

69 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @mastra/server 2.0.0-alpha.8 breaking changes

@mastra/server 2.0.0-alpha.8, released April 23, 2025: 1 breaking change.

- **Renamed** `Container`  

The Container class was renamed to RuntimeContext. Code that imports or uses Container must use RuntimeContext instead. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@2.0.0/packages/server/CHANGELOG.md)

### @mastra/server 2.0.0-alpha.3 breaking changes

@mastra/server 2.0.0-alpha.3, released April 23, 2025: 1 breaking change.

- **Removed**  

The \_\_ functions in storage were removed and moved to a storage proxy so that init is always called. Code that calls the old \_\_ storage functions must switch to the storage proxy. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@2.0.0/packages/server/CHANGELOG.md)

### @mastra/server 1.82.0 breaking changes

@mastra/server 1.82.0, released November 3, 2026: 47 breaking changes.

- **Behavior changed**  

Errors in streamed chunks, including tool and run errors, no longer send stacks to clients, even for errors that used to carry one. Clients that read stacks from stream errors must stop relying on them. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.82.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "POST"; path: "/agents/:agentId/clone"; responseType: "json"; streamFormat?: 'sse' |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.82.0)

And 45 more in this version.

### @mastra/server 1.82.0-alpha.3 breaking changes

@mastra/server 1.82.0-alpha.3, released November 3, 2026: 1 breaking change.

- **Behavior changed**  

Errors in streamed chunks now keep their message but no longer send stacks, so code that reads stack fields from stream errors must stop relying on them. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.82.0/packages/server/CHANGELOG.md)

### @mastra/server 1.81.0 breaking changes

@mastra/server 1.81.0, released October 30, 2026: 31 breaking changes.

- **Behavior changed**  

When the request context fails the agent's requestContextSchema, generate and stream routes now respond with HTTP 400 instead of 500. Clients that treat 500 as a server failure should also handle 400 as a bad request. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.81.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:mcp.EMIT_MCP_SERVER_EVENT_ROUTE`  

Was const EMIT_MCP_SERVER_EVENT_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "POST"; path: "/mcp/:serverId/events/:eventName/emit"; responseType: "json"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.81.0)

And 29 more in this version.

### @mastra/server 1.80.0 breaking changes

@mastra/server 1.80.0, released October 28, 2026: 18 breaking changes.

- **Behavior changed**  

Server handlers use the same permission provider as route checks. A request with no applicable provider is now denied instead of allowed, so check your access control configuration. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)
- **Behavior changed** `controller.abort`  

Calling controller.abort() on the streaming fetch no longer stops a durable run. To stop execution, send POST /agents/:agentId/runs/:runId/abort or call agent.abortRun(runId) with the JavaScript client. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)

And 16 more in this version.

### @mastra/server 1.80.0-alpha.6 breaking changes

@mastra/server 1.80.0-alpha.6, released October 28, 2026: 2 breaking changes.

- **Behavior changed** `observe`  

Consumers of /observe must read the public frame directly, for example event.payload.text instead of event.data.payload.text. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)
- **Behavior changed** `POST .agents.:agentId.recover`  

POST /agents/:agentId/recover now returns HTTP 409 when the run is no longer active. Update any error handling that expects a different status. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)

### @mastra/server 1.80.0-alpha.5 breaking changes

@mastra/server 1.80.0-alpha.5, released October 28, 2026: 2 breaking changes.

- **Behavior changed**  

Studio requests are now checked against access control configured only under studio, including thread access. Requests with no applicable provider are denied. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)
- **Configuration changed**  

Upgrade @mastra/core to 1.80.0 or newer before upgrading @mastra/server, since install now fails with core 1.79 or older. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)

### @mastra/server 1.80.0-alpha.1 breaking changes

@mastra/server 1.80.0-alpha.1, released October 28, 2026: 1 breaking change.

- **Behavior changed** `controller.abort`  

Calling controller.abort() on the streaming fetch only disconnects the observer. To stop execution, call POST /agents/:agentId/runs/:runId/abort or agent.abortRun(runId). [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)

### @mastra/server 1.80.0-alpha.0 breaking changes

@mastra/server 1.80.0-alpha.0, released October 28, 2026: 1 breaking change.

- **Behavior changed**  

Authenticated Studio users without a route's required permission now get a 403 instead of being allowed through. Check that Studio users have the permissions they need. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.80.0/packages/server/CHANGELOG.md)

### @mastra/server 1.79.0 breaking changes

@mastra/server 1.79.0, released October 21, 2026: 34 breaking changes.

- **Removed** `querySpans`  

querySpans() no longer accepts model and provider filters and no longer returns cost or the truncated-flag fields. Remove those from your queries and code. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.79.0/packages/server/CHANGELOG.md)
- **Removed** `sessionScope`  

Requests that still send sessionScope, in the query or the create body, now get a 400 naming sessionId. Send sessionId instead. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.79.0/packages/server/CHANGELOG.md)

And 32 more in this version.

### @mastra/server 1.79.0-alpha.9 breaking changes

@mastra/server 1.79.0-alpha.9, released October 21, 2026: 1 breaking change.

- **Renamed** `sessionScope`  

The sessionScope param is removed and requests sending it get a 400; use sessionId in paths and create bodies. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.79.0/packages/server/CHANGELOG.md)

### @mastra/server 1.79.0-alpha.4 breaking changes

@mastra/server 1.79.0-alpha.4, released October 21, 2026: 1 breaking change.

- **Configuration changed** `POST .observability.threads.query`  

Thread rows need a top-level time selector; the old traces.timeRange shape is replaced. Legacy identity requests still work. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.79.0/packages/server/CHANGELOG.md)

### @mastra/server 1.79.0-alpha.1 breaking changes

@mastra/server 1.79.0-alpha.1, released October 21, 2026: 1 breaking change.

- **Behavior changed** `querySpans`  

querySpans() no longer accepts model and provider filters or returns cost, inputTruncated, outputTruncated and errorTruncated. Remove those filters and fields from calls that use them. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.79.0/packages/server/CHANGELOG.md)

### @mastra/server 1.78.0 breaking changes

@mastra/server 1.78.0, released October 15, 2026: 14 breaking changes.

- **Behavior changed**  

Routes without an ownership check now deny a run id that belongs to a different resource. Reusing another resource's run id returns 403 instead of succeeding. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.78.0/packages/server/CHANGELOG.md)
- **Behavior changed**  

A mapped caller can only act on its own workflow runs. Callers not mapped to a resource need an FGA provider for privileged run access. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.78.0/packages/server/CHANGELOG.md)

And 12 more in this version.

### @mastra/server 1.77.0 breaking changes

@mastra/server 1.77.0, released October 14, 2026: 6 breaking changes.

- **Behavior changed** `POST .workflows.durable-agentic-loop.start-async`  

Workflow routes and POST /schedules now return 404 for internal workflows such as durable-agentic-loop. Call the agent routes instead, such as POST /agents/:agentId/stream and POST /agents/:agentId/resume-stream. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.77.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:workflows.EXECUTE_WORKFLOW_STEP_ROUTE`  

Was const EXECUTE_WORKFLOW_STEP_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "POST"; path: "/workflows/:workflowId/runs/:runId/steps/execute"; responseType... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.77.0)

And 4 more in this version.

### @mastra/server 1.76.0 breaking changes

@mastra/server 1.76.0, released October 11, 2026: 60 breaking changes.

- **Removed** `POST .web.config.om.provider-defaults`  

The route was removed, so callers of POST /web/config/om/provider-defaults will no longer find it. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)
- **Behavior changed**  

Stored memory model settings are now applied per run rather than copied into session state. Code that relied on connecting a provider to set observer or reflector models must now save those settings explicitly. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)

And 58 more in this version.

### @mastra/server 1.76.0-alpha.8 breaking changes

@mastra/server 1.76.0-alpha.8, released October 11, 2026: 1 breaking change.

- **Behavior changed**  

Durable agent requests that conflict with a run's state now return 409 Conflict. Clients that treated these as server errors should handle 409. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)

### @mastra/server 1.76.0-alpha.4 breaking changes

@mastra/server 1.76.0-alpha.4, released October 11, 2026: 3 breaking changes.

- **Removed** `POST .web.config.om.provider-defaults`  

The unused observational memory provider-defaults route was removed. Stop calling it. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)
- **Behavior changed**  

With an authorization provider configured, read routes need agent-controller:read and session-changing operations need agent-controller:execute. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)

And 1 more in this version.

### @mastra/server 1.76.0-alpha.1 breaking changes

@mastra/server 1.76.0-alpha.1, released October 11, 2026: 1 breaking change.

- **Behavior changed** `client.updateWorkingMemory`  

Merge-mode working memory updates now fail with HTTP 400 when the storage adapter does not support atomic merges, instead of replacing the record. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)

### @mastra/server 1.76.0-alpha.0 breaking changes

@mastra/server 1.76.0-alpha.0, released October 11, 2026: 1 breaking change.

- **Behavior changed** `POST .api.memory.threads`  

Creating a thread or conversation with an id owned by a different resource now returns 403. Re-creating your own thread with the same id still works. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.76.0/packages/server/CHANGELOG.md)

### @mastra/server 1.75.0 breaking changes

@mastra/server 1.75.0, released October 7, 2026: 34 breaking changes.

- **Removed** `modeId`  

Clients must stop sending modeId when switching models; sessions now persist one current model for the thread. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.75.0/packages/server/CHANGELOG.md)
- **Removed** `scope`  

Clients must stop sending scope when switching models; sessions now persist one current model for the thread. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.75.0/packages/server/CHANGELOG.md)

And 32 more in this version.

### @mastra/server 1.73.0 breaking changes

@mastra/server 1.73.0, released October 1, 2026: 7 breaking changes.

- **Behavior changed** `approveTool`  

approveTool() now resolves to { ok: false, reason } when a decision is stale, duplicate, or no longer pending, instead of always reporting success. Check the ok field and do not rely on automatic retries. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.73.0/packages/server/CHANGELOG.md)
- **Behavior changed** `respondToToolSuspension`  

respondToToolSuspension() now resolves to { ok: false, reason } when the response was ignored, instead of always reporting success. It also no longer retries automatically, so check the ok field and handle failures yourself. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.73.0/packages/server/CHANGELOG.md)

And 5 more in this version.

### @mastra/server 1.72.0 breaking changes

@mastra/server 1.72.0, released September 30, 2026: 13 breaking changes.

- **Behavior changed**  

Stored agents now keep their durable execution settings, and changing durability produces a new agent version rather than updating in place. Code that expects the same agent version after changing durability must account for the new... [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)
- **Behavior changed** `resume-stream`  

Resuming a durable run now verifies that the run exists, belongs to the caller, is suspended, and matches the requested thread. Callers that resumed runs outside these checks will now get a 403 and must send matching run and thread details. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)

And 11 more in this version.

### @mastra/server 1.72.0-alpha.6 breaking changes

@mastra/server 1.72.0-alpha.6, released September 30, 2026: 2 breaking changes.

- **Behavior changed** `resume-stream`  

Resume requests for durable agents now return 403 unless the run exists, belongs to the caller, is suspended, and matches the requested thread. Callers that resumed mismatched runs must now send matching requests. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)
- **Behavior changed** `resume-stream-until-idle`  

Resume-until-idle requests for durable agents now return 403 unless the run exists, belongs to the caller, is suspended, and matches the requested thread. Callers that resumed mismatched runs must now send matching requests. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)

### @mastra/server 1.72.0-alpha.2 breaking changes

@mastra/server 1.72.0-alpha.2, released September 30, 2026: 1 breaking change.

- **Behavior changed**  

Updating durable execution settings on a stored agent now produces a new agent version rather than updating in place. Code that expects the same version after a durability change must account for this. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)

### @mastra/server 1.72.0-alpha.0 breaking changes

@mastra/server 1.72.0-alpha.0, released September 30, 2026: 1 breaking change.

- **Behavior changed** `subscribeToThread`  

Reconnecting to a thread subscription no longer replays runs that already completed. Code that relied on that replay must fetch stored history instead, for example with withInitialHistory. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.72.0/packages/server/CHANGELOG.md)

### @mastra/server 1.71.0 breaking changes

@mastra/server 1.71.0, released September 24, 2026: 25 breaking changes.

- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "POST"; path: "/agents/:agentId/clone"; responseType: "json"; streamFormat?: 'sse' |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.71.0)
- **Signature changed** `handlers:agents.GET_AGENT_BY_ID_ROUTE`  

Was const GET_AGENT_BY_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/agents/:agentId"; responseType: "json"; streamFormat?: 'sse' | 'stream'... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.71.0)

And 23 more in this version.

### @mastra/server 1.70.0 breaking changes

@mastra/server 1.70.0, released September 24, 2026: 14 breaking changes.

- **Behavior changed**  

A feedback review-status update that conflicts with a newer version of the feedback now returns HTTP 409, so clients that treated the previous server error as a failure must handle 409 and can retry. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.70.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:agents.ABORT_AGENT_THREAD_ROUTE`  

Was const ABORT_AGENT_THREAD_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "POST"; path: "/agents/:agentId/threads/abort"; responseType: "json"; streamFormat?... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.70.0)

And 12 more in this version.

### @mastra/server 1.69.0 breaking changes

@mastra/server 1.69.0, released September 23, 2026: 69 breaking changes.

- **Behavior changed**  

Read, write, create and delete operations now target the exact requested file. Code that relied on a second decoding of percent-encoded query or body values must be updated. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.69.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:agentBuilder.GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE`  

Was const GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/agent-builder/:actionId"; responseType: "json"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.69.0)

And 67 more in this version.

### @mastra/server 1.68.0 breaking changes

@mastra/server 1.68.0, released September 22, 2026: 273 breaking changes.

- **Behavior changed**  

Clients that sent "false" to disable recursive, force or includeReferences now get that flag disabled. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.68.0/packages/server/CHANGELOG.md)
- **Behavior changed**  

Legacy SSE routes remain only for MCP 1.x servers; MCP 2.x servers now get 404 on them. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.68.0/packages/server/CHANGELOG.md)

And 271 more in this version.

### @mastra/server 1.68.0-alpha.11 breaking changes

@mastra/server 1.68.0-alpha.11, released September 22, 2026: 1 breaking change.

- **Behavior changed** `POST .auth.logout`  

POST /auth/logout now returns 404 "Logout not configured" when the provider lacks destroySession, getClearSessionHeaders and getLogoutUrl. Clients must handle the 404 or add one of those capabilities to the provider. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.68.0/packages/server/CHANGELOG.md)

### @mastra/server 1.68.0-alpha.10 breaking changes

@mastra/server 1.68.0-alpha.10, released September 22, 2026: 1 breaking change.

- **Behavior changed**  

The recursive, force and includeReferences flags on workspace and skills routes previously read the string "false" as true. Clients that relied on that behavior will now see the flags turned off. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.68.0/packages/server/CHANGELOG.md)

### @mastra/server 1.68.0-alpha.0 breaking changes

@mastra/server 1.68.0-alpha.0, released September 22, 2026: 1 breaking change.

- **Behavior changed**  

Streams emit one full message_start payload, then message_update events by message ID, and message_end carries only the ID. Store the start payload by ID and apply later updates to it. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.68.0/packages/server/CHANGELOG.md)

### @mastra/server 1.67.0 breaking changes

@mastra/server 1.67.0, released September 15, 2026: 10 breaking changes.

- **Signature changed** `handlers:scores.LIST_SCORES_BY_ENTITY_ID_ROUTE`  

Was const LIST_SCORES_BY_ENTITY_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/scores/entity/:entityType/:entityId"; responseType: "json"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.67.0)
- **Signature changed** `handlers:scores.LIST_SCORES_BY_RUN_ID_ROUTE`  

Was const LIST_SCORES_BY_RUN_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/scores/run/:runId"; responseType: "json"; streamFormat?: 'sse' |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.67.0)

And 8 more in this version.

### @mastra/server 1.66.0 breaking changes

@mastra/server 1.66.0, released September 10, 2026: 1 breaking change.

- **Signature changed** `handlers:observability.NEW_ROUTES`  

Was const NEW_ROUTES: {QUERY_TRACES: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: string; path: \`/${string}\`; responseType: "json"; streamFormat?: 'sse' | 'stream'... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.66.0)

### @mastra/server 1.65.0 breaking changes

@mastra/server 1.65.0, released September 9, 2026: 75 breaking changes.

- **Signature changed** `handlers:agentBuilder.GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE`  

Was const GET_AGENT_BUILDER_ACTION_BY_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/agent-builder/:actionId"; responseType: "json"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.65.0)
- **Signature changed** `handlers:agentBuilder.GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE`  

Was const GET_AGENT_BUILDER_ACTION_RUN_BY_ID_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {method: "GET"; path: "/agent-builder/:actionId/runs/:runId"; responseType... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.65.0)

And 73 more in this version.

### @mastra/server 1.65.0-alpha.11 breaking changes

@mastra/server 1.65.0-alpha.11, released September 9, 2026: 2 breaking changes.

- **Behavior changed** `mapUserToResourceId`  

Requests whose mapper returns an invalid resource ID now fail before reaching a route instead of using a client-provided ID. Make sure your mapper always returns a valid resource ID. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.65.0/packages/server/CHANGELOG.md)
- **Behavior changed** `PATCH .api.memory.threads.:threadId`  

Sending an empty string as the title now clears the thread title instead of keeping the previous one. Omitting the title still leaves it unchanged. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.65.0/packages/server/CHANGELOG.md)

### @mastra/server 1.65.0-alpha.8 breaking changes

@mastra/server 1.65.0-alpha.8, released September 9, 2026: 1 breaking change.

- **Behavior changed** `providerOptions`  

Provider namespaces outside the built-in list are now kept instead of stripped, and option values must be valid JSON. Requests with non-JSON option values may now be rejected. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.65.0/packages/server/CHANGELOG.md)

### @mastra/server 1.64.0 breaking changes

@mastra/server 1.64.0, released September 3, 2026: 281 breaking changes.

- **Signature changed** `handlers:a2a.AGENT_EXECUTION_ROUTE`  

Was const AGENT_EXECUTION_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {method: "POST"; path: "/a2a/:agentId"; responseType: "datastream-response"; streamFormat?: "sse"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.64.0)
- **Signature changed** `handlers:a2a.GET_AGENT_CARD_ROUTE`  

Was const GET_AGENT_CARD_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {method: "GET"; path: "/.well-known/:agentId/agent-card.json"; responseType: "json"; streamFormat?... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.64.0)

And 279 more in this version.

### @mastra/server 1.62.0 breaking changes

@mastra/server 1.62.0, released August 26, 2026: 10 breaking changes.

- **Behavior changed** `server.middleware`  

Middleware set via server.middleware or mastra.setServerMiddleware() is now registered by Hono-based adapters during init(); Express, Fastify and Koa adapters log a warning at startup instead of silently ignoring it. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.62.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:observability.GET_SCORE_AGGREGATE`  

Was const GET_SCORE_AGGREGATE: Omit\<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {method: string; path: \`/${string}\`; responseType: "json"; streamFormat?: "sse" | "stream"... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.62.0)

And 8 more in this version.

### @mastra/server 1.61.0 breaking changes

@mastra/server 1.61.0, released August 21, 2026: 6 breaking changes.

- **Signature changed** `schemas:experimentResponseSchema`  

Was const experimentResponseSchema: z.ZodObject<{id: z.ZodString; datasetId: z.ZodNullable\<z.ZodString>; datasetVersion: z.ZodNullable\<z.ZodNumber>; agentVersion: z.ZodOptional\<z.ZodNullable\<z.ZodString>>; targetType: z.ZodEnum<{agent... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.61.0)
- **Signature changed** `schemas:experimentResultResponseSchema`  

Was const experimentResultResponseSchema: z.ZodObject<{id: z.ZodString; experimentId: z.ZodString; itemId: z.ZodString; itemDatasetVersion: z.ZodNullable\<z.ZodNumber>; input: z.ZodUnknown; output: z.ZodNullable\<z.ZodUnknown>; groundTruth... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.61.0)

And 4 more in this version.

### @mastra/server 1.61.0-alpha.3 breaking changes

@mastra/server 1.61.0-alpha.3, released August 21, 2026: 1 breaking change.

- **Behavior changed** `saveScore`  

Saving a score with an id now replaces the existing row instead of adding a duplicate. Code that relied on repeated saves accumulating rows will see the latest score only. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.61.0/packages/server/CHANGELOG.md)

### @mastra/server 1.61.0-alpha.1 breaking changes

@mastra/server 1.61.0-alpha.1, released August 21, 2026: 1 breaking change.

- **Behavior changed** `display_state_changed.currentMessage`  

The accumulated message is now shared across message events and currentMessage points to the same live message. Consumers that defer event processing must copy or serialize the message to keep point-in-time values. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.61.0/packages/server/CHANGELOG.md)

### @mastra/server 1.60.1-alpha.0 breaking changes

@mastra/server 1.60.1-alpha.0, released August 21, 2026: 1 breaking change.

- **Behavior changed**  

When a suspended workflow run was already resumed by another caller, the resume endpoints now respond with 409 instead of a generic error. Code that matches the old error must handle 409. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.61.0/packages/server/CHANGELOG.md)

### @mastra/server 1.60.0 breaking changes

@mastra/server 1.60.0, released August 19, 2026: 14 breaking changes.

- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: Omit\<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {method: "POST"; path: "/agents/:agentId/clone"; responseType: "json"; streamFormat?: "sse" |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.60.0)
- **Signature changed** `schemas:createStoredAgentBodySchema`  

Was const createStoredAgentBodySchema: z.ZodObject<{id: z.ZodOptional\<z.ZodString>; authorId: z.ZodOptional\<z.ZodString>; metadata: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodUnknown>>; visibility: z.ZodOptional\<z.ZodEnum<{public... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.60.0)

And 12 more in this version.

### @mastra/server 1.60.0-alpha.8 breaking changes

@mastra/server 1.60.0-alpha.8, released August 19, 2026: 1 breaking change.

- **Behavior changed** `extra.authInfo`  

When server.auth is configured, the resolved user is now passed to MCP tools as extra.authInfo; code that assumed it was always undefined may now see a value. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.60.0/packages/server/CHANGELOG.md)

### @mastra/server 1.58.0 breaking changes

@mastra/server 1.58.0, released August 12, 2026: 243 breaking changes.

- **Removed** `handlers:storedWorkflows.DELETE_STORED_WORKFLOW_ROUTE`  

storedWorkflows.DELETE_STORED_WORKFLOW_ROUTE was removed in @mastra/server 1.58.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.58.0)
- **Removed** `handlers:storedWorkflows.GET_STORED_WORKFLOW_ROUTE`  

storedWorkflows.GET_STORED_WORKFLOW_ROUTE was removed in @mastra/server 1.58.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.58.0)

And 241 more in this version.

### @mastra/server 1.57.0 breaking changes

@mastra/server 1.57.0, released August 5, 2026: 28 breaking changes.

- **Behavior changed** `POST .workflows.:workflowId.stream`  

Calling the stream endpoint on a workflow run that already finished no longer restarts it and can no longer overwrite its stored result; it returns 409. Read a finished run's result through the observe endpoint. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.57.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, undefined, z.ZodObject<{newId: z.ZodOptional\<z.ZodString>; newName: z.ZodOptional\<z.ZodString>; metadata... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.57.0)

And 26 more in this version.

### @mastra/server 1.56.0 breaking changes

@mastra/server 1.56.0, released August 5, 2026: 41 breaking changes.

- **Behavior changed** `DELETE .stored.workflows.:storedWorkflowId`  

The DELETE handler now calls mastra.removeWorkflow(id) after removing the stored row, so the workflow is no longer available on Mastra until restart. Code that expects the workflow to stay registered after deletion must change. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.56.0/packages/server/CHANGELOG.md)
- **Behavior changed** `POST .stored.workflows`  

The body schema is now a typed discriminated union, so malformed graph entries and legacy closure-based serializedConditions payloads are rejected at the HTTP boundary. Clients that sent loosely shaped graphs must update them to the new... [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.56.0/packages/server/CHANGELOG.md)

And 39 more in this version.

### @mastra/server 1.55.0 breaking changes

@mastra/server 1.55.0, released July 30, 2026: 2 breaking changes.

- **Signature changed** `handlers:agents.getSerializedAgentTools`  

Was function getSerializedAgentTools(tools: Record\<string, SerializedToolInput>, partial?: boolean): Promise\<Record\<string, SerializedTool>>; now function getSerializedAgentTools(tools: Record\<string, SerializedToolInput | object>... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.55.0)
- **Signature changed** `schemas:createStoredAgentBodySchema`  

Was const createStoredAgentBodySchema: z.ZodObject<{id: z.ZodOptional\<z.ZodString>; authorId: z.ZodOptional\<z.ZodString>; metadata: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodUnknown>>; visibility: z.ZodOptional\<z.ZodEnum<{public... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.55.0)

### @mastra/server 1.54.0 breaking changes

@mastra/server 1.54.0, released July 28, 2026: 7 breaking changes.

- **Signature changed** `handlers:observability.CREATE_FEEDBACK`  

Was const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{feedback: {value: string | number; feedbackType: string; traceId?: string | null | undefined; spanId?: string | null | undefined; source?: string | null | undefined... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.54.0)
- **Signature changed** `handlers:observability.CREATE_SCORE`  

Was const CREATE_SCORE: import("../server-adapter").ServerRoute<{score: {scorerId: string; score: number; traceId?: string | null | undefined; spanId?: string | null | undefined; source?: string | null | undefined; metadata?... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.54.0)

And 5 more in this version.

### @mastra/server 1.53.0 breaking changes

@mastra/server 1.53.0, released July 27, 2026: 7 breaking changes.

- **Behavior changed**  

Saving a stored agent draft now preserves the published version unless automatic publication is requested. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.53.0/packages/server/CHANGELOG.md)
- **Configuration changed**  

Google connects with either GOOGLE_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY, not both. Vertex AI is checked on its own using GOOGLE_VERTEX_PROJECT and GOOGLE_VERTEX_LOCATION. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.53.0/packages/server/CHANGELOG.md)

And 5 more in this version.

### @mastra/server 1.52.0 breaking changes

@mastra/server 1.52.0, released July 23, 2026: 117 breaking changes.

- **Behavior changed**  

The agent generate, stream and resume routes now strip \`actor\` from execution options and no longer merge a body-supplied \`organizationId\` into request context. Clients that relied on passing these through the HTTP body must establish them... [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.52.0/packages/server/CHANGELOG.md)
- **Behavior changed**  

Dataset item add and update endpoints now return HTTP 400 for payloads with circular values, lossy JSON values, or non-plain objects that previously were accepted. Clients sending such payloads must send plain JSON data instead. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.52.0/packages/server/CHANGELOG.md)

And 115 more in this version.

### @mastra/server 1.51.0 breaking changes

@mastra/server 1.51.0, released July 15, 2026: 5 breaking changes.

- **Signature changed** `schemas:addItemBodySchema`  

Was const addItemBodySchema: z.ZodObject<{input: z.ZodUnknown; groundTruth: z.ZodOptional\<z.ZodUnknown>; expectedTrajectory: z.ZodNullable\<z.ZodOptional\<z.ZodObject<{steps: z.ZodOptional\<z.ZodArray\<z.ZodUnion\<readonly... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.51.0)
- **Signature changed** `schemas:batchInsertItemsBodySchema`  

Was const batchInsertItemsBodySchema: z.ZodObject<{items: z.ZodArray\<z.ZodObject<{input: z.ZodUnknown; groundTruth: z.ZodOptional\<z.ZodUnknown>; expectedTrajectory: z.ZodNullable\<z.ZodOptional\<z.ZodObject<{steps... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.51.0)

And 3 more in this version.

### @mastra/server 1.51.0-alpha.5 breaking changes

@mastra/server 1.51.0-alpha.5, released July 15, 2026: 1 breaking change.

- **Behavior changed**  

When an authorize request omits a connection scope, the provider's defaultScope is now used before 'per-author'. Check providers configured with a defaultScope, since their connections may now be scoped differently. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.51.0/packages/server/CHANGELOG.md)

### @mastra/server 1.50.0 breaking changes

@mastra/server 1.50.0, released July 6, 2026: 11 breaking changes.

- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, undefined, z.ZodObject<{newId: z.ZodOptional\<z.ZodString>; newName: z.ZodOptional\<z.ZodString>; metadata... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.50.0)
- **Signature changed** `schemas:createStoredAgentBodySchema`  

Was const createStoredAgentBodySchema: z.ZodObject<{id: z.ZodOptional\<z.ZodString>; authorId: z.ZodOptional\<z.ZodString>; metadata: z.ZodOptional\<z.ZodRecord\<z.ZodString, z.ZodUnknown>>; visibility: z.ZodOptional\<z.ZodEnum<{public... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.50.0)

And 9 more in this version.

### @mastra/server 1.50.0-alpha.3 breaking changes

@mastra/server 1.50.0-alpha.3, released July 6, 2026: 1 breaking change.

- **Removed** `api.heartbeats.*`  

The /api/heartbeats routes were removed. Use /api/schedules/\* instead, which covers both agent and workflow schedules. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.50.0/packages/server/CHANGELOG.md)

### @mastra/server 1.49.0 breaking changes

@mastra/server 1.49.0, released July 2, 2026: 2 breaking changes.

- **Signature changed** `auth:supportsSessionRefresh`  

Was function supportsSessionRefresh(authConfig: MastraAuthConfig | MastraAuthProvider): authConfig is (MastraAuthConfig | MastraAuthProvider) & Pick\<ISessionProvider, 'refreshSession' | 'getSessionIdFromRequest' | 'getSessionHeaders'>; now... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.49.0)
- **Signature changed** `handlers:observability.LIST_SCORES_BY_SPAN_ROUTE`  

Was const LIST_SCORES_BY_SPAN_ROUTE: ServerRoute\<import("../server-adapter").InferParams\<z.ZodObject<{traceId: z.ZodString; spanId: z.ZodString;}, z.core.$strip>, z.ZodObject\<Readonly<{\[k: string\]: z.core.$ZodType\<unknown, unknown... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.49.0)

### @mastra/server 1.48.0 breaking changes

@mastra/server 1.48.0, released July 1, 2026: 14 breaking changes.

- **Signature changed** `handlers:agents.GET_AGENT_BY_ID_ROUTE`  

Was const GET_AGENT_BY_ID_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, z.ZodObject<{status: z.ZodOptional\<z.ZodEnum<{draft: "draft"; published: "published";}>>; versionId... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.48.0)
- **Signature changed** `handlers:agents.LIST_AGENTS_ROUTE`  

Was const LIST_AGENTS_ROUTE: ServerRoute<{partial?: string | undefined;}, Record\<string, {name: string; tools: Record\<string, {id: string; description?: string | undefined; inputSchema?: string | undefined; outputSchema?: string |... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.48.0)

And 12 more in this version.

### @mastra/server 1.47.0 breaking changes

@mastra/server 1.47.0, released June 26, 2026: 19 breaking changes.

- **Removed** `harness`  

The controller session API is now served only under /agent-controller/.... Clients must move their calls from the legacy /harness/... routes to the new paths. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.47.0/packages/server/CHANGELOG.md)
- **Removed** `harness:*`  

The harness:\* permissions no longer exist. Grant agent-controller:read or agent-controller:execute instead. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.47.0/packages/server/CHANGELOG.md)

And 17 more in this version.

### @mastra/server 1.46.0 breaking changes

@mastra/server 1.46.0, released June 24, 2026: 11 breaking changes.

- **Signature changed** `schemas:addItemBodySchema`  

Was const addItemBodySchema: z.ZodObject<{input: z.ZodUnknown; groundTruth: z.ZodOptional\<z.ZodUnknown>; expectedTrajectory: z.ZodNullable\<z.ZodOptional\<z.ZodObject<{steps: z.ZodOptional\<z.ZodArray\<z.ZodUnion\<readonly... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.46.0)
- **Signature changed** `schemas:batchInsertItemsBodySchema`  

Was const batchInsertItemsBodySchema: z.ZodObject<{items: z.ZodArray\<z.ZodObject<{input: z.ZodUnknown; groundTruth: z.ZodOptional\<z.ZodUnknown>; expectedTrajectory: z.ZodNullable\<z.ZodOptional\<z.ZodObject<{steps... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.46.0)

And 9 more in this version.

### @mastra/server 1.46.0-alpha.3 breaking changes

@mastra/server 1.46.0-alpha.3, released June 24, 2026: 1 breaking change.

- **Behavior changed**  

The list-models route no longer includes API key environment variable names in its response. Code that reads those fields from the response must stop depending on them. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.46.0/packages/server/CHANGELOG.md)

### @mastra/server 1.46.0-alpha.0 breaking changes

@mastra/server 1.46.0-alpha.0, released June 24, 2026: 1 breaking change.

- **Behavior changed**  

A setup or misconfiguration rejection tagged ErrorCategory.USER now returns HTTP 400 instead of a generic 500. Code that checks for the 500 status must be updated. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.46.0/packages/server/CHANGELOG.md)

### @mastra/server 1.43.1-alpha.0 breaking changes

@mastra/server 1.43.1-alpha.0, released June 19, 2026: 1 breaking change.

- **Behavior changed**  

Republishes clean versions after a supply-chain incident involving a malicious dependency; users should ensure they are on a clean version. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.45.0/packages/server/CHANGELOG.md)

### @mastra/server 1.43.0 breaking changes

@mastra/server 1.43.0, released June 17, 2026: 1 breaking change.

- **Signature changed** `schemas:systemPackagesResponseSchema`  

Was const systemPackagesResponseSchema: z.ZodObject<{packages: z.ZodArray\<z.ZodObject<{name: z.ZodString; version: z.ZodString;}, z.core.$strip>>; isDev: z.ZodBoolean; cmsEnabled: z.ZodBoolean; editorSource: z.ZodOptional\<z.ZodEnum<{code... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.43.0)

### @mastra/server 1.42.0 breaking changes

@mastra/server 1.42.0, released June 12, 2026: 15 breaking changes.

- **Behavior changed** `voice.speak`  

The voice/speak route now returns a web-standard audio/mpeg response with raw audio bytes rather than a JSON-encoded body. Clients that parse this response as JSON must read it as audio instead. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/server@1.42.0/packages/server/CHANGELOG.md)
- **Signature changed** `handlers:agents.CLONE_AGENT_ROUTE`  

Was const CLONE_AGENT_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, undefined, z.ZodObject<{newId: z.ZodOptional\<z.ZodString>; newName: z.ZodOptional\<z.ZodString>; metadata... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.42.0)

And 13 more in this version.

### @mastra/server 1.41.0 breaking changes

@mastra/server 1.41.0, released June 4, 2026: 23 breaking changes.

- **Signature changed** `handlers:agents.GENERATE_AGENT_ROUTE`  

Was const GENERATE_AGENT_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, undefined, z.ZodObject<{messages: z.ZodUnion\<readonly \[z.ZodArray\<z.ZodAny>, z.ZodString\]>; instructions... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.41.0)
- **Signature changed** `handlers:agents.GENERATE_AGENT_VNEXT_ROUTE`  

Was const GENERATE_AGENT_VNEXT_ROUTE: ServerRoute\<InferParams\<z.ZodObject<{agentId: z.ZodString;}, z.core.$strip>, undefined, z.ZodObject<{messages: z.ZodUnion\<readonly \[z.ZodArray\<z.ZodAny>, z.ZodString\]>; instructions... [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.41.0)

And 21 more in this version.

### @mastra/server 1.0.0 breaking changes

@mastra/server 1.0.0, released April 8, 2025: 122 breaking changes.

- **Removed** `a2a/store:InMemoryTaskStore`  

InMemoryTaskStore was removed in @mastra/server 1.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.0.0)
- **Removed** `handlers:a2a.getAgentCardByIdHandler`  

a2a.getAgentCardByIdHandler was removed in @mastra/server 1.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/server/v/1.0.0)

And 120 more in this version.

## Related packages

- [@mastra/core](https://since.dev/packages/npm/@mastra/core.md)
- [@mastra/deployer](https://since.dev/packages/npm/@mastra/deployer.md)
- [@mastra/mcp](https://since.dev/packages/npm/@mastra/mcp.md)
- [mastra](https://since.dev/packages/npm/mastra.md)
- [@mastra/libsql](https://since.dev/packages/npm/@mastra/libsql.md)
- [@mastra/memory](https://since.dev/packages/npm/@mastra/memory.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
