Releases: maxmind/GeoIP2-php
Releases · maxmind/GeoIP2-php
2.3.1: PHP 5.3 and 5.4 fixes
- Updated
maxmind/web-service-common
to version with fixes for PHP 5.3 and
5.4.
2.3.0: Demographics Fields Addition and Anonymous IP Deprecations
- Support for demographics fields
averageIncome
andpopulationDensity
in
theLocation
record, returned by the Insights endpoint. - The
isAnonymousProxy
andisSatelliteProvider
properties on
GeoIP2\Record\Traits
have been deprecated. Please use our GeoIP2
Anonymous IP database
to determine whether an IP address is used by an anonymizing service. - Incorporates replace Guzzle with internal curl API from 2.2.0-beta1
2.2.0-beta1: Replace Guzzle with internal curl API
v2.2.0-beta1 2.2.0-beta1: Replace Guzzle
2.1.1: Phar build fix
- 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
- 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\Reader
class now has ananonymousIp
method which returns
aGeoIP2\Model\AnonymousIp
object. - Boolean attributes like those in the
GeoIP2\Record\Traits
class now return
false
instead ofnull
when they were not true.
2.0.0
0.9.0
0.8.1
0.8.0
- The
GeoIP2\Database\Reader
lookup methods (e.g.,city()
,isp()
) now
throw anBadMethodCallException
if 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\Reader
class.
This returns aMaxMind\Db\Reader\Metadata
class 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, thecityIspOrg
andomni
methods on
GeoIP2\WebService\Client
should be considered 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 GeoIP2 Connection Type, Domain and ISP databases.