Environs

Latest version: v11.0.0

Safety actively analyzes 619231 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

11.0.0

Fixes:

- Prevent `DeprecationWarning` getting raised by marshmallow 3.21.0 (:issue:`333`).

Other changes:

- Remove `subcast_key` argument of `env.dict`. Use `subcast_keys` instead.
- Bump minimum required marshmallow version to 3.13.0.
- Remove `missing` argument from `Env` methods. Use `default` instead.
- Remove `subcast` argument from `Env` methods that don't use it.
- _Backwards-incompatible_: Remove `environs.__version__` variable.
Use `importlib.metadata.version("environs")` instead.

10.3.0

Features:

- `Env.__repr__` and `Env.__str__` no longer display environment variables, to prevent accidental exfiltration of sensitive data ([292](https://github.com/sloria/environs/issues/292)).
Thanks [mro-rhansen2](https://github.com/mro-rhansen2) for the suggestion.

Bug fixes:

- Fix passing `None` as default to `env.list` ([298](https://github.com/sloria/environs/issues/298)).
Thanks [lucas-bremond](https://github.com/lucas-bremond) for reporting.

10.2.0

Features:

- `env.read_env` returns `False` if file not found ([294](https://github.com/sloria/environs/issues/294)).
Thanks [rptaylor](https://github.com/rptaylor) for the suggestion.

10.1.0

Features:

- Allow `default` for `env.json` to be a `dict` or `list` ([240](https://github.com/sloria/environs/pull/240)).
Thanks [tomgrin10](https://github.com/tomgrin10) and [bvanelli](https://github.com/bvanelli) for the PRs.

Other changes:

- Test against Python 3.12.

10.0.0

Features:

- Add `delimiter` argument to `env.dict` ([277](https://github.com/sloria/environs/pull/277)). Thanks [gregoiredx](https://github.com/gregoiredx) for the PR.

Other changes:

- _Backwards-incompatible_: Drop support for EOL Python 3.6 and 3.7.
- Test against Python 3.11.
- Migrate to setup.cfg. Thanks [deronnax](https://github.com/deronnax) for the PR.

9.5.0

Features:

- Allow callables or custom marshmallow fields to be passed to `subcast`, `subcast_keys`, and `subcast_values`. ([241](https://github.com/sloria/environs/pull/241)).
Thanks [bvanelli](https://github.com/bvanelli) for the PR.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.