Skip to content

v1.2.5

Choose a tag to compare

@github-actions github-actions released this 12 Oct 21:21
· 62 commits to main since this release

[1.2.5] - 2026-10-12

Changed

  • datacontract lint --all-errors: unknown fields are warnings instead of errors, unless a custom --schema rejects them

Added

  • datacontract import postgres imports primary and foreign keys from the Postgres catalog, also for SELECT-only roles (#1709 @vtulus)
  • datacontract edit: enable the editor's AI assistant via DATACONTRACT_EDITOR_AI_* environment variables (endpoint, API key, model, provider, auth header)
  • datacontract test: check constraints and quality rules on nested properties on Athena and Trino servers
  • DATACONTRACT_CONNECT_TIMEOUT (default 30 seconds): datacontract test on Postgres, Redshift, MySQL and SQL Server fails with a connection error instead of waiting forever for a server that does not answer, e.g. on a wrong port

Fixed

  • datacontract lint and datacontract test: warn about unknown fields, such as a misspelled quality, instead of silently ignoring them (will be an error in the next major version in January 2027)
  • datacontract import sqlserver and the physical type checks of datacontract test work on case-sensitive SQL Server databases such as Microsoft Fabric warehouses (#1705 @Octacon100)
  • datacontract import: Postgres and DuckDB uuid columns import as string with format uuid instead of without a logicalType
  • datacontract dbt sync: generated composite primary key, length, pattern and range tests work on Databricks, BigQuery and Snowflake (#1713)
  • datacontract api: the endpoints run in a thread pool, so a slow or hanging POST /test no longer blocks every other request to the server