Skip to content

Conversation

@rnag
Copy link
Owner

@rnag rnag commented Dec 13, 2025

0.36.0

Features and Improvements

  • New v1-style base class: introduce DataclassWizard as the preferred base going forward (v1 direction), and update README usage examples accordingly.
  • Auto-apply @dataclass on subclasses: subclasses get dataclass behavior automatically if the user didn’t decorate the class.
  • __str__ behavior update: switch default string formatting away from “pretty JSON” toward pprint-style formatting (and wire up the new behavior in the core mixin).
  • v1 dump path groundwork: adds a dedicated v1 dumper implementation (dataclass_wizard/v1/dumpers.py) and routes selection logic to use v1 dumper/loader machinery when Meta.v1 is enabled.
  • Fix to use get_resolved_annotations() in property_wizard.py because it broke some Python versions that didn't have access to annotationlib or typing_extensions.get_annotations()

API Changes

  • Rename v1_key_casev1_case.

Docs

  • README front-page example updated to show DataclassWizard usage and explicit load_case='AUTO', dump_case='CAMEL'.
  • Adds/updates v1 docs material (e.g. v1 alias doc page in docs/common_use_cases).

rnag added 30 commits November 30, 2024 22:26
* Update signature of `LoadMeta`, `DumpMeta`, and `EnvMeta` to accept keyword arguments `**kwargs`
* Add loader_selection.py to allow selection of loader (`v1` or not)
* Update signature of `LoadMeta`, `DumpMeta`, and `EnvMeta` to accept keyword arguments `**kwargs`
* Add loader_selection.py to allow selection of loader (`v1` or not)
* Add support for `Sequence`, `Collection`, and `MutableSequence`
* Add support for container class with `Meta` config (#163)
* Fix for `NoneType`
@rnag rnag merged commit f36f17f into main Dec 14, 2025
7 checks passed
@rnag rnag deleted the milestone-to-V1 branch December 14, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants