colander v1.1 Release Notes
Release Date: 2016-01-15 // over 8 years ago-
Platform
- โ Add explicit support for Python 3.4, Python 3.5 and PyPy3.
๐ Features
Add
min_err
andmax_err
arguments toLength
, allowing customization of its error messages.โ Add
colander.Any
validator: succeeds if at least one of its subvalidators succeeded.๐ Allow localization of error messages returned by
colander.Invalid.asdict
by adding an optionaltranslate
callable argument.โ Add a
missing_msg
argument toSchemaNode
, allowing customization of the error message used when the node is required and missing.โ Add
NoneOf
validator which succeeds if the value is none of the choices.โ Add
normalize
option toDecimal
, stripping the rightmost trailing zeros.
๐ Bug Fixes
๐ Fix an issue where the
flatten()
method produces an invalid name (ex: "answer.0.") for the typeSequence
. See https://github.com/Pylons/colander/issues/179๐ Fixed issue with
String
not being properly encoded when non-string values were passed intoserialize()
See#235 <https://github.com/Pylons/colander/pull/235>
_title
was being overwritten when made a child through defining a schema as a class. See https://github.com/Pylons/colander/pull/239
๐ Translations
โ Added new translations:
el
โก๏ธ Updated translations:
fr
,de
,ja