Dataclass-wizard

Latest version: v0.34.0

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

Scan your dependencies

Page 6 of 11

0.17.0

-------------------

* Support `new-style annotations`_ in Python 3.7+, via a ``__future__`` import
declared at a the top of a module; this allows `PEP 585`_ and `PEP 604`_ style
annotations to be used in Python 3.7 and higher.

* ``wiz`` CLI: Add the *-x / --experimental* flag, which instead uses
new-style annotations in the generated Python code.

* Update the docs and readme with examples and usage of *future
annotations* in Python 3.7+.

.. _new-style annotations: https://dataclass-wizard.readthedocs.io/en/latest/python_compatibility.html#python-3-7
.. _PEP 585: https://www.python.org/dev/peps/pep-0585/
.. _PEP 604: https://www.python.org/dev/peps/pep-0604/

0.16.2

-------------------

* Minor code refactor and cleanup to support ``ForwardRef`` in Python 3.6 a little better.

0.16.1

-------------------

* Add full support for Python 3.10

0.16.0

-------------------

* Add support for serializing ``datetime.timedelta``

* Requires an extra for de-serialization,
can be installed via ``pip install dataclass-wizard[timedelta]``.

0.15.2

-------------------

**Features and Improvements**

* Add new internal helper function :func:`eval_forward_ref_if_needed`

**Bugfixes**

* Support forward references in type arguments to ``Union``, as well as when
iterating over the list of :func:`dataclasses.fields` for each data class.

0.15.1

-------------------

* Add a new method :meth:`list_to_json` to the :class:`JSONWizard` Mixin class, which can be
used to convert a list of dataclass instances to a JSON string representation.

* Minor code refactoring to introduce small typing-related changes.

* Update docs.

Page 6 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.