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.
- n/a
- Added
branch_prefixoptional parameter for GitLab loader
- Replace poetry with pip, restore py36 support
- More robust handling of git branches
- Dropped py36 support
LocalLoaderis now able to load files from directories with custom names- Improved
GitLabLoaderlogging
GitlabLoadernow retries failed requests to GitLab
- Support for flags in config file
GitlabLoaderis now more generic and supports custom branch names
- Make ubiconfig.utils.config_validation.validate_config publicly available via ubiconfig.validate_config
- Fix LocalLoader couldn't get right version if the argument version of load() is None.
- Fix LocalLoader couldn't populate version field, now it populates the version field based on directory name.
- Fix remote loader couldn't load all config files with same name from different branches.
- Make version an option argument to Loader.load(), so it could load right version of config file.
- A new field
versionin UbiConfig class. - GitlabLoader now populates the
UbiConfig.versionfield while loading config.
- LocalLoader couldn't load all config files correctly.
- API break:
recursiveoption is now removed from all loaders. While using LocalLoader to load all config files from a directly, it now load all config files from its subdirectories automatically.
- Fix implicit conversion of data from YAML files
- Limit dependency PyYAML version only when python_version < 2.7
- Fix syntax error in CODEOWNERS file and change code owners