6.5 KiB
6.5 KiB
CHANGELOG
2.4.1 (2016-06-10)
- Corrected type annotations in documentation. GitHub #66.
- Updated documentation to reflect that the accuracy radius is now included in City.
- Upgraded web service client, which supports setting a proxy. GitHub #59.
2.4.0 (2016-04-15)
- Added support for the GeoIP2 Enterprise database.
2.3.3 (2015-09-24)
- Corrected case on
JsonSerializableinterface. Reported by Axel Etcheverry. GitHub #56.
2.3.2 (2015-09-23)
JsonSerializablecompatibility interface was moved toGeoIp2\Compatrather than the global namespace to prevent autoloading issues. Reported by Tomas Buteler. GitHub #54.- Missing documentation for the
$postalproperty was added to theGeoIp2\Model\Cityclass. Fix by Roy Sindre Norangshol. GitHub #51. - In the Phar distribution, source files for this module no longer have their documentation stripped, allowing IDE introspection to work properly. Reported by Dominic Black. GitHub #52.
2.3.1 (2015-06-30)
- Updated
maxmind/web-service-commonto version with fixes for PHP 5.3 and 5.4.
2.3.0 (2015-06-29)
- Support for demographics fields
averageIncomeandpopulationDensityin theLocationrecord, returned by the Insights endpoint. - The
isAnonymousProxyandisSatelliteProviderproperties onGeoIP2\Record\Traitshave been deprecated. Please use our GeoIP2 Anonymous IP database to determine whether an IP address is used by an anonymizing service.
2.2.0-beta1 (2015-06-09)
- Typo fix in documentation.
2.2.0-alpha2 (2015-06-01)
maxmind-ws/web-service-commonwas renamed tomaxmind/web-service-common.
2.2.0-alpha1 (2015-05-22)
- The library no longer uses Guzzle and instead uses curl directly.
- Support for
timeoutandconnectTimoutwere added to the$optionsarray passed to theGeoIp2\WebService\Clientconstructor. Pull request by Will Bradley. GitHub #36.
2.1.1 (2014-12-03)
- The 2.1.0 Phar builds included a shebang line, causing issues when loading it as a library. This has been corrected. GitHub #33.
2.1.0 (2014-10-29)
- Update ApiGen dependency to version that isn't broken on case sensitive file systems.
- Added support for the GeoIP2 Anonymous IP database. The
GeoIP2\Database\Readerclass now has ananonymousIpmethod which returns aGeoIP2\Model\AnonymousIpobject. - Boolean attributes like those in the
GeoIP2\Record\Traitsclass now returnfalseinstead ofnullwhen they were not true.
2.0.0 (2014-09-22)
- First production release.
0.9.0 (2014-09-15)
- IMPORTANT: The deprecated
omni()andcityIspOrg()methods have been removed fromGeoIp2\WebService\Client.
0.8.1 (2014-09-12)
- The check added to the
GeoIP2\Database\Readerlookup methods in 0.8.0 did not work with the GeoIP2 City Database Subset by Continent with World Countries. This has been fixed. Fixes GitHub issue #23.
0.8.0 (2014-09-10)
- The
GeoIp2\Database\Readerlookup methods (e.g.,city(),isp()) now throw aBadMethodCallExceptionif they are used with a database that does not match the method. In particular, doing acity()lookup on a GeoIP2 Country database will result in an exception, and vice versa. - A
metadata()method has been added to theGeoIP2\Database\Readerclass. This returns aMaxMind\Db\Reader\Metadataclass with information about the database. - The name attribute was missing from the RepresentedCountry class.
0.7.0 (2014-07-22)
- The web service client API has been updated for the v2.1 release of the web
service. In particular, the
cityIspOrgandomnimethods onGeoIp2\WebService\Clientshould be considered deprecated. Thecitymethod now provides all of the data formerly provided bycityIspOrg, and theomnimethod has been replaced by theinsightsmethod. - Support was added for GeoIP2 Connection Type, Domain and ISP databases.
0.6.3 (2014-05-12)
- With the previous Phar builds, some users received
phar error: invalid url or non-existent pharerrors. The correct alias is now used for the Phar, and this should no longer be an issue.
0.6.2 (2014-05-08)
- The Phar build was broken with Guzzle 3.9.0+. This has been fixed.
0.6.1 (2014-05-01)
- This API now officially supports HHVM.
- The
maxmind-db/readerdependency was updated to a version that does not require BC Math. - The Composer compatibility autoload rules are now targeted more narrowly.
- A
box.jsonfile is included to build a Phar package.
0.6.0 (2014-02-19)
- This API is now licensed under the Apache License, Version 2.0.
- Model and record classes now implement
JsonSerializable. issetnow works with model and record classes.
0.5.0 (2013-10-21)
- Renamed $languages constructor parameters to $locales for both the Client and Reader classes.
- Documentation and code clean-up (Ben Morel).
- Added the interface
GeoIp2\ProviderInterface, which is implemented by both\GeoIp2\Database\Readerand\GeoIp2\WebService\Client.
0.4.0 (2013-07-16)
- This is the first release with the GeoIP2 database reader. Please see the
README.mdfile and the\GeoIp2\Database\Readerclass. - The general exception classes were replaced with specific exception classes representing particular types of errors, such as an authentication error.
0.3.0 (2013-07-12)
- In namespaces and class names, "GeoIP2" was renamed to "GeoIp2" to improve consistency.
0.2.1 (2013-06-10)
- First official beta release.
- Documentation updates and corrections.
0.2.0 (2013-05-29)
GenericExceptionwas renamed toGeoIP2Exception.- We now support more languages. The new languages are de, es, fr, and pt-BR.
- The REST API now returns a record with data about your account. There is
a new
GeoIP\Records\MaxMindclass for this data. - The
continentCodeattribute onContinentwas renamed tocode. - Documentation updates.
0.1.1 (2013-05-14)
- Updated Guzzle version requirement.
- Fixed Composer example in README.md.
0.1.0 (2013-05-13)
- Initial release.