Skip to content

Releases: maxmind/MaxMind-DB-Reader-php

1.11.1

02 Dec 00:09
1e66f73
Compare
Choose a tag to compare
  • Resolve warnings when compiling the C extension.
  • Fix various type issues detected by PHPStan level. Pull request by
    LauraTaylorUK. GitHub #160.

1.11.0

18 Oct 15:45
b1f3c06
Compare
Choose a tag to compare
  • Replace runtime define of a constant to facilitate opcache preloading.
    Reported by vedadkajtaz. GitHub #134.
  • Resolve minor issue found by the Clang static analyzer in the C
    extension.

1.10.1

14 Apr 17:55
Compare
Choose a tag to compare
  • Fix a TypeError exception in the pure PHP reader when using large
    databases on 32-bit PHP builds with the bcmath extension. Reported
    by dodo1708. GitHub #124.

1.10.0

09 Feb 17:53
Compare
Choose a tag to compare
  • When using the pure PHP reader, unsigned integers up to PHP_MAX_INT
    will now be integers in PHP rather than strings. Previously integers
    greater than 2^24 on 32-bit platforms and 2^56 on 64-bit platforms
    would be strings due to the use of gmp or bcmath to decode them.
    Reported by Alejandro Celaya. GitHub #119.

1.9.0

07 Jan 21:15
Compare
Choose a tag to compare
  • The maxminddb extension is now buildable on Windows. Pull request
    by Jan Ehrhardt. GitHub #115.

1.8.0

01 Oct 17:30
Compare
Choose a tag to compare
  • Fixes for PHP 8.0. Pull Request by Remi Collet. GitHub #108.

1.7.0

07 Aug 22:11
Compare
Choose a tag to compare
  • IMPORTANT: PHP 7.2 or greater is now required.
  • The extension no longer depends on the pure PHP classes in
    maxmind-db/reader. You can use it independently.
  • Type hints have been added to both the pure PHP implementation
    and the extension.
  • The metadata method on the reader now returns a new copy of the
    metadata object rather than the actual object used by the reader.
  • Work around PHP is_readable() bug. Reported by Ben Roberts. GitHub
    #92.
  • This is the first release of the extension as a PECL package.
    GitHub #34.

1.6.0

19 Dec 22:59
Compare
Choose a tag to compare
  • 1.5.0 and 1.5.1 contained a possible memory corruptions when using
    getWithPrefixLen. This has been fixed. Reported by proton-ab.
    GitHub #96.
  • The composer.json file now conflicts with all versions of the
    maxminddb C extension less than the Composer version. This is to
    reduce the chance of having an older, conflicting version of the
    extension installed. You will need to upgrade the extension before
    running composer update. Pull request by Benoît Burnichon. GitHub
    #97.

1.5.1

12 Dec 18:33
Compare
Choose a tag to compare
  • Minor performance improvements.
  • Make tests pass with older versions of libmaxminddb. PR by Remi
    Collet. GitHub #90.
  • Test enhancements. PR by Chun-Sheng, Li. GitHub #91.

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.