- Added Enum type
- Added OneOfValidator
- Breaking change: All types are now non-nullable instead of possibly returning a default or accepting None, you should adapt your code accordingly by using Nullable()
- Dropped support Python 2
- Fix List type raising unrelated errors (or no error at all, when passing a dictionary) when deserializing objects that are not lists.
- Hotfix for 1.6.0: Fix serialization/deserialization error Schema.serialize(...) is invoked with kwargs and there are attributes using callables that don't require those kwargs.
- Fix DeprecationWarnings being raised (youtux)
- Dropped support for python 2.6 and add declare support for python 3.5, 3.6, 3.7, 3.8
- Allow passing context keyword arguments to deserialize methods (blaise-io)
- Fix the package setup (olegpidsadnyi)
- Support for vnd.error responses (olegpidsadnyi)
- Add ISO Date Time type (moisesribeiro)
- Nullable type (olegpidsadnyi)
- Strict validation of the ISO8601 (olegpidsadnyi)
- Improve serialization performance (youtux)
- Fix for the String.deserialize to force the text type (olegpidsadnyi)
- Attribute as a decorator (olegpidsadnyi)
- Use native datetime.isoformat for datetime serialization (bubenkoff)
- Correctly handle schema class derivation (bubenkoff)
- Correct deserialization for String and Int types (bubenkoff)
- Deprecation attribute is added to Link (olegpidsadnyi)
- Add common-use types (bubenkoff)
- Correctly handle and document
required
anddefault
(bubenkoff) - Properly get validator's comparison values (lazy and constant) (bubenkoff)
- Increase test coverage (bubenkoff)
- Respect ValueError in deserialization of the attributes (bubenkoff)
- Correctly render and document deserialization errors (bubenkoff)
- Allow Embedded fields to be marked as not required (mattupstate)
- Field order is preserved in serialized documents (mattupstate)
- Initial public release