Skip to content

Conversation

@phillip-stephens
Copy link
Contributor

Changes

  • Remove the geoip2-mode option, the largest dataset from MaxMind is GeoLite-City at 62 MB. I don't see a compelling reason to leave a flag letting users memory-map this file when it's this small. We already have a large quantity of flags. But I could be convinced if there's some dataset I'm not considering.
  • Add documentation on where to find the MaxMind GeoLite datasets/where to sign up/etc
  • Swap code usage of Maxmind GeoIP2 to MaxMind GeoLite since it seems this is what they're calling it now.

Verified that with current data downloads, this module is still working. I'm not going to add unit tests with a copy of the data download since looking at their EULA they don't permit redistribution of their data downloads.

@phillip-stephens
Copy link
Contributor Author

@zakird Thoughts on my first point about the mode flag, do we need to keep this?

@zakird
Copy link
Member

zakird commented Oct 1, 2025

@phillip-stephens I don't fully know why we'd get rid of it given that we have it? Is it causing harm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants