Whitenoise

Latest version: v6.8.2

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

Scan your dependencies

Page 3 of 8

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>`_.

4.1.4

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

* Make tests more deterministic and easier to run outside of ``tox``.

* Fix Fedora packaging `issue <https://github.com/evansd/whitenoise/issues/225>`_.

* Use `Black <https://github.com/psf/black>`_ to format all code.

4.1.3

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

* Fix handling of zero-valued mtimes which can occur when running on some filesystems (thanks `twosigmajab <https://github.com/twosigmajab>`_ for reporting).

* Fix potential path traversal attack while running in autorefresh mode on Windows (thanks `phith0n <https://github.com/phith0n>`_ for reporting).
This is a good time to reiterate that autofresh mode is never intended for production use.

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.