Skip to content

0.7.0

Latest

Choose a tag to compare

@UlisesGascon UlisesGascon released this 31 Jan 10:37
185ee6b

What's Changed

Main Changes

We've added the option to use modes in load_secrets (4cfcc86).

Previous:

load_secrets
load_secrets my_file

The 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 soft

Now, 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

Changelog

Full Changelog: 0.6.1...0.7.0