Mastra is now licensed under Apache-2.0!!!
.cancel() method to workflow runs, enabling workflows to be programmatically cancelled. [IMPORTANT] #5534waitForEvent for a specific event before proceeding. #5080bail function to allow workflows to exit a step early and updates the return types of suspend() and bail() to any for improved developer ergonomics. [IMPORTANT] #5414@latest from the docs server and scaffolding to resolve npx caching issues that were causing server startup failures. #4825getListener method in the AgentVoice client SDK. #4522This release introduces several breaking changes. For more information on breaking changes please refer to this blog post
MessageList class that unifies and converts various message types (UIMessage, Message, CoreMessage, Memory) into a consistent storage format, laying the groundwork for future integration with agents and support for AI SDK v5 UIMessages. #4287experimental_generateMessageId in core, and removes it from client-js types due to its non-serializable nature. #4191mastra lint, to add linting functionality to the project. #3994 [IMPORTANT]ai-sdk useCompletion example to correctly use the prompt field from the request body instead of the messages field, improving documentation accuracy. #4098ai-sdk useObject example to correctly utilize the request body, ensuring the documentation accurately demonstrates proper usage. #4100x-mastra-dev-playground header to all playground requests to address issue #3741. #3845Container to RuntimeContext #3761MCPServer Class, enabling users to create their own MCP server with custom tools. #3714This release was a grind. We addressed some overdue issues with our deployers. Hopefully this is a step in the right direction. We will continue doing right by the community and squash issues!
vNext 2025-04-16. More details to follow. [IMPORTANT]Continuing bug fixes found in latest.
We made some mistakes with Agent maxSteps in the API and Playground.
Today we release a new latest version of Mastra. There are several issues lurking we are trying to figure out around the clock right now.
Top issues:
As for the release itself there is good stuff. Since this our first official release-channel comm, if you want to give feedback on how to better improve it, let me know!
To take advantage of this release please install all modules @latest.
Here's the changes