Skip to content

v0.7.3

Choose a tag to compare

@vigneshnarayanaswamy vigneshnarayanaswamy released this 18 Apr 04:23
50e4886

Changes

  • feat: ModelRef gains a metadata: dict[str, Any] field (default empty). Thread through register() and register_group().
  • feat: register_group(metadata=...) now stores metadata on the composite ModelRef itself. Previously broadcast to every link_dependency call (unintended).
  • feat: composite_summary(model_types=...) — optional filter for callers treating ml_model/heuristic (or other types) as composites. Default behavior preserved (model_type="composite").
  • fix: narrow ALTER TABLE ADD COLUMN METADATA VARIANT exception suppression to "already exists" only. Previously swallowed all DDL errors.
  • schema: SQLite + Snowflake backends carry a METADATA column. Existing deployments auto-migrate via idempotent ALTER TABLE.

Backward compatibility

Fully backward compatible. Existing serialized ModelRef data without a metadata field loads with metadata={}.

Upgrade

pip install -U model-ledger==0.7.3

Or for git-pinned consumers:

model-ledger = { git = "https://github.com/block/model-ledger.git", tag = "v0.7.3" }