Releases: maxmind/GeoIP2-php
Releases · maxmind/GeoIP2-php
Release list
0.8.1
0.8.0
- The
GeoIP2\Database\Readerlookup methods (e.g.,city(),isp()) now
throw anBadMethodCallExceptionif 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
- The web service client API has been updated for the v2.1 release of the web
service. In particular, thecityIspOrgandomnimethods on
GeoIP2\WebService\Clientshould be considered deprecated. Thecity
method 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
0.6.2
0.6.1
- 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
0.5.0: Minor API Change
- 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: GeoIP2 Database Released
- 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.