- update to 6.8.1:
* Raise any errors from threads in the whitenoise.compress
command. Regression in 6.8.0. Thanks to Tom Grainger for the
spotting this with a comment on PR #484.
* Drop Django 3.2 to 4.1 support.
* Drop Python 3.8 support.
* Support Python 3.13.
* Fix a bug introduced in version 6.0.0 where Range requests
could lead to database connection errors in other requests.
Thanks to Per Myren for the detailed investigation and fix in
PR #612.
* Use Django’s FORCE_SCRIPT_NAME setting correctly. This
reverts a change from version 5.3.0 that added a call to
Django’s get_script_prefix() method outside of the request-
response cycle. Thanks to Sarah Boyce in PR #486.
* Compress files using a thread pool. This speeds up the
compression step up to four times in benchmarks. Thanks to
Anthony Ricaud in PR #484.
OBS-URL: https://build.opensuse.org/request/show/1219727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=11
* Raise any errors from threads in the whitenoise.compress
command. Regression in 6.8.0. Thanks to Tom Grainger for the
spotting this with a comment on PR #484.
* Drop Django 3.2 to 4.1 support.
* Drop Python 3.8 support.
* Support Python 3.13.
* Fix a bug introduced in version 6.0.0 where Range requests
could lead to database connection errors in other requests.
Thanks to Per Myren for the detailed investigation and fix in
PR #612.
* Use Django’s FORCE_SCRIPT_NAME setting correctly. This
reverts a change from version 5.3.0 that added a call to
Django’s get_script_prefix() method outside of the request-
response cycle. Thanks to Sarah Boyce in PR #486.
* Compress files using a thread pool. This speeds up the
compression step up to four times in benchmarks. Thanks to
Anthony Ricaud in PR #484.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=21
- update to 6.6.0:
* Support Django 5.0.
* Drop Python 3.7 support.
* Support Python 3.12.
* Changed documentation site URL from
``https://whitenoise.evans.io/`` to
``https://whitenoise.readthedocs.io/``.
* Support Django 4.2.
* Remove further support for byte strings from the ``root`` and
``prefix`` arguments to ``WhiteNoise``, and Django’s
``STATIC_ROOT`` setting.
* Django does not support ``STATIC_ROOT`` being a byte string.
* Add some video file extensions to be ignored during
compression.
* Remove the behaviour of decoding byte strings passed for
settings that take strings.
* Document “hidden” feature of setting ``max_age`` to ``None``
to disable the ``Cache-Control`` header.
* Drop support for working as old-style Django middleware, as
support was `removed in Django 2.0
- Update to version 6.2.0
* Add a manifest_strict setting to prevent Django throwing errors
OBS-URL: https://build.opensuse.org/request/show/1135358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=9
* Support Django 5.0.
* Drop Python 3.7 support.
* Support Python 3.12.
* Changed documentation site URL from
``https://whitenoise.evans.io/`` to
``https://whitenoise.readthedocs.io/``.
* Support Django 4.2.
* Remove further support for byte strings from the ``root`` and
``prefix`` arguments to ``WhiteNoise``, and Django’s
``STATIC_ROOT`` setting.
* Django does not support ``STATIC_ROOT`` being a byte string.
* Add some video file extensions to be ignored during
compression.
* Remove the behaviour of decoding byte strings passed for
settings that take strings.
* Document “hidden” feature of setting ``max_age`` to ``None``
to disable the ``Cache-Control`` header.
* Drop support for working as old-style Django middleware, as
support was `removed in Django 2.0
- Update to version 6.2.0
* Add a manifest_strict setting to prevent Django throwing errors
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=17
- Update to 6.0.0:
- Drop support for Python 3.5 and 3.6.
- Add support for Python 3.9 and 3.10.
- Drop support for Django 1.11, 2.0, and 2.1.
- Add support for Django 4.0.
- Import new MIME types from Nginx, changes:
- .avif files are now served with the image/avif MIME type.
- Open Document files with extensions .odg, .odp,
.ods, and .odt are now served with their respective
application/vnd.oasis.opendocument.* MIME types.
- The whitenoise.__version__ attribute has been removed. Use
importlib.metadata.version() to check the version of
Whitenoise if you need to.
- Requests using the Range header can no longer read beyond the
end of the requested range.
- Treat empty and "*" values for Accept-Encoding as if the
client doesn’t support any encoding.
- Gracefully handle unparsable If-Modified-Since headers
(thanks @danielegozzi).
- Add mimetype for Markdown (.md) files
- Various documentation improvements
- Add support for relative STATIC_URLs in settings, as allowed
in Django 3.1.
- Add mimetype for .mjs (JavaScript module) files and use
recommended text/javascript mimetype for .js files.
- Various documentation improvements (thanks @lukeburden).
- Add a manifest_strict setting to prevent Django throwing
errors when missing files are referenced.
- Fix packaging to indicate only Python 3.5+ compatibiity (thanks @mdalp).
OBS-URL: https://build.opensuse.org/request/show/956876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=6
- Drop support for Python 3.5 and 3.6.
- Add support for Python 3.9 and 3.10.
- Drop support for Django 1.11, 2.0, and 2.1.
- Add support for Django 4.0.
- Import new MIME types from Nginx, changes:
- .avif files are now served with the image/avif MIME type.
- Open Document files with extensions .odg, .odp,
.ods, and .odt are now served with their respective
application/vnd.oasis.opendocument.* MIME types.
- The whitenoise.__version__ attribute has been removed. Use
importlib.metadata.version() to check the version of
Whitenoise if you need to.
- Requests using the Range header can no longer read beyond the
end of the requested range.
- Treat empty and "*" values for Accept-Encoding as if the
client doesn’t support any encoding.
- Gracefully handle unparsable If-Modified-Since headers
(thanks @danielegozzi).
- Add mimetype for Markdown (.md) files
- Various documentation improvements
- Add support for relative STATIC_URLs in settings, as allowed
in Django 3.1.
- Add mimetype for .mjs (JavaScript module) files and use
recommended text/javascript mimetype for .js files.
- Various documentation improvements (thanks @lukeburden).
- Add a manifest_strict setting to prevent Django throwing
errors when missing files are referenced.
- Fix packaging to indicate only Python 3.5+ compatibiity (thanks @mdalp).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=11