Dacite Versions Save

Simple creation of data classes from dictionaries.

v1.8.1

1 year ago

Fixed

  • Fix value creation for a field with a default factory

v1.8.0

1 year ago

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

1 year ago

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