Skip to content

v0.14.0

Latest

Choose a tag to compare

@joke2k joke2k released this 18 Jun 22:56
· 87 commits to develop since this release
v0.14.0
6e1b461

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 Env methods.
  • A conditional typing_extensions dependency providing TypeAlias on 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 .env path.

Full changelog: v0.13.0...v0.14.0

PyPI: https://pypi.org/project/django-environ/0.14.0/