- First production release.
- The deprecated
cityIspOrg()
andomni()
methods have been removed fromDatabaseReader
andWebServiceClient
. - The lookup methods on
DatabaseReader
now throw anUnsupportedOperationException
if the incorrect method is used for the database. DatabaseReader
now provides the metadata for the database through thegetDatabase()
method.- All of our dependencies were updated to the latest available version.
- The
timeout
setter onWebServiceClient.Builder
was renamed toconnectTimeout
and areadTimeout
setter was added. The former timeout sets the timeout to establish a connection and the latter sets the timeout for reading from an established connection.
- Updated to depend on the latest version of
com.maxmind.db
andcom.fasterxml.jackson.core
.
- The web service client API has been updated for the v2.1 release of the web
service. In particular, the
cityIspOrg
andomni
methods onWebServiceClient
have been deprecated. Thecity
method now provides all of the data formerly provided bycityIspOrg
, and theomni
method has been replaced by theinsights
method. - Support was added for the GeoIP2 Connection Type, Domain, and ISP databases.
- Updated to version 0.3.3 of
maxmind-db
, which fixes a potential resource leak when used with a thread pool. - Updated Google HTTP Client dependency.
- The Maven build was updated to include a zip file with all dependencies.
- 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