-
Notifications
You must be signed in to change notification settings - Fork 25
/
Changelog
49 lines (42 loc) · 1.57 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
0.4.2
=====
- Added ``ignore_optional_property_errors`` optional parameter in ``parse()`` and
``parsing()``.
0.4.1
=====
- Added ``returns`` decorator.
0.4
===
- Python 3 support.
0.3.2
=====
- Added ``Nullable.default_object_property``.
0.3.1
=====
- 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`` and``register_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.