- No code changes in this release
- Fix for version number in pom.xml example in README.md
- Slight documentation improvement referring to MaxMind-DB-Reader-java
- Add support for the
average_incomeandpopulation_densityfields. - The
isAnonymousProxy()andisSatelliteProvider()methods oncom.maxmind.geoip2.record.Traitshave been deprecated. Please use our [GeoIP2 Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous- ip-database) to determine whether an IP address is used by an anonymizing service.
- A
DatabaseProviderinterface has been added to facilitate mocking ofDatabaseReader. Pull request by Yonatan Most. GitHub #34. - A
getLeastSpecificSubdivision()method has been added to theCityResponseandInsightsResponsemodel classes. This returns the least specific subdivision for the location, e.g., England for Oxford, GB. Pull request by Daniel Kaneider. GitHub #35. - The
InsightsResponseandLocationclasses are no longer declared final. AbstractResponseis now declaredabstract.
- Added support for the GeoIP2 Anonymous IP database. The
DatabaseReaderclass now has ananonymousIp()method which returns anAnonymousIpResponseobject.
- First production release.
- The deprecated
cityIspOrg()andomni()methods have been removed fromDatabaseReaderandWebServiceClient. - The lookup methods on
DatabaseReadernow throw anUnsupportedOperationExceptionif the incorrect method is used for the database. DatabaseReadernow provides the metadata for the database through thegetDatabase()method.- All of our dependencies were updated to the latest available version.
- The
timeoutsetter onWebServiceClient.Builderwas renamed toconnectTimeoutand areadTimeoutsetter 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.dbandcom.fasterxml.jackson.core.
- The web service client API has been updated for the v2.1 release of the web
service. In particular, the
cityIspOrgandomnimethods onWebServiceClienthave been deprecated. Thecitymethod now provides all of the data formerly provided bycityIspOrg, and theomnimethod has been replaced by theinsightsmethod. - 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
toJsonmethod to response objects. - Fixed a potential issue when using the
WebServiceClientin multi-threaded applications. - Updated documentation.
- Renamed
getSubdivisionsListtogetSubdivisionsonAbstractNamedRecord. - An
InputStreamconstructor was added to theDatabaseReader.Builderclass. This reads the stream into memory as if it was using theFileMode.MEMORYmode. Patch by Matthew Daniel. - The source code is now attached during packaging. Patch by Matthew Daniel.
- IMPORTANT API CHANGE: The
DatabaseReaderclass now uses a builder to construct the object. The class constructor onDatabaseReaderis no longer public. - Renamed the
languagesmethod on theWebServiceClient.Buildertolocales.
- 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.
Clientwas renamedWebServiceClientand 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
DatabaseReaderclass was added to the distribution. This reads GeoIP2 databases and returns similar product object toWebServiceClient.
- Replaced the public constructor on
Clientwith aBuilderclass.
- First official beta release.
- Documentation updates and corrections.
- Changed license to Apache License, Version 2.0.
- Initial release