Releases: czproject/git-php
Releases · czproject/git-php
Version 3.5.0
- added new method
push()
(#3) - updated README
Version 3.4.0
- added new method
pull()
(#2)
Version 3.3.0
GitRepository
: changed method & property visibility fromprivate
toprotected
IGit
: added missinggetLocalBranches()
- typos
Version 3.2.0
- method
isChanges()
renamed tohasChanges()
(#1) - method
isChanges()
is now deprecated, usehasChanges()
instead
Version 3.1.0
- added new argument into
init()
method - improved tests, readme,...
- fixed PHP minimal version in composer.json
Version 3.0.0
- 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 forgit clone <URL> <directory>
- updated README (added examples, etc.)
- updated tests
- removed trailing spaces from source code
Version 2.0.0
- files moved into
/src
directory - class
Cz\Git\Git
renamed toCz\Git\GitRepository
(BC break) - added parameter for path to repository in
__constructor
(BC break) - normalized method names (
add
→addFile
,branchCreate
→createBranch
, ...) (BC break) - added new methods
removeTag
,renameTag
,getTags
,getBranches
andgetRepositoryPath
- 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
- removed bad USE statement from code
Version 1.0.1
- added method
rename()
- fixed typos
Version 1.0.0
First public version.