Skip to content

Commit 1452708

Browse files
committed
Update HISTORY.rst
1 parent 9c92050 commit 1452708

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
History
33
=======
44

5+
0.38.2 (2025-12-27)
6+
-------------------
7+
8+
**Documentation**
9+
10+
- Improved visibility and guidance for v1 opt-in usage
11+
512
0.38.1 (2025-12-26)
613
-------------------
714

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@
5353

5454
A new **v1 engine** is available as an opt-in, offering explicit
5555
environment precedence, nested dataclass support, and improved performance.
56-
See the `Field Guide to V1 Opt-in`_ for details.
56+
57+
``EnvWizard`` v1 adds field-level configuration on top of these improvements.
58+
59+
See the `Field Guide to V1 Opt-in`_ and the `hands-on quickstart`_ for details.
5760

5861
.. contents:: Contents
5962
:depth: 1
@@ -1499,6 +1502,7 @@ This package was created with Cookiecutter_ and the `rnag/cookiecutter-pypackage
14991502
.. _dataclasses: https://docs.python.org/3/library/dataclasses.html
15001503
.. _V1 Opt-in documentation for Patterned Date and Time: https://dcw.ritviknag.com/en/latest/common_use_cases/v1_patterned_date_time.html
15011504
.. _`Field Guide to V1 Opt-in`: https://github.com/rnag/dataclass-wizard/wiki/Field-Guide-to-V1-Opt%E2%80%90in
1505+
.. _hands-on quickstart: https://github.com/rnag/dataclass-wizard/wiki/EnvWizard-v1-%E2%80%94-Quickstart-(Opt%E2%80%90In)
15021506
.. _V1 Alias: https://dcw.ritviknag.com/en/latest/common_use_cases/v1_alias.html
15031507
.. _Type Hooks: https://dcw.ritviknag.com/en/latest/advanced_usage/type_hooks.html
15041508
.. _`ipaddress.IPv4Address`: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address

dataclass_wizard/v1/loaders.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,7 @@ def _load_to_date(tp: TypeInfo, extras: Extras,
727727

728728

729729
return (f'({_fromtimestamp}(int({o}), UTC){_date_part} if {o}.isdigit() '
730-
f'else {_parse_iso_string}) '
731-
f'if {o}.__class__ is str '
730+
f'else {_parse_iso_string}) if {o}.__class__ is str '
732731
f'else {_as_func}({o}, {_fromtimestamp}, UTC{_opt_cls})')
733732

734733
@staticmethod

0 commit comments

Comments
 (0)