Releases: markusressel/container-app-conf
Releases · markusressel/container-app-conf
v4.1.0
What’s Changed
🚀 Features and ✨ Enhancements
- Feature/#27 auto load data sources (#28) by @markusressel
v4.0.0
What’s Changed
🚀 Features and ✨ Enhancements
- Feature/#25 required instead of none allowed (#26) by @markusressel
- better error output
- custom logger for exceptions in
ConfigEntry
Migration Guide:
- change all
non_allowed
constructor parameters torequired
and invert their value, f.ex.none_allowed=True
becomesrequired=False
and vice versa - the special case for
StringConfigEntry
parsing"None"
and other Strings to actualNone
values has been removed, if you relied on this feature you have to implement it yourself
v3.2.1
What’s Changed
🚀 Features and ✨ Enhancements
- added "flags" parameter to RegexConfigEntry to pass regex compile flags (#23) by @markusressel
🐛 Bugfixes
- added "flags" parameter to RegexConfigEntry to pass regex compile flags (#23) by @markusressel
- use os.sep instead of hardcoded "/" (#24) by @markusressel
v3.2.0
- wip regex release
v3.1.0
What’s Changed
🚀 Features and ✨ Enhancements
- added regex parameter to StringConfigEntry (#22) by @markusressel
- added RegexConfigEntry (#20) by @markusressel
- added range parameter to float and int config entry (#19) by @markusressel
v3.0.2
What’s Changed
🐛 Bugfixes
- fix file and directory value not allowing Path objects
v3.0.1
What’s Changed
🚀 Features and ✨ Enhancements
- added json file source (#14) by @markusressel
- Feature/toml data source (#13) by @markusressel
🐛 Bugfixes
- re-set values to recheck None constraint (#16) by @markusressel
v3.0.0
What’s Changed
🚀 Features and ✨ Enhancements
- Feature/data source generalization (#12) by @markusressel
- Feature/#9 optional singleton (#11) by @markusressel
Migration:
- In your config entries change
yaml_path
tokey_path
- Custom
YAML
file names, paths and extensions now have to be specified in theYamlSource
constructor. To use this specify a custom data source list in the config constructor.
v2.0.0
What’s Changed
🚀 Features and ✨ Enhancements
- reworked file/directory config entry to use pathlib (#8) by @markusressel
- only set value from env if it doesnt match the current value to prevent "invalid value" errors for "None" values
v1.5.2
- fixed None parsing in constructor even when None is not allowed for the entry