Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-environ to 0.10.0 #673

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Mar 3, 2023

This PR updates django-environ from 0.4.1 to 0.10.0.

Changelog

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>`_.

0.8.1

---------------------------
Fixed
+++++
- Fixed "Invalid line" spam logs on blank lines in env file
`340 <https://github.com/joke2k/django-environ/issues/340>`_.
- Fixed ``memcache``/``pymemcache`` URL parsing for correct identification of
connection type `337 <https://github.com/joke2k/django-environ/issues/337>`_.

0.8.0

---------------------------
Added
+++++
- Log invalid lines when parse ``.env`` file
`283 <https://github.com/joke2k/django-environ/pull/283>`_.
- Added docker-style file variable support
`189 <https://github.com/joke2k/django-environ/issues/189>`_.
- Added option to override existing variables with ``read_env``
`103 <https://github.com/joke2k/django-environ/issues/103>`_,
`249 <https://github.com/joke2k/django-environ/issues/249>`_.
- Added support for empty var with None default value
`209 <https://github.com/joke2k/django-environ/issues/209>`_.
- Added ``pymemcache`` cache backend for Django 3.2+
`335 <https://github.com/joke2k/django-environ/pull/335>`_.

Fixed
+++++
- Keep newline/tab escapes in quoted strings
`296 <https://github.com/joke2k/django-environ/pull/296>`_.
- Handle escaped dollar sign in values
`271 <https://github.com/joke2k/django-environ/issues/271>`_.
- Fixed incorrect parsing of ``DATABASES_URL`` for Google Cloud MySQL
`294 <https://github.com/joke2k/django-environ/issues/294>`_.

0.7.0

------------------------------
Added
+++++
- Added support for negative float strings
`160 <https://github.com/joke2k/django-environ/issues/160>`_.
- Added Elasticsearch5 to search scheme
`297 <https://github.com/joke2k/django-environ/pull/297>`_.
- Added Elasticsearch7 to search scheme
`314 <https://github.com/joke2k/django-environ/issues/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 <https://github.com/joke2k/django-environ/pull/206>`_.
- Safely evaluate a string containing an invalid Python literal
`200 <https://github.com/joke2k/django-environ/issues/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 <https://github.com/joke2k/django-environ/issues/243>`_.

0.6.0

----------------------------
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 <https://github.com/joke2k/django-environ/issues/106>`_,
`286 <https://github.com/joke2k/django-environ/issues/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 <https://github.com/joke2k/django-environ/issues/264>`_,
`268 <https://github.com/joke2k/django-environ/issues/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``.

0.5.0

--------------------------
Added
+++++
- Support for Django 2.1 & 2.2.
- Added tox.ini targets.
- Added secure redis backend URLs via ``rediss://``.
- Added ``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.

0.4.5

------------------------
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.

0.4.4

--------------------------

Added
+++++
- Support for ``django-redis`` multiple locations (master/slave, shards).
- Support for Elasticsearch2.
- Support for Mysql-connector.
- Support for ``pyodbc``.
- Added ``__contains__`` feature to Environ class.

Fixed
+++++
- Fix Path subtracting.

0.4.3

--------------------------
Changed
+++++++
- Rollback the default Environ to ``os.environ``.

0.4.2

-------------------------
Added
+++++
- Confirm support for Django 1.11.
- Support for Redshift database URL.

Changed
+++++++
- Fixed uwsgi settings reload problem
`55 <https://github.com/joke2k/django-environ/issues/55>`_.
- Update support for ``django-redis`` urls
`109 <https://github.com/joke2k/django-environ/pull/109>`_.
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #718

@pyup-bot pyup-bot closed this Aug 30, 2023
@koztay koztay deleted the pyup-update-django-environ-0.4.1-to-0.10.0 branch August 30, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant