Skip to content

Releases: maxmind/MaxMind-DB-Reader-python

2.7.0

05 May 19:00
542dc56
Compare
Choose a tag to compare
  • IMPORTANT: Python 3.9 or greater is required. If you are using an older
    version, please use an earlier release.
  • The vendored libmaxminddb has been updated to 1.12.2.
  • The C extension now checks that the database metadata lookup was
    successful.
  • A theoretical segmentation fault with the C extension when doing lookups
    on a corrupt or invalid database was fixed.

2.6.3

09 Jan 15:45
cbc7e6c
Compare
Choose a tag to compare
  • The vendored libmaxminddb has been updated to 1.12.0. This fixes a
    memory leak when opening a database fails.
  • Binary wheels are now built for Python 3.13.

2.6.2

10 Jun 17:35
348741b
Compare
Choose a tag to compare
  • The vendored libmaxminddb has been updated to 1.10.0. This fixes a
    bug that would cause incorrect results on databases that had search
    trees greater than 4 GB.

2.6.1

12 Apr 16:55
8889f19
Compare
Choose a tag to compare
  • This release includes no source code changes. The only changes are to
    the release workflow.
  • Binary wheels are now built on Linux for aarch64. Pull request by Kevin
    Park. GitHub #160.
  • Binary wheels are now built on macOS for Apple silicon. Requested by
    Kevin Park. GitHub #152.

2.6.0

19 Mar 19:54
f7732db
Compare
Choose a tag to compare
  • Added type annotations for instance variables on Metadata
  • Updated type stubs for maxminddb.extension.
  • setuptools is no longer listed as a runtime dependency. Pull request
    by Lewis Collard. GitHub #155.

2.5.2

09 Jan 21:00
2373892
Compare
Choose a tag to compare
  • The vendored libmaxminddb version was updated to 1.9.0. This fixes
    an issue when reading databases with a search tree exceeding 2 GB.
    Reported by Sami Salonen. GitHub #146.

2.5.1

09 Nov 17:50
f72d69b
Compare
Choose a tag to compare
  • This is a re-release of 2.5.0 to address missing files from the sdist.
    Reported by Lumír 'Frenzy' Balhar. GitHub #132.

2.5.0

08 Nov 19:45
e672eb8
Compare
Choose a tag to compare
  • IMPORTANT: Python 3.8 or greater is required. If you are using an older
    version, please use an earlier release.
  • Windows is now supported by the C extension.
  • The Reader class now implements the __iter__ method. This will
    return an iterator that iterates over all records in the database,
    excluding repeated aliased of the IPv4 network. Requested by
    Jean-Baptiste Braun and others. GitHub #23.
  • The multiprocessing test now explicitly uses fork. This allows it
    to run successfully on macOS. Pull request by Theodore Ni. GitHub #116.
  • A vendored copy of libmaxminddb will now be used by default when
    building the extension. If you wish to continue using the system shared
    library, you may set the MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB environment
    variable to a true value when building the extension.
  • The C extension now builds on Python 3.13.
  • The C extension will now be built for PyPy.

2.4.0

28 Jun 15:53
886f20e
Compare
Choose a tag to compare
  • Package metadata was migrated from setup.py to setup.cfg. GitHub
    #113.
  • The C extension now decrements the reference count on an object
    containing the database filename after its use in an error message rather
    than before. Pull request by Lumír 'Frenzy' Balhar. GitHub #114.

2.3.0

09 May 20:06
f8d93b3
Compare
Choose a tag to compare
  • IMPORTANT: Python 3.7 or greater is required. If you are using an older
    version, please use an earlier release.
  • distutils is no longer used for building the C extension.
  • Missing Py_INCREF was added to module initialization for the C
    extension. Pull request by R. Christian McDonald. GitHub #106.