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 whitenoise to 6.8.1 #5497

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

pyup-bot
Copy link
Collaborator

This PR updates whitenoise from 6.7.0 to 6.8.1.

Changelog

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 <https://github.com/evansd/whitenoise/pull/484#discussion_r1818989096>`__.

6.8.0

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

* 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 <https://github.com/evansd/whitenoise/pull/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.

.. |FORCE_SCRIPT_NAME| replace:: ``FORCE_SCRIPT_NAME``
__ https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-FORCE_SCRIPT_NAME

.. |get_script_prefix() method| replace:: ``get_script_prefix()`` method
__ https://docs.djangoproject.com/en/stable/ref/urlresolvers/#django.urls.get_script_prefix

Thanks to Sarah Boyce in `PR 486 <https://github.com/evansd/whitenoise/pull/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 <https://github.com/evansd/whitenoise/pull/484>`__.
Links

@browniebroke browniebroke merged commit 63044a0 into master Oct 29, 2024
15 checks passed
@browniebroke browniebroke deleted the pyup-update-whitenoise-6.7.0-to-6.8.1 branch October 29, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants