Skip to content

Releases: maxmind/GeoIP2-java

2.8.1

22 Feb 16:06
Compare
Choose a tag to compare
  • Update maxmind-db dependency to fix jackson-databind version range
    issue. Closes GitHub #77.
  • Update most other dependencies.

2.8.0: Remove Google HTTP Client Dep. Require Java 7.

15 Sep 22:41
Compare
Choose a tag to compare
  • All changes included in 2.8.0-rc1.
  • Updated documentation to clarify what the accuracy radius refers to.

2.8.0-rc1: Use Apache HttpClient directly

20 Jun 14:46
Compare
Choose a tag to compare
  • IMPORTANT: Java 7 is now required. If you need Java 6 support, please
    continue using 2.7.0 or earlier.
  • This library no longer uses Google HTTP Client. It now directly uses
    Apache HttpClient. Closes #40, #66.
  • WebServiceClient now implements Closeable. A pool of connections will be
    kept alive to be used across requests. To ensure all connections are closed
    when the object goes out of scope, call close() or use the
    try-with-resource statement as appropriate.
  • Setting of a proxy for the WebServiceClient is now supported by the
    proxy(Proxy) builder method.
  • Updated documentation to reflect that the accuracy radius is now included
    in City.
  • Updated dependencies.

2.7.0: GeoIP2 Enterprise Support

15 Apr 21:23
Compare
Choose a tag to compare
  • Added support for the GeoIP2 Enterprise database.

2.6.0: Improved Caching

13 Jan 18:15
Compare
Choose a tag to compare
  • This release was updated to 1.2.0 of the MaxMind DB reader, which includes
    faster caching with fewer allocations.
  • The IP addresses in the database models are now injected via Jackson rather
    than being added to the JsonNode before deserialization. Pull requests by
    Viktor Szathmáry. GitHub #56.

2.5.0: Optional Caching

04 Jan 21:34
Compare
Choose a tag to compare
  • The database reader now supports pluggable caching of the decoded data. By
    default, no caching is performed. Please see the README.md file or the API
    docs for information on how to enable caching. Pull requests by Viktor
    Szathmáry. GitHub #55.

2.4.0

21 Dec 19:58
Compare
Choose a tag to compare
  • Jackson now uses the constructors on model classes when mapping JSON and
    database records to them rather than overriding the access modifiers on
    them. Pull request by Martijn van Groningen. GitHub #51 & #52.
  • The format of the output of the toString() methods in the models has
    changed to better represent the values returned by the databases and web
    services. toString() should be only used for debugging and diagnostics.
    Do not try to parse it. If you want the contents of the model as a machine-
    readable string, use toJson().
  • This release depends on version 1.0.1 of the MaxMind DB reader, which
    includes several performance enhancements from by Viktor Szathmáry.

2.3.1

07 Jul 19:05
Compare
Choose a tag to compare
  • No code changes in this release
  • Fix for version number in pom.xml example in README.md
  • Slight documentation improvement referring to MaxMind-DB-Reader-java

2.3.0

07 Jul 19:04
Compare
Choose a tag to compare
  • Add support for the average_income and population_density fields.
  • The isAnonymousProxy() and isSatelliteProvider() methods on
    com.maxmind.geoip2.record.Traits have been deprecated. Please use our
    [GeoIP2 Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous-
    ip-database) to determine whether an IP address is used by an anonymizing
    service.

2.2.0

24 Apr 22:12
Compare
Choose a tag to compare
  • A DatabaseProvider interface has been added to facilitate mocking of
    DatabaseReader. Pull request by Yonatan Most. GitHub #34.
  • A getLeastSpecificSubdivision() method has been added to the
    CityResponse and InsightsResponse model classes. This returns the
    least specific subdivision for the location, e.g., England for Oxford,
    GB. Pull request by Daniel Kaneider. GitHub #35.
  • The InsightsResponse and Location classes are no longer declared final.
  • AbstractResponse is now declared abstract.