$npx -y @buildinternet/releases show rel_KUwoasZPSkRJPn0HXfhb0
2025-04-22 Mastra Release
BREAKING CHANGES
We have renamed Container to RuntimeContext #3761
General
CommonJS support in TypeScript for non-bundler environments, enabling easier migration of older projects to Mastra and adds end-to-end tests for these scenarios. #3613
MONOREPO SUPPORT
Bundling issues with workspace packages that use native dependencies by detecting such packages among externals, creating tarballs for them, and referencing them locally in package.json to enable proper installation during deployment. #3602
CLI/Server
Issues with nested import paths (such as firebase-admin/firestore) by making these imports external when bundling fails. #3452
The bundler to respect the actual NODE_ENV environment variable during development while defaulting to production for standard builds, and adds comprehensive tests to ensure correct environment propagation. #3642
-Server configuration fixes #3669
Mastra server.build configuration options for swaggerUI, openAPIDocs, and apiReqLogs. #3674
The correct log level is used in 'mastra dev' by addressing an environment variable change that caused logs to default to 'WARN' instead of 'INFO'. #3758
Storage
Replace __ functions with a Proxy, fixes a potential infinite loop in storage dev.entry, related bug fixes, code refactoring, and test updates. #3665
The Postgres store configuration to use 'schemaName' for consistency with the vector implementation and adds validation to ensure connections are present, throwing an error if not. #3681
The $in, $nin, and $contains operators for PG and LibSQL to correctly handle arrays and substring matches, aligning their behavior with Mongo and Upstash. #3725
Memory
All new messages are saved at least 1ms apart by adjusting createdAt timestamps, adds a function to correct previously misordered tool calls, and includes new tests. #3654
The Memory module's chunkText function to use character-based chunking instead of tiktoken, improving startup performance while maintaining safe chunk sizes. #3627
Voice reference handling and tool-call-start functionality. #3683
Observability
External dependencies specified in the telemetry configuration, such as those required by third-party exporters like Langfuse, are properly installed to prevent runner failures. #3762
Fix table layout issue in the Agent Network section of the Playground, aligning its design with recent updates made to the Agent and Workflow sections. #3744