Skip to content

2.4.0

Choose a tag to compare

@lifedox lifedox released this 22 Aug 22:57
· 153 commits to main since this release
c46d6be

Changed

  • Made the core classes (LazyEval, Configuration, LazyLoadConfiguration) pickle-able by running lazy logic just prior to pickling to remove the un-pickle-able locks.
  • Changed from using JSONPathOnlyWorksOnMappings exception to new ReferencingRootOnlyWorksOnMappings exception, because scenario is not specific to JSON Path.
    • ReferencingRootOnlyWorksOnMappings inherits from JSONPathOnlyWorksOnMappings, as to not break compatible, though to is a showstopping scenario.

Removed

  • Removed unused exceptions: IniKeyExistAsANonMapping, IniTryToReplaceExistingKey, GetConfigReadBeforeSetException
    • Exceptions were solely used by features removed in 2.0.0 releases.

Refactored

  • Refactored as_dict to use dict comprehension.
  • Refactored _get_ref_string, json_default, and merge to use match for isinstance checks for improve clarity and MatchNotExhaustive linting.