Skip to content

Releases: piuccio/git-promise

v1.0.0

29 Feb 02:54
Compare
Choose a tag to compare

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 a Q promise. You can use async/await but you might miss on additional features from the Q package.
  • BREAKING CHANGE: Internally git will use execFile instead of shell. This makes the execution safer because only the git 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 and code (a numeric error code), it now receives stdout and error, a JavaScript Error with message and code.

v0.3.1...v1.0.0