Skip to content

Releases: maxmind/MaxMind-DB-Reader-java

3.1.1

19 Sep 22:26
6575204
Compare
Choose a tag to compare
  • When handling a deserialization exception, the decoder now avoids
    throwing a NullPointerException when one of the constructor arguments
    is null. Reported by Keith Massey. GitHub #164.

3.1.0

05 Dec 18:07
251f956
Compare
Choose a tag to compare
  • Reader supports iterating over the whole database or within a network.

3.0.0

12 Dec 17:04
a137f39
Compare
Choose a tag to compare
  • Java 11 or greater is now required.
  • This library is now a Java module.

2.1.0

31 Oct 19:18
ba08435
Compare
Choose a tag to compare
  • Messages for DeserializationException have been improved, and the cause
    is included, if any. Moreover, the message provides detail about the involved
    types, if the exception is caused by an IllegalArgumentException.

2.0.0

13 Oct 20:43
Compare
Choose a tag to compare
  • No changes since 2.0.0-rc2.

2.0.0-rc2

29 Sep 16:44
Compare
Choose a tag to compare
  • Build using the --release command-line option so linking when using
    Java 8 works.

2.0.0-rc1

24 Sep 18:08
Compare
Choose a tag to compare
  • Significant API changes. The get() and getRecord() methods now take a
    class parameter specifying the type of object to deserialize into. You
    can either deserialize into a Map or to model classes that use the
    MaxMindDbConstructor and MaxMindDbParameter annotations to identify
    the constructors and parameters to deserialize into.
  • jackson-databind is no longer a dependency.
  • The Record class is now named DatabaseRecord. This is to avoid a
    conflict with java.lang.Record in Java 14.

1.4.0

12 Jun 22:01
Compare
Choose a tag to compare
  • IMPORTANT: Java 8 is now required. If you need Java 7 support, please
    continue using 1.3.1 or earlier.
  • The decoder will now throw an InvalidDatabaseException on an invalid
    control byte in the data section rather than an
    ArrayIndexOutOfBoundsException. Reported by Edwin Delgado H. GitHub
    #68.
  • In order to improve performance when lookups are done from multiple
    threads, a use of synchronized has been removed. GitHub #65 & #69.
  • jackson-databind has been upgraded to 2.11.0.

1.3.1

03 Mar 18:23
Compare
Choose a tag to compare
  • Correctly decode strings that are between 157 and 288 bytes long. 1.3.0
    introduced a regression when decoding these due to using a signed byte
    as an unsigned value. Reported by Dongmin Yu. GitHub #181 in
    maxmind/GeoIP2-java.
  • Update jackson-databind dependency.

1.3.0

13 Dec 20:45
Compare
Choose a tag to compare
  • IMPORTANT: Java 7 is now required. If you need Java 6 support, please
    continue using 1.2.2 or earlier.
  • The method getRecord was added to com.maxmind.db.Reader. This method
    returns a com.maxmind.db.Record object that includes the data for the
    record as well as the network associated with the record.