Skip to content

Releases: ehsanmok/morph

v0.1.2

08 May 18:42

Choose a tag to compare

  • Compatible with Mojo 1.0.0b1.
  • CI: drop nightly cron schedule.

v0.1.1

25 Apr 01:07

Choose a tag to compare

Packaging-only patch release. Ships as Mojo source under lib/mojo/morph/ instead of a .mojopkg (avoids cross-nightly MLIR/IR drift) and pins the toolchain to mojo == 0.26.3.0.dev2026042005. No code or API changes since v0.1.0.

v0.1.0

15 Apr 05:14

Choose a tag to compare

Initial release of morph: reflection-driven serialization and data transformation for Mojo.

Supported features:

  • Zero-boilerplate JSON, CSV, TOML, and YAML serde via compile-time reflection
  • Field renaming (camelCase, PascalCase, SCREAMING_SNAKE)
  • Serde options (skip_private, add_type, as_array, strict, default_if_missing)
  • Struct introspection (fields, field_names, as_type, replace)
  • Runtime validation (min, max, range, non_empty, one_of)
  • JSON Schema generation (Draft 2020-12)
  • Flatten (nested struct embedding)
  • CLI argument parsing (flags, positional, nested dot-notation)
  • Extensible format backend trait

API documentation: https://ehsanmok.github.io/morph/