0.8.0
Pre-release
Pre-release
- 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.