Skip to content

3.0.0

Compare
Choose a tag to compare
@oschwald oschwald released this 24 Jan 21:08
  • 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.