Releases: imbolc/axum-client-ip
Releases Β· imbolc/axum-client-ip
v0.6.1
CloudFront-Viewer-Address
v0.5.1
What's Changed
- provide FromStr impl for SecureClientIpSource by @maxcountryman in #25
New Contributors
- @maxcountryman made their first contribution in #25
Full Changelog: v0.5.0...v0.5.1
Axum-0.7
What's Changed
- Disable unused axum features by @paolobarbolini in #20
- Bump axum to 0.7.1 by @cole-h in #21
New Contributors
- @paolobarbolini made their first contribution in #20
- @cole-h made their first contribution in #21
Full Changelog: v0.4.2...v0.5.0
Public `InsecureClientIp::from` and `SecureClientIp::from`
Fix docs links to examples
v0.4.1 Fix docs links to examples
Secure and Insecure client IPs
The API has been split into two parts: SecureClientIp
and InsecureClientIp
.
If you're happy with the previous behaviour just use InsecureClientIp
instead of ClientIp
extractor.
But if you care even a bit about potential spoofing, take a look at the README to understand the defference between "secure" and "insecure" options.
Use the last IP from `X-Forwarded-For` header
A bugfix release - it's now uses the last IP from the X-Forwarded-For
header.
Thank you @dae π
Adapt for axum 0.6
Thank you @kavin-kr π
Adapt for axum 0.5
Thank you, @dalloriam π