Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@piuccio piuccio released this 29 Feb 02:54
· 2 commits to master since this release

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