Skip to content

Releases: maxmind/MaxMind-DB-Reader-python

2.2.0

24 Sep 17:22
01cac90
Compare
Choose a tag to compare
  • The return type for maxminddb.open_database() has been simplified
    to be just the Reader class as opposed to a union of that with
    the extension class. This is done by casting the extension to
    Reader. The extension class has the same public API as the
    pure Python implementation. This simplifies type checking for users of
    this library. The Reader class is exposed as maxminddb.Reader.
    Pull request by wouter bolsterlee. GitHub #88.
  • maxminddb.__all__ is now set to define a public API. Pull request
    by wouter bolsterlee. GitHub #88.
  • Fix minor regression in repr output of maxminddb.reader.Metadata
    in 2.1.0.

2.1.0

18 Sep 16:57
c631155
Compare
Choose a tag to compare
  • The C extension now correctly supports objects that implement the
    os.PathLike interface.
  • When opening a database fails due to an access issue, the correct
    OSError subclass will now be thrown.
  • The Metadata class object is now available from the C extension
    module as maxminddb.extension.Metadata rather than
    maxminddb.extension.extension.
  • Type stubs have been added for maxminddb.extension.

2.0.3

16 Oct 21:29
Compare
Choose a tag to compare
  • The 2.0.0 release unintentionally required Python to be compiled with
    mmap support for the module to work. mmap is now optional
    again. Reported by john-heasman-cg. GitHub #76.

2.0.2

28 Jul 17:38
Compare
Choose a tag to compare
  • Added py.typed file per PEP 561. Reported by Árni Már Jónsson.

2.0.1

22 Jul 14:33
Compare
Choose a tag to compare
  • Fix minimum required python version in setup.py. Pull request by
    Boros Gábor. GitHub #69 & #70.

2.0.0

21 Jul 17:36
Compare
Choose a tag to compare
  • IMPORTANT: Python 3.6 or greater is required. If you are using an older
    version, please use a 1.x.x release.
  • Type hints have been added.

1.5.4

05 May 20:03
Compare
Choose a tag to compare
  • 1.5.3 was missing a test database. This release adds the test file.
    There are no other changes. Reported by Lumír 'Frenzy' Balhar. GitHub #60.

1.5.3

04 May 17:41
Compare
Choose a tag to compare
  • Fix a segfault when decoding a database with a corrupt data section.
    Reported by Robert Scott. GitHub #58.

1.5.2

20 Dec 18:43
Compare
Choose a tag to compare
  • Minor performance improvements in the pure Python reader.

1.5.1

27 Sep 21:12
2a4eb44
Compare
Choose a tag to compare
  • Fix a possible segfault due to not correctly incrementing the reference
    on a returned object.