geoip2-golang

Unofficial MaxMind GeoIP2 Reader for Go

ISC License

Stars
1.9K
Committers
19

Bot releases are visible (Hide)

geoip2-golang - 1.11.0 Latest Release

Published by oschwald 5 months ago

  • Go 1.21 or greater is now required.
  • The new is_anycast output is now supported on the GeoIP2 Country, City, and Enterprise databases. #119.

Note: 1.10.0 was accidentally skipped.

geoip2-golang - 1.9.0

Published by oschwald over 1 year ago

  • Rearrange fields in structs to reduce memory usage. Although this
    does reduce readability, these structs are often created at very
    rates, making the trade-off worth it.
geoip2-golang - 1.8.0

Published by oschwald about 2 years ago

  • Set Go version to 1.18 in go.mod.
geoip2-golang - 1.7.0

Published by oschwald over 2 years ago

  • Set the minimum Go version in the go.mod file to 1.17.
  • Updated dependencies.
geoip2-golang - 1.6.1

Published by oschwald over 2 years ago

  • This is a re-release with the changes that were supposed to be in 1.6.0.
geoip2-golang - 1.6.0

Published by oschwald over 2 years ago

  • Add support for new mobile_country_code and mobile_network_code outputs
    on GeoIP2 ISP and GeoIP2 Enterprise.
geoip2-golang - 1.5.0

Published by oschwald over 3 years ago

  • Add StaticIPScore field to Enterprise. Pull request by Pierre
    Bonzel. GitHub #54.
  • Add IsResidentialProxy field to AnonymousIP. Pull request by
    Brendan Boyle. GitHub #72.
  • Support DBIP-ASN-Lite database. Requested by Muhammad Hussein
    Fattahizadeh. GitHub #69.
geoip2-golang - 1.4.0

Published by oschwald almost 5 years ago

  • This module now uses Go modules. Requested by Axel Etcheverry.
    GitHub #52.
  • DBIP databases are now supported. Requested by jaw0. GitHub #45.
  • Allow using the ASN method with the GeoIP2 ISP database. Pull request
    by lspgn. GitHub #47.
  • The example in the README.md now checks the length of the
    subdivision slice before using it. GitHub #51.
geoip2-golang - 1.3.0

Published by oschwald about 5 years ago

  • Added support for the GeoIP2 Enterprise database.
geoip2-golang - 1.2.1

Published by oschwald over 6 years ago

  • HTTPS is now used for the test data submodule rather than the Git
    protocol
geoip2-golang - 1.2.0

Published by oschwald over 6 years ago

  • The country structs for geoip2.City and geoip2.Country now have an
    IsInEuropeanUnion boolean field. This is true when the associated
    country is a member state of the European Union. This requires a
    database built on or after February 13, 2018.
  • Switch from Go Check to Testify. Closes #27
geoip2-golang - 1.1.0

Published by oschwald over 7 years ago

  • Add support for the GeoLite2 ASN database.
  • Add support for the GeoIP2 City by Continent databases. GitHub #26.
geoip2-golang - 1.0.0

Published by oschwald almost 8 years ago

New release for those using tagged releases. Closes #21.