Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.11 KB

File metadata and controls

28 lines (19 loc) · 1.11 KB

[0.3.1] - 2026-02-24

  • Fix incorrect Cloudflare geolocation when an upstream proxy sits before Cloudflare
  • In :auto mode, compare CF-Connecting-IP with the target IP and fall back to MaxMind on mismatch
  • Normalize compared IPs with IPAddr so equivalent IPv6 / IPv4-mapped forms are treated as matches
  • Add tests covering matching and mismatching CF-Connecting-IP scenarios

[0.3.0] - 2026-02-08

  • Add 8 new geolocation fields: region, region_code, continent, timezone, latitude, longitude, postal_code, metro_code
  • All new fields available from both Cloudflare and MaxMind providers
  • All 10 Cloudflare "Add visitor location headers" now fully supported
  • Backward compatible — all new fields are optional, existing API unchanged
  • to_h now includes all new fields

[0.2.0] - 2026-01-02

  • Completely decouple Maxmind from the gem, making it optional
  • Add the provider pattern to support more Geo IP providers than MaxMind
  • Add support for Cloudflare IP headers out of the box

[0.1.1] - 2024-10-29

  • Fix config validationerror on deployment

[0.1.0] - 2024-10-29

  • Initial release