Skip to content

Releases: le717/sys-vars

v5.1.0

09 Jun 23:16
Compare
Choose a tag to compare
  • Possible breaking change: Loading variables from a .env file is only supported when installed using the dotenv extra (pip install sys-vars[dotenv])
  • Improve function signatures by explicitly adding a default parameter instead of using kwargs
  • Add backtics to Python methods and types in function docstrings to indicate code elements
  • Include py.typed file in wheel
  • Replace black with ruff

Full Changelog: v5.0.0...v5.1.0

v5.0.0

15 Nov 19:42
Compare
Choose a tag to compare
  • 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

31 Aug 00:36
Compare
Choose a tag to compare
  • Attempt to find sys vars from an .env file located in SYS_VARS_PATH

Full Changelog: v4.0.2...v4.0.3

v4.0.2

26 Aug 16:14
Compare
Choose a tag to compare
  • 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

14 Aug 17:53
Compare
Choose a tag to compare
  • 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

22 Mar 21:32
Compare
Choose a tag to compare
  • Rename DOCKER_SECRETS_PATH to SYS_VARS_PATH

Full Changelog: v3.0.0...v4.0.0

v3.0.0

15 May 16:40
Compare
Choose a tag to compare

Rewrite project and rename from python-docker-secrets to sys-vars

Full Changelog: v2.0.0...v3.0.0

v2.0.0

15 May 16:41
894d5a6
Compare
Choose a tag to compare
  • 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