- db7b576: Declare Node.js 22.22.3 as the minimum supported runtime for every published TypeScript package so package managers surface incompatible runtimes before users encounter ESM loading failures.
-
5e57815: Keep the content of free-form object arguments, and apply dynamic key rules only where they belong.
An object schema with no named properties, written as
{ "type": "object" }or{ "properties": {} }, used to become a strict empty object. The only value that passed was{}. Any real payload was rejected. Such an object is now open, so arbitrary content is accepted and preserved. This works at the root, nested inside another object, and inside array items.Dynamic keys are now routed to the schemas that actually claim them. Every matching
patternPropertiesentry validates its key. A schema-valuedadditionalPropertiesapplies only to keys that no declared property and no pattern matches. Before this change a key could pass by satisfying an unrelated pattern instead of its own.What no longer works
Converting a property-less object no longer gives you a schema that rejects everything.
const schema = jsonSchemaToZod({ type: 'object' }); schema.parse({ anything: 1 }); // before: threw, because the result was z.object({}).strict() // now: returns { anything: 1 }
What to do instead
If you want a property-less object to stay closed, say so in the JSON Schema:
const schema = jsonSchemaToZod({ type: 'object', additionalProperties: false }); schema.parse({ anything: 1 }); // throws, as before
Objects that name at least one property are unchanged. They still reject unknown keys when
additionalPropertiesis omitted.
- 1503786: Model the parser-supported
min,max, andexampleJSON Schema extensions in the exported recursive schema type.
- 58bc93b: Refresh dependency ranges and lockfiles across the workspace.
- fa933a6: Fix the
homepagelinks in these packages'package.json. They pointed atgithub.com/ComposioHQ/composio/tree/main/..., but the default branch isnextand nomainbranch exists, so every link 404'd on npm and in editor tooltips. They now point attree/next/....
- 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.cjsartifacts.
- eec8fd9: Bump SDK version for latest changes
- b5cc23f: Fix dangerously skip version check in non agentic providers, Throw error instead of process.exit when api key doesn't exist, bump zod-to-json-schema to 3.25.0, which supports "zod/3"
- cfc2c50: Update zod version to 4
- 157bf7b: Fix array parsing
- 8741165: Add zod 4 support via zod/v3 and fix zod schema parsing
- 51033d8: Fix additional properties in nested structures
- 5027e18: Fix openai responses schema parsing
- Fix parsing of additional properties
- Fix additionalProperties to be always present
- Fix jsonSchema to zod parsing which used to eliminate min/max and examples proeperties
- 7276d1e: Fix issues with json schema to zod parsing causing nested objects to be marked as required
- 7276d1e: Fix issues with objects with default values being marked as required
- 06612f5: Downgrade chalk to v4 to allow CJS as well
- 77e96e4: Fix JSON Schema to Zod Parsing
- cb1b401: Bump packages for authconfig fixes
- Create stable release
- 77e96e4: Fix JSON Schema to Zod Parsing
- Bump packages for authconfig fixes
- 06612f5: Downgrade chalk to v4 to allow CJS as well
- Downgrade chalk to v4 to allow CJS as well
- Fix issues with objects with default values being marked as required
- Fix issues with json schema to zod parsing causing nested objects to be marked as required
- Add host name support in SDK
- 1ab34ef: Fix json schema support in tools
- c8e89d5: Fix telemetry transport
- 37a1f01: Feat better connected account creation flow
- df31cc2: Fix json schema parsing
- f943ba4: Export all the types from the core SDK
- 208e320: Update json schema transformations issues related to strict mode
- 4ddfafc: Add json schema to zod schema