Skip to content

v0.9.8

Choose a tag to compare

@github-actions github-actions released this 18 Jul 18:54

Added

  • typed_merge is now exported from the top-level yaconfiglib package
    (from yaconfiglib import typed_merge), alongside MergeMethod /
    ConfigLoaderMergeMethod. It was previously only reachable via the internal
    yaconfiglib.utils.merge path.

Fixed

  • typed_merge no longer raises TypeError: issubclass() arg 1 must be a class
    when a field's resolved type hint is a non-class callable (e.g. an
    ipaddress-style factory function such as netutils.IPNetwork). Such a hint is
    now treated as an opaque coercer: the last value wins, coerced through the
    callable when it accepts the value, otherwise returned unchanged. Class hints are
    unaffected.

Full Changelog: v0.9.7...v0.9.8