Releases: maxmind/GeoIP2-php
Releases · maxmind/GeoIP2-php
2.3.2: Autoloading, Documentation, and Phar Fixes
JsonSerializable
compatibility interface was moved toGeoIp2\Compat
rather than the global namespace to prevent autoloading issues. Reported by
Tomas Buteler. GitHub #54.- Missing documentation for the
$postal
property was added to the
GeoIp2\Model\City
class. 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: 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.