Datacontract-cli

Latest version: v0.10.23

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

0.10.11

Added

- Support data type map in Glue import. (340)
- Basic html export for new `keys` and `values` fields
- Support for recognition of 1 to 1 relationships when exporting to DBML
- Added support for arrays in JSON schema import (305)

Changed

- Aligned JSON schema import and export of required properties
- Change dbt importer to be more robust and customizable

Fixed

- Fix required field handling in JSON schema import
- Fix an issue where the quality and definition `$ref` are not always resolved
- Fix an issue where the JSON schema validation fails for a field with type `string` and format `uuid`
- Fix an issue where common DBML renderers may not be able to parse parts of an exported file

0.10.10

Added
- Add support for dbt manifest file (104)
- Fix import of pyspark for type-checking when pyspark isn't required as a module (312)
- Adds support for referencing fields within a definition (322)
- Add `map` and `enum` type for Avro schema import (311)

Fixed
- Fix import of pyspark for type-checking when pyspark isn't required as a module (312)- `datacontract import --format spark`: Import from Spark tables (326)
- Fix an issue where specifying `glue_table` as parameter did not filter the tables and instead returned all tables from `source` database (333)

0.10.9

Added
- Add support for Trino (278)
- Spark export: add Spark StructType exporter (277)
- add `--schema` option for the `catalog` and `export` command to provide the schema also locally
- Integrate support into the pre-commit workflow. For further details, please refer to the information provided [here](./README.mduse-with-pre-commit).
- Improved HTML export, supporting links, tags, and more
- Add support for AWS SESSION_TOKEN (309)

Changed
- Added array management on HTML export (299)

Fixed
- Fix `datacontract import --format jsonschema` when description is missing (300)
- Fix `datacontract test` with case-sensitive Postgres table names (310)

0.10.8

Added
- `datacontract serve` start a local web server to provide a REST-API for the commands
- Provide server for sql export for the appropriate schema (153)
- Add struct and array management to Glue export (271)

Changed
- Introduced optional dependencies/extras for significantly faster installation times. (213)
- Added delta-lake as an additional optional dependency
- support `GOOGLE_APPLICATION_CREDENTIALS` as variable for connecting to bigquery in `datacontract test`
- better support bigqueries `type` attribute, don't assume all imported models are tables
- added initial implementation of an importer from unity catalog (not all data types supported, yet)
- added the importer factory. This refactoring aims to make it easier to create new importers and consequently the growth and maintainability of the project. (273)

Fixed
- `datacontract export --format avro` fixed array structure (243)

0.10.7

Added
- Test data contract against dataframes / temporary views (175)

Fixed
- AVRO export: Logical Types should be nested (233)

0.10.6

Fixed

- Fixed Docker build by removing msodbcsql18 dependency (temporary workaround)

Page 3 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.