- BREAKING CHANGES:
- The deprecated
city_isp_org()
andomni()
methods
have been removed. - The
geoip2.database.Reader
lookup methods (e.g.,city()
,
isp()
) now raise aTypeError
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 error and vice versa.
- The deprecated
- A
metadata()
method has been added to thegeoip2.database.Reader
class. This returns amaxminddb.reader.Metadata
object with information
about the database.