Skip to content

Releases: llaville/php-compatinfo

6.5.4

14 Dec 09:40
Compare
Choose a tag to compare

Changed

Full Changelog: 6.5.3...6.5.4

6.5.3

05 Nov 07:53
Compare
Choose a tag to compare

Fixed

  • #357 : Auto-diagnose is not launched with PHAR distribution

6.5.2

25 Oct 12:12
Compare
Choose a tag to compare

Fixed

  • #356 : regression: DATABASE_URL from env doesn't work in new 6.5.x (thanks @remicollet for reporting)

6.5.1

24 Oct 14:28
Compare
Choose a tag to compare

Fixed

  • Paths for configuration files on PHAR distribution

6.5.0

24 Oct 14:03
Compare
Choose a tag to compare

Added

  • support to light Kernel introduced since PHP CompatInfoDB 4.4 and finalized with CompatInfoDB 4.6
  • Composer symfony/framework-bundle dev constraint for debug:container and debug:event-dispatcher commands (helper for developers)

Changed

  • raise bartlett/php-compatinfo-db constraint to 4.6 minimum to support all features of light Kernel
  • Default Logger set log level (debug or info) accordingly to APP_DEBUG setting

Fixed

  • Autowiring alias is deprecated since Symfony 5.1
  • Avoid to override default logger when invoke analyser:run command with --debug option
  • Display timing and memory usage information, that won't show since release 6.2 (see --profile option)

6.4.2

27 Sep 13:03
Compare
Choose a tag to compare

Fixed

  • PHP CompatInfoDB 4.4 or greater is not supported by CompatInfo 6.4.x

6.4.1

07 Apr 10:43
Compare
Choose a tag to compare

Fixed

  • progress_bar extension : did not work since release 6.0.0
  • logger extension : did not work since release 6.0.0

6.4.0

06 Apr 10:35
Compare
Choose a tag to compare

Added

  • new rule:list command to display Compatibility Analyser rules supported

Changed

  • raise bartlett/php-compatinfo-db constraint to 4.2 minimum to support polyfill feature
  • #237 : Awareness of compatibility packages

Fixed

  • #213 : Static properties accessed through a variable are not detected

6.3.0

06 Mar 18:55
Compare
Choose a tag to compare

NOTE Not yet automagically release due to commit c2964d8

Added

  • #347 : Automate creation of new GitHub Release with PHAR version as asset

Experimental

  • new Bartlett\CompatInfo\Application\Extension\Reporter\RuleReporter to display Compatibility Analyser by feature rules (see sarif format)

Fixed

  • #345 : class PhpParser\Node\Expr\PropertyFetch could not be converted to string
  • #346 : Improves displaying Error in Datasource Analysis
  • #348 : TrailingCommaSniff give wrong results

6.2.0

06 Feb 15:07
Compare
Choose a tag to compare

Added

  • about command to display current long version and more information about this package.
  • new environment variable APP_VENDOR_DIR that identify vendor directory (auto-detection)
  • APP_DATABASE_URL contains full path without placeholders for SQLite driver.
  • APP_CACHE_DIR identifies directory where you may find the SQLite database version (compatinfo-db.sqlite).
  • APP_HOME_DIR identifies user home directory (whatever platform).
  • Simplify database initialization processus with bridge to new command db:create (from CompatInfoDB)
  • #322 : new sniff to detect PHP (8.1) Enumerations
  • #323 : new sniff to detect PHP (8.1) Readonly Properties
  • #324 : new sniff to detect PHP (8.1) First class callable syntax
  • #325 : new sniff to detect PHP (8.1) New in initializers
  • #329 : new sniff to detect PHP (8.1) Explicit Octal numeral notation
  • #330 : new sniff to detect PHP (8.1) Fibers
  • #331 : new sniff to detect PHP (8.1) Array unpacking support
  • #334 : new sniff to detect PHP (8.0) Named arguments
  • #335 : new sniff to detect PHP (8.0) Attributes
  • #336 : new sniff to detect PHP (8.0) Constructor property promotion
  • #337 : new sniff to detect PHP (8.0) Match expressions
  • #338 : new sniff to detect PHP (8.0) Nullsafe operator syntax
  • #340 : new sniff to detect PHP (8.0) Trailing comma syntax in parameters list and closure use list
  • #341 : new sniff to detect PHP (8.0) Non-capturing catches syntax

Changed

  • #326 : update sniffs to detect PHP (8.1) Intersection types
  • #327 : update sniffs to detect PHP (8.1) Never return type
  • #328 : update sniffs to detect PHP (8.1) Final class constants
  • option --version display now only long version without application description.
  • Checker service handle now, and print into diagnostic the application environment variables (keys/values).
  • Launch an auto-diagnose on db:* commands (excluding db:create) or analyser:run.
  • #343 : Allow displaying PHP suggested version on each reporter
  • Adjust Composer constraints to follow logical OR syntax with two pipes (see https://getcomposer.org/doc/articles/versions.md#version-range)

Fixed

  • #342 : Sniff AttributeSniff raise php.min too much