valideer v0.3.1 Release Notes

Release Date: 2014-07-22 // over 7 years ago
    • โž• 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.