Changelog¶
1.0.0 (2019-10-07)¶
Features¶
Adding the ability to define custom JSONSchema
$idand$schemaproperties. Will raise user warnings if unsupported schema draft is specified. #41
Documentation¶
Adding some documentation around
schema_idandschema_draftparameters for the@config()decorator in Getting Started
Miscellaneous¶
Adding
long_description_content_typetosetup.cfgfor new twine package check warnings
0.3.10 (2019-10-04)¶
Bug Fixes¶
Allowing Python 3 typehints to be considered as the config var’s type just like the var’s
typekwarg #38
Miscellaneous¶
Fixing access to collections.abc for Iterable deprecation warning
Updating package stubs to mimic true kwargs typings
0.3.9 (2019-06-15)¶
Miscellaneous¶
Adding kwarg passthrough for
configso you can now use things likeconfig(hash=True)Adding extremely basic reflection tests for
ujsonserialization (please userapidjsoninstead ofujson)
0.3.8 (2019-04-01)¶
Bug Fixes¶
Fixed issue related to the
preferkeyword not loading the proper modules for serialization / deserialization whenpreferhad already been invoked in subsequent calls for a given config #36
Documentation¶
Adding codecov for alternate coverage reporting since codacy struggles sometimes and isn’t always correct
Miscellaneous¶
Adding and improving tests for serialization handlers
Improving testing and code coverage for
schema_builderand_file_config
0.3.7 (2019-03-22)¶
Bug Fixes¶
Adding the ability for nested configs to default to the empty state of the nested config if desired #26
Documentation¶
Adding documentation
Loading Defaultsin “Getting Started” regarding the different results when loading defaults from serialized content
Miscellaneous¶
Updating the copyright year in the docs to 2019
0.3.6 (2019-03-15)¶
Bug Fixes¶
Fixing failures when loading from serialized content missing configuration for nested configs #24
Miscellaneous¶
Adding latest PyPi version badge to documentation and README
Adding basic auto-generated typing stubs under
stubs/
0.3.2 (2019-01-09)¶
Bug Fixes¶
Fixing schema builder where building schemas for object types with nested typing types silently fails #18
Documentation¶
Showing newly documented private methods in package documentation
Adding basic docstrings for private schema_builder functions
Adding basic docstrings for util functions
Miscellaneous¶
Updating copyright statements from 2018 to 2019
Fixing missing wheel in release
0.3.1 (2018-12-18)¶
Features¶
Adding defusedxml as fromstring reader in
XMLParser#17
Miscellaneous¶
Fixing lxml required for import
0.3.0 (2018-12-16)¶
Features¶
Documentation¶
Splitting up Sphinx autodocs into separate sections
Adding Handlers section to documentation
Miscellaneous¶
Adding
TYPE_MAPPINGStoutils.pyas a way of generically representing available types and their translationsProject Restructure - restructuring project to provide a better development experience
Updating from MIT to ISC licensing
0.1.0 (2018-10-26)¶
adding
encoderanddecodervar kwargs for customizing how a specific var is serialized/deserializedadding support for python-rapidjson as json serializer
0.0.8 (2018-10-16)¶
adding
sort_keyssupport forjsondumpersadding conditional
validateboolean flag forload_<json,toml,yaml,etc...>config method (performs pre-validation of loaded dictionary)fixing typecasting of loaded content when var is missing in content, now sets var to None
improved tests via a hypothesis dynmaic config instance builder
removing support for complex vars since no serializers support them
0.0.7 (2018-10-12)¶
adding
preferkeyword to use specific serialization handleradding
inline_tablesargument fortomlhandlers (takes a list of fnmatch patterns)adding support for toml
0.0.6 (2018-10-08)¶
fixing
make_confignot using any passed infile_config.varinstancesadded
indentdumping argument forJSONHandlerimproved documentation in
file_config.schema_builderimproved sphinx linking from
getting-started.rstto generated autodocs