Releases: le717/sys-vars
Releases · le717/sys-vars
v5.1.0
- Possible breaking change: Loading variables from a
.env
file is only supported when installed using thedotenv
extra (pip install sys-vars[dotenv]
) - Improve function signatures by explicitly adding a
default
parameter instead of usingkwargs
- Add backtics to Python methods and types in function docstrings to indicate code elements
- Include
py.typed
file in wheel - Replace
black
withruff
Full Changelog: v5.0.0...v5.1.0
v5.0.0
- Require Python 3.8+
- Remove default
SYS_VARS_PATH
value- Key must now always be set before import
- Raises
KeyError
if missing
- Make
key
parameter 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
.env
file 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.toml
for building
Full Changelog: v4.0.0...v4.0.1
v4.0.0
- Rename
DOCKER_SECRETS_PATH
toSYS_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
ValueError
if both fail
Full Changelog: v1.0.3...v2.0.0