Whitenoise

Latest version: v6.6.0

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

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.

Thanks to Richard Tibbles in `PR 322 <https://github.com/evansd/whitenoise/pull/322>`__.

* Treat empty and ``"*"`` values for ``Accept-Encoding`` as if the client doesn’t support any encoding.

Thanks to Richard Tibbles in `PR 323 <https://github.com/evansd/whitenoise/pull/323>`__.

5.3.0

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

* Gracefully handle unparsable ``If-Modified-Since`` headers (thanks `danielegozzi <https://github.com/danielegozzi>`_).

* Test against Django 3.2 (thanks `jhnbkr <https://github.com/jhnbkr>`_).

* Add mimetype for Markdown (``.md``) files (thanks `bz2 <https://github.com/bz2>`_).

* Various documentation improvements (thanks `PeterJCLaw <https://github.com/PeterJCLaw>`_ and `AliRn76 <https://github.com/AliRn76>`_).

5.2.0

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

* Add support for `relative STATIC_URLs <https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-STATIC_URL>`_ in settings, as allowed in Django 3.1.

* Add mimetype for ``.mjs`` (JavaScript module) files and use recommended ``text/javascript`` mimetype for ``.js`` files (thanks `hanswilw <https://github.com/hanswilw>`_).

* Various documentation improvements (thanks `lukeburden <https://github.com/lukeburden>`_).

5.1.0

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

* Add a :any:`manifest_strict <WHITENOISE_MANIFEST_STRICT>` setting to prevent Django throwing errors when missing files are referenced (thanks `MegacoderKim <https://github.com/MegacoderKim>`_).

5.0.1

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

* Fix packaging to indicate only Python 3.5+ compatibiity (thanks `mdalp <https://github.com/mdalp>`_).

5.0

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

.. note:: This is a major version bump, but only because it removes Python 2
compatibility. If you were already running under Python 3 then there should
be no breaking changes.

WhiteNoise is now tested on Python 3.5--3.8 and Django 2.0--3.0.

Other changes include:

* Fix incompatibility with Django 3.0 which caused problems with Safari (details `here <https://github.com/evansd/whitenoise/issues/240>`_).
Thanks `paltman <https://github.com/paltman>`_ and `giilby <https://github.com/giilby>`_ for diagnosing.

* Lots of improvements to the test suite (including switching to py.test).
Thanks `NDevox <https://github.com/ndevox>`_ and `Djailla <https://github.com/djailla>`_.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.