Skip to content

Releases: Dobiasd/undictify

0.11.3

12 Aug 06:59
Compare
Choose a tag to compare
  • Added support for optional enums

0.11.2

15 Jun 15:01
Compare
Choose a tag to compare
  • Added support for Sequence as target type when getting a List as input.

0.11.1

10 Jun 11:52
Compare
Choose a tag to compare
  • Improved mypy experience

0.11.0

09 Jun 12:19
Compare
Choose a tag to compare
  • PEP 561 compatibility
  • Drop support for Python 3.6

0.10.0

19 Dec 07:15
Compare
Choose a tag to compare
  • Improved tests
  • Drop official support for Python 3.6. (It might still work, but is no longer guaranteed for future releases.)

0.9.0

29 Aug 07:53
Compare
Choose a tag to compare
  • Add support for enums

0.8.1

25 Jun 07:22
Compare
Choose a tag to compare
  • Adjustments for new versions of pylint and mypy

0.8.0

24 Nov 06:25
f65e540
Compare
Choose a tag to compare

For custom converters, we can now choose if they should be mandatory or optional.
Up to now, they were only optional.

This is an API-breaking change. So if you'd like to update old (<0.8.0) code, you need to change this:

@type_checked_constructor(converters={'foo': conv_foo})
@dataclass
class Foo:
    foo: ...

to that:

@type_checked_constructor(converters={'foo': optional_converter(conv_foo)})
@dataclass
class Foo:
    foo: ...

because the default (and only) behavior of converters was to be optional.

Now, there is a new option to use optional_converter instead.

0.7.1

05 Nov 08:55
Compare
Choose a tag to compare
  • Improvements in the automated tests
  • Fix for linter complaints

0.7.0

05 Nov 08:08
Compare
Choose a tag to compare

InitVar support for Python 3.7 and 3.8 (thanks to @pappasam)