Skip to content

Commit 2e05f39

Browse files
committed
Prepare for 0.7.0
1 parent 81a08da commit 2e05f39

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

HISTORY.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
History
44
-------
55

6-
0.7.0 (2014-09-XX)
6+
0.7.0 (2014-09-15)
77
++++++++++++++++++
88

9-
* IMPORTANT: The deprecated ``city_isp_org()`` and ``omni()`` methods have
10-
been removed.
11-
* The ``geoip2.database.Reader`` lookup methods (e.g., ``city()``, ``isp()``)
12-
now raise a ``TypeError`` if they are used with a database that does not
13-
match the method. In particular, doing a ``city()`` lookup on a GeoIP2
14-
Country database will result in an error and vice versa.
9+
* BREAKING CHANGES:
10+
- The deprecated ``city_isp_org()`` and ``omni()`` methods
11+
have been removed.
12+
- The ``geoip2.database.Reader`` lookup methods (e.g., ``city()``,
13+
``isp()``) now raise a ``TypeError`` if they are used with a database that
14+
does not match the method. In particular, doing a ``city()`` lookup on a
15+
GeoIP2 Country database will result in an error and vice versa.
1516
* A ``metadata()`` method has been added to the ``geoip2.database.Reader``
1617
class. This returns a ``maxminddb.reader.Metadata`` object with information
1718
about the database.

geoip2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pylint:disable=C0111
22

33
__title__ = 'geoip2'
4-
__version__ = '0.6.0'
4+
__version__ = '0.7.0'
55
__author__ = 'Gregory Oschwald'
66
__license__ = 'Apache License, Version 2.0'
77
__copyright__ = 'Copyright 2014 Maxmind, Inc.'

geoip2/webservice.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ def insights(self, ip_address='me'):
130130
131131
:returns: :py:class:`geoip2.models.Insights` object
132132
133-
.. deprecated:: 0.6.0
134-
Use :py:method:`insights` instead.
135-
136133
"""
137134
return self._response_for('insights', geoip2.models.Insights,
138135
ip_address)

0 commit comments

Comments
 (0)