Skip to content

v2.0.0

Latest

Choose a tag to compare

@HafizMMoaz HafizMMoaz released this 07 Sep 14:49
488f846

Breaking Changes

  • The metapackage now requires webisters/cli ^2.0 (#20). In cli 2.0 Console::run() and Console::exec() return the exit code as an int instead of void, a typed option passed without a value fails validation instead of being true, and a command that declares -h or --help receives that option instead of the auto generated help. Applications that subclass Console or rely on those behaviours need the changes described in the cli release notes

New Features

  • -o value and --opt value option parsing, command decided exit codes, console level exception handling, definition defaults, richer help output and NO_COLOR support all arrive with cli 2.0. See the cli v2.0.0 notes for the full list of the 18 issues it closes

Fixes

  • Webisters::VERSION reports the real version again (#21). It had been left at 1.0.0 since before v1.0.1
  • The version pattern assertion in WebistersTest matches the constant format (#17)

Internal

  • CI workflow running the test suite and the coding standard, on PHP 8.4, with pcov coverage and MySQL local infile enabled for the database tests. test is the gate, lint is advisory
  • Community health files: contributing guide, code of conduct and security policy (#16)
  • The coding standard is applied across the package (#18)