Skip to content

Releases: PhpGt/Cli

May 2024 release

08 May 17:49
42aeef2
Compare
Choose a tag to compare

What's Changed

  • Move to latest PhpGt/Daemon, with environment variable support
  • Upgrade CI and test coverage by @g105b in #240
  • Upgrade Cli CI by @g105b in #241

Full Changelog: v1.3.4...v1.3.5

September 2023 release

18 Sep 10:06
71deb9c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.3...v1.3.4

PHP 8.1 improvements

26 Feb 15:47
b0334ae
Compare
Choose a tag to compare
  • fix: deprecation notices & type safety by @g105b in #157

Minor general improvements

21 Sep 16:05
3f00088
Compare
Choose a tag to compare
  • Types are tidied up throughout.
  • An argument list is always nullable by default.
  • Composer is used to handle semantic version numbering.
  • An empty string is returned when no user input is detected (rather than null).
  • Dependencies bumped.

CI and type safety improvements

15 Feb 09:41
02e25f8
Compare
Choose a tag to compare

This patch release includes two improvements: 1) CI is handled by Github Actions now - you can check out the build history at https://github.com/PhpGt/Cli/actions 2) PHPStan level 6 has been applied to the code, meaning certain type hints have been improved for greater readability and future maintainability.

Have fun!

Upgrade to PHP 7.4

03 Jan 15:43
3432e0a
Compare
Choose a tag to compare

Since the introduction of PHP 7.4, the way sub-processes are handled in PHP is a lot cleaner and more manageable. This release upgrades to the new execution model, which means that if any Gt/Cli/Command is executed from within another PHP process, the server will no longer be left hanging after the parent process is terminated.

Stable dependencies

14 Jun 13:46
Compare
Choose a tag to compare

PhpGt/Cli depends on PhpGt/Daemon, which has received its first stable release, meaning that this repository no longer has to specify dev-master in its composer.json.

June 2019 minor improvements

10 Jun 15:05
Compare
Choose a tag to compare

No new functionality is being introduced in this release, but plenty of backwards-compatible improvements, such as:

  • Fixed bug where arguments with no value must be passed only at the end of the arguments list
  • Full documentation is output in the --help command
  • All processes take advantage of the PHP.Gt/Daemon repository
  • Use in/out/err streams by default (no need to specify)

In-memory streams

25 Mar 11:27
Compare
Choose a tag to compare

This is a minor release consisting of an introduction of default constructor arguments to the Stream object. Now a Stream can be constructed without specifying any particular stream path, in which case the object will use php://memory.

ArgumentValue improvements

14 Mar 15:06
Compare
Choose a tag to compare

This is a minor update with two small improvements to the ArgumentValue class.

  1. ArgumentValue objects can now be treated as strings
  2. Default values are set correctly