Highlights
This release focuses primarily on bug fixes and stability improvements.
AI-SDK
We've resolved several issues related to message deduplication and preserving lastMessageIds. More importantly, this release adds support for suspend/resume operations and custom data writes, with network data now properly surfacing as data-parts.
Bundling
We've fully resolved bundling issues with the reflect-metadata package by ensuring it's not removed during the bundling step. This means packages no longer need to be marked as externals to avoid runtime crashes in the Mastra server.
Changelog
@mastra/agent-builder
- update peerdeps (5ca1cca)
@mastra/ai-sdk
- update peerdeps (5ca1cca)
- Preserve lastMessageId in chatRoute (#9556)
- Handle custom data writes in agent network execution events in ai sdk transformers (#9717)
- Add support for suspend/resume in AI SDK workflowRoute (#9392)
@mastra/arize
- update peerdeps (5ca1cca)
@mastra/astra
- update peerdeps (5ca1cca)
@mastra/auth
- update peerdeps (5ca1cca)
@mastra/auth-auth0
- update peerdeps (5ca1cca)
@mastra/auth-clerk
- update peerdeps (5ca1cca)
@mastra/auth-firebase
- update peerdeps (5ca1cca)
@mastra/auth-supabase
- update peerdeps (5ca1cca)
@mastra/auth-workos
- update peerdeps (5ca1cca)
@mastra/braintrust
- update peerdeps (5ca1cca)
@mastra/chroma
- update peerdeps (5ca1cca)
@mastra/clickhouse
- update peerdeps (5ca1cca)
@mastra/client-js
- update peerdeps (5ca1cca)
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. (#9487)
- Remove unused /model-providers API (#9533)
- Fix undefined runtimeContext using memory from playground (#9328)
@mastra/cloud
- update peerdeps (5ca1cca)
@mastra/cloudflare
- update peerdeps (5ca1cca)
@mastra/cloudflare-d1
- update peerdeps (5ca1cca)
@mastra/core
-
update peerdeps (5ca1cca)
-
Fix workflow input property preservation after resume from snapshot
Ensure that when resuming a workflow from a snapshot, the input property is correctly set from the snapshot's context input rather than from resume data. This prevents the loss of original workflow input data during suspend/resume cycles. (#9380)
-
Fix a bug where streaming didn't output the final chunk (#9546)
-
Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. (#9487)
-
Fix network routing agent smoothstreaming (#9247)
@mastra/couchbase
- update peerdeps (5ca1cca)
@mastra/dane
- update peerdeps (5ca1cca)
@mastra/deployer
-
update peerdeps (5ca1cca)
-
Improve analyze recursion in bundler when using monorepos (#9490)
-
Update peer dependencies to match core package version bump (0.23.4) (#9487)
-
Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. (#9487)
-
Make sure external deps are built with side-effects. Fixes an issue with reflect-metadata #7328 (#9714)
-
Remove unused /model-providers API (#9533)
-
Fix undefined runtimeContext using memory from playground (#9328)
-
Add readable-streams to global externals, not compatible with CJS compilation (#9735)
-
fix: add /api route to default public routes to allow unauthenticated
accessThe /api route was returning 401 instead of 200 because it was being caught
by the /api/_ protected pattern. Adding it to the default public routes
ensures the root API endpoint is accessible without authentication while
keeping /api/_ routes protected. (#9662)
@mastra/deployer-cloud
- update peerdeps (5ca1cca)
@mastra/deployer-cloudflare
- update peerdeps (5ca1cca)
@mastra/deployer-netlify
- update peerdeps (5ca1cca)
@mastra/deployer-vercel
- update peerdeps (5ca1cca)
@mastra/dynamodb
- update peerdeps (5ca1cca)
@mastra/evals
- update peerdeps (5ca1cca)
@mastra/fastembed
- update peerdeps (5ca1cca)
@mastra/google-cloud-pubsub
- update peerdeps (5ca1cca)
@mastra/inngest
- update peerdeps (5ca1cca)
@mastra/lance
- update peerdeps (5ca1cca)
@mastra/langfuse
- update peerdeps (5ca1cca)
@mastra/langsmith
- update peerdeps (5ca1cca)
@mastra/libsql
- update peerdeps (5ca1cca)
@mastra/loggers
- update peerdeps (5ca1cca)
@mastra/longmemeval
- update peerdeps (5ca1cca)
@mastra/mcp
- update peerdeps (5ca1cca)
@mastra/mcp-docs-server
- update peerdeps (5ca1cca)
@mastra/mcp-registry-registry
- update peerdeps (5ca1cca)
@mastra/memory
- update peerdeps (5ca1cca)
@mastra/mongodb
- update peerdeps (5ca1cca)
@mastra/mssql
- update peerdeps (5ca1cca)
@mastra/observability
- update peerdeps (5ca1cca)
@mastra/opensearch
- update peerdeps (5ca1cca)
@mastra/otel-exporter
- update peerdeps (5ca1cca)
@mastra/pg
- update peerdeps (5ca1cca)
@mastra/pinecone
- update peerdeps (5ca1cca)
@mastra/playground-ui
- update peerdeps (5ca1cca)
- Update peer dependencies to match core package version bump (0.23.4) (#9487)
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. (#9487)
- Remove unused /model-providers API (#9533)
- Fix undefined runtimeContext using memory from playground (#9328)
@mastra/qdrant
- update peerdeps (5ca1cca)
@mastra/rag
- update peerdeps (5ca1cca)
@mastra/react
- update peerdeps (5ca1cca)
@mastra/s3vectors
- update peerdeps (5ca1cca)
@mastra/schema-compat
- update peerdeps (5ca1cca)
@mastra/server
- update peerdeps (5ca1cca)
- Update peer dependencies to match core package version bump (0.23.4) (#9487)
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. (#9487)
- Fix undefined runtimeContext using memory from playground (#9328)
@mastra/turbopuffer
- update peerdeps (5ca1cca)
@mastra/upstash
- update peerdeps (5ca1cca)
@mastra/vectorize
- update peerdeps (5ca1cca)
@mastra/voice-azure
- update peerdeps (5ca1cca)
@mastra/voice-cloudflare
- update peerdeps (5ca1cca)
@mastra/voice-deepgram
- update peerdeps (5ca1cca)
@mastra/voice-elevenlabs
- update peerdeps (5ca1cca)
@mastra/voice-gladia
- update peerdeps (5ca1cca)
@mastra/voice-google
- update peerdeps (5ca1cca)
@mastra/voice-google-gemini-live
- update peerdeps (5ca1cca)
@mastra/voice-murf
- update peerdeps (5ca1cca)
@mastra/voice-openai
- update peerdeps (5ca1cca)
@mastra/voice-openai-realtime
- update peerdeps (5ca1cca)
@mastra/voice-playai
- update peerdeps (5ca1cca)
@mastra/voice-sarvam
- update peerdeps (5ca1cca)
@mastra/voice-speechify
- update peerdeps (5ca1cca)
@observability/test-utils
- update peerdeps (5ca1cca)
create-mastra
- update peerdeps (5ca1cca)