- Add `env.log_level` ([7](https://github.com/sloria/environs/issues/7)). - Use `raise from` to improve tracebacks.
Other changes:
- Improve typings.
5.0.0
Features:
- Add `env.path` ([81](https://github.com/sloria/environs/issues/81)). Thanks [umrashrf](https://github.com/umrashrf) for the suggestion. - Add type annotations.
Other changes:
- _Backwards-incompatible_: Drop support for Python 2. If you use Python 2, you will need to use version 4.2.0 or older.
4.2.0
- Minor optimization.
Bug fixes:
- Reset prefix when an exception is raised within an `env.prefixed()` context ([78](https://github.com/sloria/environs/issues/78)). Thanks [rcuza](https://github.com/rcuza) for the catch and patch.
4.1.3
Bug fixes:
- Fix behavior when passing a `dict` value as the default to `env.dict` ([76](https://github.com/sloria/environs/pull/76)). Thanks [c-w](https://github.com/c-w) for the PR.
Support:
- Document how to read a specific file with `env.read_env` ([66](https://github.com/sloria/environs/issues/66)). Thanks [nvtkaszpir](https://github.com/nvtkaszpir) and [c-w](https://github.com/c-w).
4.1.2
Bug fixes:
- Fix compatibility with marshmallow 3.0.0>=rc6.
4.1.1
Bug fixes:
- Fix accessing proxied envvars when using `env.prefixed` ([72](https://github.com/sloria/environs/issues/72)). Thanks [Kamforka](https://github.com/Kamforka) for the catch and patch. - Fix behavior when an envvar is explicitly set to an empty string ([71](https://github.com/sloria/environs/issues/71)). Thanks [twosigmajab](https://github.com/twosigmajab) for reporting and thanks [hvtuananh](https://github.com/hvtuananh) for the PR.