Skip to content

Update fastjsonschema to 2.22.2 - #1275

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-fastjsonschema-2.21.2-to-2.22.2
Open

Update fastjsonschema to 2.22.2#1275
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-fastjsonschema-2.21.2-to-2.22.2

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates fastjsonschema from 2.21.2 to 2.22.2.

Changelog

2.22.2

* Fixed wrong results of anyOf, oneOf, not, if/then/else, contains and propertyNames when `fast_fail` is off
* Fixed collecting errors from subschemas behind `$ref` when `fast_fail` is off
* Fixed escaping property name in boolean `dependencies` validation (prevents schema-controlled code injection)

2.22.1

* Fixed min Python version

2.22.0

* Fixed IPv4 validation (rejecting leading zeros)
* Fixed empty items and patternProperties
* Fixed protection from deeply nested schemas potentially causing denial of service
* Fixed comparing values for enum and const validations
* Fixed resolving plain-name ref fragments
* Fixed not throwing when unknown format is used
* Fixed compilation of not, if/then/else, items, additionalItems, propertyNames and schema dependencies when a subschema generates no validation code
* Added option to get all the errors (set `fast_fail` to `False`)
* Added basic type hints
* Added support of duration and uuid formats from draft-2019
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant