Django-environ

Latest version: v0.12.0

Safety actively analyzes 702407 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.12.0

-----------------------------
Fixed
+++++
- Include prefix in the ``ImproperlyConfigured`` error message
`513 <https://github.com/joke2k/django-environ/issues/513>`_.

Added
+++++
- Add support for Python 3.12 and 3.13
`538 <https://github.com/joke2k/django-environ/issues/538>`_.
- Add support for Django 5.1
`535 <https://github.com/joke2k/django-environ/issues/535>`_.
- Add support for Django CockroachDB driver
`509 <https://github.com/joke2k/django-environ/issues/509>`_.
- Add support for Django Channels
`266 <https://github.com/joke2k/django-environ/issues/266>`_.

Changed
+++++++
- Disabled inline comments handling by default due to potential side effects.
While the feature itself is useful, the project's philosophy dictates that
it should not be enabled by default for all users
`499 <https://github.com/joke2k/django-environ/issues/499>`_.

Removed
+++++++
- Removed support of Python 3.6, 3.7 and 3.8
`538 <https://github.com/joke2k/django-environ/issues/538>`_.
- Removed support of Django 1.x.
`538 <https://github.com/joke2k/django-environ/issues/538>`_.

0.11.2

-----------------------------
Fixed
+++++
- Revert "Add variable expansion." feature
due to `490 <https://github.com/joke2k/django-environ/issues/490>`_.

0.11.1

---------------------------
Fixed
+++++
- Revert "Add interpolate argument to avoid resolving proxied values." feature
due to `485 <https://github.com/joke2k/django-environ/issues/485>`_.

0.11.0

---------------------------
Added
+++++
- Added support for Django 4.2
`456 <https://github.com/joke2k/django-environ/pull/456>`_.
- Added support for secure Elasticsearch connections
`463 <https://github.com/joke2k/django-environ/pull/463>`_.
- Added variable expansion
`468 <https://github.com/joke2k/django-environ/pull/468>`_.
- Added capability to handle comments after `, after quoted values,
like ``KEY= 'part1 part2' comment``
`475 <https://github.com/joke2k/django-environ/pull/475>`_.
- Added support for ``interpolate`` parameter
`415 <https://github.com/joke2k/django-environ/pull/415>`_.

Changed
+++++++
- Used ``mssql-django`` as engine for SQL Server
`446 <https://github.com/joke2k/django-environ/pull/446>`_.
- Changed handling bool values, stripping whitespace around value
`475 <https://github.com/joke2k/django-environ/pull/475>`_.
- Use ``importlib.util.find_spec`` to ``replace pkgutil.find_loader``
`482 <https://github.com/joke2k/django-environ/pull/482>`_.


Removed
+++++++
- Removed support of Python 3.5.

0.10.0

-------------------------
Added
+++++
- Use the core redis library by default if running Django >= 4.0
`356 <https://github.com/joke2k/django-environ/issues/356>`_.
- Value of dict can now contain an equal sign
`241 <https://github.com/joke2k/django-environ/pull/241>`_.
- Added support for Python 3.11.
- Added ``CONN_HEALTH_CHECKS`` to database base options
`413 <https://github.com/joke2k/django-environ/issues/413>`_.
- Added ``encoding`` parameter to ``read_env`` with default value 'utf8'
`442 <https://github.com/joke2k/django-environ/pull/442>`_.
- Added support for Django 4.1
`416 <https://github.com/joke2k/django-environ/issues/416>`_.

Deprecated
++++++++++
- Support of Python < 3.6 is deprecated and will be removed
in next major version.

Changed
+++++++
- Used UTF-8 as a encoding when open ``.env`` file.
- Provided access to ``DB_SCHEMES`` through ``cls`` rather than
``Env`` in ``db_url_config``
`414 <https://github.com/joke2k/django-environ/pull/414>`_.
- Correct CI workflow to use supported Python versions/OS matrix
`441 <https://github.com/joke2k/django-environ/pull/441>`_.
- Reworked trigger CI workflows strategy
`440 <https://github.com/joke2k/django-environ/pull/440>`_.

Fixed
+++++
- Fixed logic of ``Env.get_value()`` to skip parsing only when
``default=None``, not for all default values that coerce to ``False``
`404 <https://github.com/joke2k/django-environ/issues/404>`_.
- Deleted duplicated include in docs/quickstart.rst
`439 <https://github.com/joke2k/django-environ/pull/439>`_.

Removed
+++++++
- Removed deprecated ``Env.unicode()``.
- Removed ``environ.register_schemes`` calls and do not modify global
``urllib.parse.urlparse``'s ``uses_*`` variables as this no longer needed
`246 <https://github.com/joke2k/django-environ/pull/246>`_.

0.9.0

------------------------
Added
+++++
- Added support for Postgresql cluster URI
`355 <https://github.com/joke2k/django-environ/pull/355>`_.
- Added support for Django 4.0
`371 <https://github.com/joke2k/django-environ/issues/371>`_.
- Added support for prefixed variables
`362 <https://github.com/joke2k/django-environ/issues/362>`_.
- Amended documentation.

Deprecated
++++++++++
- ``Env.unicode()`` is deprecated and will be removed in the next
major release. Use ``Env.str()`` instead.

Changed
+++++++
- Attach cause to ``ImproperlyConfigured`` exception
`360 <https://github.com/joke2k/django-environ/issues/360>`_.

Fixed
+++++
- Fixed ``_cast_urlstr`` unquoting
`357 <https://github.com/joke2k/django-environ/issues/357>`_.
- Fixed documentation regarding unsafe characters in URLs
`220 <https://github.com/joke2k/django-environ/issues/220>`_.
- Fixed ``environ.Path.__eq__()`` to compare paths correctly
`86 <https://github.com/joke2k/django-environ/issues/86>`_,
`197 <https://github.com/joke2k/django-environ/issues/197>`_.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.