Skip to content

Releases: maxmind/GeoIP2-java

4.0.1

02 Mar 18:32
5079127

Choose a tag to compare

  • com.maxmind.db is now a transitive dependency of this Java module.

4.0.0

12 Dec 20:37
7d846e9

Choose a tag to compare

  • This library is now a Java module.
  • Added support for the GeoIP2 IP Risk database.

3.0.2

31 Oct 19:43
121374e

Choose a tag to compare

  • Updated Jackson and maxmind-db dependencies.

3.0.1

29 Mar 16:02
ddcc4c4

Choose a tag to compare

  • Updated Jackson dependencies to address CVE-2020-36518. Pull request by
    slunker. GitHub #306.
  • Minor doc updates.

3.0.0

24 Jan 21:08
4fb0817

Choose a tag to compare

  • Java 11 or greater is now required.
  • Apache HttpClient has been replaced with java.net.http.HttpClient.
  • The close() method on WebServiceClient is now deprecated. It
    no longer does anything.
  • On WebServiceClient.Builder:
    • connectTimeout(int) has been deprecated in favor of
      connectTimeout(Duration).
    • readTimeout(int) has been deprecated in favor of
      requestTimeout(Duration).
    • proxy(Proxy) has been deprecated in favor of proxy(ProxySelector).
  • On HttpException and InvalidRequestException, getUrl() has been
    deprecated in favor of getUri(). Constructors that took a URL have
    been replaced with the equivalent taking a URI.
  • Deprecated constructors on model and trait classes were removed.
  • Model data types were updated to better reflect database data types. In
    particular:
    • getGeoNameId() on City, Continent, Country, RepresentedCountry,
      and Subdivision now returns a Long rather than an Integer.
    • getAutonomousSystemNumber() on AsnResponse and Traits now returns
      a Long rather than an Integer.

2.16.1

18 Nov 23:12
131a8b0

Choose a tag to compare

  • Added JsonProperty annotations to getMobileCountryCode() and
    getMobileNetworkCode() so that it is possible to serialize the
    object as JSON and then deserialize without losing data.

2.16.0

18 Nov 20:26
be304f6

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

Choose a tag to compare

  • No changes since 2.15.0-rc1.

2.15.0-rc1

29 Sep 21:56

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

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.