Skip to content

Commit db90560

Browse files
authored
Merge pull request #89 from maxmind/greg/2.2.0
Release 2.2.0
2 parents 01cac90 + 42ed2df commit db90560

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

HISTORY.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@
33
History
44
-------
55

6-
2.1.1
7-
++++++++++++++++++
8-
6+
2.2.0 (2021-09-24)
7+
++++++++++++++++++
8+
9+
* The return type for ``maxminddb.open_database()`` has been simplified
10+
to be just the ``Reader`` class as opposed to a union of that with
11+
the extension class. This is done by casting the extension to
12+
``Reader``. The extension class has the same public API as the
13+
pure Python implementation. This simplifies type checking for users of
14+
this library. The ``Reader`` class is exposed as ``maxminddb.Reader``.
15+
Pull request by wouter bolsterlee. GitHub #88.
16+
* ``maxminddb.__all__`` is now set to define a public API. Pull request
17+
by wouter bolsterlee. GitHub #88.
918
* Fix minor regression in ``repr`` output of ``maxminddb.reader.Metadata``
1019
in 2.1.0.
1120

maxminddb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def open_database(
8181

8282

8383
__title__ = "maxminddb"
84-
__version__ = "2.1.0"
84+
__version__ = "2.2.0"
8585
__author__ = "Gregory Oschwald"
8686
__license__ = "Apache License, Version 2.0"
8787
__copyright__ = "Copyright 2013-2021 MaxMind, Inc."

0 commit comments

Comments
 (0)