Whitenoise

Latest version: v6.6.0

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

Scan your dependencies

Page 6 of 7

2.0.2

Not secure
------------------

* More helpful error message when ``STATIC_URL`` is set to the root of a domain (thanks dominicrodger).

2.0.1

Not secure
------------------

* Add support for Python 2.6.

* Add a more helpful error message when attempting to import DjangoWhiteNoise before ``DJANGO_SETTINGS_MODULE`` is defined.

2.0

Not secure
----------------

* Add an ``autorefresh`` mode which picks up changes to static files made after application startup (for use in development).

* Add a ``use_finders`` mode for DjangoWhiteNoise which finds files in their original directories without needing them collected in ``STATIC_ROOT`` (for use in development).
Note, this is only useful if you don't want to use Django's default runserver behaviour.

* Remove the ``follow_symlinks`` argument from ``add_files`` and now always follow symlinks.

* Support extra mimetypes which Python doesn't know about by default (including .woff2 format)

* Some internal refactoring. Note, if you subclass WhiteNoise to add custom behaviour you may need to make some small changes to your code.

1.0.6

Not secure
------------------

* Fix unhelpful exception inside `make_helpful_exception` on Python 3 (thanks abbottc).

1.0.5

Not secure
------------------

* Fix error when attempting to gzip empty files (thanks ryanrhee).

1.0.4

Not secure
------------------

* Don't attempt to gzip ``.woff`` files as they're already compressed.

* Base decision to gzip on compression ratio achieved, so we don't incur gzip overhead just to save a few bytes.

* More helpful error message from ``collectstatic`` if CSS files reference missing assets.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.