ssh2-sftp-client 5.3.0 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.org ADDED
@@ -0,0 +1,225 @@
1
+ * Change Logging
2
+
3
+ ** Version 6.0.1
4
+ - Fix issue with connect retry not releasing 'ready' listeners
5
+ - Add finally clauses to all promises to ensure temporary listeners are deleted
6
+ - Add nyc module to report on code test coverage
7
+ - Add additional utils tests to increase test coverage
8
+ - Removed some dead code and unused utility functions to reduce download size
9
+ - Cleanup tests and reduce inter-test dependencies
10
+
11
+ ** V6.0.0.0
12
+ - Update connection retry code to use the promise-retry module instead of
13
+ plain rety module
14
+ - Added optional filter argument for uploadDir/downlDir to select which files
15
+ and directories are included
16
+ - Added an optional boolean argument to delete to turn off raising an error
17
+ when delete target does not exists
18
+ - Reduced/simplified argument verification code to reduce package size and
19
+ increase performance
20
+ - Refactored handling of events and add default close and error listeners to
21
+ catch connections closed abruptly without an error being raised.
22
+
23
+ ** V5.3.2
24
+ - Minor README typo fixes
25
+ - Fix error in local file path checks (#294)
26
+
27
+ ** V5.3.1
28
+ - Fix bug in handling of relative local paths
29
+ - Change handling of stream closures in ~get()~ and ~put()~ methods
30
+
31
+ ** v5.3.0
32
+ - Refine event handler management
33
+ - Fix path processing for win32 based sftp servers
34
+ - Update documentation
35
+ ** v5.2.2
36
+ - Bug fix release. Add error code 4 check to stat() method.
37
+ - bump Mocha version for tests
38
+
39
+ ** v5.2.1
40
+ - Move some dependencies into dev-Dependencies
41
+ ** v5.2.0
42
+ - Add new method posixRename() which uses the openSSH POSIX rename extension.
43
+ ** v5.1.3
44
+ - Fix bug when writing to root directory and failure due to not being able to
45
+ determine parent
46
+ - Refactor some tests to eliminate need to have artificial delays between
47
+ tests
48
+ - Bumped some dependency versions to latest version
49
+ ** v5.1.2
50
+ - Added back global close handler
51
+ - Added dumpListeners() method
52
+
53
+ ** v5.1.1
54
+ - Added separate close handlers to each method.
55
+ - Added missing return statement in connect method
56
+ - Added additional troubleshooting documentation for
57
+ common errors.
58
+
59
+ ** v5.1.0
60
+ - Fix bug in checkRemotePath() relating to handling of badly
61
+ specified paths (issue #213)
62
+ - Added additional debugging support
63
+ - Add missing test for valid connection in end() method.
64
+ - Bump ssh2 version to v0.8.8
65
+
66
+ ** v5.0.2
67
+ - Fix bugs related to win32 platform and local tests for valid directories
68
+ - Fix problem with parsing of file paths
69
+
70
+ ** v5.0.1
71
+ - Turn down error checking to be less stringent and handle situations
72
+ where user does not have read permission on parent directory.
73
+
74
+ ** v5.0.0
75
+ - Added two new methods ~uploadDir()~ and ~downloadDir()~
76
+ - Removed deprecated ~auxList()~ method
77
+ - Improved error message consistency
78
+ - Added additional error checking to enable more accurate and useful error
79
+ messages.
80
+ - Added default error handler to deal with event errors which fire outside of
81
+ active SftpClient methods (i.e. connection unexpectedly reset by remote host).
82
+ - Modified event handlers to ensure that only event handlers added by the
83
+ module are removed by the module (users now responsible for removing any
84
+ custom event handlers they add).
85
+ - Module error handlers added using ~prependListener~ to ensure they are
86
+ called before any additional custom handlers added by client code.
87
+ - Any error events fired during an ~end()~ call are now ignored.
88
+
89
+ ** v4.3.1
90
+ - Updated end() method to resolve once close event fires
91
+ - Added errorListener to error event in each promise to catch error events
92
+ and reject the promise. This should resolve the issue of some error events
93
+ causing uncaughtException erros and causing the process to exit.
94
+
95
+ ** v4.3.0
96
+ - Ensure errors include an err.code property and pass through the error code
97
+ from the originating error
98
+ - Change tests for error type to use ~error.code~ instead of matching on
99
+ ~error.message~.
100
+
101
+ ** v4.2.4
102
+ - Bumped ssh2 to v0.8.6
103
+ - Added exists() usage example to examples directory
104
+ - Clarify documentation on get() method
105
+ ** v4.2.3
106
+ - Fix bug in ~exist()~ where tests on root directory returned false
107
+ - Minor documentation fixes
108
+ - Clean up mkdir example
109
+
110
+ ** v4.2.2
111
+ - Minor documentation fixes
112
+ - Added additional examples in the ~example~ directory
113
+
114
+ ** v4.2.1
115
+ - Remove default close listener. changes in ssh2 API removed the utility of a
116
+ default close listener
117
+ - Fix path handling. Under mixed environments (where client platform and
118
+ server platform were different i.e. one windows the other unix), path
119
+ handling was broken due tot he use of path.join().
120
+ - Ensure error messages include path details. Instead of errors such as "No
121
+ such file" now report "No such file /path/to/missing/file" to help with
122
+ debugging
123
+
124
+ ** v4.2.0
125
+ - Work-around for SSH2 =end= event bug
126
+ - Added ability to set client name in constructor method
127
+ - Added additional error checking to prevent ~connect()~ being called on
128
+ already connected client
129
+ - Added additional examples in =example= directory
130
+
131
+ ** v4.1.0
132
+ - move ~end()~ call to resolve into close hook
133
+ - Prevent ~put()~ and ~get()~ from creating empty files in destination when
134
+ unable to read source
135
+ - Expand tests for operations when lacking required permissions
136
+ - Add additional data checks for ~append()~
137
+ - Verify file exists
138
+ - Verify file is writeable
139
+ - Verify file is a regular file
140
+ - Fix handling of relative paths
141
+ - Add ~realPath()~ method
142
+ - Add ~cwd()~ method
143
+
144
+ ** v4.0.4
145
+ - Minor documentation fix
146
+ - Fix return value from ~get()~
147
+
148
+ ** v4.0.3
149
+ - Fix bug in mkdir() relating to handling of relative paths
150
+ - Modify exists() to always return 'd' if path is '.'
151
+
152
+ ** v4.0.2
153
+ - Fix some minor packaging issues
154
+
155
+ ** v4.0.0
156
+ - Remove support for node < 8.x
157
+ - Fix connection retry feature
158
+ - sftp connection object set to null when 'end' signal is raised
159
+ - Removed 'connectMethod' argument from connect method.
160
+ - Refined adding/removing of listeners in connect() and end() methods to enable
161
+ errors to be adequately caught and reported.
162
+ - Deprecate auxList() and add pattern/regexp filter option to list()
163
+ - Refactored handling of event signals to provide better feedback to clients
164
+ - Removed pointless 'permissions' property from objects returned by ~stat()~
165
+ (same as mode property). Added additional properties describing the type of
166
+ object.
167
+ - Added the ~removeListener()~ method to compliment the existing ~on()~ method.
168
+
169
+ ** Older Versions
170
+ *** v2.5.2
171
+ - Repository transferred to theophilusx
172
+ - Fix error in package.json pointing to wrong repository
173
+
174
+ *** v2.5.1
175
+ - Apply 4 pull requests to address minor issues prior to transfer
176
+
177
+ *** v2.5.0
178
+ - ???
179
+
180
+ *** v2.4.3
181
+ - merge #108, #110
182
+ - fix connect promise if connection ends
183
+
184
+ *** v2.4.2
185
+ - merge #105
186
+ - fix windows path
187
+
188
+ *** v2.4.1
189
+ - merge pr #99, #100
190
+ - bug fix
191
+
192
+ *** v2.4.0
193
+ - Requires node.js v7.5.0 or above.
194
+ - merge pr #97, thanks for @theophilusx
195
+ - Remove emitter.maxListener warnings
196
+ - Upgraded ssh2 dependency from 0.5.5 to 0.6.1
197
+ - Enhanced error messages to provide more context and to be more consistent
198
+ - re-factored test
199
+ - Added new 'exists' method and re-factored mkdir/rmdir
200
+
201
+ *** v2.3.0
202
+ - add: ~stat~ method
203
+ - add ~fastGet~ and ~fastPut~ method.
204
+ - fix: ~mkdir~ file exists decision logic
205
+
206
+ *** v3.0.0 -- deprecate this version
207
+ - change: ~sftp.get~ will return chunk not stream anymore
208
+ - fix: get readable not emitting data events in node 10.0.0
209
+
210
+ *** v2.1.1
211
+ - add: event listener. [[https://github.com/jyu213/ssh2-sftp-client#Event][doc]]
212
+ - add: ~get~ or ~put~ method add extra options [[https://github.com/jyu213/ssh2-sftp-client/pull/52][pr#52]]
213
+
214
+ *** v2.0.1
215
+ - add: ~chmod~ method [[https://github.com/jyu213/ssh2-sftp-client/pull/33][pr#33]]
216
+ - update: upgrade ssh2 to V0.5.0 [[https://github.com/jyu213/ssh2-sftp-client/pull/30][pr#30]]
217
+ - fix: get method stream error reject unwork [[https://github.com/jyu213/ssh2-sftp-client/issues/22][#22]]
218
+ - fix: return Error object on promise rejection [[https://github.com/jyu213/ssh2-sftp-client/pull/20][pr#20]]
219
+
220
+ *** v1.1.0
221
+ - fix: add encoding control support for binary stream
222
+
223
+ *** v1.0.5:
224
+ - fix: multi image upload
225
+ - change: remove ~this.client.sftp~ to ~connect~ function