All Versions
14
Latest Version
Avg Release Cycle
125 days
Latest Release
1677 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v4.1.0 Changes
September 25, 2020- Added the
is_residential_proxy
attribute togeoip2.model.AnonymousIP
andgeoip2.record.Traits
. HTTPError
now provides the decoded response content in the
decoded_content
attribute. Requested by Oleg Serbokryl. GitHub #95.
- Added the
-
v4.0.2 Changes
July 28, 2020- β Added
py.typed
file per PEP 561. Reported by Γrni MΓ‘r JΓ³nsson.
- β Added
-
v4.0.1 Changes
July 21, 2020- π Re-release to fix bad reStructuredText in
README.md
. No substantive
π changes.
- π Re-release to fix bad reStructuredText in
-
v4.0.0 Changes
July 21, 2020- π IMPORTANT: Python 2.7 and 3.5 support has been dropped. Python 3.6 or greater
is required. - π Asyncio support has been added for web service requests. To make async
requests, usegeoip.webservice.AsyncClient
. geoip.webservice.Client
now provides aclose()
method and associated
context managers to be used inwith
statements.- Type hints have been added.
- The attributes
postal_code
andpostal_confidence
have been removed
fromgeoip2.record.Location
. These would previously always beNone
. - π
user_id
is no longer supported as a named argument for the constructor
ongeoip2.webservice.Client
. Useaccount_id
or a positional
parameter instead. - 0οΈβ£ For both
Client
andAsyncClient
requests, the default timeout is
now 60 seconds.
- π IMPORTANT: Python 2.7 and 3.5 support has been dropped. Python 3.6 or greater
-
v3.0.0 Changes
December 20, 2019- π₯ BREAKING CHANGE: The
geoip2.record.*
classes have been refactored to
π improve performance. This refactoring may break classes that inherit from
them. The public API should otherwise be compatible. - The
network
attribute was added togeoip2.record.Traits
,
geoip2.model.AnonymousIP
,geoip2.model.ASN
,
geoip2.model.ConnectionType
,geoip2.model.Domain
,
andgeoip2.model.ISP
. This is anipaddress.IPv4Network
or an
ipaddress.IPv6Network
. This is the largest network where all of the
fields besidesip_address
have the same value. GitHub #79. - π Python 3.3 and 3.4 are no longer supported.
- Updated documentation of anonymizer attributes -
is_anonymous_vpn
and
is_hosting_provider
- to be more descriptive. - β Added support for the
user_count
trait for the GeoIP2 Precision webservice. - Added the
static_ip_score
attribute togeoip2.record.Traits
for
GeoIP2 Precision Insights. This is a float which indicates how static or dynamic
an IP address is.
- π₯ BREAKING CHANGE: The
-
v2.9.0 Changes
May 25, 2018- You may now pass in the database via a file descriptor rather than a file
name when creating a newgeoip2.database.Reader
object usingMODE_FD
.
This will read the database from the file descriptor into memory. Pull
request by nkinkade. GitHub #53.
- You may now pass in the database via a file descriptor rather than a file
-
v2.8.0 Changes
April 10, 2018- π Python 2.6 support has been dropped. Python 2.7+ or 3.3+ is now required.
- π Renamed user ID to account ID in the code and added support for the new
ACCOUNT_ID_REQUIRED
ANDACCOUNT_ID_UNKNOWN
error codes.
-
v2.7.0 Changes
January 18, 2018- The
is_in_european_union
attribute was added to
geoip2.record.Country
andgeoip2.record.RepresentedCountry
. This
attribute isTrue
if the country is a member state of the European
Union.
- The
-
v2.6.0 Changes
October 27, 2017- The following new anonymizer attributes were added to
geoip2.record.Traits
for use with GeoIP2 Precision Insights:is_anonymous
,
is_anonymous_vpn
,is_hosting_provider
,is_public_proxy
, and
is_tor_exit_node
.
- The following new anonymizer attributes were added to
-
v2.5.0 Changes
May 08, 2017- β Added support for GeoLite2 ASN database.
- π Corrected documentation of errors raised when using the database reader.
Reported by Radek HolΓ½. GitHub #42.