Releases: datacontract/datacontract-cli
Releases · datacontract/datacontract-cli
v0.10.5
[0.10.5] - 2024-05-29
Added
- Added support for
sqlserver
(#196) datacontract export --format dbml
: Export to Database Markup Language (DBML) (#135)datacontract export --format avro
: Now supports config map on field level for logicalTypes and default values Custom Avro Propertiesdatacontract import --format avro
: Now supports importing logicalType and default definition on avro files Custom Avro Properties- Support
config.bigqueryType
for testing BigQuery types
Fixed
- Fixed jsonschema export for models with empty object-typed fields (#218)
- Fixed testing BigQuery tables with BOOL fields
datacontract catalog
Show search bar also on mobile
v0.10.4
Added
datacontract catalog
Searchdatacontract publish
: Publish the data contract to the Data Mesh Managerdatacontract import --format bigquery
: Import from BigQuery format (#110)datacontract export --format bigquery
: Export to BigQuery format (#111)datacontract export --format avro
: Now supports Avro logical types to better model date types.date
,timestamp
/timestamp-tz
andtimestamp-ntz
are now mapped to the appropriate logical types. (#141)datacontract import --format jsonschema
: Import from JSON schema (#91)datacontract export --format jsonschema
: Improved export by exporting more additional informationdatacontract export --format html
: Added support for Service Levels, Definitions, Examples and nested Fields (one level deep)datacontract export --format go
: Export to go types format
v0.10.3
Release only with one version
v0.10.2
Added
- Added import glue (#166)
- Added test support for
azure
(#146) - Added support for
delta
tables on S3 (#24) - Added new command
datacontract catalog
that generates a data contract catalog with anindex.html
file. - Added field format information to HTML export
Fixed
- RDF Export: Fix error if owner is not a URI/URN
v0.10.1
v0.10.0
Added
- Added timestamp when ah HTML export was created
Fixed
- Fixed export format html
v0.9.9
v0.9.8
[0.9.8] - 2024-04-01
Added
- Added export format great-expectations:
datacontract export --format great-expectations
- Added gRPC support to OpenTelemetry integration for publishing test results
- Added AVRO import support for namespace (#121)
- Added handling for optional fields in avro import #112
- Added Databricks SQL dialect for
datacontract export --format sql
Fixed
- Use
sql_type_converter
to build checks. - Fixed AVRO import when doc is missing (#121)
v0.9.7
- Fixed a bug where the export to YAML always escaped the unicode characters.
- Added option publish test results to OpenTelemetry:
datacontract test --publish-to-opentelemetry
- Added export format protobuf:
datacontract export --format protobuf
- Added export format terraform:
datacontract export --format terraform
(limitation: only works for AWS S3 right now) - Added export format sql:
datacontract export --format sql
- Added export format sql-query:
datacontract export --format sql-query
- Added export format avro-idl:
datacontract export --format avro-idl
: Generates an Avro IDL file containing records for each model. - Added new command changelog:
datacontract changelog datacontract1.yaml datacontract2.yaml
will now generate a changelog based on the changes in the data contract. This will be useful for keeping track of changes in the data contract over time. - Added extensive linting on data contracts.
datacontract lint
will now check for a variety of possible errors in the data contract, such as missing descriptions, incorrect references to models or fields, nonsensical constraints, and more. - Added importer for avro schemas.
datacontract import --format avro
will now import avro schemas into a data contract.
v0.9.6-2
This is a hugh step forward, we now support testing Kafka messages.
We start with JSON messages and avro, and Protobuf will follow.
Added
- test kafka for JSON messages
- added import format sql:
datacontract import --format sql
(#51) - added export format dbt-sources:
datacontract export --format dbt-sources
- added export format dbt-staging-sql:
datacontract export --format dbt-staging-sql
- added export format rdf:
datacontract export --format rdf
(#52) - added command
datacontract breaking
to detect breaking changes in between two data contracts. - test kafka for avro messages
- added export format avro:
datacontract export --format avro