Releases: maxmind/GeoIP2-python
Releases · maxmind/GeoIP2-python
0.7.0
- 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.
0.6.0
- The web service client API has been updated for the v2.1 release of the web
service. In particular, thecity_isp_org
andomni
methods on
geoip2.webservice.Client
should be considered deprecated. Thecity
method now provides all of the data formerly provided bycity_isp_org
,
and theomni
method has been replaced by theinsights
method.
Note: In v2.1 of the web service,accuracy_radius
,
autonomous_system_number
, and all of theconfidence
values were
changed from unicode to integers. This may affect how you use these values
from this API. - Support was added for the GeoIP2 Connection Type, Domain, and ISP databases.
0.5.1
0.5.0
0.4.2
0.4.1: Fixed Installation Issue
- Read in
README.rst
as UTF-8 insetup.py
.
0.4.0: Reader/Client Constructor API Change
- API CHANGE: Changed the
languages
keyword argument tolocales
on the
constructors forgeoip.webservice.Client
andgeoip.database.Reader
.
0.3.1: Fixed Packaging Issue
v0.3.1 Fixed packaging issue
0.3.0: API Change
- IMPORTANT:
geoip.webservices
was renamedgeoip.webservice
as it
contains only one class. - Added GeoIP2 database reader using maxminddb. This does not work with PyPy
as it relies on a C extension. - Added more specific exceptions for web service client.
0.2.2 Beta
- Fixed a bug in the model objects that prevented
longitude
andmetro_code
from being used.