Releases: maxmind/MaxMind-DB-Reader-java
Releases · maxmind/MaxMind-DB-Reader-java
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.
0.3.3
0.3.2
0.3.1: InputStream Constructor for Reader
- An
InputStreamconstructor was added to theReaderclass. This reads the
stream into memory as if it was usingFileMode.MEMORY. Patch by Matthew
Daniel. - The source code is now attached during packaging. Patch by Matthew Daniel.
- The artifact ID was changed to
maxmind-dbin order to increase naming
consistency.
API Change
- IMPORTANT: The package name was changed to
com.maxmind.db. The
MaxMindDbReaderclass was renamed toReader. - Improved error handling and test coverage.
- Performance improvements.
IEEE 754 Floats and Doubles
- The reader and database format now uses IEEE 754 doubles and floats.
- FileMode.IN_MEMORY was renamed to FileMode.MEMORY.
- Cache Type enum values array.