Changelog

All notable changes to this project will be documented in this file. The format is inspired by Keep a Changelog and this project adheres to Semantic Versioning.

v0.8.1 - 20-October-2021

Fixed

  • Fixed “Invalid line” spam logs on blank lines in env file #340.

  • Fixed memcache/pymemcache URL parsing for correct identification of connection type #337.

v0.8.0 - 17-October-2021

Added

  • Log invalid lines when parse .env file #283.

  • Added docker-style file variable support #189.

  • Added option to override existing variables with read_env #103, #249.

  • Added support for empty var with None default value #209.

  • Added pymemcache cache backend for Django 3.2+ #335.

Fixed

  • Keep newline/tab escapes in quoted strings #296.

  • Handle escaped dollar sign in values #271.

  • Fixed incorrect parsing of DATABASES_URL for Google Cloud MySQL #294.

v0.7.0 - 11-September-2021

Added

  • Added support for negative float strings #160.

  • Added Elasticsearch5 to search scheme #297.

  • Added Elasticsearch7 to search scheme #314.

  • Added the ability to use bytes or str as a default value for Env.bytes().

Fixed

  • Fixed links in the documentation.

  • Use default option in Env.bytes() #206.

  • Safely evaluate a string containing an invalid Python literal #200.

Changed

  • Added ‘Funding’ and ‘Say Thanks!’ project urls on pypi.

  • Stop raising UserWarning if .env file isn’t found. Log a message with INFO log level instead #243.

v0.6.0 - 4-September-2021

Added

  • Python 3.9, 3.10 and pypy 3.7 are now supported.

  • Django 3.1 and 3.2 are now supported.

  • Added missed classifiers to setup.py.

  • Accept Python 3.6 path-like objects for read_env #106, #286.

Fixed

  • Fixed various code linting errors.

  • Fixed typos in the documentation.

  • Added missed files to the package contents.

  • Fixed db_url_config to work the same for all postgres-like schemes #264, #268.

Changed

  • Refactor tests to use pytest and follow DRY.

  • Moved CI to GitHub Actions.

  • Restructuring of project documentation.

  • Build and test package documentation as a part of CI pipeline.

  • Build and test package distribution as a part of CI pipeline.

  • Check MANIFEST.in in a source package for completeness as a part of CI pipeline.

  • Added pytest and coverage[toml] to setuptools’ extras_require.

v0.5.0 - 30-August-2021

Added

  • Support for Django 2.1 & 2.2.

  • Added tox.ini targets.

  • Added secure redis backend URLs via rediss://.

  • Add cast=str to str() method.

Fixed

  • Fixed misspelling in the documentation.

Changed

  • Validate empty cache url and invalid cache schema.

  • Set long_description_content_type in setup.

  • Improved Django 1.11 database configuration support.

v0.4.5 - 25-June-2018

Added

  • Support for Django 2.0.

  • Support for smart casting.

  • Support PostgreSQL unix domain socket paths.

  • Tip: Multiple env files.

Changed

  • Fix parsing option values None, True and False.

  • Order of importance of engine configuration in db_url_config.

Removed

  • Remove django and six dependencies.

v0.4.4 - 21-August-2017

Added

  • Support for django-redis multiple locations (master/slave, shards).

  • Support for Elasticsearch2.

  • Support for Mysql-connector.

  • Support for pyodbc.

  • Add __contains__ feature to Environ class.

Fixed

  • Fix Path subtracting.

v0.4.3 - 21-August-2017

Changed

  • Rollback the default Environ to os.environ.

v0.4.2 - 13-April-2017

Added

  • Confirm support for Django 1.11.

  • Support for Redshift database URL.

Changed

  • Fix uwsgi settings reload problem #55.

  • Update support for django-redis urls #109.

v0.4.1 - 13-November-2016

Added

  • Add support for Django 1.10.

Changed

  • Fix for unsafe characters into URLs.

  • Clarifying warning on missing or unreadable file. Thanks to @nickcatal.

  • Fix support for Oracle urls.

  • Fix support for django-redis.

v0.4 - 23-September-2015

Added

Changed

  • Fix non-ascii values (broken in Python 2.x).

  • redis_cache replaced by django_redis.

  • Fix psql/pgsql url.

v0.3.1 - 19 Sep 2015

Added

  • Added email as alias for email_url.

  • Django 1.7 is now supported.

  • Added LDAP scheme support for db_url_config.

Fixed

  • Fixed typos in the documentation.

  • Fixed environ.Path.__add__ to correctly handle plus operator.

  • Fixed environ.Path.__contains__ to correctly work on Windows.

v0.3 - 03-June-2014

Added

  • Add cache url support.

  • Add email url support.

  • Add search url support.

Changed

  • Rewriting README.rst.

v0.2.1 - 19-April-2013

Changed

  • Env.__call__ now uses Env.get_value instance method.

v0.2 - 16-April-2013

Added

  • Add advanced float parsing (comma and dot symbols to separate thousands and decimals).

Fixed

  • Fixed typos in the documentation.

v0.1 - 2-April-2013

Added

  • Initial release.