Releases: le717/sys-vars
Releases · le717/sys-vars
v5.1.0
- Possible breaking change: Loading variables from a
.envfile is only supported when installed using thedotenvextra (pip install sys-vars[dotenv]) - Improve function signatures by explicitly adding a
defaultparameter instead of usingkwargs - Add backtics to Python methods and types in function docstrings to indicate code elements
- Include
py.typedfile in wheel - Replace
blackwithruff
Full Changelog: v5.0.0...v5.1.0
v5.0.0
- Require Python 3.8+
- Remove default
SYS_VARS_PATHvalue- Key must now always be set before import
- Raises
KeyErrorif missing
- Make
keyparameter positional-only - Add additional info to
SysVarNotFoundError - Update Poetry project to v1.2.0+
- Update PyPi publish process
Full Changelog: v4.0.3...v5.0.0
v4.0.3
- Attempt to find sys vars from an
.envfile located inSYS_VARS_PATH
Full Changelog: v4.0.2...v4.0.3
v4.0.2
- Use typing hints actually compatible with Python 3.7
- Add typing hints stub file
Full Changelog: v4.0.1...v4.0.2
v4.0.1
- Fix incorrect version number in script
- Add more info to
pyproject.tomlfor building
Full Changelog: v4.0.0...v4.0.1
v4.0.0
- Rename
DOCKER_SECRETS_PATHtoSYS_VARS_PATH
Full Changelog: v3.0.0...v4.0.0
v3.0.0
Rewrite project and rename from python-docker-secrets to sys-vars
Full Changelog: v2.0.0...v3.0.0
v2.0.0
- Changed API:
get_docker_secrets("secret") - Look for key in environment if fail finding secret
- Raise
ValueErrorif both fail
Full Changelog: v1.0.3...v2.0.0