Skip to content

0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@oschwald oschwald released this 10 Sep 19:46
  • 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.