Update dependency com.maxmind.geoip2:geoip2 to v5 - #65
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/com.maxmind.geoip2-geoip2-5.x
branch
2 times, most recently
from
December 8, 2025 20:11
94af19e to
1add74a
Compare
renovate
Bot
force-pushed
the
renovate/com.maxmind.geoip2-geoip2-5.x
branch
from
May 12, 2026 20:25
1add74a to
88a76a5
Compare
renovate
Bot
force-pushed
the
renovate/com.maxmind.geoip2-geoip2-5.x
branch
from
July 18, 2026 11:06
88a76a5 to
6278bda
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.2.1→5.2.0Release Notes
maxmind/GeoIP2-java (com.maxmind.geoip2:geoip2)
v5.2.0Compare Source
residentialfield has been added to theAnonymizerrecord. Thisis an
AnonymizerFeedrecord containingconfidence,networkLastSeen,and
providerNamefields with residential proxy data for the network.residentialmay be populated even when none of the other fields onAnonymizerare set. TheAnonymizerFeedrecord is intended to be reusedfor additional feeds, such as VPNs, mobile networks, and hosting or
datacenter providers, that may be added in the future.
v5.1.0Compare Source
maxmind-dbdependency to 4.1.0. This release fixes an issue withunbounded off-heap memory growth when using
FileMode.MEMORYand a latentshort-read bug when loading databases larger than 2GB into memory.
WebServiceClient.Builder.maxRetries(int)to bound transport-failureretries (default 1; set 0 to disable). See the README for retry semantics.
Behavior change: previously, transient transport failures (connection
reset, broken pipe, etc.) surfaced to callers immediately. They are now
retried once by default; pass
.maxRetries(0)to restore the priorbehavior.
v5.0.2Compare Source
IpRiskResponsefrom the IP Risk database wouldfail when the
ip_riskfield was not present in the database record. TheipRiskfield now defaults to 0.0 when not present. A value of 0.0 indicatesthat the risk score was not set in the database. In a future major release,
this field may be changed to a nullable
Doubleto better distinguish between"no data" and "zero risk". Reported by Fabrice Bacchella. GitHub #644.
maxmind-dbdependency to 4.0.2. This fixes a bug where enums with@MaxMindDbCreatorwould throwConstructorNotFoundExceptionwhen the datawas stored via a pointer in the database, commonly occurring with deduplicated
data in larger databases. It also improves error messages when constructor
invocation fails. Reported by Fabrice Bacchella. GitHub #644.
v5.0.1Compare Source
maxmind-dbdependency to 4.0.1. This makesDecodedValuepublicagain, allowing custom
NodeCacheimplementations to be created. GitHub#636.
v5.0.0Compare Source
This provides a more modern, immutable data model with automatic implementations
of
equals(),hashCode(), andtoString(). The abstract classesAbstractRecord,AbstractNamedRecord,AbstractResponse,AbstractCountryResponse,AbstractCityResponse, andIpBaseResponsehavebeen removed. Record components can be accessed using the new accessor methods
(e.g.,
city(),country(),location()). The traditional getter methods(e.g.,
getCity(),getCountry(),getLocation()) are still available buthave been deprecated and will be removed in version 6.0.0.
RepresentedCountryis now a separate record type instead ofextending
Country. It shares the same fields asCountrybut adds atypefield.
IP Risk database support will continue to be maintained.
Anonymizerrecord has been added to theInsightsResponsemodel. Thisrecord consolidates anonymizer information including VPN confidence scores,
network last seen dates, and provider names. It includes the following fields:
confidence,isAnonymous,isAnonymousVpn,isHostingProvider,isPublicProxy,isResidentialProxy,isTorExitNode,networkLastSeen, andproviderName.ipRiskSnapshotfield has been added to theTraitsrecord. This fieldprovides a static risk score (ranging from 0.01 to 99) associated with the IP
address. This is available from the GeoIP2 Precision Insights web service.
Traitsrecord (isAnonymous,isAnonymousVpn,isHostingProvider,isPublicProxy,isResidentialProxy, andisTorExitNode)have been deprecated in favor of using the new
Anonymizerrecord in theInsightsResponse. These fields will continue to work but will be removed inversion 6.0.0.
WebServiceClient.BuildermethodsconnectTimeout(int),readTimeout(int), andproxy(Proxy)have beenremoved. Use
connectTimeout(Duration),requestTimeout(Duration), andproxy(ProxySelector)respectively.WebServiceClient.close()method has beenremoved along with the
Closeableinterface implementation.getUrl()methods inHttpExceptionandInvalidRequestExceptionhave been removed. UsegetUri()instead.Traitsconstructors and methodsisAnonymousProxy()andisSatelliteProvider()have been removed. Use theGeoIP2 Anonymous IP database for anonymous proxy detection instead.
Location.getMetroCode()method has beenremoved. Metro code values are no longer maintained.
serialVersionUIDfrom all exception classes.Java will auto-generate serialVersionUID when needed, following modern practices.
JacksonInjectannotations forip_address,network, andtraitsfrom several classes. TheJsonInjectorclass was removed.DatabaseReader,exception classes) have been renamed to follow the same naming convention as
records (e.g.,
metadata()instead ofgetMetadata()). The old gettermethods are still available but have been deprecated and will be removed in
version 6.0.0.
v4.4.0Compare Source
WebServiceClient.Buildernow has anhttpClient()method to allowpassing in a custom
HttpClient.v4.3.1Compare Source
v4.3.0Compare Source
lookup in this database, use the
anonymousPlusmethod onDatabaseReader.getMetroCodein theLocationmodel has been deprecated. The codevalues are no longer being maintained.
Configuration
📅 Schedule: (in timezone Europe/Helsinki)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.