Announcing WhiteNoise 6

I guess, like the white keys let you make noise, white - noise, whitenoise. Get it?

WhiteNoise is a simple solution to serving static assets. It lets you skip configuring a separate web server for your static assets, and serve them straight from Django. It’s a brilliant tool. I’ve used it for years on various projects, and I’ve recommended it many times, and mentioned it in several blog posts.

WhiteNoise was created by Dave Evans in 2013. I’ve met Dave several times at the London Django Meetup. Recently the project’s maintenance was getting a bit backlogged, so I volunteered to help and Dave accepted :)

I got to work adding support for modern Python and Django versions, dropping old ones, and merging in a few feature requests. I just released these accumulated changes as version 6.0.0.

Nothing drastic has changed for the major version bump - most users should not be affected. setuptools’s python_requires field also ensures users on outdated Python versions still install older WhiteNoise versions. But there are enough changes that it felt like a major number was needed, and version numbers are cheap.

Here are the changelog entries for 6.0.0:

Thanks very much to Richard Tibbles and Paolo Melchiorre for contributions towards this release. And thanks to Dave Evans for creating such a useful package.

There are still some open issues and PRs I hope to look at - including an ASGI adapter. Exciting.

Upgrade and let me know if you have any problems!

—Adam


Newly updated: my book Boost Your Django DX now covers Django 5.0 and Python 3.12.


Subscribe via RSS, Twitter, Mastodon, or email:

One summary email a week, no spam, I pinky promise.

Related posts:

Tags: