Pyserde

Latest version: v0.23.0

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

Scan your dependencies

Page 11 of 12

0.7.0

* fix: Optional in custom class deserializer ([181b2f1](https://github.com/yukinarit/pyserde/commit/181b2f1))
* fix: raise SerdeError from serde's APIs ([76b0aee](https://github.com/yukinarit/pyserde/commit/76b0aee))
* pyserde (de)serialize method used to raise various Exceptions such as KeyError. pyserde always raises SerdeError since v0.7.0
* core: using black formatting only if debug is enabled ([e596a84](https://github.com/yukinarit/pyserde/commit/e596a84))
* feat: Add _make_serialize and _make_deserialize ([a71c5d5](https://github.com/yukinarit/pyserde/commit/a71c5d5))
* feat: Implement Union tagging system ([c884dc4](https://github.com/yukinarit/pyserde/commit/c884dc4))
* This will change the default tagging for dataclasses with Union from `Untagged` to `ExternalTagging`. **This may break the existing code**, so please be aware if you use dataclasses with Union. For more information, check [the documentation](docs/features/union.md)
* build: Update mypy to workaround typed_ast error ([0ea33a7](https://github.com/yukinarit/pyserde/commit/0ea33a7))

This release had contributions from 1 person: [tardyp](https://github.com/tardyp). Thank you so much! :tada: :joy:

0.6.0

* feat: Add serde decorator ([523dc9c](https://github.com/yukinarit/pyserde/commit/523dc9c))
* feat: Add serde field function ([488bf00](https://github.com/yukinarit/pyserde/commit/488bf00))
* feat: Add serde_skip_default field attribute ([0f0b212](https://github.com/yukinarit/pyserde/commit/0f0b212))
* feat: Automatically put dataclass decorator ([2f0cf01](https://github.com/yukinarit/pyserde/commit/2f0cf01))

With `serde` decorator and `field` function, you can declare pyserde class more easily.

python
from serde import serde, field

serde
class Foo:
a : List[str] = field(default_factory=list, skip_if_false=True)


The declaration until v0.5.3 still works.

python
from dataclasses import dataclass
from serde import serialize, deserialize

deserialize
serialize
dataclass
class Foo:
a : List[str] = field(default_factory=list, metadata={'serde_skip_if_false': True})

0.5.3

* feat: Add more dataclass Field's attrs to Field ([7b57c53](https://github.com/yukinarit/pyserde/commit/7b57c53))
* feat: Support python 3.10 ([2f0c557](https://github.com/yukinarit/pyserde/commit/2f0c557))
* refactor: Delete unused imports ([629d040](https://github.com/yukinarit/pyserde/commit/629d040))
* refactor: Remove type references from SerdeScope ([bdd8784](https://github.com/yukinarit/pyserde/commit/bdd8784))
* refactor: Speficy correct type bound for serde.core.fields ([c3b555c](https://github.com/yukinarit/pyserde/commit/c3b555c))
* fix: Add types in typing module to scope ([e12e802](https://github.com/yukinarit/pyserde/commit/e12e802))
* fix: Never use default value for from_tuple ([3ce4f6b](https://github.com/yukinarit/pyserde/commit/3ce4f6b))
* fix: Use default value only if key isn't present ([3fa4ab6](https://github.com/yukinarit/pyserde/commit/3fa4ab6))
* Fix typo in README ([5f957d0](https://github.com/yukinarit/pyserde/commit/5f957d0))

This release had contributions from 2 people: [rnestler](https://github.com/rnestler), [mauvealerts](https://github.com/mauvealerts). Thank you so much! :tada: :joy:

0.5.2

* feat: (de)serialize non dataclass types correctly ([0ffb9ea](https://github.com/yukinarit/pyserde/commit/0ffb9ea))
* refactor: Fix minor type error ([bef0c4f](https://github.com/yukinarit/pyserde/commit/bef0c4f))
* refactor: Remove unused imports ([cc16d58](https://github.com/yukinarit/pyserde/commit/cc16d58))
* refactor: Use backports-datetime-fromisoformat for python 3.6 ([014296f](https://github.com/yukinarit/pyserde/commit/014296f))
* build: Remove unused dependency for examples ([3a5ca01](https://github.com/yukinarit/pyserde/commit/3a5ca01))

0.5.1

* feat: deserialize to the type more correctly ([a4c155c](https://github.com/yukinarit/pyserde/commit/a4c155c))
* refactor: import minimum names ([f242a93](https://github.com/yukinarit/pyserde/commit/f242a93))

0.5.0

* New documentation is available!
* [Guide](https://yukinarit.github.io/pyserde/guide/)
* [API Docs](https://yukinarit.github.io/pyserde/api/serde.html)
* feat: Implement flatten ([a7bb6f0](https://github.com/yukinarit/pyserde/commit/a7bb6f0))

python
deserialize
serialize
dataclass
class Bar:
c: float
d: bool

deserialize
serialize
dataclass
class Foo:
a: int
b: str
bar: Bar = field(metadata={'serde_flatten': True})


* feat: Print Tips in serde.inspect ([62c74f3](https://github.com/yukinarit/pyserde/commit/62c74f3))
* fix: "Cannot instantiate type" type error ([6b3afbd](https://github.com/yukinarit/pyserde/commit/6b3afbd))
* ci: Use actions-comment-pull-request1.0.2 ([45a999c](https://github.com/yukinarit/pyserde/commit/45a999c))
* build: Parallel test execution ([148](https://github.com/yukinarit/pyserde/pull/148))
* build: Migrate to poetry ([144](https://github.com/yukinarit/pyserde/pull/144))

This release had contributions from 1 person: [alexmisk](https://github.com/alexmisk). Thank you so much! :tada: :joy:

Page 11 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.