Releases: maxmind/MaxMind-DB-Reader-java
Releases · maxmind/MaxMind-DB-Reader-java
1.3.0
- IMPORTANT: Java 7 is now required. If you need Java 6 support, please
continue using 1.2.2 or earlier. - The method
getRecordwas added tocom.maxmind.db.Reader. This method
returns acom.maxmind.db.Recordobject that includes the data for the
record as well as the network associated with the record.
1.2.2
1.2.1
1.2.0: Immutable JsonNode Containers
JsonNodecontainers returned by theget(ip)are now backed by
unmodifiable collections. Any mutation done to them will fail with an
UnsupportedOperationExceptionexception. 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
- The reader now supports pluggable caching of the decoded data. By default,
no caching is performed. Please see theREADME.mdfile 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
1.0.0
0.4.0
0.3.4
- 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.