chore(deps): update dependency com.maxmind.geoip2:geoip2 to v5 #558
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.4.0->5.0.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
maxmind/GeoIP2-java (com.maxmind.geoip2:geoip2)
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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.