Releases: theophilusx/ssh2-sftp-client
Add posixRename() method
- Adds support for the openSSH extension POSIX rename().
- Bump through2 dependency version to 4.0.2
Minor bug fix
Fix bug relating to permissions on root directory and determining directory parent. Also bumped dependencies to latest version
Bug Fix for close listeners
- Add back global close handler to ensure sftp object is unset whenever close signal is received
- bumped ssh2 version to 0.8.9
Fix handling of unexpected connection closure bug
Fix bug which failed to handle lost connections and therefore did not reject existing promises.
Additional debugging support
Added additional debugging support and fixed 2 bugs
checkLocalPath() fixes
Tests for local file/directories were not working under win32 due to path issues and use of path.psix.parse() instead of path.parse.
Relax error checking
Error checking was too stringent and use of list() in exists was a problem if user did not have read and execute access for parent directory. Using stat() instead of list() should fix that issue.
Version 5.0.0
New version which includes
- new uploadDir() method
- new downloadDir() method
- enhanced error handling and reporting
- removed deprecated auxList() method
Error handling bug fix
Modify end() method to only resolve once close event has been raised
Add error listener to each individual promise to ensure any errors emitted during the promise result in the promise being rejected
Include error codes in error messages. Drop support for node < v10.x
Ensure erors raised by the module include an error.code property. If the originating error has an error.code property, use that values, otherwise add an appropriate value.