Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Version 0.7.12 (2025-06-06)¶
Added: support for Python 3.12
Added: support for Python 3.13
Added: dependency on
asttokensFixed: get source code of lambda functions under Python 3.11
Removed: support for Python 3.8
Version 0.7.11 (2023-12-06)¶
Added: discussion of limits of
audobject.resolver.Functionin its documentationAdded:
audobject.Object.short_idFixed: replace deprecated
pkg_resourcesbypackaginginsideaudobject.Parameter
Version 0.7.10 (2023-11-30)¶
Added: support for Python 3.11
Fixed: speed up package name lookup in
audobject.Object.to_dict(), which makes repeated object serialization up to 100x fasterFixed: avoid deprecation warning by replacing
pkg_resourcesinternally withimportlib.metadataRemoved: support for Python 3.7
Version 0.7.9 (2023-03-01)¶
Fixed: require
sphinx-audeering-theme>=1.2.1to ensure the correct theme is used for the public documentation
Version 0.7.8 (2023-03-01)¶
Fixed: correct reference to
audobject.Object.argumentsinside theto_dict()method in the documentation
Version 0.7.7 (2022-12-23)¶
Added: support for Python 3.10
Changed: split API documentation into sub-pages for each function/class
Version 0.7.6 (2022-12-08)¶
Fixed: do not resolve arguments set to
NoneFixed: resolve non-keyword arguments
Version 0.7.5 (2022-07-21)¶
Fixed:
audobject.Object.is_loaded_from_dictreturns correct value in__init__()
Version 0.7.4 (2022-07-21)¶
Added:
audobject.Object.is_loaded_from_dict
Version 0.7.3 (2022-07-19)¶
Fixed: if
__init__()acceptskwargsno longer all attributes will be serialized, but only the ones included inkwargs(in addition to the other arguments). This requires thatsuper.__init__(**kwargs)is called in the constructor
Version 0.7.2 (2022-07-14)¶
Fixed: support comparison with arbitrary objects in
audibject.Object.__eq__, which is needed withsignature
Version 0.7.1 (2022-03-29)¶
Fixed: apply
auto_installinaudobject.from_yaml()Fixed: support
auto_installwith nested objects
Version 0.7.0 (2022-03-18)¶
Added: argument
auto_installtoaudobject.from_dict(),audobject.from_yaml(),audobject.from_yaml_s()Added:
audobject.define.PackageMismatchWarnLevelAdded:
audobject.config.PACKAGE_MISMATCH_WARN_LEVELChanged: store package in YAML if it does not match module
Changed: by default raises warning if required package has a newer version than the installed one
Removed: deprecation warning for
ignore_varsfromaudobject.init_decorator()
Version 0.6.2 (2022-01-04)¶
Added: Python 3.9 support
Added: docstring examples to resolver classes
Changed: update documentation on borrowed arguments
Removed: Python 3.6 support
Version 0.6.1 (2021-10-26)¶
Added: argument
override_argstofrom_dict(),from_yaml(),from_yaml_s()Changed:
resolver.Functionsupports callable objects of typeObjectDeprecated:
**kwargsfromfrom_dict(),from_yaml(),from_yaml_s()
Version 0.6.0 (2021-10-08)¶
Added: subpackage
resolverAdded:
resolver.FilePath,resolver.Function,resolver.Tuple,resolver.TypeDeprecated:
FilePathResolver,FunctionResolver,TupleResolver,TypeResolverFixed: preserve default arguments in serialized functions
Fixed: attach source to dynamically created functions
Version 0.5.1 (2021-10-04)¶
Added:
audobject.FunctionResolver
Version 0.5.0 (2021-09-30)¶
Added:
audobject.from_dictAdded:
audobject.from_yamlAdded:
audobject.from_yaml_sDeprecated:
audobject.Object.from_dictDeprecated:
audobject.Object.from_yamlDeprecated:
audobject.Object.from_yaml_s
Version 0.4.14 (2021-07-15)¶
Added:
FilePathResolver
Version 0.4.13 (2021-04-07)¶
Fixed: inherit
borrow,hideandresolvers
Version 0.4.12 (2021-03-26)¶
Fixed: link “Edit on Github” in documentation
Fixed: link to
audfactory.Lookupin documentation
Version 0.4.11 (2021-03-24)¶
Fixed: remove footer links in documentation
Version 0.4.10 (2021-03-24)¶
Changed: add badges to README
Fixed: updated all links to Github
Version 0.4.9 (2021-03-24)¶
Fixed: package metadata defined in
setup.cfg
Version 0.4.8 (2021-03-24)¶
Changed: move to Github and make open source release
Version 0.4.7 (2021-01-22)¶
Changed:
audobject.Objectimplements__hash__()Changed: borrow arguments from dictionary
Version 0.4.6 (2020-12-04)¶
Fixed: avoid warnings for unsupported
kwargsinaudobject.Object.from_dict()
Version 0.4.5 (2020-12-04)¶
Added:
borrowargument toaudobject.init_decorator()
Version 0.4.4 (2020-12-03)¶
Changed: parse authors and project name from setup
Changed: use
audeer.deprecated_keyword_argument()
Version 0.4.3 (2020-11-06)¶
Changed: raise error when serializing a callable
Version 0.4.2 (2020-10-23)¶
Changed: better error messages
Changed:
audobject.init_decorator()stores hidden arguments before calling__init__
Version 0.4.1 (2020-10-21)¶
Added: argument
flattentoaudobject.Object.to_dict()
Version 0.4.0 (2020-10-19)¶
Added:
audobject.Object.arguments(),audobject.Object.hidden_arguments(),audobject.Object.resolvers()Added:
hidetoaudobject.init_decorator()(replacesignore_vars)Changed: Serialize only arguments of
__init__to YAMLChanged: Raise error if user tries to hide argument without default value
Changed: Raise error if argument that is not hidden is not assigned to a variable
Removed:
check_varsfromaudobject.init_decorator
Version 0.3.3 (2020-10-09)¶
Fixed: dependency to
audeer
Version 0.3.2 (2020-10-08)¶
Fixed: support empty dictionary
Version 0.3.1 (2020-10-08)¶
Changed: replace
override_varswithkwargs
Version 0.3.0 (2020-10-08)¶
Added: option to ignore variables
Added: option to override variables
Changed: change
sanity_check=Truetocheck_vars=False
Version 0.2.0 (2020-10-08)¶
Added:
audobject.init_decorator()Added:
audobject.Dictionary
Version 0.1.0 (2020-10-02)¶
Added: initial release