Releases: maxmind/GeoIP2-java
Releases · maxmind/GeoIP2-java
2.16.0
- Support for mobile country code (MCC) and mobile network codes (MNC) was
added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2
City and Insights web services.getMobileCountryCode()
and
getMobileNetworkCode()
were added tocom.maxmind.geoip2.model.IspResponse
for the GeoIP2 ISP database andcom.maxmind.geoip2.record.Traits
for the
Enterprise database and the GeoIP2 City and Insights web services. We expect
this data to be available by late January, 2022. - Deprecated model constructors that exist for backwards compatibility.
These constructors are not generally used by users of this library
directly except perhaps when mocking the reader in tests.
2.15.0
2.15.0-rc1
- The HTTP client now allows up to 20 connections to be active at once.
Previously the limit was 2. - Update
maxmind-db
dependency to a new version that no longer uses
Jackson. This improves database lookup performance. - The
isResidentialProxy()
method was added to
com.maxmind.geoip2.model.AnonymousIpResponse
and
com.maxmind.geoip2.record.Traits
for use with the Anonymous IP database
and GeoIP2 Precision insights.
2.14.0
2.13.1
2.13.0
- 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.