1.. :changelog: 2 3Changelog 4--------- 5 6v2.2 (2019-12-03) 7^^^^^^^^^^^^^^^^^ 8 9- **BACKWARD INCOMPATIBLE** Drop support for Python 3.4. 10 11- **BACKWARD INCOMPATIBLE** Drop support for Django < 1.11. 12 13- Add support for Django 3.0. 14 15- Add support for Python 3.8. 16 17- Add support for PyPy 3. 18 19- Replace ``django.utils.six`` with ``six`` to support Django >= 3. 20 21- Start using tox-travis and setuptools-scm for simplified test harness 22 and release management. 23 24v2.1 (2018-08-16) 25^^^^^^^^^^^^^^^^^ 26 27- **BACKWARD INCOMPATIBLE** Drop support of Python 3.3. 28 29- **BACKWARD INCOMPATIBLE** Drop support of Django 1.9. 30 31- Add support for Django 2.1. 32 33- Add ``PositiveIntegerValue`` configuration value. 34 35- Fix ``bool(BooleanValue)`` to behave as one would expect (e.g. 36 ``bool(BooleanValue(False))`` returns ``False``). 37 38- Miscellaneous documentation improvements and bug fixes. 39 40v2.0 (2016-07-29) 41^^^^^^^^^^^^^^^^^ 42 43- **BACKWARD INCOMPATIBLE** Drop support of Python 2.6 and 3.2 44 45- **BACKWARD INCOMPATIBLE** Drop support of Django < 1.8 46 47- **BACKWARD INCOMPATIBLE** Moved sphinx callable has been moved from 48 ``configurations`` to ``configurations.sphinx``. 49 50- **BACKWARD INCOMPATIBLE** Removed the previously deprecated 51 ``configurations.Settings`` class in favor of the 52 ``configurations.Configuration`` added in 0.4. This removal was planned for 53 the 1.0 release and is now finally enacted. 54 55- Add multiprocessing support for sphinx integration 56 57- Fix a RemovedInDjango19Warning warning 58 59v1.0 (2016-01-04) 60^^^^^^^^^^^^^^^^^ 61 62- Project has moved to `Jazzband <https://jazzband.co/>`_. See guidelines for 63 contributing. 64 65- Support for Django 1.8 and above. 66 67- Allow ``Value`` classes to be used outside of ``Configuration`` classes. (#62) 68 69- Fixed "Value with ValidationMixin will raise ValueError if no default assigned". (#69) 70 71- Fixed wrong behaviour when assigning BooleanValue. (#83) 72 73- Add ability to programmatically call Django commands from configurations using 74 ``call_command``. 75 76- Added SingleNestedTupleValue and SingleNestedListValue classes. (#85) 77 78- Several other miscellaneous bugfixes. 79 80v0.8 (2014-01-16) 81^^^^^^^^^^^^^^^^^ 82 83- Added ``SearchURLValue`` to configure Haystack ``HAYSTACK_CONNECTIONS`` 84 settings. 85 86v0.7 (2013-11-26) 87^^^^^^^^^^^^^^^^^ 88 89- Removed the broken stdout wrapper that displayed the currently enabled 90 configuration when using the runserver management command. Added a logging 91 based solution instead. 92 93- Fixed default value of ``CacheURLValue`` class that was shadowed by an 94 unneeded name parameter. Thanks to Stefan Wehrmeyer. 95 96- Fixed command line options checking in the importer to happen before the 97 validation. Thanks to Stefan Wehrmeyer. 98 99- Added Tox test configuration. 100 101- Fixed an erroneous use of ``PathValue`` in the 1.6.x project template. 102 103v0.6 (2013-09-19) 104^^^^^^^^^^^^^^^^^ 105 106- Added a IPython extension to support IPython notebooks correctly. See 107 the :doc:`cookbook` for more information. 108 109v0.5.1 (2013-09-12) 110^^^^^^^^^^^^^^^^^^^ 111 112- Prevented accidentally parsing the command line options to look for the 113 ``--configuration`` option outside of Django's management commands. 114 This should fix a problem with gunicorn's own ``--config`` option. 115 Thanks to Brian Rosner for the report. 116 117v0.5 (2013-09-09) 118^^^^^^^^^^^^^^^^^ 119 120- Switched from raising Django's ``ImproperlyConfigured`` exception on errors 121 to standard ``ValueError`` to prevent hiding those errors when Django 122 specially handles the first. 123 124- Switched away from d2to1 as a way to define package metadata since distutils2 125 is dead. 126 127- Extended ``Value`` class documentation and fixed other issues. 128 129- Moved tests out of the ``configurations`` package for easier maintenance. 130 131v0.4 (2013-09-03) 132^^^^^^^^^^^^^^^^^ 133 134- Added ``Value`` classes and subclasses for easier handling of settings values, 135 including populating them from environment variables. 136 137- Renamed ``configurations.Settings`` class to ``configurations.Configuration`` 138 to better describe what the class is all about. The old class still exists 139 and is marked as pending deprecation. It'll be removed in version 1.0. 140 141- Added a ``setup`` method to handle the new ``Value`` classes and allow an 142 in-between modification of the configuration values. 143 144- Added Django project templates for 1.5.x and 1.6.x. 145 146- Reorganized and extended documentation. 147 148v0.3.2 (2014-01-16) 149^^^^^^^^^^^^^^^^^^^ 150 151- Fixed an installation issue. 152 153v0.3.1 (2013-09-20) 154^^^^^^^^^^^^^^^^^^^ 155 156- Backported a fix from master that makes 0.3.x compatible with newer 157 versions of six. 158 159v0.3 (2013-05-15) 160^^^^^^^^^^^^^^^^^ 161 162- Added ``pristinemethod`` decorator to be able to have callables as settings. 163 164- Added ``pre_setup`` and ``post_setup`` method hooks to be able to run code 165 before or after the settings loading is finished. 166 167- Minor docs and tests cleanup. 168 169v0.2.1 (2013-04-11) 170^^^^^^^^^^^^^^^^^^^ 171 172- Fixed a regression in parsing the new ``-C``/``--configuration`` management 173 command option. 174 175- Minor fix in showing the configuration in the ``runserver`` management 176 command output. 177 178v0.2 (2013-03-27) 179^^^^^^^^^^^^^^^^^ 180 181- **backward incompatible change** Dropped support for Python 2.5! Please use 182 the 0.1 version if you really want. 183 184- Added Python>3.2 and Django 1.5 support! 185 186- Catch error when getting or evaluating callable setting class attributes. 187 188- Simplified and extended tests. 189 190- Added optional ``-C``/``--configuration`` management command option similar 191 to Django's ``--settings`` option 192 193- Fixed the runserver message about which setting is used to 194 show the correct class. 195 196- Stopped hiding AttributeErrors happening during initialization 197 of settings classes. 198 199- Added FastCGI helper. 200 201- Minor documentation fixes 202 203v0.1 (2012-07-21) 204^^^^^^^^^^^^^^^^^ 205 206- Initial public release 207