Jschon

Latest version: v0.11.1

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

Scan your dependencies

Page 3 of 4

0.7.3

-------------------
Documentation:

* Added example of extending JSON Schema with a custom keyword, vocab and meta-schema
* Various improvements to wording and structuring of docs

Miscellaneous:

* The `default` param of create_catalog() now defaults to True
* Allow "$id" and "$schema" to be omitted from meta-schema documents
* Renamed JSON.value to JSON.data; JSON.value now returns the instance data as a
JSON-compatible Python object (18)
* Switched to reStructuredText across the board - top-level ``*.rst`` files are now
included in the docs and in the published package

0.7.2

-------------------
Bug fixes:

* Fixed "absoluteKeywordLocation" output for "$ref", "$dynamicRef" and "$recursiveRef" nodes (15)

Documentation:

* Restructured examples; example outputs are now verified by unit tests
* Added examples of loading schemas from files

0.7.1

-------------------
Breaking changes:

* Renamed Catalogue to Catalog

0.7.0

-------------------
Features:

* Top-level catalogue initialization function
* Session id-based schema caching

Breaking changes:

* Removed the Catalogue.create_default_catalogue method

Documentation:

* Added sections on getting started and running the tests
* Improved JSONSchema and Catalogue usage docs

0.6.0

-------------------
Features:

* Detailed and verbose output format options

Breaking changes:

* JSONSchema.validate() now returns a Scope result object

Bug fixes:

* Fixed the instance location (shown in output) for object keys evaluated by "propertyNames"

Miscellaneous:

* Failing schema nodes no longer have error messages, and are excluded from basic output
* A Scope.passed property indicates a scope's assertion result, while Scope.valid indicates its
validation result (these can only differ for an "if" keyword subscope)
* Improved the API (used by keywords) and internal structure of the Scope class
* Dropped the Annotation and Error classes

0.5.0

-------------------
Features:

* An output method on Scope, providing output formatting

Breaking changes:

* Dropped the Evaluator class

Miscellaneous:

* Moved Metaschema, Vocabulary and Keyword into the vocabulary subpackage

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.