@mastra/core breaking changes
Updated December 4, 2026
On this page
Latest version 1.87.0, released December 2, 2026. Source repository
Its 1.0.0-beta.0 release requires Node.js 22.13.0 or later. Node.js end of life dates.
@mastra/core 1.82.0 breaking changes
- Removed
experimental_subconscious
Setting experimental_subconscious now throws. Attach Knowledge to the agent instead. github.com - Removed
knowledge
Setting the Memory knowledge option now throws. Attach Knowledge to the agent instead. github.com - Removed
knowledge:AppendKnowledgeInput
AppendKnowledgeInput was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:ClaimKnowledgeSemanticOutboxInput
ClaimKnowledgeSemanticOutboxInput was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:CreateKnowledgeNodeInput
CreateKnowledgeNodeInput was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:createKnowledgeScopeNodeCursor
createKnowledgeScopeNodeCursor was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.advanceCurationCursor
InMemoryKnowledgeStorage.advanceCurationCursor was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.appendKnowledge
InMemoryKnowledgeStorage.appendKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.claimSemanticOutbox
InMemoryKnowledgeStorage.claimSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.completeSemanticOutbox
InMemoryKnowledgeStorage.completeSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.createNode
InMemoryKnowledgeStorage.createNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.getCurationCursor
InMemoryKnowledgeStorage.getCurationCursor was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.getKnowledge
InMemoryKnowledgeStorage.getKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.getNode
InMemoryKnowledgeStorage.getNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.getNodeByName
InMemoryKnowledgeStorage.getNodeByName was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.knowledgeBySource
InMemoryKnowledgeStorage.knowledgeBySource was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listActivity
InMemoryKnowledgeStorage.listActivity was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listKnowledgeAbout
InMemoryKnowledgeStorage.listKnowledgeAbout was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listKnowledgeMentioning
InMemoryKnowledgeStorage.listKnowledgeMentioning was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listKnowledgeRelatedTo
InMemoryKnowledgeStorage.listKnowledgeRelatedTo was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listNodes
InMemoryKnowledgeStorage.listNodes was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listScopeMembers
InMemoryKnowledgeStorage.listScopeMembers was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listScopeNodes
InMemoryKnowledgeStorage.listScopeNodes was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.listSemanticOutbox
InMemoryKnowledgeStorage.listSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.mergeNodes
InMemoryKnowledgeStorage.mergeNodes was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.reconcileStructure
InMemoryKnowledgeStorage.reconcileStructure was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.releaseSemanticOutbox
InMemoryKnowledgeStorage.releaseSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.removeKnowledge
InMemoryKnowledgeStorage.removeKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.rescopeKnowledge
InMemoryKnowledgeStorage.rescopeKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.resolveNode
InMemoryKnowledgeStorage.resolveNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.restoreKnowledge
InMemoryKnowledgeStorage.restoreKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.search
InMemoryKnowledgeStorage.search was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:InMemoryKnowledgeStorage.updateNode
InMemoryKnowledgeStorage.updateNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.__getDescriptionContext
Knowledge.__getDescriptionContext was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.__getVisibleStructureScopes
Knowledge.__getVisibleStructureScopes was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.appendKnowledge
Knowledge.appendKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.claimSemanticOutbox
Knowledge.claimSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.completeSemanticOutbox
Knowledge.completeSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.createNode
Knowledge.createNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.getKnowledge
Knowledge.getKnowledge was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.getNode
Knowledge.getNode was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.getNodeByName
Knowledge.getNodeByName was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.knowledgeBySource
Knowledge.knowledgeBySource was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listActivity
Knowledge.listActivity was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listKnowledgeAbout
Knowledge.listKnowledgeAbout was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listKnowledgeMentioning
Knowledge.listKnowledgeMentioning was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listKnowledgeRelatedTo
Knowledge.listKnowledgeRelatedTo was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listNodes
Knowledge.listNodes was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.listSemanticOutbox
Knowledge.listSemanticOutbox was removed in @mastra/core 1.82.0 npmjs.com - Removed
knowledge:Knowledge.materializeScope
Knowledge.materializeScope was removed in @mastra/core 1.82.0 npmjs.com
And 260 more in this version. Sign up to see every change
@mastra/core 1.82.0-alpha.3 breaking changes
- Removed
knowledge.reindex
The method is gone. Load content through upsertPage instead, which embeds each new or changed page as it is written. github.com - Behavior changed
Runs that only search, list or read Knowledge no longer create their held scopes. A scope with no pages reads as not found until the first write creates it. github.com
@mastra/core 1.82.0-alpha.2 breaking changes
- Behavior changed
Agent.sendSignal
Deferred background task results now wake idle threads with a notification signal; set notifyAgentOnFinish false to turn it off, and wokenRunsEndAfterTurn changes woken run lifecycle. github.com - Behavior changed
BackgroundTaskManager.resume
resume() takes an optional suspendedAt and refuses the resume when the task has resumed or suspended again since. github.com - Behavior changed
knowledge_read
Long pages now come back as numbered lines with a range rather than a whole body; body writes without a range are refused when the stored body is longer than one read. github.com
@mastra/core 1.82.0-alpha.0 breaking changes
- Removed
experimental_subconscious
Setting experimental_subconscious now throws; attach Knowledge to the agent instead. github.com - Behavior changed
agent.generate
Concurrent generate calls on one thread now run one after another; a tool calling generate or stream on its own thread deadlocks, so it should use sendSignal. github.com - Behavior changed
Agent.scopes
The agent scopes function receives incoming scopes and returns the run's final set; it must keep any resource: or thread: scope it was given, since dropping one throws. github.com - Behavior changed
ClassifierProcessor
A failed classifier call under errorStrategy strict now sets tripwire metadata, and stopping a streaming reply cancels a running classifier call on non-durable agents. github.com - Behavior changed
IMastraVoice
agent.voice and agent.getVoice() now return IMastraVoice; annotations using MastraVoice should use IMastraVoice instead. github.com - Behavior changed
sendMessage
A message whose scopes differ from the running run waits and starts its own run; sendMessage rejects with scopes when the owner runs in another process. github.com
@mastra/core 1.81.0 breaking changes
- Removed
@mastra.core.network.vNext
This runtime-importable subpath no longer ships, so imports from it will fail. github.com - Removed
@mastra.core.telemetry.otel-vendor
This runtime-importable subpath no longer ships, so imports from it will fail. github.com - Behavior changed
agent.resumeGenerate
A resume that passes only tracingOptions.parentSpanId now stays in the first run's trace instead of starting a new trace. github.com - Behavior changed
TripWire
Code that identifies TripWire errors by their Error name, in strings, stacks or serialized errors, must check for TripWire instead. github.com - Default changed
requireReadBeforeWrite
Protection applies only when requireReadBeforeWrite is enabled, so code relying on the old default must enable it explicitly. github.com - Signature changed
a2a:A2AAgentStreamResult.serializeState
Was serializeState(pendingSuspension?: {usage?: LanguageModelUsage;}): {status: WorkflowRunStatus; bufferedSteps: LLMStepResult<OUTPUT>[]; bufferedStepRequests: unknown[] | undefined; bufferedReasoningDetails: Record<string... npmjs.com - Signature changed
agent-controller:Session.resumeToolCall
Was resumeToolCall({resumeData, address, requestContext: requestContextInput, resolveOnToolEnd, modeId: inputModeId}: {resumeData: any; address: SuspensionAddress; requestContext?: RequestContext; resolveOnToolEnd?: boolean; modeId?... npmjs.com - Signature changed
agent:Agent.__getSubscribePendingSignals
Was __getSubscribePendingSignals(): (runId: string, listener: () => void) => () => void; now __getSubscribePendingSignals(): (runId: string, listener: PendingSignalListener) => () => void. npmjs.com - Signature changed
agent:AgentExecuteOnFinishOptions
Was type AgentExecuteOnFinishOptions = {runId: string; result: MastraOnFinishCallbackArgs & {object?: unknown;}; thread: StorageThreadType | null | undefined; readOnlyMemory?: boolean; threadId?: string; resourceId?: string... npmjs.com - Signature changed
agent/durable:baseIterationStateSchema
Was const baseIterationStateSchema: z.ZodObject<{runId: z.ZodString; agentId: z.ZodString; agentName: z.ZodOptional<z.ZodString>; messageListState: z.ZodOptional<z.ZodAny>; initialUntaggedSystemMessages... npmjs.com
And 102 more in this version. Sign up to see every change
@mastra/core 1.81.0-alpha.2 breaking changes
- Removed
@mastra.core.network.vNext
The @mastra/core/network/vNext subpath was removed because its file no longer ships; stop importing it. github.com - Removed
@mastra.core.telemetry.otel-vendor
The @mastra/core/telemetry/otel-vendor subpath was removed because its file no longer ships; stop importing it. github.com - Removed
DURABLE_AGENT_EXECUTION_TIMED_OUT
Code checking for the DURABLE_AGENT_EXECUTION_TIMED_OUT error id must switch to isMastraTimeoutError from @mastra/core/loop. github.com - Behavior changed
resumeGenerate
A resume passing only tracingOptions.parentSpanId now joins the original trace under the first run instead of starting a new trace. github.com - Default changed
requireReadBeforeWrite
Writes no longer reject files changed on disk after a read unless requireReadBeforeWrite is set to true. github.com
Older versions
114 older versions, each with its first changes. Sign up to see every change
Show 114 older versions
@mastra/core 1.81.0-alpha.1 breaking changes
- Behavior changed
Resumed sandboxes keep the environment they started with, so a removed credential needs its running sandboxes recreated. github.com - Behavior changed
With a fine-grained authorization provider configured, non-internal nested workflows require an authenticated user or trusted actor with the workflows:execute permission, and scheduled runs without identity now fail. github.com
@mastra/core 1.81.0-alpha.0 breaking changes
- Behavior changed
browser.launch
Launch now throws BrowserProfileInUseError if another running browser uses the profile, and lock files of live processes are no longer removed as stale. github.com - Behavior changed
outcome
Consumers of these span fields must handle null alongside an absent value. github.com
And 2 more in this version.
@mastra/core 1.80.0 breaking changes
- Removed
agent/message-list:MastraErrorPart.error.message
MastraErrorPart.error.message was removed in @mastra/core 1.80.0 npmjs.com - Removed
agent/message-list:MastraErrorPart.error.name
MastraErrorPart.error.name was removed in @mastra/core 1.80.0 npmjs.com
And 164 more in this version.
@mastra/core 1.80.0-alpha.7 breaking changes
- Behavior changed
Canceled tool calls now send a tool-result chunk with a cancellation notice and record it in history. Check the tool's status before retrying. github.com - Behavior changed
ProviderHistoryCompat
The anthropic-strip-empty-signed-reasoning-content rule now runs only after Anthropic rejects the history, so replayed prompts differ from before. github.com
@mastra/core 1.80.0-alpha.6 breaking changes
- Behavior changed
onFinish
Failed runs now report 'error' as finishReason in onFinish. Code that checked for another value must be updated. github.com
@mastra/core 1.80.0-alpha.5 breaking changes
- Removed
queryThreads
Thread rows from queryThreads with a timeRange no longer include model or provider. Query the thread's spans to find model usage. github.com - Behavior changed
A run that loses its thread lease now lets its current step finish instead of cutting it off. Output may still be saved for a while after another run takes the thread over. github.com
And 6 more in this version.
@mastra/core 1.80.0-alpha.4 breaking changes
- Behavior changed
defaultOptions.hooks
Hooks in defaultOptions.hooks now also run in durable and evented agents, where they were previously ignored. Check that existing hooks are safe to run there. github.com - Behavior changed
entityVersionId
A tool or model call made by a versioned agent no longer reports the agent's version as its own entityVersionId. Version grouping and filtering now count only that version's own entity. Already-stored spans are unchanged. github.com
And 2 more in this version.
@mastra/core 1.80.0-alpha.3 breaking changes
- Behavior changed
A message sent from another process to a busy thread reaches the run's next model request instead of waiting for the run to end. Both processes need this version for this to happen. github.com
@mastra/core 1.80.0-alpha.0 breaking changes
- Behavior changed
Agent calls to OpenAI-compatible Chat Completions providers now send leading system instructions as one message. Set errorProcessorDefaults to false to turn this off. github.com - Behavior changed
Signal text containing &, < and > now reaches the model as written rather than as entities. Code that expected the escaped form must be updated. github.com
And 1 more in this version.
@mastra/core 1.79.0 breaking changes
- Removed
agent-controller:AgentController.getSessionByResource
AgentController.getSessionByResource was removed in @mastra/core 1.79.0 npmjs.com - Removed
agent-controller:AgentControllerRequestContext.scope
AgentControllerRequestContext.scope was removed in @mastra/core 1.79.0 npmjs.com
And 349 more in this version.
@mastra/core 1.79.0-alpha.11 breaking changes
- Behavior changed
DurableAgent
Approve, decline or resume calls on a run that was aborted while suspended now fail with AGENT_RESUME_ABORTED_RUN instead of running the tool. github.com
@mastra/core 1.79.0-alpha.9 breaking changes
- Removed
controller.getSessionByResource
Sessions are now looked up by session id. Use getSession(sessionId) instead of getSessionByResource(resourceId, scope). github.com - Removed
createSession
Give each session its own id instead of passing scope. Omitting id defaults it to the resourceId. github.com
And 2 more in this version.
@mastra/core 1.79.0-alpha.7 breaking changes
- Behavior changed
Runs aborted while a tool is running now report finishReason 'aborted' instead of 'tool-calls', emit an abort chunk and call onAbort. Code checking finishReason may need updating. github.com
@mastra/core 1.79.0-alpha.4 breaking changes
- Behavior changed
Invalid tool arguments now return the validation error to the model without emitting a tool-call-approval. Code that expected an approval prompt for invalid input will see a different flow. github.com - Behavior changed
Only the session creation route starts a session. Other session routes return 404 for a session that was never started, so sessions must be created first. github.com
And 8 more in this version.
@mastra/core 1.79.0-alpha.3 breaking changes
- Behavior changed
Non-forked subagents in an Agent Controller session no longer inherit the session's thread and resource IDs. Goal judges now use their own goal-specific thread. github.com - Behavior changed
processOutputResult
Processors now receive each feedback-continuation iteration as its own assistant message. Transcript persisters should use messageList.cloneForPersistence() to keep one assistant response. github.com
@mastra/core 1.79.0-alpha.2 breaking changes
- Behavior changed
LocalSandbox
Foreground commands run without a timeout now stop after the 30-second default. Set a timeout, or 0 to disable it, for commands that need longer. github.com - Behavior changed
resumeGenerate
A string run ID followed by resume data containing a string runId, with no third argument, now throws. Pass an explicit options argument to keep the old order. github.com
@mastra/core 1.79.0-alpha.1 breaking changes
- Removed
querySpans
querySpans no longer accepts model and provider filters and no longer returns cost, inputTruncated, outputTruncated or errorTruncated. Stop using those filters and fields. github.com - Behavior changed
New channel threads no longer get a generic title such as slack conversation, so generateTitle can name them. With generateTitle off, new channel threads appear untitled. github.com
And 2 more in this version.
@mastra/core 1.78.0 breaking changes
- Behavior changed
backgroundTaskManager.stream
Calling stream() without a resourceId no longer delivers every resource's events. Pass allResources: true to subscribe to all resources. github.com - Behavior changed
querySpans
Previews are at most 100 characters of readable text plus an ellipsis, not the first 256 characters of raw JSON. github.com
And 63 more in this version.
@mastra/core 1.78.0-alpha.5 breaking changes
- Behavior changed
sandbox.executeCommand
sandbox.executeCommand() now retains only the newest 1 MiB of stdout and stderr by default. To keep all output, pass maxRetainedBytes: Infinity. github.com
@mastra/core 1.78.0-alpha.3 breaking changes
- Behavior changed
Structured output schemas with free-form keys are now sent to OpenAI without strict mode. To keep strict mode, set providerOptions.openai.strictJsonSchema to true. github.com - Behavior changed
buildPreview
For a message list, previews show the last user message instead of every user message joined with a pipe character. github.com
And 1 more in this version.
@mastra/core 1.78.0-alpha.0 breaking changes
- Behavior changed
backgroundTaskManager.stream
Calling stream() without a resourceId no longer delivers every resource's task events. To receive all resources, pass allResources: true. github.com
@mastra/core 1.77.0 breaking changes
- Behavior changed
mastra.datasets.compareExperiments
Passing a baselineId that is not one of experimentIds now throws instead of being ignored. github.com - Behavior changed
session.thread.clear
Calls to session.thread.clear() can now throw while a thread is changing lifecycle state. Callers must handle that error. github.com
And 71 more in this version.
@mastra/core 1.77.0-alpha.3 breaking changes
- Behavior changed
Resuming a workflow run that is not suspended now throws an error with the id WORKFLOW_RUN_NOT_SUSPENDED. Code that catches resume errors by id should check this. github.com - Behavior changed
approveToolCall
Only one concurrent approval or resume of a suspended run proceeds. Other callers now get AGENT_RESUME_ALREADY_CLAIMED and should stop retrying. github.com
And 2 more in this version.
@mastra/core 1.77.0-alpha.2 breaking changes
- Behavior changed
session.thread.clear
session.thread.clear() now throws during thread lifecycle transitions instead of completing. Callers must handle the error. github.com - Behavior changed
session.thread.set
session.thread.set() now throws during thread lifecycle transitions instead of completing. Callers must handle the error. github.com
@mastra/core 1.77.0-alpha.1 breaking changes
- Behavior changed
mastra.datasets.compareExperiments
Passing a baselineId that is not one of experimentIds now throws instead of being ignored. Make sure the baseline is included in experimentIds. github.com
@mastra/core 1.77.0-alpha.0 breaking changes
- Behavior changed
updateActiveObservations
In stores that implement the new methods, updateActiveObservations throws if the generation was superseded or expectedActiveObservations no longer matches. Callers should handle the error or switch to commitActiveObservations, which... github.com
@mastra/core 1.76.0 breaking changes
- Removed
agent/durable:DurableAgent.emitErrorInBackground
DurableAgent.emitErrorInBackground was removed in @mastra/core 1.76.0 npmjs.com - Removed
agent/durable:DurableAgent.pubsubInternal
DurableAgent.pubsubInternal was removed in @mastra/core 1.76.0 npmjs.com
And 188 more in this version.
@mastra/core 1.76.0-alpha.9 breaking changes
- Behavior changed
When an error processor retries, the failed attempt's partial text is no longer included in the final text, retry prompt, response messages or stored messages. Code that relied on that partial text must change. github.com
@mastra/core 1.76.0-alpha.8 breaking changes
- Behavior changed
Saved run state now keeps references to stored messages instead of full copies, and loads them from memory when a run continues. Runs started on this version cannot be resumed after downgrading to an earlier version. github.com - Behavior changed
Runs started on this version can't be resumed after downgrading to an earlier @mastra/core version. Finish or recover these runs before downgrading. github.com
And 5 more in this version.
@mastra/core 1.76.0-alpha.7 breaking changes
- Behavior changed
Detaching a session from a thread leaves a parked durable run in place instead of declining and deleting it, so code that relied on detach to clean up runs must change. github.com
@mastra/core 1.76.0-alpha.6 breaking changes
- Behavior changed
Reasoning-only requests restarted for pending input reuse the same step, so they no longer consume maxSteps, advance stepNumber or add token usage. github.com - Behavior changed
getFullOutput
When queued input interrupts reasoning in the default agent loop, discarded reasoning is no longer included in reasoning, reasoningText or getFullOutput(). github.com
@mastra/core 1.76.0-alpha.4 breaking changes
- Behavior changed
Request-context keys starting with mastra__ or __mastra_ are no longer exported on spans or saved on score records, and the auth token is omitted. Rename your own keys with those prefixes to keep them in traces. github.com - Behavior changed
Toolset tools contain server-side code that can't be serialized, so the run now throws an error naming the missing tools instead of silently running without them. Register these tools on the agent instead. github.com
And 3 more in this version.
@mastra/core 1.76.0-alpha.3 breaking changes
- Behavior changed
Durable agents no longer forward the parent conversation to delegated agents and delegation hooks, and ordinary tools receive input-only messages. Code relying on the parent conversation must read it another way. github.com - Default changed
MastraAuthStudio
MastraAuthStudio session cookies now last 14 days by default instead of 24 hours. Set sessionMaxAgeSeconds or MASTRA_SESSION_MAX_AGE to keep a shorter lifetime. github.com
@mastra/core 1.76.0-alpha.2 breaking changes
- Behavior changed
Workflow and durable agent runs started on this version cannot be resumed if you downgrade to an earlier @mastra/core version. Finish or discard those runs before downgrading. github.com
@mastra/core 1.76.0-alpha.1 breaking changes
- Signature changed
agent:DelegationConfig.messageFilter
messageFilter now receives AI SDK ModelMessage[] and must return ModelMessage[]. Filters reading fields such as content.parts or id must be updated to read role and content. npmjs.com - Signature changed
onDelegationStart
onDelegationStart now receives AI SDK ModelMessage[] instead of stored database messages. Code reading fields such as content.parts or id must be updated to read role and content. github.com
@mastra/core 1.76.0-alpha.0 breaking changes
- Behavior changed
PIIDetector
With strategy 'redact', a message is now dropped instead of passed through unredacted when redaction leaves no usable text or PII is flagged with no usable spans. Code that expects the original message to continue must handle the drop. github.com - Behavior changed
toolChoice
With toolChoice set to 'none', earlier tool calls and results are now kept in the conversation instead of dropped. Code that relied on them being removed must change; tools are still left out when a structured-output schema is sent. github.com
@mastra/core 1.75.0 breaking changes
- Removed
agent-controller:AgentControllerRequestState.setIf
AgentControllerRequestState.setIf was removed in @mastra/core 1.75.0 npmjs.com - Removed
agent/message-list:ensureGeminiCompatibleMessages
ensureGeminiCompatibleMessages was removed in @mastra/core 1.75.0 npmjs.com
And 120 more in this version.
@mastra/core 1.75.0-alpha.8 breaking changes
- Behavior changed
Recovering a durable agent run suspended on a tool call or approval now throws a clear error at once. Continue such runs with resume(runId, ...) instead. github.com - Behavior changed
ResponseCache
Without a scope, cached responses are keyed by the memory resource ID after the auth resource ID, so users no longer share cache entries. Set scope: null to keep sharing responses across users. github.com
@mastra/core 1.75.0-alpha.6 breaking changes
- Removed
ensureGeminiCompatibleMessages
The helper is gone. Callers building Gemini or Bedrock prompts must add the leading user turn themselves. github.com - Behavior changed
messageList.get.all.aiV5.prompt
Prompts built from a MessageList no longer include the invented user message. Bedrock or Gemini callers building prompts themselves must add the user turn before a leading assistant message. github.com
@mastra/core 1.75.0-alpha.5 breaking changes
- Behavior changed
createTool
Tool call spans for output validation errors are now recorded as failed rather than successful. Dashboards or alerts keyed on span status may change. github.com
@mastra/core 1.75.0-alpha.3 breaking changes
- Behavior changed
When an output stream processor throws, the stream stops before the failing chunk, emits an error chunk and finishes with finishReason error. Code relying on the old stop behavior must handle errors. github.com
@mastra/core 1.75.0-alpha.2 breaking changes
- Behavior changed
maxSteps
Retries no longer count against maxSteps, and runs whose retries all fail end with finishReason error instead of a successful partial response. github.com - Behavior changed
onDirectMessage
Batched messages now call the handler once per sender's turn with its own context. Handlers must tolerate repeated calls. github.com
And 5 more in this version.
@mastra/core 1.75.0-alpha.1 breaking changes
- Behavior changed
get_process_output
A background process that exited without output now returns its exit status instead of (no output yet). Code matching the old text must be updated. github.com
@mastra/core 1.75.0-alpha.0 breaking changes
- Behavior changed
AccumulatedUsage
Usage totals with a missing provider count now report undefined rather than a measured zero. Code that adds these counters or compares them to numbers must handle undefined. github.com - Behavior changed
onOutput
Results containing only a value field are passed to onOutput as that field's value. Code that expects the full result object must be updated. github.com
And 2 more in this version.
@mastra/core 1.74.0 breaking changes
- Signature changed
agent/message-list:AIV6Type._ai_sdk_provider_utils.ToolApprovalRequest
Was type ToolApprovalRequest = {type: 'tool-approval-request'; approvalId: string; toolCallId: string; signature?: string;}; now type ToolApprovalRequest = {type: 'tool-approval-request'; approvalId: string; toolCallId: string; signature?... npmjs.com - Signature changed
agent/message-list:AIV6Type._ai_sdk_provider_utils.ToolResultOutput
Was type ToolResultOutput = {type: 'text'; value: string; providerOptions?: ProviderOptions;} | {type: 'json'; value: JSONValue_3; providerOptions?: ProviderOptions;} | {type: 'execution-denied'; reason?: string; providerOptions?... npmjs.com
And 7 more in this version.
@mastra/core 1.73.0 breaking changes
- Behavior changed
approveTool
approveTool() and respondToToolSuspension() now resolve to { ok: false, reason } when a decision is ignored, and they no longer retry automatically. Check the ok field before assuming the decision applied. github.com - Behavior changed
createCodingAgent
The max processor retry warning now fires only for error processors you configure yourself. Users with custom error processors and no maxProcessorRetries may see different retry behavior. github.com
And 48 more in this version.
@mastra/core 1.73.0-alpha.1 breaking changes
- Behavior changed
approveTool
approveTool now resolves to { ok: false, reason } when a decision is stale or duplicate, and it no longer retries automatically. Check the ok field before assuming the decision was applied. github.com - Behavior changed
respondToToolSuspension
respondToToolSuspension now resolves to { ok: false, reason } for stale or duplicate answers, and it no longer retries automatically. github.com
And 2 more in this version.
@mastra/core 1.73.0-alpha.0 breaking changes
- Behavior changed
Invalid tool-call IDs on Anthropic models are now rewritten before sending, so the request no longer carries the original IDs. Persisted history keeps its original IDs. github.com - Behavior changed
errorProcessors
Three error processors are enabled on every agent without configuration. To run only your own processors or none, set errorProcessorDefaults to false. github.com
And 1 more in this version.
@mastra/core 1.72.0 breaking changes
- Removed
agent-controller:AgentControllerDisplayState.pendingApproval
AgentControllerDisplayState.pendingApproval was removed in @mastra/core 1.72.0 npmjs.com - Removed
agent-controller:WireDisplayState.pendingApproval
WireDisplayState.pendingApproval was removed in @mastra/core 1.72.0 npmjs.com
And 141 more in this version.
@mastra/core 1.72.0-alpha.10 breaking changes
- Behavior changed
result.text
Code that treated empty text as a rejection must now check result.tripwire instead. github.com - Behavior changed
toolDisplay
Functions that switch exhaustively on event.kind need cases for the new approved and denied kinds. github.com
@mastra/core 1.72.0-alpha.9 breaking changes
- Behavior changed
createWorkflow
Workflows with a schedule no longer switch to the evented engine by default; set MASTRA_WORKERS on every process in split deployments, or import from @mastra/core/workflows/evented to keep the evented engine. github.com - Behavior changed
schedule
Declaring schedule on Inngest workflows is ignored with a warning, so use Inngest's cron option instead. github.com
@mastra/core 1.72.0-alpha.7 breaking changes
- Removed
getToolCallId
Use getToolCallIds, which accepts an optional thread or run filter. github.com - Behavior changed
Setting a provider's BASE_URL variable now routes requests and API keys through that URL instead of the public provider host, so check that existing environment variables are intended. github.com
And 2 more in this version.
@mastra/core 1.72.0-alpha.5 breaking changes
- Behavior changed
elementStream
Streamed array elements now appear only when complete, so code that handled partial elements as they arrived will see fewer, complete updates. github.com
@mastra/core 1.72.0-alpha.4 breaking changes
- Behavior changed
chatOptions.concurrency
Consecutive messages from one sender are now merged into one turn, and each sender's messages run as their own turn, so handlers that assumed one message per turn may see different input. github.com
@mastra/core 1.72.0-alpha.3 breaking changes
- Behavior changed
abort
The retry reason is no longer wrapped in the old feedback template, so write the reason as the exact instruction you want the model to follow. github.com
@mastra/core 1.72.0-alpha.1 breaking changes
- Behavior changed
Invalid model timeout settings now cause the run to be rejected before it starts instead of being accepted. github.com - Behavior changed
search_tools
Only load_tool now activates tools when autoLoad is false, so code expecting search_tools hits to be loaded must call load_tool instead. github.com
@mastra/core 1.72.0-alpha.0 breaking changes
- Removed
executeDurableToolCalls
Remove any imports of this helper from @mastra/core/agent/durable, since no agent loop used it. github.com - Removed
ToolExecutionContext
Remove any imports of this type from @mastra/core/agent/durable. github.com
And 4 more in this version.
@mastra/core 1.71.0 breaking changes
- Behavior changed
Dataset create and schema update now reject patterns RE2 cannot run. Rewrite those patterns before updating the dataset schema. github.com - Default changed
agent.stream
Tools now begin as soon as their arguments are complete. Pass eagerToolExecution: false to keep the previous scheduling. github.com
And 5 more in this version.
@mastra/core 1.71.0-alpha.1 breaking changes
- Behavior changed
agent.stream
Tool calls now begin before the model finishes streaming the step, which is on by default. Pass eagerToolExecution: false to restore the previous scheduling. github.com
@mastra/core 1.70.0 breaking changes
- Removed
agent/message-list:AIV5Type.LanguageModelV2ToolResultOutput
AIV5Type.LanguageModelV2ToolResultOutput was removed in @mastra/core 1.70.0 npmjs.com - Renamed
agent/message-list:AIV5Type.LanguageModelV2ToolResultPart
Use AIV5Type.LanguageModelV2ToolResultPart_2 instead. npmjs.com
And 90 more in this version.
@mastra/core 1.70.0-alpha.3 breaking changes
- Behavior changed
When a request includes a message with the same ID as a stored one, the stored message is kept as is. Client text, reasoning and metadata no longer replace it, so changes to a stored message must be made in storage. github.com - Behavior changed
TokenLimiterProcessor
In best-fit and contiguous trim modes the input budget is now enforced on the provider prompt in processLLMRequest, after earlier prompt processors run. Token counts and trimming can therefore differ from before. github.com
@mastra/core 1.70.0-alpha.1 breaking changes
- Behavior changed
Unset or cleared dataset tags, target type, target IDs and scorer IDs now read as undefined, and serialized responses omit them. Code should use nullish checks instead of requiring explicit nulls. github.com - Behavior changed
On an existing thread, input messages before the last assistant message that are not stored are now dropped. To change stored history, use memory.saveMessages or updateMessages, or set retainFullInput to opt out. github.com
And 1 more in this version.
@mastra/core 1.69.0 breaking changes
- Behavior changed
toolCallConcurrency
Tool calls whose approval policy returns false for the actual call now run in parallel instead of sequentially. Check code that relied on sequential tool execution. github.com - Signature changed
agent-controller:AgentController.loadOMProgress
Was loadOMProgress(session: Session<TState>): Promise<void>; now loadOMProgress(session: Session<TState>, isCurrent?: () => boolean): Promise<void>. npmjs.com
And 66 more in this version.
@mastra/core 1.69.0-alpha.4 breaking changes
- Behavior changed
toolCallConcurrency
Tool calls whose approval policy is a function now run in parallel when the policy returns false for that call. Previously any function policy forced sequential execution, so code relying on sequential ordering may need review. github.com
@mastra/core 1.68.0 breaking changes
- Removed
evals:ScorerRunResult._internal
ScorerRunResult._internal was removed in @mastra/core 1.68.0 npmjs.com - Removed
evals:ScorerRunResult.analyzePrompt
ScorerRunResult.analyzePrompt was removed in @mastra/core 1.68.0 npmjs.com
And 265 more in this version.
@mastra/core 1.68.0-alpha.11 breaking changes
- Behavior changed
Detaching, switching threads or tearing down a session stops only runs owned by the local process. Explicit cancellation still stops a run wherever it executes. github.com - Default changed
maxProcessorRetries
Without an explicit maxProcessorRetries, the retry cap is now 3 instead of 10. Set maxProcessorRetries explicitly if you need a larger budget. github.com
@mastra/core 1.68.0-alpha.9 breaking changes
- Behavior changed
After a goal uses all of its maxRuns evaluations, later chat turns park it as paused instead of running it. Raise maxRuns and resume the goal to continue it. github.com - Behavior changed
Structured output now throws on responses cut off by token limits or content filters instead of accepting them. github.com
@mastra/core 1.68.0-alpha.8 breaking changes
- Behavior changed
createCodingAgent
Coding agents now retry a repaired request instead of replaying an identical one. Pass your own errorProcessors to opt out of the default list. github.com
@mastra/core 1.68.0-alpha.7 breaking changes
- Behavior changed
A wake signal on a locally claimed thread owner now reports the outcome 'wake' instead of 'deliver'. Callers that branch on 'deliver' must handle 'wake'. github.com - Behavior changed
When an output processor forces a retry, only the rejected step is discarded instead of the whole assistant message. Code that depended on the whole message being removed may behave differently. github.com
And 2 more in this version.
@mastra/core 1.68.0-alpha.5 breaking changes
- Behavior changed
workspace.search
Unscoped workspace.search() no longer returns request-scoped skill documents from dynamic skills resolvers or resolver-backed filesystems. Use the scoped skill lookup to find those skills. github.com
@mastra/core 1.68.0-alpha.3 breaking changes
- Behavior changed
schedules.list
schedules.list with a resourceId filter now also returns workflow schedules. Code that expected only agent schedules may see extra results. github.com
@mastra/core 1.68.0-alpha.2 breaking changes
- Behavior changed
suspendedToolRunId
Fresh workflow tool calls always get a generated run id; a pinned suspendedToolRunId in beforeToolCall is no longer applied on fresh calls. github.com
@mastra/core 1.68.0-alpha.1 breaking changes
- Behavior changed
agent.generate
A caller abortSignal cancellation now yields finishReason 'aborted' with tripwire undefined. github.com - Behavior changed
agent.stream
Failed sub-agent calls produce error tool results with generic messages instead of empty successes, and onDelegationComplete receives success false. github.com
And 1 more in this version.
@mastra/core 1.68.0-alpha.0 breaking changes
- Behavior changed
Durable agents now write running snapshots only when recovery.durableAgents is 'auto'. Code using manual recovery must opt back in with shouldPersistSnapshot including 'running'. github.com - Behavior changed
message_start now carries the full message, message_update events are ID-addressed, and message_end contains only the message ID. Consumers must apply updates by ID. github.com
And 1 more in this version.
@mastra/core 1.67.0 breaking changes
- Removed
agent-controller:Session.drainFollowUpQueue
Session.drainFollowUpQueue was removed in @mastra/core 1.67.0 npmjs.com - Removed
agent-controller:Session.followUps
Session.followUps was removed in @mastra/core 1.67.0 npmjs.com
And 117 more in this version.
@mastra/core 1.67.0-alpha.5 breaking changes
- Behavior changed
createGoalScorer
Goal scorers created with createGoalScorer add ProviderHistoryCompat to their input and error processor lanes automatically, which can change the prompts they send. github.com - Default changed
The notification inbox tool's list now returns unread notifications in pages of 20 by default and marks returned unread items as seen; pass status: 'seen' to list already-viewed notifications. github.com
@mastra/core 1.67.0-alpha.4 breaking changes
- Renamed
subscribeQueuedMessages
The listener now receives a typed event instead of a { count } snapshot, so callers must switch to subscribeThreadEvents and check event.type for queue-count-changed. github.com - Behavior changed
Pagination options that were previously accepted as non-finite, fractional, or negative numbers are now rejected with an error; use valid whole non-negative numbers. github.com
@mastra/core 1.67.0-alpha.3 breaking changes
- Behavior changed
Mastra.shutdown
shutdown() now waits at most drainTimeout (default 5 seconds) for durable agent runs; pass a larger drainTimeout if you relied on the previously unbounded wait. github.com
@mastra/core 1.67.0-alpha.2 breaking changes
- Behavior changed
killProcessGroup
killProcessGroup now refuses non-integer, negative, 0 or 1 PIDs. Callers relying on those values will see a refusal instead of a signal. github.com
@mastra/core 1.67.0-alpha.1 breaking changes
- Behavior changed
agent
A workflow .agent() step that declares structuredOutput.schema now throws STRUCTURED_OUTPUT_OBJECT_UNDEFINED instead of reporting success when the agent produces no object. github.com - Behavior changed
agent.stream
Reactive and system-reminder signals are visible to live stream consumers by default. Pass hideSignals to hide them for a specific caller. github.com
And 3 more in this version.
@mastra/core 1.66.0 breaking changes
- Behavior changed
A resumed agent run now always stores its resume data as an object on the span input, wrapping primitive or array resume data under resumeData. Code that reads span input from resumed runs should expect this shape. github.com - Signature changed
agent-controller:AgentController.queryThreadMessages
Was queryThreadMessages({threadId, limit}: {threadId: string; limit?: number;}): Promise<MastraDBMessage[]>; now queryThreadMessages({threadId, resourceId, perPage, page, orderBy, include, filter}: Omit<StorageListMessagesInput... npmjs.com
And 53 more in this version.
@mastra/core 1.66.0-alpha.4 breaking changes
- Behavior changed
Live message parts drop provider metadata and no longer add an empty text part for text that never streamed. Code that reads those fields may need updating. github.com
@mastra/core 1.66.0-alpha.3 breaking changes
- Behavior changed
Resume data on the span input is now always an object, with primitives or arrays wrapped under resumeData. Update code that reads this span input. github.com
@mastra/core 1.66.0-alpha.0 breaking changes
- Behavior changed
modelSettings.timeout
A per-model stepMs override no longer discards a call-time firstChunkMs. Check code that relied on a per-model override replacing all timeout settings. github.com
@mastra/core 1.65.0 breaking changes
- Behavior changed
Skills, workspace instructions and observational memory spans now use new names; update dashboards or filters that match the old processor span names. github.com - Behavior changed
dataset.deleteExperiment
Experiment deletion now removes the traces it produced, along with their spans and linked scores, feedback, metrics and logs. github.com
And 132 more in this version.
@mastra/core 1.65.0-alpha.2 breaking changes
- Removed
Placeholder in @mastra/core 1.65.0-alpha.2 github.com
@mastra/core 1.64.0 breaking changes
- Signature changed
agent-controller:Session.resumeToolCall
Was resumeToolCall({resumeData, toolCallId, requestContext: requestContextInput}: {resumeData: any; toolCallId: string; requestContext?: RequestContext;}): Promise<void>; now resumeToolCall({resumeData, toolCallId, requestContext... npmjs.com - Signature changed
agent-controller:submitPlanTool
Was const submitPlanTool: import("..").Tool<{path: string;}, unknown, {path: string; toolId?: "submit_plan" | undefined; title?: string | undefined; plan?: string | undefined;}, {action: "rejected" | "approved"; feedback?: string |... npmjs.com
And 166 more in this version.
@mastra/core 1.63.1 breaking changes
- Signature changed
llm:ProviderModelsMap.alibaba-token-plan
Was readonly 'alibaba-token-plan': readonly ['MiniMax-M2.5', 'deepseek-v3.2', 'deepseek-v4-flash', 'deepseek-v4-flash-0731', 'deepseek-v4-pro', 'deepseek-v4-pro-0813', 'glm-5', 'glm-5.1', 'glm-5.2', 'happyhorse-1.1-i2v'... npmjs.com - Signature changed
llm:ProviderModelsMap.alibaba-token-plan-cn
Was readonly 'alibaba-token-plan-cn': readonly ['MiniMax-M2.5', 'deepseek-v3.2', 'deepseek-v4-flash', 'deepseek-v4-flash-0731', 'deepseek-v4-pro', 'deepseek-v4-pro-0813', 'glm-5', 'glm-5.1', 'glm-5.2', 'happyhorse-1.1-i2v'... npmjs.com
And 31 more in this version.
@mastra/core 1.63.0 breaking changes
- Behavior changed
TraceFields.span_id
When no exportable span exists, trace_id is kept but span_id is omitted from structured stdout logs, and span_id is now optional on TraceFields. Consumers parsing these lines must handle a missing span_id. github.com - Signature changed
llm:ProviderModelsMap.edenai
Was readonly edenai: readonly ['amazon/moonshot.kimi-k2-thinking', 'amazon/moonshotai.kimi-k2.5', 'amazon/zai.glm-4.7-flash', 'amazon/zai.glm-4.7-flash@us', 'anthropic/claude-fable-5', 'anthropic/claude-fable-latest'... npmjs.com
And 24 more in this version.
@mastra/core 1.62.0 breaking changes
- Removed
Background task storage is no longer available on these backends; use a store that supports atomic compare-and-set. github.com - Removed
agent:AgentExecutionOptionsBase.persistPartialOnAbort
AgentExecutionOptionsBase.persistPartialOnAbort was removed in @mastra/core 1.62.0 npmjs.com
And 84 more in this version.
@mastra/core 1.62.0-alpha.11 breaking changes
- Behavior changed
start
A sandbox whose onStart handler throws now rejects start() and is marked error. Code that relied on the error being logged and ignored must now handle the rejection. github.com
@mastra/core 1.62.0-alpha.8 breaking changes
- Behavior changed
persistPartialOnAbort
The persistPartialOnAbort option was removed; canceled runs now retain transcript history by default. github.com
@mastra/core 1.62.0-alpha.7 breaking changes
- Behavior changed
tool_end
Approval-denied or aborted tool calls emit tool_end with isError false; check the new denied flag to know whether the tool ran. github.com
@mastra/core 1.62.0-alpha.3 breaking changes
- Removed
storage.ops.count
storage.ops.count is optional and may be undefined on some backends; check for it before calling. github.com
@mastra/core 1.62.0-alpha.2 breaking changes
- Behavior changed
LocalSandbox.stop
LocalSandbox.stop() now kills background processes, which previously only destroy() did. github.com - Behavior changed
Mastra.shutdown
Mastra.shutdown() no longer destroys registered workspaces' sandboxes; they are stopped instead. Call workspace.destroy() or mastra.removeWorkspace(id, { destroy: true }) for full teardown. github.com
@mastra/core 1.61.1-alpha.1 breaking changes
- Behavior changed
Scorers now hash the trace ID to decide sampling and skip traces the tracer declined, so fewer scores are recorded when trace sampling is lower than scorer sampling. Raise trace sampling to keep score volume. github.com
@mastra/core 1.61.0 breaking changes
- Behavior changed
controller.createSession
Configured workspaces now initialize lazily, so code that needs eager setup must call session.getWorkspace()?.init() explicitly after creating the session. github.com - Behavior changed
session.steer
Messages sent while a run is in flight, including steers, now carry delivery 'while-active' without the client setting it; a delivery value the caller sets still takes precedence. github.com
And 28 more in this version.
@mastra/core 1.61.0-alpha.5 breaking changes
- Behavior changed
The framework auth token is excluded from durable storage. Code that reads it from stored snapshots or inputs must obtain it from the live request instead. github.com
@mastra/core 1.61.0-alpha.1 breaking changes
- Behavior changed
controller.createSession
Session creation no longer initializes the configured workspace. Applications that need eager initialization must call init() on the workspace explicitly. github.com - Behavior changed
display_state_changed.currentMessage
The accumulated message is now shared across message events and display state updates. Code that holds these values after deferring processing must copy or serialize them first. github.com
@mastra/core 1.60.1-alpha.0 breaking changes
- Behavior changed
Errors from a model call that the agent recovers from are no longer passed to output processors immediately. Each processor now receives a failure once, only after retries and fallbacks have been exhausted. github.com - Behavior changed
When a suspended run was already resumed by another caller, the resume endpoints now respond with 409 instead of a generic error. Clients that match on the old error must be updated. github.com
And 1 more in this version.
@mastra/core 1.60.0 breaking changes
- Removed
llm:ProviderModelsMap.scx
ProviderModelsMap.scx was removed in @mastra/core 1.60.0 npmjs.com - Removed
processors:ToolCallFilter.processInput
ToolCallFilter.processInput was removed in @mastra/core 1.60.0 npmjs.com
And 116 more in this version.
@mastra/core 1.60.0-alpha.12 breaking changes
- Behavior changed
On Windows, paths in dynamic system-reminder injections now use forward slashes instead of backslashes, so code that matches the old prompt text or metadata may need updating. github.com - Behavior changed
SkillSearchProcessor
Mid-session skill changes now take effect one turn later. Pass blockingRefresh: true to restore same-turn freshness. github.com
And 1 more in this version.
@mastra/core 1.60.0-alpha.11 breaking changes
- Behavior changed
TokenLimiterProcessor
File parts and media-shaped tool results are now counted by estimated media cost, so history that was truncated before may now be kept, and token counts change for those inputs. github.com
@mastra/core 1.60.0-alpha.9 breaking changes
- Behavior changed
reasoningText
Each step now reports only its own reasoning in reasoningText and reasoning. Run-level values still contain the full concatenation. github.com - Signature changed
AgentConfig.tools
Each tools-map entry must be a real tool object, and provider-defined tools need an id. Add an id to provider-defined tools that lack one. github.com
@mastra/core 1.60.0-alpha.2 breaking changes
- Behavior changed
durableAgent.recover
A second concurrent durableAgent.recover(runId) call now throws DURABLE_AGENT_RECOVER_ALREADY_IN_PROGRESS. Callers that recover the same run concurrently must handle that error. github.com
@mastra/core 1.59.0 breaking changes
- Removed
processors:CostGuardProcessor.__registerMastra
CostGuardProcessor.__registerMastra was removed in @mastra/core 1.59.0 npmjs.com - Removed
processors:CostGuardProcessor.constructor
new CostGuardProcessor() was removed in @mastra/core 1.59.0 npmjs.com
And 32 more in this version.
@mastra/core 1.59.0-alpha.3 breaking changes
- Renamed
CostGuardProcessor
CostGuardProcessor is now TokenCostControl with processor id 'token-cost-control'. The old export remains as a deprecated alias that will be removed in a future major version. github.com - Behavior changed
TokenCostControl
With the warn strategy, warnings and the onViolation callback now fire at most once per request instead of on every step. Code relying on per-step callbacks must adjust. github.com
@mastra/core 1.59.0-alpha.1 breaking changes
- Behavior changed
Output processors now run when the model provider errors, with finishReason set to 'error'. Custom processors that assumed they would be skipped on errors must handle error terminals. github.com
@mastra/core 1.58.0 breaking changes
- Removed
browser:BrowserConfigBase.viewport.height
BrowserConfigBase.viewport.height was removed in @mastra/core 1.58.0 npmjs.com - Removed
browser:BrowserConfigBase.viewport.width
BrowserConfigBase.viewport.width was removed in @mastra/core 1.58.0 npmjs.com
And 123 more in this version.
@mastra/core 1.58.0-alpha.16 breaking changes
- Behavior changed
Messages with neither text nor attachments, such as iMessage read receipts, no longer start an agent run. Custom channel handlers still receive them. github.com
@mastra/core 1.58.0-alpha.14 breaking changes
- Behavior changed
The resolve-skills span type changed from generic to skill_resolution, so trace queries filtering on the old type need updating. github.com - Behavior changed
agent.generate
Provider finishReason 'error' without an error payload now emits an error chunk and calls onError; agent.generate() rejects and awaited stream promises reject, so callers need error handling. github.com
@mastra/core 1.58.0-alpha.13 breaking changes
- Behavior changed
timeTravel
timeTravel throws a descriptive error and leaves the snapshot unchanged when the workflow graph has changed, so re-run instead of time traveling after graph edits. github.com
@mastra/core 1.58.0-alpha.12 breaking changes
- Behavior changed
deepEqual
An array now only equals an array and a Date only equals a Date, so comparisons that previously returned true for mismatched shapes now return false. github.com
@mastra/core 1.58.0-alpha.4 breaking changes
- Behavior changed
Final reply text is posted as markdown, so existing plain-text output renders differently. Set textFormat: 'plain' on the channel adapter config, or remove prompt instructions that asked for a platform dialect, to keep the old behavior. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.