Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Releases: s-knibbs/dataclasses-jsonschema

Release 2.16.0

27 Oct 09:31
89cd032
Compare
Choose a tag to compare
  • Add python 3.10 & 3.11 support
  • Optional support for fastuuid library & faster datetime parsing

Release 2.15.3

08 Sep 12:13
997646d
Compare
Choose a tag to compare
  • #190 Fix type error thrown from valid Union types

Release 2.15.2

01 Sep 14:58
a89bb20
Compare
Choose a tag to compare
  • #189 - Fix incorrect conversion of unions of lists and strings
  • #188 - Improve handling of type unions

Release 2.15.1

01 Apr 14:44
82ea3d8
Compare
Choose a tag to compare

Fix #182 - Generated tuple schema is incompatible with OpenAPI 3.0

Release 2.15.0

01 Oct 08:59
ac32af8
Compare
Choose a tag to compare

#161 - Nullable is always Falsey
#168 - Fix handling of untyped container types in Python 3.9
#169 - Preserve type of dict keys when converting to & from json
#165 - Type hint of from_json is now compatible with json.loads()
#172 - Kwargs of __init_subclass__ are now passed to parent
#171 - Support discriminators when used with type unions

Release 2.14.1

09 Feb 14:33
ab95156
Compare
Choose a tag to compare

#158 - Handle custom formats with fastjsonschema correctly

Release 2.14.0

25 Jan 12:09
00b9db2
Compare
Choose a tag to compare

#153 - Support PEP 604 type annotations
#152 - Support PEP 585 types
#114 - Python module name now included as extension property for OpenAPI 3
#149 - Fix import of decimal module
#143 - Add support for Python 3.9
#147 - Fix handling of Optional[Union[A,B]]

Release 2.13.0

08 Oct 12:01
ccd67e9
Compare
Choose a tag to compare

#142 - Add support for Python 3.8

Release 2.12.1

11 Sep 14:05
06d4bb6
Compare
Choose a tag to compare

Fix #134 - Unrecognized enum values not handled correctly if the field is optional

Release 2.12.0

10 Dec 12:52
Compare
Choose a tag to compare
  • Implemented #124 - date field encoder
  • Fixed #122 - Discriminator not added to field properties
  • Fixed #125 - Support calling to_dict with unknown enum values