Releases: piuccio/git-promise
Releases · piuccio/git-promise
v1.0.0
General update to a more modern and secure code.
This library now doesn't have any dependencies.
- BREAKING CHANGE: Minimum node version of 10.0 since older versions are not maintained anymore.
- BREAKING CHANGE: The return value of
gitis now a standard JavaScript Promise instead of aQpromise. You can useasync/awaitbut you might miss on additional features from the Q package. - BREAKING CHANGE: Internally
gitwill useexecFileinstead ofshell. This makes the execution safer because only thegitexecutable can run, but prevents complex use cases where the whole power of a shell is needed. - BREAKING CHANGE: The signature of callbacks with two parameters has changed, instead of receiving
stdoutandcode(a numeric error code), it now receivesstdoutanderror, a JavaScriptErrorwithmessageandcode.