Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 29, 2025

This PR contains the following updates:

Package Change Age Confidence
com.maxmind.geoip2:geoip2 (source) 4.4.0 -> 5.0.1 age confidence

Release Notes

maxmind/GeoIP2-java (com.maxmind.geoip2:geoip2)

v5.0.1

Compare Source

  • Updated maxmind-db dependency to 4.0.1. This makes DecodedValue public
    again, allowing custom NodeCache implementations to be created. GitHub
    #​636.

v5.0.0

Compare Source

  • BREAKING: All model and record classes have been converted to Java records.
    This provides a more modern, immutable data model with automatic implementations
    of equals(), hashCode(), and toString(). The abstract classes
    AbstractRecord, AbstractNamedRecord, AbstractResponse,
    AbstractCountryResponse, AbstractCityResponse, and IpBaseResponse have
    been 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 but
    have been deprecated and will be removed in version 6.0.0.
  • BREAKING: RepresentedCountry is now a separate record type instead of
    extending Country. It shares the same fields as Country but adds a type
    field.
  • The deprecation notices for IP Risk database support have been removed.
    IP Risk database support will continue to be maintained.
  • A new Anonymizer record has been added to the InsightsResponse model. This
    record 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, and
    providerName.
  • A new ipRiskSnapshot field has been added to the Traits record. This field
    provides 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.
  • The anonymous IP flags in the Traits record (isAnonymous, isAnonymousVpn,
    isHostingProvider, isPublicProxy, isResidentialProxy, and isTorExitNode)
    have been deprecated in favor of using the new Anonymizer record in the
    InsightsResponse. These fields will continue to work but will be removed in
    version 6.0.0.
  • BREAKING: The deprecated WebServiceClient.Builder methods
    connectTimeout(int), readTimeout(int), and proxy(Proxy) have been
    removed. Use connectTimeout(Duration), requestTimeout(Duration), and
    proxy(ProxySelector) respectively.
  • BREAKING: The deprecated WebServiceClient.close() method has been
    removed along with the Closeable interface implementation.
  • BREAKING: The deprecated getUrl() methods in HttpException and
    InvalidRequestException have been removed. Use getUri() instead.
  • BREAKING: The deprecated Traits constructors and methods
    isAnonymousProxy() and isSatelliteProvider() have been removed. Use the
    GeoIP2 Anonymous IP database for anonymous proxy detection instead.
  • BREAKING: The deprecated Location.getMetroCode() method has been
    removed. Metro code values are no longer maintained.
  • BREAKING: Java 11 support has been dropped. Java 17 or later is now required.
  • BREAKING: Removed explicit serialVersionUID from all exception classes.
    Java will auto-generate serialVersionUID when needed, following modern practices.
  • BREAKING: Removed no longer necessary JacksonInject annotations for
    ip_address, network, and traits from several classes. The
    JsonInjector class was removed.
  • Public getter methods in non-record classes (e.g., DatabaseReader,
    exception classes) have been renamed to follow the same naming convention as
    records (e.g., metadata() instead of getMetadata()). The old getter
    methods are still available but have been deprecated and will be removed in
    version 6.0.0.

Configuration

📅 Schedule: Branch creation - "before 8am on saturday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate Renovate Bot label Nov 29, 2025
@renovate renovate bot force-pushed the renovate/com.maxmind.geoip2-geoip2-5.x branch 3 times, most recently from 118cb95 to e4bd635 Compare December 6, 2025 04:52
@renovate renovate bot force-pushed the renovate/com.maxmind.geoip2-geoip2-5.x branch from e4bd635 to dccfd87 Compare December 6, 2025 08:12
@renovate renovate bot force-pushed the renovate/com.maxmind.geoip2-geoip2-5.x branch from dccfd87 to 8c21e68 Compare December 6, 2025 08:16
@JuliusHenke JuliusHenke closed this Dec 8, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 8, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/com.maxmind.geoip2-geoip2-5.x branch December 8, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Renovate Bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants