django-environ 0.14.0 improves type annotations across Env and updates Env.read_env() to support caller-owned file-like objects without closing them.
This is the final django-environ release supporting Python 3.9.
Added
- Type annotations and matching docstring information for
Envmethods. - A conditional
typing_extensionsdependency providingTypeAliason Python 3.9.
Changed
Env.read_env()now accepts path-like and file-like objects without closing file-like objects supplied by the caller.
Fixed
Env.read_env()now raises an explicit error when it cannot determine the caller frame used to resolve the default.envpath.
Full changelog: v0.13.0...v0.14.0