Skip to content

Commit

Permalink
release 0.9.16
Browse files Browse the repository at this point in the history
  • Loading branch information
baverman committed Nov 14, 2017
1 parent 911aa45 commit 0d61e60
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
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
======

Expand Down
2 changes: 1 addition & 1 deletion covador/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
from .vdecorator import ValidationDecorator
from .types import *

version = '0.9.15'
version = '0.9.16'
schema = make_schema(Map)
list_schema = make_schema(ListMap)

0 comments on commit 0d61e60

Please sign in to comment.