Releases: ltworf/typedload
Releases · ltworf/typedload
2.8
2.8
- Better report errors for Enum
- Improve support for inheritance with mixed totality of TypedDict (requires Python 3.9)
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
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
2.5
- Fix dump for attr classes with factory
- Let name mangling use arbitrary metadata fields rather than just 'name'
2.4
2.4
- Support for ipaddress.IPv4Address, ipaddress.IPv6Address,
ipaddress.IPv4Network, ipaddress.IPv6Network,
ipaddress.IPv4Interface, ipaddress.IPv6Interface.
2.3-2
2.3
- Better type sorting in Union
This helps when using Union[dataclass, str]
- Debian pkgtest fixes
2.3
2.3
- Better type sorting in Union
This helps when using Union[dataclass, str]
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
2.1
- Written new usage example
- typechecks internals now pass with more mypy configurations
- Fix import *
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