Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Releases: ltworf/typedload

2.8

20 Jun 08:31
3cfc328
Compare
Choose a tag to compare
2.8

2.8

  • Better report errors for Enum
  • Improve support for inheritance with mixed totality of TypedDict (requires Python 3.9)

2.7

06 Apr 19:35
6ae14b5
Compare
Choose a tag to compare
2.7

2.7

  • failonextra triggers failure when dropping fields in mangling
  • Support for total=False in TypedDict
  • Support init=False in dataclass field

2.6

16 Feb 14:23
0faa69f
Compare
Choose a tag to compare
2.6

2.6

  • Handle Any types as passthrough
  • Easy way to handle types loaded from and dumped to str
  • Improve how exceptions are displayed

2.5

29 Jan 06:54
48c3457
Compare
Choose a tag to compare
2.5

2.5

  • Fix dump for attr classes with factory
  • Let name mangling use arbitrary metadata fields rather than just 'name'

2.4

14 Nov 10:24
5bb0310
Compare
Choose a tag to compare
2.4

2.4

  • Support for ipaddress.IPv4Address, ipaddress.IPv6Address,
    ipaddress.IPv4Network, ipaddress.IPv6Network,
    ipaddress.IPv4Interface, ipaddress.IPv6Interface.

2.3-2

05 Nov 08:21
125e1b1
Compare
Choose a tag to compare
2.3-2 Pre-release
Pre-release

2.3

  • Better type sorting in Union
    This helps when using Union[dataclass, str]
  • Debian pkgtest fixes

2.3

28 Oct 14:40
65546bc
Compare
Choose a tag to compare
2.3

2.3

  • Better type sorting in Union
    This helps when using Union[dataclass, str]

2.2

26 Jun 13:38
a09c02a
Compare
Choose a tag to compare
2.2

2.2

  • Add Python3.9 to the supported versions
  • Prevent loading dict as List,Tuple,Set
    This helps when using Union[Dict, List] to take the correct
    type.

2.1

10 Apr 12:15
dc11d98
Compare
Choose a tag to compare
2.1

2.1

  • Written new usage example
  • typechecks internals now pass with more mypy configurations
  • Fix import *

2.0

31 Mar 16:34
2bad7ad
Compare
Choose a tag to compare
2.0

2.0

  • Breaking API change: handlers can only be modified before the first load
  • Breaking API change: plugins removed (attr support is by default)
  • Exceptions contain more information
  • Greatly improve performances with iterables types
  • Support for pathlib.Path