voluptuous v0.11.1 Release Notes
Release Date: 2018-02-15 // about 6 years ago-
๐ Changes:
- ๐ #293: Support Python 3.6.
- ๐ #294: Drop support for Python 2.6, 3.1 and 3.2.
- #318: Allow to use nested schema and allow any validator to be compiled.
- #324: Default values MUST now pass validation just as any regular value. This is a backward incompatible change if a schema uses default values that don't pass validation against the specified schema.
- #328:
Modify
__lt__
in Marker class to allow comparison with non Marker objects, such as str and int.
๐ New:
- #307: Add description field to
Marker
instances. - #311: Add
Schema.infer
method for basic schema inference. - #314: Add
SomeOf
validator.
๐ Fixes:
- #279: Treat Python 2 old-style classes like types when validating.
- #280: Make
IsDir()
,IsFile()
andPathExists()
consistent between different Python versions. - #290: Use absolute imports to avoid import conflicts.
- #291: Fix
Coerce
validator to catchdecimal.InvalidOperation
. - #298: Make
Schema([])
usage consistent withSchema({})
. - #303: Allow partial validation when using validate decorator.
- #316: Make
Schema.__eq__
deterministic. - #319: Replace implementation of
Maybe(s)
withAny(None, s)
to allow it to be compiled.