Skip to content

Latest commit

 

History

History
268 lines (159 loc) · 11.6 KB

CHANGELOG-6.x.md

File metadata and controls

268 lines (159 loc) · 11.6 KB

Changes CompatInfo 6.x

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, adheres to Semantic Versioning, and is generated by Changie.

6.5.5 - 2023-05-12

Fixed

  • #359 : new setcookie signature not recognized

Full Changelog: 6.5.4...6.5.5

6.5.4 - 2022-12-14

Changed

Full Changelog: 6.5.3...6.5.4

6.5.3 - 2022-11-05

Fixed

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

Full Changelog: 6.5.2...6.5.3

6.5.2 - 2022-10-25

Fixed

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

Full Changelog: 6.5.1...6.5.2

6.5.1 - 2022-10-24

Fixed

  • Paths for configuration files on PHAR distribution

Full Changelog: 6.5.0...6.5.1

6.5.0 - 2022-10-24

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

  • Auto-wiring 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)

Full Changelog: 6.4.2...6.5.0

6.4.2 - 2022-09-27

Fixed

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

Full Changelog: 6.4.1...6.4.2

6.4.1 - 2022-04-07

Fixed

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

Full Changelog: 6.4.0...6.4.1

6.4.0 - 2022-04-06

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

Full Changelog: 6.3.0...6.4.0

6.3.0 - 2022-03-06

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

Full Changelog: 6.2.0...6.3.0

6.2.0 - 2022-02-06

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

Full Changelog: 6.1.2...6.2.0

6.1.2 - 2022-01-28

Changed

  • modify bartlett/php-compatinfo-db constraint to fix conflict with future versions 3.19 or greater

Full Changelog: 6.1.1...6.1.2

6.1.1 - 2022-01-18

Changed

  • GH-319 Add Platform to composer.json (thanks to @remicollet)
  • fix php-compatinfo-db constraint to avoid conflict with new version feature introduced in 3.17.0

Fixed

  • GH-339 Stop on empty/broken files during analysis (thanks to @yuri-ccp for reporting)

Removed

Full Changelog: 6.1.0...6.1.1

6.1.0 - 2022-01-06

Added

  • improves output option by introducing Reporter extension (see documentation)
  • #312: Add SARIF output format

Changed

Removed

  • Bartlett\CompatInfo\Presentation\Console\ApplicationInterface::VERSION constant that identify current version of Application
  • deprecated / End Of Life composer plugin composer/package-versions-deprecated, and use Composer 2.2 (LTS) equivalent feature
  • symfony/phpunit-bridge dependency (not used)

Full Changelog: 6.0.4...6.1.0

6.0.4 - 2022-01-18

Fixed

  • GH-339 Stop on empty/broken files during analysis (thanks to @yuri-ccp for reporting)

Full Changelog: 6.0.3...6.0.4

6.0.3 - 2022-01-05

Fixed

Full Changelog: 6.0.2...6.0.3

6.0.2 - 2021-12-27

Fixed

  • GH-313 Cannot install CompatInfo as a vendor dependency

Full Changelog: 6.0.1...6.0.2

6.0.1 - 2021-12-13

Fixed

  • #309: Composer 2.2 compatibility for plugins (thanks to @remicollet for reporting)
  • #310: Symfony 4 compatibility (thanks to @remicollet for reporting)

Full Changelog: 6.0.0...6.0.1

6.0.0 - 2021-12-11

Added

  • Phar manifest (--manifest option) is available with Phar version only (build with box-project/box 3.10 or greater)
  • Mega-Linter v5 support as QA tool to avoid technical debt
  • #308 : Support to PHP 8.1

Fixed

  • #286 - Mass method signature mismatch
  • #294 - Method signature inheritance issue (thanks @szepeviktor)

Removed

  • drop support of PHP 7.2
  • drop support for PHP 7.3 has ended 6th December 2021.
  • file config/container.php replaced by src/Infrastructure/Framework/Symfony/DependencyInjection/ContainerFactory.php

Full Changelog: 5.5.5...6.0.0