Schema

Latest version: v0.7.6

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

Scan your dependencies

Page 1 of 2

0.7.6

Fixes

* Trim trailing whitespace. [Stavros Korokithakis]

0.7.4

Fixes

* Don't double-format errors. fixes 240 (247) [Leif Ryge]

* Fix "Unknown format code" in Python 3.8 (245) [Denis Blanchette]

* JSON Schema: Allow using $ref when schema is not a dict (244) [Denis Blanchette]

* JSON Schema: Set additionalProperties true when dict contains str as key (243) [Denis Blanchette]

0.7.3

Fixes

* JSON Schema: Support schemas where the root is not a dict. [Stavros Korokithakis]

* Do not drop previous errors within an Or criterion. [Stavros Korokithakis]

0.7.1

Features

* JSON Schema: Include default values. [Stavros Korokithakis]

* JSON schema with common definitions + Update README. [Stavros Korokithakis]

* Add references to JSON schema rendering. [Stavros Korokithakis]

* Add the "Literal" type for JSONSchema. [Stavros Korokithakis]

* Improve JSON schema generation (206) [Denis Blanchette]

Fixes

* JSON Schema: Fix allOf and oneOf with only one condition. [Stavros Korokithakis]

* Fix readme code block typo. [Stavros Korokithakis]

* JSON Schema: Don't add a description in a ref. [Stavros Korokithakis]

* JSON Schema: Fix using `dict` as type. [Stavros Korokithakis]

* Fix using Literal in enum in JSON Schema. [Stavros Korokithakis]

0.7.0

Features

* Add Hook class. Allows to introduce custom handlers (175) [Julien Duchesne]

Fixes

* Add pre-commit to CI (187) [Stavros Korokithakis]

* Use correct singular/plural form of “key(s)” in error messages (184) [Joel Rosdahl]

* When ignoring extra keys, Or's only_one should still be handled (181) [Julien Duchesne]

* Fix Or reset() when Or is Optional (178) [Julien Duchesne]

* Don't accept boolens as instances of ints (176) [Brandon Skari]

* Remove assert statements (170) [Ryan Morshead]

0.6.8

Features

* Add an is_valid method to the schema (as in 134) (150) [Shailyn Ortiz]

Fixes

* Fix typo in schema.py: vaidated->validated (151) [drootnar]

* Fix callable check under PyPy2 (149) [cfs-pure]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.