Jsonmodel

Latest version: v3.4

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

Scan your dependencies

Page 1 of 4

3.4

----------------
* **METHOD ADDED** use_declared method to assign declared values to defaults
* **FEATURE ADDED** declared_value coverage for list datatypes

3.3

----------------
* **FEATURE ADDED** validation of any valid datatype for null declarations
* **FEATURE ADDED** ingestion of any valid datatype for null declarations

3.2

----------------
* Bug fix to remove unused optional argument in explain method

3.1

----------------
* **FEATURE ADDED** custom error messages added for regex pattern criteria
* **FEATURE ADDED** explain method added to InputValidationError
* **DEPRECATED** full path of keys added to extra fields error report
* dataModel property added as deepcopy of data_model argument

3.0

-----------------
* **UPGRADE** extensions package with add-on methods for json model objects
* **FEATURE ADDED** tabulate method to extensions to create a table from json model criteria
* **FEATURE ADDED** min_size & max_size conditionals added to map fields
* **DEPRECATED** max_size field in top-level json model schema declaration
* Bug fix for reporting correct javascript dot_path syntax on query errors

2.9

----------------
* **FEATURE ADDED** 'default_value' conditional added to list fields
* **FEATURE ADDED** integer fields in schema are automatically declared as integer_data
* Updated required field default to False for list fields with empty items
* Updated component and query validation to parse javascript dot_path syntax
* Updated query criteria to map number, string and boolean declarations to equal_to qualifier

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.