From 0d61e609f8285bd24ba48ae6f989a2a2ff6d7114 Mon Sep 17 00:00:00 2001 From: Anton Bobrov Date: Tue, 14 Nov 2017 19:42:22 +0300 Subject: [PATCH] release 0.9.16 --- CHANGELOG.rst | 25 +++++++++++++++++++++++++ covador/__init__.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4c770a3..257ae6c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 ====== diff --git a/covador/__init__.py b/covador/__init__.py index 3a9ab1c..7225f83 100644 --- a/covador/__init__.py +++ b/covador/__init__.py @@ -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)