Libcove

Latest version: v0.32.1

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

Scan your dependencies

Page 1 of 8

0.32.1

Fixed

- `unique_ids` now doesn't have exponential running time if there's no ID fields https://github.com/OpenDataServices/lib-cove/pull/144

0.32.0

Removed

- Dropped support for Python 3.6 & 3.7, as these are now end of life.
- Jsonschema 4.18+ is now required. Support for 3 and older versions of 4 is removed.

Changed

- Restore jsonschema's type validator, as its performance has improved in recent Python versions https://github.com/OpenDataServices/lib-cove/pull/127
- Allow `SchemaJsonMixin` classes to define a `validator` method, that accepts lib-cove's JSON Schema draft 4 validator class and its format checker, and returns a validator instance. https://github.com/OpenDataServices/lib-cove/pull/128
- If the above `validator` option is not being used, allow `SchemaJsonMixin` classes to define a `registry` value. Should be a referencing.Registry instance. https://github.com/OpenDataServices/lib-cove/pull/123

Fixed

- Calculate additional codelist values for schema using `anyOf` or `oneOf`, like OCDS record packages https://github.com/open-contracting/lib-cove-ocds/issues/106
- Descend into nullable objects and arrays. (For example, OCDS `parties/details` is nullable, and additional codes for `parties/details/scale` were unreported.) https://github.com/OpenDataServices/lib-cove/pull/131

0.31.0

Changed

- Eliminate size limit on caching requests https://github.com/OpenDataServices/lib-cove/pull/120

Fixed

- Fix crash when tmp directory is on different filesystem https://github.com/OpenDataServices/lib-cove/issues/84
- Use sentence case consistently in validation error messages https://github.com/OpenDataServices/lib-cove/issues/28
- Support jsonschema>=4.10 https://github.com/OpenDataServices/lib-cove/pull/118

0.30.0

Changed

- Allow jsonschema version 4.
- Support arrays of strings that must be on a codelist https://github.com/ThreeSixtyGiving/dataquality/issues/80

0.29.0

Changed

- Add `SchemaJsonMixin.process_codelists` (previously only existed in lib-cove-ocds, will be used by 360 CoVE) https://github.com/OpenDataServices/lib-cove/pull/109

0.28.0

Fixed

- Numeric "id" values no longer cause an exception while yielding a validation error about non-unique IDs.
- Make work with all versions of jsonref

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.