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() and PathExists() consistent between different Python versions.
    • #290: Use absolute imports to avoid import conflicts.
    • #291: Fix Coerce validator to catch decimal.InvalidOperation.
    • #298: Make Schema([]) usage consistent with Schema({}).
    • #303: Allow partial validation when using validate decorator.
    • #316: Make Schema.__eq__ deterministic.
    • #319: Replace implementation of Maybe(s) with Any(None, s) to allow it to be compiled.