Support for specifying custom bundle externals in the mastra instance by introducing a bundler config option and updating the bundler to read the external option from this config. #4376
Handling errors, attempting automatic restarts, and exiting if necessary. #4420
Fix Cloudflare deployer by adding D1 and KV namespace bindings, updates KV table mapping for compatibility, and fixes workflow deployment issues by removing randomUUID from buildExecutionGraph. #4430
General
Add script to automatically publish all latest packages as the latest alpha version after a stable release. #4470
Agents can be passed directly into MCPServer to automatically create agent tools, updates related documentation, and adds support for passing MCPServers into the Mastra class. #4412 [IMPORTANT]
Full resource specification support to both MCPClient and MCPServer, including new resource-related notifications, client-server request APIs, comprehensive tests, example agent updates, and reference documentation improvements. #4388
Passing workflow instances into the MCP server as tools, updates documentation, and adds tests for the new feature. #4434
Fix issues with the MCP server routes to improve their functionality or correctness. #4468
The mcp-docs-server to log additional information when non-existent paths are accessed, replacing error throws with enhanced logging. #4485
Memory
The threadId, title, and metadata properties optional in CreateMemoryThreadParams to align with the documented API specification. #4336
Observability
Fix OpenTelemetry dependencies for the cloud exporter. #4390
RAG
Fix markdown chunking to ensure headers are correctly stripped from the output. #4385
Fix RAG tool type definitions to resolve TypeScript type errors and enforces stricter typing for the execute property in vector-query and graph-rag tools. #4411
Storage
Support for using MongoDB as a storage backend. #3841
Upstash storage to use redis.scan instead of redis.keys for better handling of large key sets and adds a batchInsert feature. #4389
Support for passing options to MongoDBStore, similar to how options are passed in the Vector case. #4414
An issue where the getWorkflowRuns and getWorkflowRunById functions returned 'Invalid Date' for the createdAt and updatedAt columns. #4416
That the Storage.init method is automatically called on all setters to guarantee proper initialization. #4477
Tools
Update the default tools path for discovery in both the dev server and build processes to ensure all tools in the tools folder are detected. #4421
Support for injecting runtime context parameters into the vector-query and graph-rag tools, allowing users to customize fields like indexName, vectorStoreName, topK, and filter at runtime without modifying the tools or prompts. #4433
Workflows
Fix a bug that caused duplication of items in array results within workflows. #4399
Update workflow configuration in the weather-agent template. #4397
Improve documentation for workflows in the reference tab. #4407
Streaming support for workflows by introducing a new 'stream' function that provides a readable stream interface for workflow execution, similar to the client-js watch SDK, and includes related test updates. #4232 [IMPORTANT]
Improve workflow run response by including detailed step information and error stacks in the returned workflow state, providing more visibility into each step's status, payload, output, and errors. #4432