Skip to content

mastra

v@mastra/[email protected] Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agents ai chatbots evals javascript llm
+7 more
mcp nextjs nodejs reactjs tts typescript workflows

Summary

AI summary

Updates Minor Changes, Breaking Changes, and Highlights across a mixed release.

Changes in this release

Feature Medium

Adds support for Gateway embedding routing with `mastra/provider/model` IDs.

Adds support for Gateway embedding routing with `mastra/provider/model` IDs.

Source: llm_adapter@2026-06-05

Confidence: high

Full changelog

Highlights

Gateway Embedding Routing via mastra/provider/model IDs

@mastra/core adds support for routing embeddings through the Gateway using mastra/provider/model identifiers (e.g., new ModelRouterEmbeddingModel('mastra/__GATEWAY_OPENAI_EMBEDDING_MODEL__')).

Breaking Changes

  • None noted in this changelog (other packages were dependency-only updates).

Changelog

@mastra/[email protected]

Minor Changes

  • Added support for Gateway embedding routing with mastra/provider/model IDs: (#17469)

    const embedder = new ModelRouterEmbeddingModel('mastra/__GATEWAY_OPENAI_EMBEDDING_MODEL__');
    

Other updated packages

The following packages were updated with dependency changes only:

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track mastra

Get notified when new releases ship.

Sign up free

About mastra

From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

All releases →

Beta — feedback welcome: [email protected]