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 10 of 11

0.4.1

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

* Update README docs with usage of newly supported features

0.4.0

------------------
**Features and Improvements**

* Add support for serializing the following Python types:
- ``defaultdict`` (via the ``typing.DefaultDict`` annotation)
- ``UUID``'s
- The special variadic form of ``Tuple``.
For example, ``Tuple[str, ...]``.
- A special case where optional type arguments are passed to ``Tuple``.
For example, ``Tuple[str, Optional[int], Union[bool, str, None]]``
* Add new ``LetterCase.LISP`` Enum member, which references the ``to_lisp_case`` helper function
* All the ``Enum``-subclass attributes in ``JSONSerializable.Meta``
now additionally support strings as values; they will be parsed using the Enum
``name`` field by default, and should format helpful messages on
any lookup errors.
* Remove the ``LoadMixin.load_with_object`` method, as that was already
deprecated and slated to be removed.

**Bugfixes**

* Update the ``get_class_name`` helper function to handle the edge case
when classes are defined within a function.
* Update a few ``load_to...`` methods as a ``staticmethod``

0.3.0

------------------
* Some minor code refactoring
* Require ``typing-extensions`` library up till Python 3.9 now
(it's main use for Python 3.8 and 3.9 is the updated ``get_origin`` and ``get_args`` helper functions)
* The default ``__str__`` method is now optional, and can be skipped via the flag ``str=False``
* Add some more test cases

0.2.4

------------------
* Update README docs

* Move the section on *Advanced Usage* to the main docs
* Cleanup usage and docs in the *Field Properties* section

0.2.3

------------------
* Add better keywords for the package

0.2.2

------------------
* Explicitly add a dependency on ``typing-extensions`` for Python 3.6 and 3.7

Page 10 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.