Skip to content

Releases: maxmind/GeoIP2-java

2.16.0

18 Nov 20:26
Compare
Choose a tag to compare
  • Support for mobile country code (MCC) and mobile network codes (MNC) was
    added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2
    City and Insights web services. getMobileCountryCode() and
    getMobileNetworkCode() were added to com.maxmind.geoip2.model.IspResponse
    for the GeoIP2 ISP database and com.maxmind.geoip2.record.Traits for the
    Enterprise database and the GeoIP2 City and Insights web services. We expect
    this data to be available by late January, 2022.
  • Deprecated model constructors that exist for backwards compatibility.
    These constructors are not generally used by users of this library
    directly except perhaps when mocking the reader in tests.

2.15.0

14 Oct 14:40
Compare
Choose a tag to compare
  • No changes since 2.15.0-rc1.

2.15.0-rc1

29 Sep 21:56
Compare
Choose a tag to compare
  • The HTTP client now allows up to 20 connections to be active at once.
    Previously the limit was 2.
  • Update maxmind-db dependency to a new version that no longer uses
    Jackson. This improves database lookup performance.
  • The isResidentialProxy() method was added to
    com.maxmind.geoip2.model.AnonymousIpResponse and
    com.maxmind.geoip2.record.Traits for use with the Anonymous IP database
    and GeoIP2 Precision insights.

2.14.0

15 Jun 22:02
Compare
Choose a tag to compare
  • Update maxmind-db dependency to reduce locking when being used from
    multiple threads and to improve the exceptions thrown on an invalid
    database.
  • Update Jackson dependencies.

2.13.1

03 Mar 19:07
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Added support for GeoLite2 ASN database.