Download Latest Version datacontract_cli-0.12.2.tar.gz (378.7 kB)
Email in envelope

Get an email when there's a new version of Data Contract CLI

Home / v0.12.1
Name Modified Size InfoDownloads / Week
Parent folder
datacontract_cli-0.12.1-py3-none-any.whl 2026-04-21 317.7 kB
datacontract_cli-0.12.1-py3-none-any.whl.sigstore.json 2026-04-21 9.2 kB
datacontract_cli-0.12.1.tar.gz 2026-04-21 373.0 kB
datacontract_cli-0.12.1.tar.gz.sigstore.json 2026-04-21 9.1 kB
README.md 2026-04-21 3.4 kB
v0.12.1 source code.tar.gz 2026-04-21 2.8 MB
v0.12.1 source code.zip 2026-04-21 3.1 MB
Totals: 7 Items   6.6 MB 0

[0.12.1] - 2026-04-21

This release introduces several changes to improve the usability of datacontract-cli for AI Agents.

  • Breaking: Several changes in the CLI syntax (#1157):

    Fix in v0.12.1: re-added --schema as alias for the new --json-schema (will be removed in v0.13.0)

Command Old option New option
lint, test, ci, publish, catalog --schema <PATH> (still works until v0.13.0) --json-schema <PATH>
export, import --format <FORMAT> <OPTIONS> <FORMAT> <OPTIONS> (drop --format)
Export options:
export --format dbt --format dbt dbt-models (format renamed)
export --format great-expectations --sql-server-type <TYPE> --dialect <TYPE>
export --format rdf --rdf-base <URI> --base <URI>
export --format sql --sql-server-type <TYPE> --dialect <TYPE>
export --format sql-query --sql-server-type <TYPE> --dialect <TYPE>
Import options:
import --format bigquery --bigquery-[project\|dataset\|table] <NAME> --[project\|dataset\|table] <NAME>
import --format dbt --dbt-model <NAME> --model <NAME>
import --format glue --source <NAME>, --glue-table <NAME> --database <NAME>, --table <NAME>
import --format iceberg --iceberg-table <NAME> --table <NAME>
import --format unity --unity-table-full-name <NAME> --table <NAME>
import --format spark --source <NAMES> --tables <NAMES>
import --template dropped (was a no-op)

The --schema option (referring to the ODCS JSON schema) was renamed to --json-schema to avoid confusion with --schema-name, which refers to the schema within the data contract to test for.

  • Error messages for uncaught exceptions are shortened now. Pass --debug (or set DATACONTRACT_CLI_DEBUG=1) to see the full traceback. (#1175)
  • Add example calls to --help outputs (#1176)
  • Add explicit errors when required env vars for soda connections are missing (#1177)
  • Validate some of the CLI options against their allowed values instead of accepting any string (#1178)
Source: README.md, updated 2026-04-21