Pyserde

Latest version: v0.23.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 12

0.13.0

<!-- 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

0.12.7

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Refactoring
* Fix `skip_if` causing serialization of a recursive type to be `O(2**n)` instead of `O(n)` by gschaffner in https://github.com/yukinarit/pyserde/pull/452
Other changes
* :busts_in_silhouette: Add gschaffner as a contributor by yukinarit in https://github.com/yukinarit/pyserde/pull/454

New Contributors
* gschaffner made their first contribution in https://github.com/yukinarit/pyserde/pull/452

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.6...v0.12.7

0.12.6

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix name 'Set' is not defined error by maallaire in https://github.com/yukinarit/pyserde/pull/445
Other changes
* :busts_in_silhouette: Add maallaire as a contributor by yukinarit in https://github.com/yukinarit/pyserde/pull/446

New Contributors
* maallaire made their first contribution in https://github.com/yukinarit/pyserde/pull/445

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.5...v0.12.6

0.12.5

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix serializing union with Any by yukinarit in https://github.com/yukinarit/pyserde/pull/441


**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.4...v0.12.5

0.12.4

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix frozenset union with prim 437 by acolley-gel in https://github.com/yukinarit/pyserde/pull/438
Other changes
* :busts_in_silhouette: Add acolley-gel as a contributor by yukinarit in https://github.com/yukinarit/pyserde/pull/439

New Contributors
* acolley-gel made their first contribution in https://github.com/yukinarit/pyserde/pull/438

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.3...v0.12.4

0.12.3

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix alias of optional type by yukinarit in https://github.com/yukinarit/pyserde/pull/430
Refactoring
* Fix mypy/pyright errors in serde/se.py by yukinarit in https://github.com/yukinarit/pyserde/pull/420
* Fix mypy/pyright errors in serde/de.py by yukinarit in https://github.com/yukinarit/pyserde/pull/428
Test
* Add test of alias + rename_all by yukinarit in https://github.com/yukinarit/pyserde/pull/431


**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.12.2...v0.12.3

Page 5 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.