diff --git a/CHANGELOG.md b/CHANGELOG.md index aa628af5..0799b303 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ CHANGELOG ========= -5.1.0 (unreleased) +5.1.0 (2026-05-12) ------------------ +* Updated `maxmind-db` dependency to 4.1.0. This release fixes an issue with + unbounded off-heap memory growth when using `FileMode.MEMORY` and a latent + short-read bug when loading databases larger than 2GB into memory. * Added `WebServiceClient.Builder.maxRetries(int)` to bound transport-failure retries (default 1; set 0 to disable). See the README for retry semantics. **Behavior change:** previously, transient transport failures (connection diff --git a/README.md b/README.md index e72907eb..78bfe7e7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To do this, add the dependency to your pom.xml: com.maxmind.geoip2 geoip2 - 5.0.2 + 5.1.0 ``` @@ -30,7 +30,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.maxmind.geoip2:geoip2:5.0.2' + implementation 'com.maxmind.geoip2:geoip2:5.1.0' } ``` diff --git a/mise.lock b/mise.lock index 0145b93f..05c091e5 100644 --- a/mise.lock +++ b/mise.lock @@ -1,7 +1,7 @@ # @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html [[tools.java]] -version = "26.0.0" +version = "26.0.1" backend = "core:java" [[tools.maven]] diff --git a/pom.xml b/pom.xml index 1076c23e..6eb4d78c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.maxmind.geoip2 geoip2 - 5.0.2 + 5.1.0 jar MaxMind GeoIP2 API GeoIP2 webservice client and database reader @@ -53,7 +53,7 @@ com.maxmind.db maxmind-db - 4.0.2 + 4.1.0 com.fasterxml.jackson.core @@ -103,7 +103,7 @@ UTF-8 - 5.0.2 + 5.1.0