File tree 3 files changed +9
-11
lines changed 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 3
3
History
4
4
-------
5
5
6
- 0.7.0 (2014-09-XX )
6
+ 0.7.0 (2014-09-15 )
7
7
++++++++++++++++++
8
8
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.
15
16
* A ``metadata() `` method has been added to the ``geoip2.database.Reader ``
16
17
class. This returns a ``maxminddb.reader.Metadata `` object with information
17
18
about the database.
Original file line number Diff line number Diff line change 1
1
# pylint:disable=C0111
2
2
3
3
__title__ = 'geoip2'
4
- __version__ = '0.6 .0'
4
+ __version__ = '0.7 .0'
5
5
__author__ = 'Gregory Oschwald'
6
6
__license__ = 'Apache License, Version 2.0'
7
7
__copyright__ = 'Copyright 2014 Maxmind, Inc.'
Original file line number Diff line number Diff line change @@ -130,9 +130,6 @@ def insights(self, ip_address='me'):
130
130
131
131
:returns: :py:class:`geoip2.models.Insights` object
132
132
133
- .. deprecated:: 0.6.0
134
- Use :py:method:`insights` instead.
135
-
136
133
"""
137
134
return self ._response_for ('insights' , geoip2 .models .Insights ,
138
135
ip_address )
You can’t perform that action at this time.
0 commit comments