Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@RealOrangeOne RealOrangeOne released this 18 Jun 10:44
a60509e

Breaking change for IP detection ⚠️

IP detection has now been delegated to the user to implement, as the configuration varies massively depending on the deployment environment. Now, BasicAuthIPWhitelistMiddleware uses request.META["REMOTE_ADDR"] as the client's IP, which corresponds to the IP address connecting to Django.

In most deployments, the X-Forwarded-For header can be used to correctly determine the client's IP. We recommend django-xff to help parse this header correctly. Because django-xff overrides REMOTE_ADDR by default, it is natively supported by BasicAuthIPWhitelistMiddleware.

What's Changed

New Contributors

Full Changelog: v0.5...v0.6.0