unstale

pypi / django-environ

django-environ

What changed in django-environ 0.12 to 0.14, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

1 breaking5 new APIs and options2 behavior and defaults3 tooling4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.2 on npm

django-environ 0.144 changes

Breaking changes 1

  • Raises an explicit error when it cannot determine the caller frame for resolving the default .env path.

    0.14.0release notes

Behavior and default changes 1

  • Accepts path-like and file-like objects; caller-supplied file-like objects are no longer closed.

    0.14.0release notes

Tooling 2

  • Env methods gain type annotations and matching docstring information, improving typing support for developers.

    0.14.0release notes

  • A conditional dependency provides TypeAlias on Python 3.9.

    0.14.0release notes

django-environ 0.139 changes

New APIs and options 5

  • The choices argument supports value validation in Env.str(...).

    0.13.0release notes

  • Channels URL parsing now supports the rediss:// scheme.

    0.13.0release notes

  • Valkey cache URLs can use the valkey:// scheme.

    0.13.0release notes

  • Valkey cache URLs can use the valkeys:// scheme.

    0.13.0release notes

  • Optional warnings can now be emitted when defaults are used.

    0.13.0release notes

Behavior and default changes 1

  • DB URL parsing schemes now include django-prometheus database backend aliases.

    0.13.0release notes

Tooling 1

Fixes and other changes 2

django-environ 0.122 changes

Fixes and other changes 2

  • Debug logging no longer evaluates lazy default objects when DEBUG logging is enabled.

    0.12.1release notes

  • Parsing PostgreSQL cluster URLs with bracketed IPv6 hosts is fixed in recent Python versions, preventing runtime URL parsing failures.

    0.12.1release notes