* You may now pass in the database via a file descriptor rather than a file name when creating a new ``geoip2.database.Reader`` object using ``MODE_FD``. This will read the database from the file descriptor into memory. Pull request by nkinkade. GitHub 53.
2.8.0
++++++++++++++++++
* 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`` AND ``ACCOUNT_ID_UNKNOWN`` error codes.
2.7.0
++++++++++++++++++
* The ``is_in_european_union`` attribute was added to ``geoip2.record.Country`` and ``geoip2.record.RepresentedCountry``. This attribute is ``True`` if the country is a member state of the European Union.
2.6.0
++++++++++++++++++
* 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``.
2.5.0
++++++++++++++++++
* Added support for GeoLite2 ASN database. * Corrected documentation of errors raised when using the database reader. Reported by Radek Holý. GitHub 42.
2.4.2
++++++++++++++++++
* Recent releases of ``requests`` (2.12.2 and 2.12.3) require that the username for basic authentication be a string or bytes. The documentation for this module uses an integer for the ``user_id``, which will break with these ``requests`` versions. The ``user_id`` is now converted to bytes before being passed to ``requests``.