mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
282 lines
7.6 KiB
ReStructuredText
282 lines
7.6 KiB
ReStructuredText
.. :changelog:
|
|
|
|
Changelog
|
|
---------
|
|
|
|
v2.5 (unreleased)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Update Github actions and fix pipeline warnings
|
|
- Add compatibility with Django 5.0
|
|
- **BACKWARD INCOMPATIBLE** Drop compatibility for Django 4.0
|
|
- **BACKWARD INCOMPATIBLE** Drop compatibility for Python 3.7 and PyPy < 3.10
|
|
|
|
v2.4.2 (2023-09-27)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Replace imp (due for removal in Python 3.12) with importlib
|
|
- Test on PyPy 3.10.
|
|
|
|
v2.4.1 (2023-04-04)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Use furo as documentation theme
|
|
- Add compatibility with Django 4.2 - fix "STATICFILES_STORAGE/STORAGES are mutually exclusive" error.
|
|
- Test Django 4.1.3+ on Python 3.11
|
|
|
|
v2.4 (2022-08-24)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Add compatibility with Django 4.1
|
|
- **BACKWARD INCOMPATIBLE** Drop compatibility for Django < 3.2
|
|
- **BACKWARD INCOMPATIBLE** Drop compatibility for Python 3.6
|
|
|
|
v2.3.2 (2022-01-25)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Add compatibility with Django 4.0
|
|
- Fix regression where settings receiving a default were ignored. #323 #327
|
|
|
|
v2.3.1 (2021-11-08)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Test Django 3.2 on Python 3.10 as well.
|
|
|
|
- Test on PyPy 3.6, 3.7 and 3.8.
|
|
|
|
- Enforce Python version requirement during installation (>=3.6).
|
|
|
|
- Fix and refactor the documentation build process.
|
|
|
|
v2.3 (2021-10-27)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support for Python 2.7 and 3.5.
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support for Django < 2.2.
|
|
|
|
- Add support for Django 3.1 and 3.2.
|
|
|
|
- Add suppport for Python 3.9 and 3.10.
|
|
|
|
- Deprecate ``utils.import_by_path`` in favor of
|
|
``django.utils.module_loading.import_string``.
|
|
|
|
- Add ASGI support.
|
|
|
|
- Added "python -m configurations" entry point.
|
|
|
|
- Make package ``install_requires`` include ``django>=2.2``.
|
|
|
|
- Prevent an ImproperlyConfigured warning from ``DEFAULT_HASHING_ALGORITHM``.
|
|
|
|
- Prevent warnings for settings deprecated in Django 2.2
|
|
(``DEFAULT_CONTENT_TYPE`` and ``FILE_CHARSET``).
|
|
|
|
- Preserve Django warnings when ``DEFAULT_AUTO_FIELD`` is not set.
|
|
|
|
- Miscellaneous documentation fixes.
|
|
|
|
- Miscellaneous internal improvements.
|
|
|
|
v2.2 (2019-12-03)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support for Python 3.4.
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support for Django < 1.11.
|
|
|
|
- Add support for Django 3.0.
|
|
|
|
- Add support for Python 3.8.
|
|
|
|
- Add support for PyPy 3.
|
|
|
|
- Replace ``django.utils.six`` with ``six`` to support Django >= 3.
|
|
|
|
- Start using tox-travis and setuptools-scm for simplified test harness
|
|
and release management.
|
|
|
|
v2.1 (2018-08-16)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support of Python 3.3.
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support of Django 1.9.
|
|
|
|
- Add support for Django 2.1.
|
|
|
|
- Add ``PositiveIntegerValue`` configuration value.
|
|
|
|
- Fix ``bool(BooleanValue)`` to behave as one would expect (e.g.
|
|
``bool(BooleanValue(False))`` returns ``False``).
|
|
|
|
- Miscellaneous documentation improvements and bug fixes.
|
|
|
|
v2.0 (2016-07-29)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support of Python 2.6 and 3.2
|
|
|
|
- **BACKWARD INCOMPATIBLE** Drop support of Django < 1.8
|
|
|
|
- **BACKWARD INCOMPATIBLE** Moved sphinx callable has been moved from
|
|
``configurations`` to ``configurations.sphinx``.
|
|
|
|
- **BACKWARD INCOMPATIBLE** Removed the previously deprecated
|
|
``configurations.Settings`` class in favor of the
|
|
``configurations.Configuration`` added in 0.4. This removal was planned for
|
|
the 1.0 release and is now finally enacted.
|
|
|
|
- Add multiprocessing support for sphinx integration
|
|
|
|
- Fix a RemovedInDjango19Warning warning
|
|
|
|
v1.0 (2016-01-04)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Project has moved to `Jazzband <https://jazzband.co/>`_. See guidelines for
|
|
contributing.
|
|
|
|
- Support for Django 1.8 and above.
|
|
|
|
- Allow ``Value`` classes to be used outside of ``Configuration`` classes. (#62)
|
|
|
|
- Fixed "Value with ValidationMixin will raise ValueError if no default assigned". (#69)
|
|
|
|
- Fixed wrong behaviour when assigning BooleanValue. (#83)
|
|
|
|
- Add ability to programmatically call Django commands from configurations using
|
|
``call_command``.
|
|
|
|
- Added SingleNestedTupleValue and SingleNestedListValue classes. (#85)
|
|
|
|
- Several other miscellaneous bugfixes.
|
|
|
|
v0.8 (2014-01-16)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Added ``SearchURLValue`` to configure Haystack ``HAYSTACK_CONNECTIONS``
|
|
settings.
|
|
|
|
v0.7 (2013-11-26)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Removed the broken stdout wrapper that displayed the currently enabled
|
|
configuration when using the runserver management command. Added a logging
|
|
based solution instead.
|
|
|
|
- Fixed default value of ``CacheURLValue`` class that was shadowed by an
|
|
unneeded name parameter. Thanks to Stefan Wehrmeyer.
|
|
|
|
- Fixed command line options checking in the importer to happen before the
|
|
validation. Thanks to Stefan Wehrmeyer.
|
|
|
|
- Added Tox test configuration.
|
|
|
|
- Fixed an erroneous use of ``PathValue`` in the 1.6.x project template.
|
|
|
|
v0.6 (2013-09-19)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Added a IPython extension to support IPython notebooks correctly. See
|
|
the :doc:`cookbook` for more information.
|
|
|
|
v0.5.1 (2013-09-12)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Prevented accidentally parsing the command line options to look for the
|
|
``--configuration`` option outside of Django's management commands.
|
|
This should fix a problem with gunicorn's own ``--config`` option.
|
|
Thanks to Brian Rosner for the report.
|
|
|
|
v0.5 (2013-09-09)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Switched from raising Django's ``ImproperlyConfigured`` exception on errors
|
|
to standard ``ValueError`` to prevent hiding those errors when Django
|
|
specially handles the first.
|
|
|
|
- Switched away from d2to1 as a way to define package metadata since distutils2
|
|
is dead.
|
|
|
|
- Extended ``Value`` class documentation and fixed other issues.
|
|
|
|
- Moved tests out of the ``configurations`` package for easier maintenance.
|
|
|
|
v0.4 (2013-09-03)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Added ``Value`` classes and subclasses for easier handling of settings values,
|
|
including populating them from environment variables.
|
|
|
|
- Renamed ``configurations.Settings`` class to ``configurations.Configuration``
|
|
to better describe what the class is all about. The old class still exists
|
|
and is marked as pending deprecation. It'll be removed in version 1.0.
|
|
|
|
- Added a ``setup`` method to handle the new ``Value`` classes and allow an
|
|
in-between modification of the configuration values.
|
|
|
|
- Added Django project templates for 1.5.x and 1.6.x.
|
|
|
|
- Reorganized and extended documentation.
|
|
|
|
v0.3.2 (2014-01-16)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Fixed an installation issue.
|
|
|
|
v0.3.1 (2013-09-20)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Backported a fix from master that makes 0.3.x compatible with newer
|
|
versions of six.
|
|
|
|
v0.3 (2013-05-15)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Added ``pristinemethod`` decorator to be able to have callables as settings.
|
|
|
|
- Added ``pre_setup`` and ``post_setup`` method hooks to be able to run code
|
|
before or after the settings loading is finished.
|
|
|
|
- Minor docs and tests cleanup.
|
|
|
|
v0.2.1 (2013-04-11)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
- Fixed a regression in parsing the new ``-C``/``--configuration`` management
|
|
command option.
|
|
|
|
- Minor fix in showing the configuration in the ``runserver`` management
|
|
command output.
|
|
|
|
v0.2 (2013-03-27)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- **backward incompatible change** Dropped support for Python 2.5! Please use
|
|
the 0.1 version if you really want.
|
|
|
|
- Added Python>3.2 and Django 1.5 support!
|
|
|
|
- Catch error when getting or evaluating callable setting class attributes.
|
|
|
|
- Simplified and extended tests.
|
|
|
|
- Added optional ``-C``/``--configuration`` management command option similar
|
|
to Django's ``--settings`` option
|
|
|
|
- Fixed the runserver message about which setting is used to
|
|
show the correct class.
|
|
|
|
- Stopped hiding AttributeErrors happening during initialization
|
|
of settings classes.
|
|
|
|
- Added FastCGI helper.
|
|
|
|
- Minor documentation fixes
|
|
|
|
v0.1 (2012-07-21)
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
- Initial public release
|