Skip to content

Releases: maxmind/MaxMind-DB-Reader-java

1.3.0

13 Dec 20:45

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.

1.2.2

22 Feb 15:48

Choose a tag to compare

  • Remove the version range. As of today, jackson-databind is no longer
    resolved correctly when a range is used. GitHub #28.

1.2.1

15 Sep 22:06

Choose a tag to compare

Specify a hard minimum dependency for jackson-databind. This API will not work with versions earlier than 2.7.0, and Maven's nearest-first resolution rule often pulled in older versions.

1.2.0: Immutable JsonNode Containers

13 Jan 18:02

Choose a tag to compare

  • JsonNode containers returned by the get(ip) are now backed by
    unmodifiable collections. Any mutation done to them will fail with an
    UnsupportedOperationException exception. This allows safe caching of the
    nodes to be done without doing a deep copy of the cached data. Pull request
    by Viktor Szathmáry. GitHub #24.

1.1.0: Optional Caching and Performance Improvements

04 Jan 21:01

Choose a tag to compare

  • The 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 #21.
  • This release also includes several additional performance enhancements as
    well as code cleanup from Viktor Szathmáry. GitHub #18, #19, #20, #22,and
    #23.

1.0.1: Performance Optimizations

17 Dec 22:50

Choose a tag to compare

  • Several optimizations have been made to reduce allocations when decoding a
    record. Pull requests by Viktor Szathmáry. GitHub #16 & #17.

1.0.0

29 Sep 21:18

Choose a tag to compare

  • First production release.

0.4.0

23 Sep 22:32

Choose a tag to compare

0.4.0 Pre-release
Pre-release
  • Made com.maxmind.db.Metadata public and added public getters for most
    of the interesting metadata. This is accessible through the getMetadata()
    method on a Reader object.

0.3.4

27 Aug 19:30

Choose a tag to compare

0.3.4 Pre-release
Pre-release
  • Previously the Reader would hold onto the underlying file and FileChannel,
    not closing them until the Reader was closed. This was unnecessary; they
    are now closed immediately after they are used. Fix by Andrew Snare; GitHub
    issue #7.
  • The Reader now discards the reference to the underlying buffer when
    close() is called. This is done to help ensure that the buffer is garbage
    collected sooner, which may mitigate file locking issues that some users
    have experienced on Windows when updating the database. Patch by Andrew
    Snare; GitHub issue #8.

0.3.3

02 Jun 15:10

Choose a tag to compare

0.3.3 Pre-release
Pre-release
  • A potential (small) resource leak when using this library with a thread
    pool was fixed.