Skip to content

Releases: maxmind/GeoIP2-java

2.13.1

03 Mar 19:07

Choose a tag to compare

  • Update maxmind-db dependency to fix handling of long strings in the
    database. Reported by Dongmin Yu. GitHub #181.
  • Update Jackson dependencies.

2.13.0

18 Dec 23:10

Choose a tag to compare

  • IMPORTANT: Java 8 is now required. If you need Java 7 support, please
    continue using 2.12.0.
  • DatabaseReader now provides the methods that return an Optional rather
    than throwing an exception when the record is not found in the database. These
    methods are prefixed with "try". Closes #28. Pull request by Luke Butters.
    GitHub #147.
  • getNetwork() methods have been added to the various response models. These
    return a com.maxmind.db.Network object representing the largest network
    where all the fields besides the IP address are the same.
  • Updated documentation of anonymizer methods isAnonymousVpn() and
    isHostingProvider() to be more descriptive.
  • The DatabaseReader methods city() and country() can now be called on
    the Enterprise database and the country() method can be called on City
    databases. Request by Gergely Boromissza. GitHub #132.
  • New getStaticIpScore() and getUserCount() methods were added to
    com.maxmind.geoip2.record.Traits for use with GeoIP2 Precision Insights.
    They represent a measure of how static or dynamic an IP address is, and an
    estimate of the number of users sharing a given address or network,
    respectively.

2.12.0

11 Apr 15:41

Choose a tag to compare

  • Rename userId to accountId in various places and support the future error
    codes ACCOUNT_ID_REQUIRED and ACCOUNT_ID_UNKNOWN.

2.11.0

19 Jan 18:06

Choose a tag to compare

  • The web service client now correctly handles a proxy of Proxy.NO_PROXY.
  • The isInEuropeanUnion() method was added to
    com.maxmind.geoip2.record.Country. This returns true if the country
    is a member state of the European Union.

2.10.0

27 Oct 20:57

Choose a tag to compare

  • The following new anonymizer methods were added to
    com.maxmind.geoip2.record.Traits for use with GeoIP2 Precision Insights:
    isAnonymous(), isAnonymousVpn(), isHostingProvider(), isPublicProxy(),
    and isTorExitNode().

2.9.0

08 May 18:38

Choose a tag to compare

  • Added support for GeoLite2 ASN database.

2.8.1

22 Feb 16:06

Choose a tag to compare

  • Update maxmind-db dependency to fix jackson-databind version range
    issue. Closes GitHub #77.
  • Update most other dependencies.

2.8.0: Remove Google HTTP Client Dep. Require Java 7.

15 Sep 22:41

Choose a tag to compare

  • All changes included in 2.8.0-rc1.
  • Updated documentation to clarify what the accuracy radius refers to.

2.8.0-rc1: Use Apache HttpClient directly

20 Jun 14:46

Choose a tag to compare

  • IMPORTANT: Java 7 is now required. If you need Java 6 support, please
    continue using 2.7.0 or earlier.
  • This library no longer uses Google HTTP Client. It now directly uses
    Apache HttpClient. Closes #40, #66.
  • WebServiceClient now implements Closeable. A pool of connections will be
    kept alive to be used across requests. To ensure all connections are closed
    when the object goes out of scope, call close() or use the
    try-with-resource statement as appropriate.
  • Setting of a proxy for the WebServiceClient is now supported by the
    proxy(Proxy) builder method.
  • Updated documentation to reflect that the accuracy radius is now included
    in City.
  • Updated dependencies.

2.7.0: GeoIP2 Enterprise Support

15 Apr 21:23

Choose a tag to compare

  • Added support for the GeoIP2 Enterprise database.