Releases: maxmind/GeoIP2-java
Releases · maxmind/GeoIP2-java
4.0.1
4.0.0
3.0.2
3.0.1
3.0.0
- Java 11 or greater is now required.
- Apache HttpClient has been replaced with
java.net.http.HttpClient. - The
close()method onWebServiceClientis 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 ofproxy(ProxySelector).
- On
HttpExceptionandInvalidRequestException,getUrl()has been
deprecated in favor ofgetUri(). Constructors that took aURLhave
been replaced with the equivalent taking aURI. - Deprecated constructors on model and trait classes were removed.
- Model data types were updated to better reflect database data types. In
particular:getGeoNameId()onCity,Continent,Country,RepresentedCountry,
andSubdivisionnow returns aLongrather than anInteger.getAutonomousSystemNumber()onAsnResponseandTraitsnow returns
aLongrather than anInteger.
2.16.1
2.16.0
- 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 tocom.maxmind.geoip2.model.IspResponse
for the GeoIP2 ISP database andcom.maxmind.geoip2.record.Traitsfor 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
2.15.0-rc1
- The HTTP client now allows up to 20 connections to be active at once.
Previously the limit was 2. - Update
maxmind-dbdependency to a new version that no longer uses
Jackson. This improves database lookup performance. - The
isResidentialProxy()method was added to
com.maxmind.geoip2.model.AnonymousIpResponseand
com.maxmind.geoip2.record.Traitsfor use with the Anonymous IP database
and GeoIP2 Precision insights.