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/core@1.40.0
Minor Changes
-
Added support for Gateway embedding routing with
mastra/provider/modelIDs: (#17469)const embedder = new ModelRouterEmbeddingModel('mastra/__GATEWAY_OPENAI_EMBEDDING_MODEL__');
Other updated packages
The following packages were updated with dependency changes only:
- @mastra/client-js@1.23.1
- @mastra/deployer@1.40.0
- @mastra/deployer-cloud@1.40.0
- @mastra/deployer-cloudflare@1.1.41
- @mastra/deployer-netlify@1.1.17
- @mastra/deployer-vercel@1.1.35
- @mastra/express@1.3.28
- @mastra/fastify@1.3.28
- @mastra/hono@1.4.23
- @mastra/koa@1.5.11
- @mastra/longmemeval@1.0.47
- @mastra/mcp-docs-server@1.1.44
- @mastra/nestjs@0.1.12
- @mastra/opencode@0.0.44
- @mastra/playground-ui@32.0.1
- @mastra/react@0.5.1
- @mastra/server@1.40.0
- @mastra/temporal@0.1.11