File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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."
You can’t perform that action at this time.
0 commit comments