Skip to content

Releases: czproject/git-php

Version 3.2.0

02 Jun 16:36
Compare
Choose a tag to compare
  • method isChanges() renamed to hasChanges() (#1)
  • method isChanges() is now deprecated, use hasChanges() instead

Version 3.1.0

10 May 19:52
Compare
Choose a tag to compare
  • added new argument into init() method
  • improved tests, readme,...
  • fixed PHP minimal version in composer.json

Version 3.0.0

14 Oct 21:55
Compare
Choose a tag to compare
  • changed behavior of getBranches() - returns list of all remote and local branches in repository from now (BC break)
  • new method getLocalBranches()
  • method getCurrentBranchName() works from now with all branches in repository (remotes and locals)
  • new static method cloneRepository() - alias for git clone <URL> <directory>
  • updated README (added examples, etc.)
  • updated tests
  • removed trailing spaces from source code

Version 2.0.0

18 Aug 13:58
Compare
Choose a tag to compare
  • files moved into /src directory
  • class Cz\Git\Git renamed to Cz\Git\GitRepository (BC break)
  • added parameter for path to repository in __constructor (BC break)
  • normalized method names (addaddFile, branchCreatecreateBranch, ...) (BC break)
  • added new methods removeTag, renameTag, getTags, getBranches and getRepositoryPath
  • added new static factory method init ($repo = GitRepository::init('/path/to/directory');)
  • added tests (Nette\Tester)
  • and a lot of fixes and improvements

Version 1.0.2

19 Aug 07:38
Compare
Choose a tag to compare
  • removed bad USE statement from code

Version 1.0.1

19 Aug 07:34
Compare
Choose a tag to compare
  • added method rename()
  • fixed typos

Version 1.0.0

27 Dec 10:11
Compare
Choose a tag to compare

First public version.