- Java 11 or greater is now required.
- Apache HttpClient has been replaced with
java.net.http.HttpClient
. - The
close()
method onWebServiceClient
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 ofproxy(ProxySelector)
.
- On
HttpException
andInvalidRequestException
,getUrl()
has been
deprecated in favor ofgetUri()
. Constructors that took aURL
have
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
,
andSubdivision
now returns aLong
rather than anInteger
.getAutonomousSystemNumber()
onAsnResponse
andTraits
now returns
aLong
rather than anInteger
.