Releases: maxmind/GeoIP2-java
Releases · maxmind/GeoIP2-java
2.3.0
- Add support for the
average_income
andpopulation_density
fields. - The
isAnonymousProxy()
andisSatelliteProvider()
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
- 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
andInsightsResponse
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
andLocation
classes are no longer declared final. AbstractResponse
is now declaredabstract
.
2.1.0
2.0.0
0.10.0
- The deprecated
cityIspOrg()
andomni()
methods have been removed from
DatabaseReader
andWebServiceClient
. - 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
- The
timeout
setter onWebServiceClient.Builder
was renamed to
connectTimeout
and areadTimeout
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
0.8.0
- The web service client API has been updated for the v2.1 release of the web
service. In particular, thecityIspOrg
andomni
methods on
WebServiceClient
have been deprecated. Thecity
method now provides all
of the data formerly provided bycityIspOrg
, and theomni
method has
been replaced by theinsights
method. - Support was added for the GeoIP2 Connection Type, Domain, and ISP databases.