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
git
is now a standard JavaScript Promise instead of aQ
promise. You can useasync/await
but you might miss on additional features from the Q package. - BREAKING CHANGE: Internally
git
will useexecFile
instead ofshell
. This makes the execution safer because only thegit
executable 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
stdout
andcode
(a numeric error code), it now receivesstdout
anderror
, a JavaScriptError
withmessage
andcode
.