Whitenoise

Latest version: v6.8.2

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

Scan your dependencies

Page 7 of 8

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.

1.0.3

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

* Fix bug in Last Modified date handling (thanks to Atsushi Odagiri for spotting).

1.0.2

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

* Set the default max_age parameter in base class to be what the docs claimed it was.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.