Skip to content

Releases: maxmind/MaxMind-DB-Reader-php

1.5.0

30 Sep 22:56
Compare
Choose a tag to compare
  • PHP 5.6 or greater is now required.
  • The C extension now supports PHP 8. Pull request by John Boehr.
    GitHub #87.
  • A new method, getWithPrefixLen, was added to the Reader class.
    This method returns an array containing the record and the prefix
    length for that record. GitHub #89.

1.4.1

04 Jan 19:56
Compare
Choose a tag to compare
  • The maxminddb extension now returns a string when a uint32
    value is greater than LONG_MAX. Previously, the value would
    overflow. This generally only affects 32-bit machines. Reported
    by Remi Collet. GitHub #79.
  • For uint64 values, the maxminddb extension now returns an
    integer rather than a string when the value is less than or equal
    to LONG_MAX. This more closely matches the behavior of the pure
    PHP reader.

1.4.0

20 Nov 16:08
Compare
Choose a tag to compare
  • The maxminddb extension now has the arginfo when using reflection.
    PR by Remi Collet. GitHub #75.
  • The maxminddb extension now provides MINFO() function that
    displays the extension version and the libmaxminddb version. PR by
    Remi Collet. GitHub #74.
  • The maxminddb configure script now uses pkg-config when
    available to get libmaxmindb build info. PR by Remi Collet.
    GitHub #73.
  • The pure PHP reader now correctly decodes integers on 32-bit platforms.
    Previously, large integers would overflow. Reported by Remi Collet.
    GitHub #77.
  • There are small performance improvements for the pure PHP reader.

1.3.0

21 Feb 21:23
Compare
Choose a tag to compare
  • IMPORTANT: The maxminddb extension now obeys open_basedir. If
    open_basedir is set, you must store the database within the
    specified directory. Placing the file outside of this directory
    will result in an exception. Please test your integration before
    upgrading the extension. This does not affect the pure PHP
    implementation, which has always had this restriction. Reported
    by Benoît Burnichon. GitHub #61.
  • A custom autoload.php file is provided for installations without
    Composer. GitHub #56.

1.2.0

27 Oct 19:15
Compare
Choose a tag to compare
  • PHP 5.4 or greater is now required.
  • The Reader class for the maxminddb extension is no longer final.
    This was change to match the behavior of the pure PHP class.
    Reported and fixed by venyii. GitHub #52 & #54.

1.1.3

19 Jan 23:49
Compare
Choose a tag to compare
  • Fix incorrect version in ext/php_maxminddb.h. GitHub #48.

1.1.2

22 Nov 15:23
Compare
Choose a tag to compare
  • Searching for database metadata only occurs within the last 128KB
    (128 * 1024 bytes) of the file, speeding detection of corrupt
    datafiles. Reported by Eric Teubert. GitHub #42.
  • Suggest relevant extensions when installing with Composer. GitHub #37.

1.1.1

15 Sep 21:27
Compare
Choose a tag to compare
  • Development files were added to the .gitattributes as export-ignore so
    that they are not part of the Composer release. Pull request by Michele
    Locati. GitHub #39.

1.1.0: PHP 7 Support for C Extension

04 Jan 16:02
Compare
Choose a tag to compare
  • The MaxMind DB extension now supports PHP 7. Pull request by John Boehr.
    GitHub #27.

1.0.3: Fix errors with broken strlen

13 Mar 22:36
Compare
Choose a tag to compare
  • All uses of strlen were removed. This should prevent issues in situations
    where the function is overloaded or otherwise broken.