Releases
v0.1.0
Compare
Sorry, something went wrong.
No results found
[0.1.0] – Initial Preview
Added
Zod → Pydantic v2 conversion:
Nested classes
Constrained types (constr, confloat, conint)
Defaults (Field(default=...), Field(default_factory=...))
Optional / nullable / union / discriminated union support
Zod → TypeScript .d.ts emitter with nested interfaces and export name overrides
Zod AST visitor with Zod 3/4 compatibility and warning system for unsupported effects
File loader:
Dynamic import of TS/JS modules
Recursive import resolution with tsconfig.json path mapping support
--allow-unresolved flag for lenient handling of unresolved imports
CLI:
convert zod for single schemas
convert folder for batch conversion
--to, --out, --flat, --init, --allow-unresolved, --tsconfig flags
Folder conversion:
Multiple schemas per file
Re‑export handling (index.ts)
Per‑directory collision handling for file names
Optional __init__.py generation for Python packages
Python wrapper:
schemabridge CLI that calls the bundled Node.js CLI
You can’t perform that action at this time.