Libcove

Latest version: v0.32.0

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

Scan your dependencies

Page 6 of 8

0.11.0

Added

- Return specific validation errors for `oneOf` in OCDS records, by using the presence/absence of `id` to assume embedded/linked releases sub-schema. Only works for OCDS records. [cove895](https://github.com/OpenDataServices/cove/issues/895)
- Add an `assumption` key to the validation JSON, to flag when one of the above assumptions has been made. [cove895](https://github.com/OpenDataServices/cove/issues/895)
- Add an `error_id` key to the validation JSON, a machine readable ID for the error. Currently only implemented for 1 error. [31](https://github.com/OpenDataServices/lib-cove/pull/31#issuecomment-538868533)

Changed

- Remove restriction on jsonschema version ([commit](https://github.com/OpenDataServices/lib-cove/pull/31/commits/f23fdd332c97903e21e478146bd490898efe3995))

0.10.0

Changed

- Allow the passing of `root_id` to the conversion tool

0.9.0

Changed

- Allow the passing of `root_list_path` to the conversion tool

0.8.0

Changed

- OCDS is now available on SSL. Updated comments and tests (but no code).
- Improve CustomJsonrefLoader; make `schema_url` a required parameter.
- Improve UI for validation errors on array items.
- More tests.

0.7.0

Added

- Add new additional fields section to context which list all additional fields. It also states which are top level additional fields with all their descendants.

0.6.0

Added

- cache_all_requests config option, off by default
- New function libcove.tools.get_request(). Pass it a config and it will use cache_all_requests option to decide whether to cache or not. (Also has force_cache option)
- load_codelist function now takes a config option, and will cache requests if set (Uses new get_request function)
- load_core_codelists function now takes a config option, and will cache requests if set.
- SchemaJsonMixin will check a config varible in the class as well as cache_schema variable (Uses new get_request function)

Changed

- Put more data into the error JSON returned, when grouping validation errors. This will allow different CoVEs to write their own validation messages. [14](https://github.com/OpenDataServices/lib-cove/pull/14)

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.