Skip to content

Commit 972501e

Browse files
committed
Update release notes
1 parent 01cac90 commit 972501e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
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

0 commit comments

Comments
 (0)