All Versions
7
Latest Version
Avg Release Cycle
86 days
Latest Release
3048 days ago

Changelog History

  • v0.4.2 Changes

    December 20, 2015
    • Added ignore_optional_property_errors optional parameter in parse() and parsing().
  • v0.4.1 Changes

    April 22, 2015
    • โž• Added returns decorator.

    0.4

    • ๐Ÿ‘ Python 3 support.
  • v0.4

    November 24, 2014
  • v0.3.2 Changes

    September 14, 2014
    • Added Nullable.default_object_property.
  • v0.3.1 Changes

    July 22, 2014
    • โž• Added parsing() context manager.
    • โž• Added Object.REMOVE sentinel for removing additional properties.
    • Made optional the schema parameter of the Range validator.
    • ๐Ÿ›  Fixed docstrings to be compatible with Sphinx.

    0.3

    • ๐Ÿ”ฆ Exposed as top level functions the parse, register andregister_factory Validator static methods (the latter are still kept for backwards compatibility).
    • ๐Ÿ‘ Allow the Nullable default to be a zero-arg callable.
    • โž• Added AllOf() composite validator.
    • โž• Added ChainOf() composite validator.
    • ๐Ÿ‘ Allow specifying schema of additional object properties or disallowing them, either locally (by passing an additional parameter to Object) or globally (by setting the Object.ADDITIONAL_PROPERTIES class attribute).
    • โž• Added an optional additional_properties parameter to parse() to allow specifying for a single parse call the handling of additional object properties.
    • โž• Added an optional required_properties parameter to parse() to allow specifying for a single parse call whether object properties are required or optional by default. Specifying the same behaviour globally through the Object.REQUIRED_PROPERTIES attribute is still supported.

    0.2

    • ๐Ÿ‘ Better, customizable ValidationError messages.
    • โž• Added Condition validator.

    0.1

    • ๐ŸŽ‰ Initial release.
  • v0.3

    July 22, 2014
  • v0.2

    July 22, 2014