@mastra/core@1.71.0 @mastra/core@1.72.0

medium risk

mastra-ai/mastraSep 25, 2026 → Sep 30, 20265 days between releases

What's New

Introduces live channel resolvers, multi-worker safety, and durability upgrades alongside breaking changes to tool approval and UI APIs

Breaking Changes

  • session.respondToToolApproval now strictly requires the toolCallId parameter
  • Approval-related APIs are now gated per thread or run
  • UI APIs in @mastra/playground-ui have been removed or renamed (ScrollArea, PageHeader, ToolCall -> Activity, color tokens)

New Features

  • Added maxRetries and failurePolicy options to observational memory
  • Dynamic channel resolvers via the channels() function
  • Background task execution with persisted ownership leases
  • Added detach() method to DurableAgent.observe()
  • New CyberRefusalHandler for cybersecurity safeguard retries

Improvements

  • Live channel resolvers allow dynamic connection updates without redeployment
  • Multi-worker safety ensures background tasks don't double-run via persisted ownership leases
  • Significantly stronger durability and crash recovery for agents and workflows
  • Thread streaming and PubSub retention improvements reduce replay and speed up reconnects

Bug Fixes

  • EventedAgent is fixed and restored to the built-in evented engine with recovery support
  • Improved crash recovery and preservation of timeouts for durable runs
  • Fixed tool and result processing on durable runs

Upgrade Notes

Update session.respondToToolApproval to include the toolCallId parameter and ensure thread/run context is passed to approval APIs. Additionally, update @mastra/playground-ui components as ScrollArea, PageHeader, and ToolCall have been renamed to Activity, with color tokens updated.

The Two Releases

@mastra/core@1.71.0

September 24, 2026

Sep 25, 2026· 27 days ago

This release focuses on observability capabilities negotiation, eager tool execution for faster streaming, and new integrations including Discord. It also introduces MongoDB Vector 'Automated Embeddings' and provides new discovery and aggregation planning APIs for trace queries.

Full release notes
@mastra/core@1.72.0

September 29, 2026

Sep 30, 2026· 22 days ago

This release introduces live channel resolvers for dynamic connection updates, multi-worker safety for background tasks via persisted ownership leases, and significantly stronger durability for agents and workflows. It also brings major observability upgrades, a new Microsoft Teams channel, and expanded Connect integrations.

Full release notes