Skip to content

2.0.0

Compare
Choose a tag to compare
@oschwald oschwald released this 24 Jan 22:54
c6e23d3
  • 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 classes were removed.
  • Removed deprecated response methods:
    • Email.getAddressMd5()
    • Subscores.getEmailTenure()
    • Subscores.getIpTenure()
  • Removed GeoIp2Country and its associated isHighRisk() method.
    IpAddress.getCountry() now returns a com.maxmind.geoip2.record.Country.
  • Removed deprecated Payment.Processor.VERAPAY enum value. Use VEREPAY
    instead.
  • Email.getDomain() will now return an empty object rather than null if
    there is no domain data. This is match other response model class getters.
  • Upgraded the geoip2 dependency to 2.16.1. This adds mobile country code
    (MCC) and mobile network code (MNC) to minFraud Insights and Factors
    responses. These are available at
    response.getIpAddress.getTraits.getMobileCountryCode() and
    response.getIpAddress.getTraits.getMobileNetworkCode(). We expect this
    data to be available by late January 2022.
  • The following payment processors were added to the Payment.Processor enum:
    • BOACOMPRA
    • BOKU
    • COREGATEWAY
    • FISERV
    • NEOPAY
    • NEOSURF
    • OPENBUCKS
    • PAYSERA
    • PAYVISION
    • TRUSTLY
    • WINDCAVE
  • com.maxmind.minfraud.request.CreditCard.last4Digits has been deprecated in
    favor of lastDigits and will be removed in a future release. lastDigits
    / last4Digits also now supports two digit values in addition to the
    previous four digit values.
  • Eight digit com.maxmind.minfraud.request.CreditCard.issuerIdNumber inputs are
    now supported in addition to the previously accepted six digit issuerIdNumber.
    In most cases, you should send the last four digits for
    com.maxmind.minfraud.request.CreditCard.last4Digits. If you send a
    issuerIdNumber that contains an eight digit IIN, and if the credit card brand
    is not one of the following, you should send the last two digits for
    lastDigits:
    • Discover
    • JCB
    • Mastercard
    • UnionPay
    • Visa
  • Apache Commons Codec is no longer used for generating MD5s.