Skip to content

Releases: maxmind/minfraud-api-java

3.5.0

08 Jul 21:20
29417a6

Choose a tag to compare

  • Updated TransactionReport to make the ipAddress parameter optional. Now
    the tag and at least one of the following parameters must be supplied:
    ipAddress, maxmindId, minfraudId, transactionId.
  • The TransactionReport.Builder(INetAddress, Tag) constructor has been
    deprecated in favor of the new TransactionReport.Builder(Tag) constructor.
  • Added getBillingPhone and getShippingPhone methods to the minFraud
    Insights and Factors response models. These contain objects with information
    about the respective phone numbers. Please see our developer
    site
    for
    more information.
  • Added PAYCONEX to the Payment.Processor enum.

3.4.0

16 Apr 21:23
5be67c6

Choose a tag to compare

  • Added PXP_FINANCIAL and TRUSTPAY to the Payment.Processor enum.
  • Equivalent domain names are now normalized when hashAddress is used.
    For example, googlemail.com will become gmail.com.
  • Periods are now removed from gmail.com email address local parts when
    hashAddress is used. For example, f.o.o@gmail.com will become
    foo@gmail.com.
  • Fastmail alias subdomain email addresses are now normalized when
    hashAddress is used. For example, alias@user.fastmail.com will become
    user@fastmail.com.
  • Additional yahoo.com email addresses now have aliases removed from
    their local part when hashAddress is used. For example,
    foo-bar@yahoo.com will become foo@yahoo.com for additional
    yahoo.com domains.
  • Duplicate .coms are now removed from email domain names when
    hashAddress is used. For example, example.com.com will become
    example.com.
  • Certain TLD typos are now normalized when hashAddress is used. For
    example, example.comcom will become example.com.
  • Additional gmail.com domain names with leading digits are now
    normalized when hashAddress is used. For example, 100gmail.com will
    become gmail.com.
  • Additional gmail.com typos are now normalized when hashAddress is
    used. For example, gmali.com will become gmail.com.
  • When hashAddress is used, all trailing periods are now removed from an
    email address domain. Previously only a single period was removed.
  • When hashAddress is used, the local part of an email address is now
    normalized to NFC.

3.3.0

05 Dec 20:18
b774944

Choose a tag to compare

  • Updated geoip2 dependency to version that includes the isAnycast method
    on com.maxmind.geoip2.record.Traits. This returns true if the IP
    address belongs to an anycast network.
    This is available in minFraud Insights and Factors.

1.19.0

21 Nov 18:50
216bb92

Choose a tag to compare

  • Updated model classes with non-breaking changes from the 3.2.0
    release.
  • Updated Jackson and geoip2 dependencies.

3.2.0

27 Oct 20:13
06bd534

Choose a tag to compare

  • Updated geoip2 to 4.1.0 to prevent exception when deserializing the
    new Satellite value to the ConnectionType enum. Pull request by
    Neal Zhu. GitHub #278.
  • Jackson was updated to 2.15.2.

3.1.0

02 Mar 20:13
1303121

Choose a tag to compare

  • com.maxmind.geoip2 is now a transitive dependency of this Java module.
  • Added PLACETOPAY to the Payment.Processor enum.

3.0.0

12 Dec 23:51
ae149bb

Choose a tag to compare

  • This library is now a Java module.
  • Removed deprecated last4Digits method on CreditCard.Builder and
    getLast4Digits method on CreditCard. Use lastDigits and
    getLastDigits instead.
  • Removed deprecated connectTimeout(int), readTimeout(int), and
    proxy(Proxy) on WebServiceClient.Builder. Use
    connectTimeout(Duration), requestTimeout(Duration), and
    proxy(ProxySelector) instead.
  • WebServiceClient no longer implements Closeable and the Close
    method has been removed. This method was deprecated when the library
    switched to using java.net.http.HttpClient.

2.2.0

31 Oct 20:04
d35f98d

Choose a tag to compare

  • Added GOOGLE_PAY and SHOPIFY_PAYMENTS to the Payment.Processor enum.
  • Updated Jackson and GeoIP2 dependencies.

2.1.0

28 Mar 17:52
2830483

Choose a tag to compare

  • Added the input /credit_card/country. This is the country where the
    issuer of the card is located. This may be passed instead of the
    /credit_card/issuer_id_number if you do not wish to pass partial
    account numbers or if your payment processor does not provide them. You
    may provide this using the country method on CreditCard.Builder.

2.0.0

24 Jan 22:54
c6e23d3

Choose a tag to compare

  • 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.