Skip to content

Releases: datacontract/datacontract-cli

v0.10.28

05 Jun 13:40
Compare
Choose a tag to compare
Release 0.10.28

v0.10.27

22 May 18:49
Compare
Choose a tag to compare

Added

Changed

  • datacontract export --format html: Adding the mermaid figure to the html export
  • datacontract export --format odcs: Export physical type to ODCS if the physical type is
    configured in config object
  • datacontract import --format spark: Added support for spark importer table level comments (#761)
  • datacontract import respects --owner and --id flags (#753)

Fixed

  • datacontract export --format sodacl: Fix resolving server when using --server flag (#768)
  • datacontract export --format dbt: Fixed DBT export behaviour of constraints to default to data tests when no model type is specified in the datacontract model

v0.10.26

16 May 18:44
Compare
Choose a tag to compare

Changed

  • Databricks: Add support for Variant type (#758)
  • datacontract export --format odcs: Export physical type if the physical type is configured in
    config object (#757)
  • datacontract export --format sql Include datacontract descriptions in the Snowflake sql export (
    #756)

v0.10.25

07 May 07:00
Compare
Choose a tag to compare
chore: update changelog for version 0.10.25 and bump version in pypro…

v0.10.24

19 Apr 15:31
Compare
Choose a tag to compare

Added

  • datacontract test with DuckDB: Deep nesting of json objects in duckdb (#681)

Changed

  • datacontract import --format csv produces more descriptive output. Replaced
    using clevercsv with duckdb for loading and sniffing csv file.
  • Updated dependencies

Fixed

  • Fix to handle logicalType format wrt avro mentioned in issue (#687)
  • Fix field type from TIME to DATETIME in BigQuery converter and schema (#728)
  • Fix encoding issues. (#712)
  • ODCS: Fix required in export and added item and fields format (#724)

Removed

  • Deprecated QualityLinter is now removed

v0.10.23

03 Mar 11:40
Compare
Choose a tag to compare
Release 0.10.23

v0.10.22

20 Feb 09:55
Compare
Choose a tag to compare

Added

  • datacontract test now also executes tests for service levels freshness and retention (#407)

Changed

  • datacontract import --format sql is now using SqlGlot as importer.
  • datacontract import --format sql --dialect <dialect> Dialect can now to defined when importing
    SQL.

Fixed

  • Schema type checks fail on nested fields for Databricks spark (#618)
  • Export to Avro add namespace on field as optional configuration (#631)

Removed

  • datacontract test --examples: This option was removed as it was not very popular and top-level
    examples section is deprecated in the Data Contract Specification v1.1.0 (#628)
  • Support for odcs_v2 (#645)

v0.10.21

06 Feb 11:53
Compare
Choose a tag to compare

Added

  • datacontract export --format custom: Export to custom format with Jinja
  • datacontract api now can be protected with an API key

Changed

  • datacontract serve renamed to datacontract api

Fixed

  • Fix Error: 'dict object' has no attribute 'model_extra' when trying to use type: string with enum
    values inside an array (#619)

v0.10.20

30 Jan 21:03
Compare
Choose a tag to compare

Added

  • datacontract serve: now has a route for testing data contracts
  • datacontract serve: now has a OpenAPI documentation on root

Changed

  • FastAPI endpoint is now moved to extra "web"

Fixed

  • API Keys for Data Mesh Manager are now also applied for on-premise installations

v0.10.19

29 Jan 16:13
91a1e3f
Compare
Choose a tag to compare

Added

  • datacontract import --format csv
  • publish command also supports publishing ODCS format
  • Option to separate physical table name for a model via config option (#270)

Changed

  • JSON Schemas are now bundled with the application (#598)
  • datacontract export --format html: The model title is now shown if it is different to the model
    name (#585)
  • datacontract export --format html: Custom model attributes are now shown (#585)
  • datacontract export --format html: The composite primary key is now shown. (#591)
  • datacontract export --format html: now examples are rendered in the model and definition (#497)
  • datacontract export --format sql: Create arrays and struct for Databricks (#467)

Fixed

  • datacontract lint: Linter 'Field references existing field' too many values to unpack (expected
    2) (#586)
  • datacontract test (Azure): Error querying delta tables from azure storage. (#458)
  • datacontract export --format data-caterer: Use fields instead of schema
  • datacontract export --format data-caterer: Use options instead of generator.options
  • datacontract export --format data-caterer: Capture array type length option and inner data type
  • Fixed schemas/datacontract-1.1.0.init.yaml not included in build and --template not resolving file