Mastra 1.72.0 released
session.respondToToolApproval(...) now requires toolCallId (id-less approval responses are rejected); related approval APIs now key gates per thread/run and update grant scoping.; @mastra/playground-ui removed/renamed multiple UI APIs (notably ScrollArea…
What changed
- session.respondToToolApproval(...) now requires toolCallId (id-less approval responses are rejected); related approval APIs now key gates per thread/run and update grant scoping.
- @mastra/playground-ui removed/renamed multiple UI APIs (notably ScrollArea props, PageHeader props, ToolCall → Activity component renames, and significant color token API changes).
- Added maxRetries and failurePolicy options to the observational memory observation and reflection settings. When failurePolicy is 'continue', an Observer or Reflector model failure no longer ends…
- Added support for resolving channel providers dynamically. The channels option on the Mastra constructor now also accepts a resolver function, so channel connections added on the Mastra platform…
- Fence background task execution with a persisted, expiring ownership lease. (#24841)
- Added an opt-in summary flag to listWorkflowRuns. When set, storage adapters may return only { status, timestamp } for each run snapshot instead of the full snapshot. (#25135)
- Storage adapters that support the new trace-aggregate capability can return aggregated trace results through ObservabilityStorage.aggregateTraces(), which executes a TrustedTraceAggregatePlan and…
- Added detach() to DurableAgent.observe() so an observer can stop watching a run without affecting it. Leaving the for await loop over fullStream early (break, return, or a thrown error) now also…
Generated from AgentGid's daily data on public sources. How we collect it.