colander v1.2 Release Notes
Release Date: 2016-01-18 // over 8 years ago-
๐ Features
โ Add new exception
UnsupportedFields
. Used to pass to the caller a list of extra fields detected in a cstruct during deserialize. See https://github.com/Pylons/colander/pull/241โ Add
drop
functionality toSequence
type. See https://github.com/Pylons/colander/pull/225
๐ Bug Fixes
SchemaNode
will no longer assume the first argument to the constructor is the schema type. This allows it to properly fallback to using theschema_type
class attribute on subclasses even when using the imperative API to pass options to the constructor.๐ Fix a bug in which
MappingSchema
,SequenceSchema
andTupleSchema
would always treat the first arg as the schema type. This meant that it would fail if passed only nodes to the constructor despite the default type being implied by the name. It is now possible to doMappingSchema(child1, child2, ...)
instead ofMappingSchema(Mapping(), child1, child2)
.
๐ Translations
- โ Added Finnish translations:
fi
See https://github.com/Pylons/colander/pull/243