Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.8 KB

CHANGELOG.md

File metadata and controls

72 lines (46 loc) · 1.8 KB

4.0.0

  • Fix a bug where .getFile parameters were reversed. Published as a major change because it is API breaking

3.1.0

  • Implement sftp-backed mkdir
  • Implement maxAtOnce in putFiles()

3.0.1

  • Fix a bug for windows users where .putDirectory() wouldn't convert paths properly ( Thanks @lanxenet )

3.0.0

Confidently, this is the most stable version of this module to date 🎉

  • Rename .end to .dispose
  • Rename .get to .getFile
  • Rename .put to .putFile
  • Rename .putMulti to .putFiles
  • Add .putDirectory function to copy entire directories
  • Change order of .getFile parameters
  • Extended parameter validation in .putFiles
  • Close SFTP connections after they are used
  • Hide errors from cd when cwd is supplied but it does not exist
  • Do not throw sync errors in async functions, return a rejected promise instead
  • Propagate the private key read error if it's not ENOENT (ie. permissions issue)
  • Changed the signature of input in .putFiles (ie. lowercase the props, from Local to local and from Remote to remote)

2.0.7

  • Escape cwd parameter
  • Escape shell parameters

2.0.6

  • Fix more typos
  • Fix .get's promise never resolving

2.0.5

  • Fix some typos

2.0.4

  • Fix stdin support in .exec and .execCommand

2.0.3

  • Return code and signal in .execCommand if stream is set to both and in .exec

2.0.2

  • Fix a publishing issue

2.0.1

  • Fix method name in README
  • Stricter validation of config

2.0.0

  • Rewrite from CoffeeScript to JS
  • Rename .exec to .execCommand
  • Accept config in .connect instead of constructor
  • Add new .exec method that formats given parameters automatically
  • Do not return file contents in .get because we already write it to a file

1.0.0

  • Initial release