github mastra-ai/mastra @mastra/core@0.10.1
2025-05-27

latest releases: @mastra/core@0.16.0, mastra@0.12.0, create-mastra@0.12.0...
3 months ago

Mastra Release - 2025-05-27

AGUI

  • AGUIAdapter was not sending result messages, resolving errors during mastra's streaming of tool calls. #4398
  • Fix getAGUI function to return abstract agents instead of concrete implementations. #4405

Agents

  • A bug to ensure tool messages are properly sent to the frontend by improving message conversion. #4427

Playground

  • Fix the playground to support undefined values for the temperature and topP model settings. #4406
  • Add empty state UI components for agents, workflows, and MCP servers to improve user experience when no data is present. #4417
  • Add a multimodal playground experiment, enabling image and speech recognition features behind a feature flag. #4423
  • Add empty state UI designs for the agents network and tools sections to improve user experience. #4449
  • Make sure playground uses the agent's defaultStreamOptions and defaultGenerateOptions for improved configuration management. #4460
  • Fix zoom functionality on the workflow graph for improved user experience. #4475
  • The ability to display mapping configuration directly on the graph in Mastra Playground. #4486
  • Improve user experience and interface for the default workflow node. #4450
  • Add runs list feature to the workflows interface. #4482

Deployer

  • Add Verdaccio package registry. #4393
  • 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

Evals

  • Add runtimeContext to evals. #4422

MCP

  • 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

Don't miss a new mastra release

NewReleases is sending notifications on new releases.