File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- 1.2.0, TBD
2- ----------
1+ 1.2.0, 18 November 2022
2+ -----------------------
33Features & fixes:
44
5- * Allow all types, including special forms, to be used in ``serializer_field_mapping ``.
5+ * Allow all types, including special forms such as unions, to have their field type overridden through the
6+ ``serializer_field_mapping `` dictionary.
7+ * Also treat unions containing ``None `` as optional if they consist of three or more members. Previously this was only
8+ the case for unions with two members (i.e. only unions of a type with ``None `` were optional).
9+ * Many added and fixed type hints.
610
7111.1.1, 25 January 2021
812----------------------
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " djangorestframework-dataclasses"
7- version = " 1.1.1 "
7+ version = " 1.2.0 "
88description = " A dataclasses serializer for Django REST Framework"
99readme = " README.rst"
1010license = { file = " LICENSE" }
You can’t perform that action at this time.
0 commit comments