MaxMind DB Reader Php Versions Save

PHP Reader for the MaxMind DB Database Format

v1.11.1

5 months ago
  • Resolve warnings when compiling the C extension.
  • Fix various type issues detected by PHPStan level. Pull request by LauraTaylorUK. GitHub #160.

v1.11.0

2 years ago
  • 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.

v1.10.1

3 years ago
  • 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.

v1.10.0

3 years ago
  • 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.

v1.9.0

3 years ago
  • The maxminddb extension is now buildable on Windows. Pull request by Jan Ehrhardt. GitHub #115.

v1.8.0

3 years ago
  • Fixes for PHP 8.0. Pull Request by Remi Collet. GitHub #108.

v1.7.0

3 years ago
  • 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.

v1.6.0

4 years ago
  • 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.

v1.5.1

4 years ago
  • 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.

v1.5.0

4 years ago
  • 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.