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

medium risk

hcengineering/platformSep 25, 2026 → Sep 30, 20265 days between releases

What's New

Adds live channel resolvers, multi-worker safety, and crash recovery for agents/workflows

Breaking Changes

  • session.respondToToolApproval() now requires toolCallId parameter
  • Playground UI: ToolCall component renamed to Activity
  • Playground UI: TaskList API props removed (title, TaskListHeader, hideWhenEmpty)
  • Playground UI: Color token API changed

New Features

  • Live channel resolvers via channels() function for runtime updates
  • Background task lease fencing with leaseDurationMs configuration
  • aggregateTraces() method for storage adapters
  • maxRetries and failurePolicy options for observation settings
  • summary flag for listWorkflowRuns to return status and timestamp

Improvements

  • Multi-worker safety prevents double-running background tasks
  • Crash recovery and preserved timeouts for agents and workflows
  • Thread streaming and PubSub retention improved for faster reconnects
  • EventedAgent restored to built-in engine with recovery support
  • Observability upgrades with richer trace aggregation filtering

Bug Fixes

  • EventedAgent restored to built-in engine with recovery support
  • Crash recovery fixes for durable and evented agents/workflows

Upgrade Notes

Update session.respondToToolApproval() calls to include the toolCallId parameter. Update Playground UI components to use the new Activity component and updated props. Configure leaseDurationMs for background tasks to enable multi-worker safety.

The Two Releases

@mastra/core@1.71.0

September 24, 2026

Sep 25, 2026· 27 days ago

This release introduces observability capabilities negotiation, eager tool execution for faster streaming, and new Discord integration. It adds server-side embedding generation for MongoDB Vector and a trace aggregation planning API.

Full release notes
@mastra/core@1.72.0

September 29, 2026

Sep 30, 2026· 22 days ago

This release adds live channel resolvers for runtime channel connections without redeploy, implements multi-worker safety for background tasks via persisted ownership leases, strengthens durability and recovery for agents/workflows, and introduces observability upgrades with trace aggregation.

Full release notes