Skip to content

Releases: konradhalas/dacite

v1.8.1

12 May 11:28
Compare
Choose a tag to compare

Fixed

  • Fix value creation for a field with a default factory

v1.8.0

26 Jan 12:32
Compare
Choose a tag to compare

Added

  • Performance improvements (multiple small changes)
  • Introduce cache functionality

Fixed

  • Fix set's casting
  • Use localns for get_type_hints instead of globalns

Thank you @mciszczon for your outstanding work on this release 🙏

This release was supported by FLYR

v1.7.0

22 Dec 11:57
Compare
Choose a tag to compare

Added

  • Add explicit __all__ configuration
  • Add Python 3.10 and 3.11 support
  • Support PEP 604 unions through types.UnionType

Fixed

  • Do not suppress KeyError in a type hook
  • Handle tuple as a Sequence
  • Handle a default value for a non-init field within a frozen dataclass
  • Run type hooks / cast for InitVar fields
  • Fix optional unions