2025-07-01 - Mastra Release
Agents
- Make sure the asynchronous title generation process is properly awaited, preventing failures if the process closes before title generation completes. #5538
CLI / Playground
- Fix create-mastra Gemini selection #5458
- Make playground use workflow stream instead of the watch method for improved workflow handling. #5491
- Start end-to-end tests for the playground using Playwright. #5110
- Fix issue in the playground by ensuring the correct suspend schema is displayed for nested workflows. #5558
- Fix 'epipe' issue on Windows by ensuring the same Node.js version is used, improving pipe support and addressing a related bug (#5186). #5578
Playground UI
- Fix display of custom chat thread titles in the UI, fixing a regression where they were previously removed. #5525
- Visualizations for the sleep, sleepUntil, and waitForEvent functions. #5579
- Add Model settings to be shared between cloud and playground, and adds an onSave callback to enable saving settings in the cloud. #5526
Memory
- Support for specifying a custom language model when generating titles in the Memory module, allowing users to override the default model set on the agent. [TIER2] #5472
- The message-list to display memory assistant messages separately instead of combining them, and adjusts the AgentNetwork display to support this new message format. #5514
- The code by removing persistence capabilities from model settings, limiting storage to localStorage only. #5582
- Private methods in the Memory class to protected, enabling them to be overridden in subclasses. #5564
- Error handling in MessageList by providing clear, actionable error messages when users pass messages with undefined or null content, replacing vague prompts to open a GitHub issue. #5590
Networks
- Fix ssues with AgentNetwork UI message display and saving during loopStream, ensuring agent call results are properly shown and stored after refresh. #5474
- Improving the prompting mechanism to enable better decision-making. #5523
Observability
- Fixes for custom transports and the pinoLogger component. #5498
- Fix issue where trace durations were not displaying correctly. #5535
Storage
- Make Database connection objects public in PostgresStore and PgVector classes, enabling direct database operations, connection monitoring, and enhanced test coverage for these new capabilities. #5466
MCP Course
- Fix transactions tool in the course module to use CSV format. #5530
Tools
- Make tools bundling process compatible with Cloudflare Workers by treating '#tools' as an external dependency, improving module exports, and adding a plugin for correct import resolution. #5531
- Fix ClientTools to stream the tool-result part #5580
- @mastra/core to filter out tool invocations that do not produce results, addressing issue #5016. #5566
Voice
Workflows
- Fix bug by ensuring the correct step ID is used for nested workflow steps in watch-v2. #5496
- The workflow graph to display resume data on each step, enhancing workflow visualization. #5497
- Execute() function now automatically receives a runCount parameter, enabling easier tracking of iteration counts in loop constructs like dountil, dowhile, and foreach. #5177
- Fix issue where workflow results were not being displayed. #5533
- Add
.cancel()
method to workflow runs, enabling workflows to be programmatically cancelled. [IMPORTANT] #5534 - Fixes a bug where exposing nested workflows at the top level caused Inngest to throw a duplicate function ID error due to workflows being registered multiple times. #5581
- Edit starter template workflow to use the existing agent instead of creating a new one, promoting best practices and reflecting recent changes to example additions. #5529