Skip to content

Releases: llaville/php-compatinfo-db

3.6.0

13 May 16:20

Choose a tag to compare

Added

  • PHP 8.0.6 support
  • PHP 7.4.19 support
  • new Dependencies column in db:show command output that will display librairies dependency constraints
  • new doctor command to help to debug issues by checking current installation

Changed

  • Xhprof reference updated to version 2.3.2 (stable)

Fixed

  • ClassHydrator to handle dependencies
  • #75 tests failure (thanks to @remicollet for reporting)

3.5.0

03 May 05:33

Choose a tag to compare

Added

  • PHP 8.0.5 support
  • PHP 7.4.18 support
  • PHP 7.3.28 support
  • Support to rdkafka extension (Kafka client based on librdkafka)
  • new db:build command for developers only (using APP_ENV=dev) to generate JSON files to add a new extension
  • add shortcut to option all of command db:list
  • flags property in Class/Function entities to identify (public/protected/private methods, abstract, final, static classes/methods)
  • With new flags column, db:show <extension> --methods command is now able to display when method is abstract (A), final (F) or static (S)

Caution DB structure changed

Changed

  • Ast reference updated to version 1.0.11 (stable)
  • Http reference updated to version 4.1.0 (stable)
  • Igbinary reference updated to version 3.2.2 (stable)
  • Mcrypt reference updated to version 1.0.4 (stable) for PHP 7.2.0 or greater
  • Redis reference updated to version 5.3.4 (stable)
  • Sync reference updated to version 1.1.2 (stable)
  • Wddx was unbundled from PHP since version 7.4.0
  • Xdebug reference updated to version 3.0.4 (stable)
  • Xhprof reference updated to version 2.3.1 (beta)
  • Clean-up JSON files by removing static (false) definition that is the default

As support to PHP 5 was dropped in release 2.0.0, we removed following extensions :

  • apc
  • ereg
  • mhash
  • mongo
  • mysql
  • sqlite

Some other extensions have support limited :

Fixed

  • #70 test failure for pcre extension (thanks to @remicollet for reporting)
  • #72 Checks that elements available in extension are define in Reference
  • #73 Wrong static property in JSON files did not fail unit tests
  • Bartlett\CompatInfoDb\Infrastructure\Persistence\Doctrine\Repository\ConstantRepository::getConstantByName when name is lowercase
  • Wrong assertion in Bartlett\CompatInfoDb\Tests\Reference\GenericTest::provideReferenceValues about ext.min property
  • Json reference version related to specific rules (see ExtensionVersionProviderTrait)

3.4.2

13 Mar 10:11

Choose a tag to compare

Fixed

  • Autoloader regression when using this dependency in another project like php-compatinfo

3.4.1

13 Mar 09:12

Choose a tag to compare

CAUTION: uses config/bootstrap.php to apply autoloader and initialize environment variables (APP_ENV and APP_PROXY_DIR)

Fixed

  • #69 Proxy files management is broken (thanks to @remicollet for reporting)

3.4.0

12 Mar 06:07

Choose a tag to compare

Added

  • Autogenerate Doctrine proxy files.
    Sets environment variable APP_PROXY_DIR to defines the directory where Doctrine generates any proxy classes.
    Default is /tmp/bartlett/php-compatinfo-db/<VERSION>/proxies (with VERSION current application version)

3.3.0

09 Mar 15:55

Choose a tag to compare

Added

  • PHP 7.4.16 support
  • PHP 8.0.3 support

Changed

  • Add progress flag on db:init command to display a progress bar only on demand (for slow system)
  • Use PHPStan for static analysis in Github Actions Workflows
  • Use the ramsey/composer-install action to install dependencies
  • APCu reference updated to version 5.1.20 (stable)
  • Ssh2 reference updated to version 1.3.1 (beta)
  • Xdebug reference updated to version 3.0.3 (stable)

Fixed

  • #66 oci8 test failure
  • The flags parameter of preg_replace_callback was added in PHP 7.4.0

3.2.0

09 Feb 09:50

Choose a tag to compare

Added

  • new repositories for easy access of single elements (class, interface, method, function, constant)
  • PHP 7.3.27 support
  • PHP 7.4.15 support
  • PHP 8.0.2 support

Changed

  • DB optimization: removed all empty (blank) properties by NULL value
  • Redis reference updated to version 5.3.3 (stable)

Fixed

  • #65 Make the database compatible with all PHP versions

Because Doctrine ORM v2 has following issue

  • 7598 Unable to create a proxy for a final class
    we removed final keyword from Persistence Entity Objects

3.1.1

20 Jan 06:34

Choose a tag to compare

Changed

  • Xmldiff reference updated to version 1.1.3 (stable)

Fixed

Thanks to @remicollet to reported all this four issues:

  • #61 Keep Symfony 4.4 Backward Compatibility
  • #62 OCI8 reference issue
  • #63 http reference issue
  • #64 xmlrpc reference issue

3.1.0

09 Jan 08:45

Choose a tag to compare

Added

  • PHP 7.3.26 support
  • PHP 7.4.14 support
  • PHP 8.0.1 support

Changed

  • replaced return 0 by return Command::SUCCESS and return 1 by return Command::FAILURE in Console commands

Fixed

  • assure application version used when initializing platforms and displaying them

3.0.2

06 Jan 12:50

Choose a tag to compare

Fixed

  • bump new Application version

Removed

  • clean-up old component from v2.x