Covador

Latest version: v0.10.2

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

Scan your dependencies

Page 3 of 5

0.9.16

======

* [Break] IMPORTANT!! ``empty_is_none`` consider empty strings only. For example,
``schema(price=int)({'price': 0})`` does not raises Required Item exception
anymore.

* [Feature/Break] Strict parsing for ``application/x-www-form-urlencoded``,
``multipart/form-data`` and ``application/json`` content types.

* [Feature] ``covador.vdecorator.mergeof`` validation decorator compositor.
For example, all ``params`` decorators are ``mergeof(query_string, form)``.

* [Feature] Support for ``multipart/form-data`` content type.

* [Feature] Assume empty dictionary for ``json_body`` in case of empty request body.

* [Feature] ``covador.check`` allows to create validators from boolean functions.

* [Feature] Log invalid inputs for validation decorators. One can use
``COVADOR_DEBUG`` environment variable to enable stack traces in logs.

* [Refactor] Extract ``covador.vdecorator`` module from ``covador.utils``.

0.9.15

======

* [Break] empty_is_none=True for ``covador.item`` to synchronize behavior with ``covador.opt``.
Introduce similar ``covador.nitem``. Change allows to make explicit empty values acceptance.

0.9.14

======

* [Fix] Common item declarations lead to field erasure in schema.

0.9.13

======

* [Feature] Add support for Sanic.

0.9.12

======

* [Feature] ``KeyVal`` validator for typed mappings like Map<T1,T2>.

0.9.11

======

* [Fix] reimplementation of parse_qs to deal with bug in py3.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.