Skip to content

Releases: maxmind/GeoIP2-php

2.3.2: Autoloading, Documentation, and Phar Fixes

23 Sep 16:31
Compare
Choose a tag to compare
  • JsonSerializable compatibility interface was moved to GeoIp2\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

30 Jun 19:04
Compare
Choose a tag to compare
  • 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

29 Jun 16:53
Compare
Choose a tag to compare
  • Support for demographics fields averageIncome and populationDensity in
    the Location record, returned by the Insights endpoint.
  • The isAnonymousProxy and isSatelliteProvider 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

09 Jun 19:26
Compare
Choose a tag to compare
v2.2.0-beta1

2.2.0-beta1: Replace Guzzle

2.1.1: Phar build fix

03 Dec 15:02
Compare
Choose a tag to compare
  • 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

29 Oct 17:13
Compare
Choose a tag to compare
  • 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 an anonymousIp method which returns
    a GeoIP2\Model\AnonymousIp object.
  • Boolean attributes like those in the GeoIP2\Record\Traits class now return
    false instead of null when they were not true.

2.0.0

22 Sep 17:54
Compare
Choose a tag to compare
  • First production release.

0.9.0

15 Sep 17:18
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release
  • IMPORTANT: The deprecated omni() and cityIspOrg() methods have been
    removed from GeoIp2\WebService\Client.

0.8.1

12 Sep 14:22
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release
  • The check added to the GeoIP2\Database\Reader lookup 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

10 Sep 19:46
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release
  • The GeoIP2\Database\Reader lookup methods (e.g., city(), isp()) now
    throw an BadMethodCallException if they are used with a database that
    does not match the method. In particular, doing a city() lookup on a
    GeoIP2 Country database will result in an exception, and vice versa.
  • A metadata() method has been added to the GeoIP2\Database\Reader class.
    This returns a MaxMind\Db\Reader\Metadata class with information about the
    database.
  • The name attribute was missing from the RepresentedCountry class.