Dropped support (tests) for Python 2.6.

This commit is contained in:
Benoît Bryon 2013-11-05 11:53:29 +01:00
parent 2c1ad3c730
commit 6a4f421892
2 changed files with 47 additions and 10 deletions

View file

@ -1,6 +1,5 @@
language: python
python:
- "2.6"
- "2.7"
install: make configure develop
script: make test

View file

@ -4,25 +4,63 @@ Changelog
1.3 (unreleased)
----------------
Big refactoring around Nginx middleware.
Big refactoring around middleware configuration, API readability and
documentation.
- Bugfix #44 - Introduced ``django_downloadview.File``, which patches
``django.core.files.base.File.__iter__()`` implementation.
See https://code.djangoproject.com/ticket/21321
- Bugfix #?? - Fixed ``basename`` assertion in
:func:`~django_downloadview.test.assert_download_response`: always use
``Content-Disposition`` header.
- Bugfix #?? - Fixed ``content`` assertion in
:func:`~django_downloadview.test.assert_download_response`: use only
``streaming_content`` attribute, whatever the file wrapper.
- Feature #?? - Introduced
:class:`~django_downloadview.middlewares.DownloadDispatcherMiddleware` that
iterates over a list of configurable download middlewares. Allows to plug
several download middlewares with different configurations. Deprecates the
settings related to previous single-and-global middleware.
- Refactoring #?? - Dropped support of Python 2.6
- Refactoring #?? - ObjectDownloadView now inherits from SingleObjectMixin and
BaseDownloadView (was DownloadMixin and BaseDetailView).
- Refactoring #?? - Documentation includes examples from demo project.
- Refactoring #?? - Documentation focuses on usage, rather than API.
- Refactoring #?? - Added base classes in
:mod:`django_downloadview.middlewares`, such as
:class:`~django_downloadview.middlewares.ProxiedDownloadMiddleware`.
- Feature #?? - Introduced DownloadDispatcherMiddleware that iterates over a
list of configurable download middlewares. Allows to plug several download
middlewares with different configurations. Deprecates the settings related
to previous single-and-global middleware.
- Refactoring #?? - Splitted nginx module in a package.
- Refactoring #?? - Expose most Python API directly in `django_downloadview`
package. Simplifies imports in client applications.
package. Simplifies ``import`` statements in client applications.
- Refactoring #?? - Simplified DownloadMixin.render_to_response() signature.
- Added unit tests, improved code coverage.
1.2 (2013-05-28)
----------------
Bugfixes and documentation improvements.
- Bug #26 - Prevented computation of virtual file's size, unless the file
- Bugfix #26 - Prevented computation of virtual file's size, unless the file
wrapper implements was_modified_since() method.
- Bug #34 - Improved support of files that do not implement modification time.
- Bug #35 - Fixed README conversion from reStructuredText to HTML (PyPI).
- Bugfix #34 - Improved support of files that do not implement modification
time.
- Bugfix #35 - Fixed README conversion from reStructuredText to HTML (PyPI).
1.1 (2013-04-11)
----------------