Repository navigation
What's Changed
Main Changes
We've added the option to use modes in load_secrets (4cfcc86).
Previous:
load_secrets
load_secrets my_fileThe previous implementation assumed a hard mode, meaning that environment variables would be overwritten by the file content in case of collision.
Current:
load_secrets
load_secrets my_file
load_secrets my_file hard
load_secrets my_file softNow, with this version, it's possible to use the soft mode as well. In soft mode, existing variables will not be overwritten when loading new ones if they don't exist previously.
Note: This change doesn't break retrocompatibility, so no migration is required. We assume that you still use the hard mode by default.
Note: This does not break the retrocompatibility, so no migration is required. We assume that you use the hard mode by default.
PRs
- feat: add mode to load_secrets function by @UlisesGascon in #31
- Bump to 0.7.0 by @UlisesGascon in #32
Changelog
- febeeaa chore: bump to 0.7.0 by @UlisesGascon
- 4cfcc86 feat: add mode to load_secrets function by @UlisesGascon
Full Changelog: 0.6.1...0.7.0