Skip to content

4.0.0

Choose a tag to compare

@llaville llaville released this 04 Feb 07:28
· 965 commits to master since this release

NOTE: I will thanks @remicollet to is help to have made this major version better

Added

  • about command to display current long version and more information about this package.
  • APP_DATABASE_URL contains full path without placeholders for SQLite driver.
  • APP_CACHE_DIR identifies directory where you may find the SQLite database (compatinfo-db.sqlite) by default.
  • APP_HOME_DIR identifies user home directory (whatever platform).

Changed

  • option --version display now only long version without application description.
  • enhance how is displayed application version installed : Learn more on discussion 116
  • Checker service handle now, and print into diagnostic the application environment variables (keys/values).
  • Launch an auto diagnostic when a db:* command (excluding db:create and db:init) is run.
  • db:init command use internally a command bus rather than a query bus (follow concept of CQRS architecture)
  • db:init command add only instance from DistributionRepository
  • db:create command separate presentation and handler as other db commands (follow concept of CQRS architecture)
  • db:create command (only handle schema creation). Use db:init command to load database contents
  • db:list command (always returns a platform and never create one on fly as previously in v3.x)
  • Xdebug reference updated to version 3.1.3 (stable)

Removed

  • Checker service that was previously used to display diagnose command results (breaking layers architecture), replaced by PrintDiagnose trait.
  • PlatformRepository now database does not contains anymore instance of current PHP Interpreter
  • --all option of db:list command (becomes the default behaviour)

Fixed

  • #112 touch fails on read-only database (thanks to @remicollet for reporting)
  • #113 db:list fails
  • #114 db:create fails when database exists (thanks to @remicollet for reporting)
  • display manifest on PHAR distribution. Lear more