Skip to content

Releases: maxmind/GeoIP2-java

2.3.0

07 Jul 19:04
Compare
Choose a tag to compare
  • Add support for the average_income and population_density fields.
  • The isAnonymousProxy() and isSatelliteProvider() methods on
    com.maxmind.geoip2.record.Traits have been deprecated. Please use our
    [GeoIP2 Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous-
    ip-database) to determine whether an IP address is used by an anonymizing
    service.

2.2.0

24 Apr 22:12
Compare
Choose a tag to compare
  • A DatabaseProvider interface has been added to facilitate mocking of
    DatabaseReader. Pull request by Yonatan Most. GitHub #34.
  • A getLeastSpecificSubdivision() method has been added to the
    CityResponse and InsightsResponse model classes. This returns the
    least specific subdivision for the location, e.g., England for Oxford,
    GB. Pull request by Daniel Kaneider. GitHub #35.
  • The InsightsResponse and Location classes are no longer declared final.
  • AbstractResponse is now declared abstract.

2.1.0

06 Nov 18:40
Compare
Choose a tag to compare
  • Added support for the GeoIP2 Anonymous IP database. The DatabaseReader
    class now has an anonymousIp() method which returns an
    AnonymousIpResponse object.

2.0.0

29 Sep 21:18
Compare
Choose a tag to compare
  • First production release.

0.10.0

23 Sep 22:29
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release
  • The deprecated cityIspOrg() and omni() methods have been removed from
    DatabaseReader and WebServiceClient.
  • The lookup methods on DatabaseReader now throw an
    UnsupportedOperationException if the incorrect method is used for the
    database.
  • DatabaseReader now provides the metadata for the database through the
    getDatabase() method.
  • All of our dependencies were updated to the latest available version.

timeout deprecated and replaced

02 Sep 22:41
Compare
Choose a tag to compare
Pre-release
  • The timeout setter on WebServiceClient.Builder was renamed to
    connectTimeout and a readTimeout setter was added. The former timeout
    sets the timeout to establish a connection and the latter sets the timeout
    for reading from an established connection.

0.8.1

27 Aug 19:46
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release
  • Updated to depend on the latest version of com.maxmind.db and
    com.fasterxml.jackson.core.

0.8.0

22 Jul 16:57
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release
  • The web service client API has been updated for the v2.1 release of the web
    service. In particular, the cityIspOrg and omni methods on
    WebServiceClient have been deprecated. The city method now provides all
    of the data formerly provided by cityIspOrg, and the omni method has
    been replaced by the insights method.
  • Support was added for the GeoIP2 Connection Type, Domain, and ISP databases.

0.7.2

02 Jun 15:39
Compare
Choose a tag to compare
0.7.2 Pre-release
Pre-release
  • Updated to version 0.3.3 of maxmind-db, which fixes a potential resource
    leak when used with a thread pool.
  • Updated Google HTTP Client dependency.
  • The Maven build was updated to include a zip file with all dependencies.

0.7.1

02 Apr 23:08
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release
  • Added toJson method to response objects.
  • Fixed a potential issue when using the WebServiceClient in multi-threaded
    applications.
  • Updated documentation.