v2.1.0
·
1092 commits
to master
since this release
v2.1.0 (2023-07-18)
Bug Fixes
- Correct bug related to flags arguments. Their default type was always str
- Correct bug related to usage of - in arguments names and parsing of environment variables. Now, by default, composed arguments names are separated by -
- Correct bug related to required default value of name attribute in a configuration
- Correct bug related to actors killed by the supervisor
Build System
- Dockerfile: Switch to "slim" python base image
- deps: Bump docker/setup-buildx-action from 2.9.0 to 2.9.1
- deps: Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8
- deps: Bump docker/setup-buildx-action from 2.8.0 to 2.9.0
- deps: Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7
Code Refactoring
- Remove useless constants
- Correct flake8 indentation issue
- Simplify some add methods names in managers and parsers
- Remove useless import
- Change management of prefixes and arguments names list to SubgroupParserGroup and Parsers. Configuration definitions via environment variables only support long names for arguments. Adaptation of tests and CommonCLIParsingManager according to these changes
Continuous Integration
- build: Remove top-level permissions key
- release: Sign container image with cosign
- release: Use Docker buildx for container image builds
Features
- Add for configuration through environment variables. The three methods can be combined and the priority is as follows: 1. CLI, 2. Environment Variables, 3. Configuration File. The configuration via environment variables can only be used with arguments long names