Skip to content

@composio/mastra@0.10.0

Choose a tag to compare

@sdkrelease sdkrelease released this 25 Jun 00:40
· 2046 commits to next since this release
9764ce3

Minor Changes

  • 025a657: Drop CommonJS entrypoints and publish the TypeScript SDK packages as ESM-only packages. This is a breaking change within the existing 0.x release line: consumers must use Node.js 22.22.3 or newer. CommonJS callers can only rely on Node's native require(esm) interop, and the SDK no longer ships custom CommonJS compatibility machinery or .cjs artifacts.

Patch Changes

  • aaabf5e: Relax the Mastra provider output schema so real third-party API responses are no longer rejected by Mastra's output validation (which dropped the data and substituted an error). Before compilation the output schema is made lenient: every typed node becomes nullable, objects allow extra keys (additionalProperties: true), enum/const are widened to also admit null, and required is dropped (APIs omit unset fields rather than returning null for them). All of these only widen what validates, so previously-valid output is unaffected.