Skip to content

Commit

Permalink
Update HISTORY.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
rnag committed Sep 18, 2024
1 parent 40ea64d commit c13d7cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
History
=======

0.23.0 (2024-09-18)
-------------------

* `#94`_: Allows the ability to define keys in JSON/dataclass
that do not undergo transformation -- credits to `@cquick01`_.

* ``LetterCase.NONE`` - Performs no conversion on strings.

* ex: `MY_FIELD_NAME` -> `MY_FIELD_NAME`

.. _@cquick01: https://github.com/cquick01
.. _#94: https://github.com/rnag/dataclass-wizard/pull/94

0.22.3 (2024-01-29)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion dataclass_wizard/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class LetterCase(Enum):
# Converts strings (generally in camel case) to snake case.
# ex: `myFieldName` -> `my_field_name`
SNAKE = FuncWrapper(to_snake_case)
# Perfoms no conversion on strings.
# Performs no conversion on strings.
# ex: `MY_FIELD_NAME` -> `MY_FIELD_NAME`
NONE = FuncWrapper(lambda s: s)

Expand Down

0 comments on commit c13d7cb

Please sign in to comment.