Skip to content

Releases: czproject/git-php

Version 4.3.0

07 Aug 08:49
Compare
Choose a tag to compare
  • RunnerResult - accepts raw output & error output (#100)
  • GitRepository - method run() is public now (#100)

Full Changelog: v4.2.0...v4.3.0

Version 4.2.0

07 Aug 08:48
Compare
Choose a tag to compare
  • Git: isRemoteUrlReadable() - returns TRUE for empty repositories (#92)

Full Changelog: v4.1.0...v4.2.0

Version 4.1.0

07 Aug 08:47
Compare
Choose a tag to compare
  • added OldGitRunner (#86, #82)

Full Changelog: v4.0.5...v4.1.0

Version 4.0.5

27 Apr 12:26
Compare
Choose a tag to compare
  • GitRepository: methods pull(), push() & fetch() accepts string[] in $remote argument (#77)

Version 4.0.4

27 Apr 12:25
Compare
Choose a tag to compare
  • GitRepository: checkout() - removed --end-of-options option (#77)

Version 4.0.3

21 Apr 16:56
Compare
Choose a tag to compare
  • uses --end-of-options after command options (for security reasons)

Version 4.0.2

21 Apr 16:55
Compare
Choose a tag to compare
  • GitRepository: fixed parameters in git log commands (closes #70)

Version 4.0.1

10 May 15:07
Compare
Choose a tag to compare
  • CliRunner: fixed reading of STDOUT (#69)
  • GitRepository: uses --no-color option for git branch commands

Version 4.0.0

29 Apr 18:41
Compare
Choose a tag to compare
  • removed interface IGit
  • changed namespace to CzProject\GitPhp
  • GitRepository - return-type changed to static
  • requires PHP 5.6 or newer
  • added factory CzProject\GitPhp\Git with methods open(), init() & cloneRepository()
  • GitRepository::execute() uses variadics parameters
  • exec() replaced by proc_open() (see CzProject\GitPhp\Runners\CliRunner)
  • improved command processing, throws exception for invalid value types
  • rewritten tests
  • removed GitRepository::isChanges()
  • GitRepository::getLastCommitId() returns CzProject\GitPhp\CommitId
  • added GitRepository::getCommit()
  • removed GitRepository::getCommitAuthor() (use GitRepository::getCommit() instead)
  • removed GitRepository::getCommitDate() (use GitRepository::getCommit() instead)
  • removed GitRepository::getCommitMessage() (use GitRepository::getCommit() instead)
  • removed GitRepository::getCommitData() (use GitRepository::getCommit() instead)
  • uses PhpStan
  • coding style

Version 3.18.2

29 Apr 18:34
Compare
Choose a tag to compare
  • return-type self changed to IGit (#61)