- First production release.
- Made
com.maxmind.db.Metadata
public and added public getters for most of the interesting metadata. This is accessible through thegetMetadata()
method on aReader
object.
- 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.
- A potential (small) resource leak when using this library with a thread pool was fixed.
- Added tests and documentation for multi-threaded use.
- An
InputStream
constructor was added to theReader
class. 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-db
in order to increase naming consistency.
- IMPORTANT: The package name was changed to
com.maxmind.db
. TheMaxMindDbReader
class was renamed toReader
. - Improved error handling and test coverage.
- Performance improvements.
- 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.
- Initial release