Releases: datacontract/datacontract-cli
Releases · datacontract/datacontract-cli
v0.10.28
v0.10.27
Added
Changed
datacontract export --format html
: Adding the mermaid figure to the html exportdatacontract export --format odcs
: Export physical type to ODCS if the physical type is
configured in config objectdatacontract 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
v0.10.25
chore: update changelog for version 0.10.25 and bump version in pypro…
v0.10.24
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
Release 0.10.23
v0.10.22
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
v0.10.21
Added
datacontract export --format custom
: Export to custom format with Jinjadatacontract api
now can be protected with an API key
Changed
datacontract serve
renamed todatacontract 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
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
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 ofschema
- datacontract export --format data-caterer: Use
options
instead ofgenerator.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