jsons v1.3.0 Release Notes
Release Date: 2020-10-09 // over 3 years ago-
- Feature: Added
warn_on_fail
parameter todefault_list_deserializer
that allows to continue deserialization upon errors. - 🔋 Feature: Added
transform
that can transform an object to an object of another type. - 🔋 Feature: Added serializer and deserializer for
pathlib.Path
(thanks to alexmirrington). - 🔄 Change: When loading a list fails, the error message now points to the failing index.
- 🛠 Bugfix: Fixed bug when dumping an object with an innerclass.
- Feature: Added
Previous changes from v1.2.0
-
- 🛠 Bugfix: Fixed bug with postponed typehints (PEP-563).
- 🛠 Bugfix: Loading an invalid value targeting an optional did not raise.
- 🛠 Bugfix: Loading a dict did not properly pass key_transformers.
- 🛠 Bugfix: Loading a namedtuple did not properly use key_transformers.
- Bugfix: Utilized
__annotations__
in favor_field_types
because of deprecation as of 3.8.