- IMPORTANT: Java 8 is now required. If you need Java 7 support, please
continue using 2.12.0. DatabaseReader
now provides the methods that return anOptional
rather
than throwing an exception when the record is not found in the database. These
methods are prefixed with "try". Closes #28. Pull request by Luke Butters.
GitHub #147.getNetwork()
methods have been added to the various response models. These
return acom.maxmind.db.Network
object representing the largest network
where all the fields besides the IP address are the same.- Updated documentation of anonymizer methods
isAnonymousVpn()
and
isHostingProvider()
to be more descriptive. - The
DatabaseReader
methodscity()
andcountry()
can now be called on
the Enterprise database and thecountry()
method can be called on City
databases. Request by Gergely Boromissza. GitHub #132. - New
getStaticIpScore()
andgetUserCount()
methods were added to
com.maxmind.geoip2.record.Traits
for use with GeoIP2 Precision Insights.
They represent a measure of how static or dynamic an IP address is, and an
estimate of the number of users sharing a given address or network,
respectively.