All Versions
15
Latest Version
Avg Release Cycle
73 days
Latest Release
-

Changelog History
Page 1

  • v0.12.2 Changes

    ๐Ÿ›  Fixes:

    • โช #439: Revert Breaking Maybe change in 0.12.1
    • #447: Fix Email Regex to not match on extra characters
  • v0.12.1 Changes

    December 06, 2020

    Changes :

    • โœ… #435: Extended a few tests (Required and In)
    • #425: Improve error message for In and NotIn
    • โœ… #436: Add sorted() for In and NotIn + fix tests
    • โœ… #437: Grouped Maybe tests plus added another Range test
    • โœ… #438: Extend tests for Schema with empty list or dict

    ๐Ÿ†• New :

    • ๐Ÿ‘ #433: Add Python 3.9 support

    ๐Ÿ›  Fixes :

    • โœ๏ธ #431: Fixed typos + made spelling more consistent
    • #411: Ensure Maybe propagates error information
    • ๐Ÿšš #434: Remove value enumeration when validating empty list
  • v0.12.0 Changes

    September 22, 2020

    Changes :

    • n/a

    ๐Ÿ†• New :

    • #368: Allow a discriminant field in validators

    ๐Ÿ›  Fixes :

    • โœ… #420: Fixed issue with 'required' not being set properly and added test
    • #414: Handle incomparable values in Range
    • โœ… #427: Added additional tests for Range, Clamp and Length + catch TypeError exceptions
  • v0.11.7 Changes

    ๐Ÿ”„ Changes:

    • #378: Allow extend() of a Schema to return a subclass of a Schema as well.

    ๐Ÿ†• New:

    • #364: Accept description for Inclusive instances.
    • #373: Accept msg for Maybe instances.
    • 0๏ธโƒฃ #382: Added support for default values in Inclusive instances.

    ๐Ÿ›  Fixes:

    • ๐Ÿ—„ #371: Fixed DeprecationWarning related to collections.Mapping.
    • #377: Preserve Unicode strings when passed to utility functions (e.g., Lower(), Upper()).
    • ๐Ÿ›  #380: Fixed regression with Any and required flag.
  • v0.11.5 Changes

    August 01, 2018
    • ๐Ÿ›  Fixed issue with opening README file in setup.py.
  • v0.11.4 Changes

    July 31, 2018
    • โœ‚ Removed use of pypandoc as Markdown is now supported by setup().
  • v0.11.3 Changes

    July 27, 2018

    ๐Ÿ”„ Changes:

    • ๐Ÿ‘ #349: Support Python 3.7.
    • ๐Ÿ‘ #343: Drop support for Python 3.3.

    ๐Ÿ†• New:

    • ๐Ÿ‘ #342: Add support for sets and frozensets.

    ๐Ÿ›  Fixes:

    • #332: Fix Python 3.x compatibility for setup.py when pypandoc is installed.
    • #348: Include path in AnyInvalid errors.
    • #351: Fix Date behaviour when a custom format is specified.
  • v0.11.2

    July 27, 2018
  • v0.11.1 Changes

    February 15, 2018

    ๐Ÿ”„ 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.
  • v0.11.0

    February 15, 2018