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 initdjango-environ 0.144 changes
Breaking changes 1
Raises an explicit error when it cannot determine the caller frame for resolving the default
.envpath.
Behavior and default changes 1
Accepts path-like and file-like objects; caller-supplied file-like objects are no longer closed.
Tooling 2
Env methods gain type annotations and matching docstring information, improving typing support for developers.
A conditional dependency provides TypeAlias on Python 3.9.
django-environ 0.139 changes
New APIs and options 5
The choices argument supports value validation in Env.str(...).
Channels URL parsing now supports the rediss:// scheme.
Valkey cache URLs can use the valkey:// scheme.
Valkey cache URLs can use the valkeys:// scheme.
Optional warnings can now be emitted when defaults are used.
Behavior and default changes 1
DB URL parsing schemes now include django-prometheus database backend aliases.
Tooling 1
Type hint coverage was improved.
Fixes and other changes 2
Support is declared for Django 5.2 and Django 6.0.
Support is declared for Python 3.14.
django-environ 0.122 changes
Fixes and other changes 2
Debug logging no longer evaluates lazy default objects when DEBUG logging is enabled.
Parsing PostgreSQL cluster URLs with bracketed IPv6 hosts is fixed in recent Python versions, preventing runtime URL parsing failures.