- Added
toJson
method to response objects. - Fixed a potential issue when using the
WebServiceClient
in multi-threaded applications. - Updated documentation.
- Renamed
getSubdivisionsList
togetSubdivisions
onAbstractNamedRecord
. - An
InputStream
constructor was added to theDatabaseReader.Builder
class. This reads the stream into memory as if it was using theFileMode.MEMORY
mode. Patch by Matthew Daniel. - The source code is now attached during packaging. Patch by Matthew Daniel.
- IMPORTANT API CHANGE: The
DatabaseReader
class now uses a builder to construct the object. The class constructor onDatabaseReader
is no longer public. - Renamed the
languages
method on theWebServiceClient.Builder
tolocales
.
- Reorganized the response and record classes. The response classes end
with
Response
. The record classes no longer end inRecord
.
- Set the user-agent header to include API information.
- Updated documentation.
- Removed unused dependency from Maven POM.
- Removed class hierarchy among web-service endpoint models.
- Refactored database-reader API to more closely match the web-service API. Created a Java interface for the two classes.
- Reorganized the classes.
Client
was renamedWebServiceClient
and moved tocom.maxmind.geoip2
. Record classes now have a suffix of "Record". The product classes (e.g., Omni) were renamed to their product name with no "Lookup" suffix. - Additional specific exceptions were added to replace the general
WebServiceException
. - A
DatabaseReader
class was added to the distribution. This reads GeoIP2 databases and returns similar product object toWebServiceClient
.
- Replaced the public constructor on
Client
with aBuilder
class.
- First official beta release.
- Documentation updates and corrections.
- Changed license to Apache License, Version 2.0.
- Initial release