<!-- Release notes generated using configuration in .github/release.yml at main -->
What's Changed
New features
New custom class (de)serializer allows to extend pyserde to support third party types in a neat and robust way. Also custom global (de)serializer is a game changer to allow sharing and reusing custom serializers across different python projects. See [custom class serializer](https://github.com/yukinarit/pyserde/blob/main/docs/en/class-attributes.md#class_serializer--class_deserializer) and [custom global serializer](https://github.com/yukinarit/pyserde/blob/main/docs/en/extension.md#custom-global-deserializer) for more information.
e.g. Implementing serializer for `datetime` and `int`
python
class Serializer:
Custom serializer for "datetime"
overload
def serialize(self, value: datetime) -> str:
return value.strftime("%d/%m/%y")
Custom serializer for "int"
overload
def serialize(self, value: int) -> Any:
return str(value)
....
* Fix type error from field with attributes by yukinarit in https://github.com/yukinarit/pyserde/pull/458
* Implement new class (de)serializer by yukinarit in https://github.com/yukinarit/pyserde/pull/456
* Implement global (de)serializer by yukinarit in https://github.com/yukinarit/pyserde/pull/459
Build
* Drop python3.7 by yukinarit in https://github.com/yukinarit/pyserde/pull/460
Documentation
* Fix external union example in union.md by yukinarit in https://github.com/yukinarit/pyserde/pull/455
**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.7...v0.13.0