Skip to content

Latest commit

 

History

History
160 lines (114 loc) · 5.31 KB

CHANGELOG.md

File metadata and controls

160 lines (114 loc) · 5.31 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

PRs and issues are linked, so you can find more about it. Thanks to ChangelogLinker.

[v2.2.0] - 2019-04-29

[v2.1.0] - 2018-11-09

Changed

  • #160 bump Symfony to 4.1, ECS to 5.1, PHPStan
  • #158 Bump dependencies, code styling and static analysis fixes
  • #151 PHPUnit 7, Thanks to @carusogabriel

Fixed

[v2.0.1] - 2018-01-30

Added

Changed

v2.0.0 - 2017-12-31

Added

Changed

  • #136 Symfony 4.0 and PHP 7.1 support + min. requirement added, Thanks to @cpliakas

  • #130 Bump to PHP 7.0 min. requirement, cleanup of meta utils, Thanks to @TomasVotruba

  • #137 Make use of PHP 5.6 feature variadics and to make Command API better. Also drop createInstance() helper method thanks to that, Thanks to @TomasVotruba

    Before

    array_unshift($argsAndOptions, 'name');
    GitCommand::createInstance($argsAndOptions);

    After

    new GitCommand('name', $argsAndOptions);

Removed

  • #137 Removed getOutput() and __toString() magic methods, now output is returned right away, Thanks to @TomasVotruba

    Before

    $output = $git->add('*')->getOutput();
    $output = (string) $git->add('*');

    After

    $output = $git->add('*');
  • #137 Removed fluent interfaces to support 1 way to do things, also more git alike, Thanks to @TomasVotruba

    Before

    $git->add('*')
        ->commit('Initial commit.');

    After

    $git->add('*');
    $git->commit('Initial commit.');
  • #137 Removed clone() helper method, to drop magic it was build on. Use cloneRepository() instead, Thanks to @TomasVotruba

    Before

    $gitWrapper->clone(...);

    After

    $gitWrapper->cloneRepository(...);

[1.7.0]

  • misc