Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 5, 2025

Bumps com.maxmind.geoip2:geoip2 from 4.4.0 to 5.0.1.

Release notes

Sourced from com.maxmind.geoip2:geoip2's releases.

5.0.1

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

5.0.0

  • 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.

... (truncated)

Changelog

Sourced from com.maxmind.geoip2:geoip2's changelog.

5.0.1 (2025-12-02)

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

5.0.0 (2025-11-20)

  • 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

... (truncated)

Commits
  • ed9b34b Preparing for 5.0.1
  • d588f5b Updated maxmind-db dependency to 4.0.1
  • 2acb946 Merge pull request #638 from maxmind/dependabot/maven/org.codehaus.mojo-versi...
  • 79921ca Merge pull request #639 from maxmind/dependabot/maven/org.apache.maven.plugin...
  • 6fc1f42 Merge pull request #640 from maxmind/dependabot/maven/org.apache.maven.plugin...
  • c7146e0 Bump org.apache.maven.plugins:maven-assembly-plugin from 3.7.1 to 3.8.0
  • 9f17f59 Bump org.apache.maven.plugins:maven-source-plugin from 3.3.1 to 3.4.0
  • 430979d Bump org.codehaus.mojo:versions-maven-plugin from 2.20.0 to 2.20.1
  • d0368c7 Merge pull request #637 from maxmind/dependabot/maven/org.codehaus.mojo-versi...
  • f971f9b Bump org.codehaus.mojo:versions-maven-plugin from 2.19.1 to 2.20.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.maxmind.geoip2:geoip2](https://github.com/maxmind/GeoIP2-java) from 4.4.0 to 5.0.1.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/main/CHANGELOG.md)
- [Commits](maxmind/GeoIP2-java@v4.4.0...v5.0.1)

---
updated-dependencies:
- dependency-name: com.maxmind.geoip2:geoip2
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Dependabot tag java Dependabot gradle tag labels Dec 5, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 12, 2025

Superseded by #4382.

@dependabot dependabot bot closed this Dec 12, 2025
@dependabot dependabot bot deleted the dependabot/gradle/Plan/com.maxmind.geoip2-geoip2-5.0.1 branch December 12, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependabot tag java Dependabot gradle tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant