UNPKG

11.5 kBMarkdownView Raw
1# WebDAV-Client changelog
2
3## v4.6.1
4_2021-08-14_
5
6 * **Bugfix**:
7 * [#267](https://github.com/perry-mitchell/webdav-client/pull/267) Fix `getFileContents` string handling of remote JSON files
8
9## v4.6.0
10_2021-05-21_
11
12 * `response` property on `WebDAVClientError` instances ([#261](https://github.com/perry-mitchell/webdav-client/issues/261))
13
14## v4.5.0
15_2021-05-17_
16
17 * Update dependencies - Webpack v5
18 * **Bugfix**:
19 * [#263](https://github.com/perry-mitchell/webdav-client/pull/263) Fix `putFileContents` `onUploadProgress` callback option
20
21## v4.4.0
22_2021-05-09_
23
24 * [#259](https://github.com/perry-mitchell/webdav-client/pull/259) Ensure correct collection path when creating directory
25 * [#258](https://github.com/perry-mitchell/webdav-client/pull/258) Handle prop status code in response when using `stat`
26
27## v4.3.0
28_2021-03-28_
29
30 * [#118](https://github.com/perry-mitchell/webdav-client/issues/118) `createDirectory` `recursive` option
31
32## v4.2.1
33_2021-03-07_
34
35_Includes a new feature for v4: `data` override option in method options. This missing feature is actually a regression when compared to the v3 code-base, but is now a first-party citizen in v4._
36
37 * **Bugfix**:
38 * [#238](https://github.com/perry-mitchell/webdav-client/issues/238) Regression: Not possible to request custom properties in v4
39
40## v4.2.0
41_2021-02-18_
42
43 * [#203](https://github.com/perry-mitchell/webdav-client/issues/203) `putFileContents` 412 response handling when `{ overwrite: false }`
44 * [#142](https://github.com/perry-mitchell/webdav-client/issues/142) Callbacks with `response`s for `createReadStream` and `createWriteStream`
45 * [#31](https://github.com/perry-mitchell/webdav-client/issues/31) Errors thrown for range requests that don't return `206 Partial Content`
46
47## v4.1.0
48_2021-02-15_
49
50 * Overridable `headers` option for most methods
51 * Set and get base client headers via `setHeaders` and `getHeaders`
52
53## v4.0.0
54_2021-02-01_
55
56 * **Major release**
57 * Project re-written in **Typescript**
58
59Breaking changes:
60
61 * Authentication is **explicit** in v4, when not using basic/no authentication. [Specify the authentication type](https://github.com/perry-mitchell/webdav-client#authentication--connection) when creating the client.
62 * `headers` can be specified when creating a client. These are overridden by method-specific headers when making requests.
63
64## v3.6.2
65_2021-01-06_
66
67 * **Bugfixes**:
68 * [#231](https://github.com/perry-mitchell/webdav-client/pull/231) Unable to target files using custom request
69 * **Security Patches**:
70 * [#232](https://github.com/perry-mitchell/webdav-client/issues/232) Axios server-side request forgery vulerability ([CVE-2020-28168](https://github.com/advisories/GHSA-4w2v-q235-vp99))
71
72## v3.6.1
73_2020-10-15_
74
75 * **Bugfixes**:
76 * [#221](https://github.com/perry-mitchell/webdav-client/issues/221) Stat function erroneously decodes paths with `%` in them
77
78## v3.6.0
79_2020-10-12_
80
81 * [#220](https://github.com/perry-mitchell/webdav-client/pull/220) `maxBodyLength` option for changing written files max size
82 * **Bugfixes**:
83 * [#218](https://github.com/perry-mitchell/webdav-client/issues/218) Invalid response error - No root multistatus
84
85## v3.5.0
86_2020-10-08_
87
88 * Upgrade dependencies (major versions)
89 * [axios upgrade -> 0.20](https://github.com/axios/axios/blob/master/CHANGELOG.md#0200-august-20-2020)
90
91## v3.4.0
92_2020-10-08_
93
94 * **Bugfixes**:
95 * [#215](https://github.com/perry-mitchell/webdav-client/pull/215) Excessive memory usage when uploading big files (axios max-redirects)
96 * [#213](https://github.com/perry-mitchell/webdav-client/pull/213) `getDirectoryContents` fails for directories with `&` in the name
97
98## v3.3.0
99_2020-04-19_
100
101 * Node 10 build configuration
102 * [#201](https://github.com/perry-mitchell/webdav-client/pull/201) Improved object merging for configurations (no merging instances)
103 * [#200](https://github.com/perry-mitchell/webdav-client/pull/200) `createWriteStream` callback support (when request finishes finishes)
104 * Improved filename decoding
105 * **Bugfix**:
106 * [#198](https://github.com/perry-mitchell/webdav-client/issues/198) Encoded characters in directory contents (HTML entities)
107
108## v3.2.0
109_2020-02-05_
110
111 * `exists` method
112
113## v3.1.0
114_2020-02-05_
115
116 * Improved parsing logic for more robust handling of various PROPFIND requests
117 * **Bugfix**:
118 * [#194](https://github.com/perry-mitchell/webdav-client/issues/194) Several properties not defined in directory-contents / stats payloads
119 * [#147](https://github.com/perry-mitchell/webdav-client/issues/147) `Content-length` header being attached to stream requests erroneously
120
121## v3.0.0
122_2020-01-26_
123
124 * Removed support for NodeJS < 10
125 * Web support
126 * Replaced XML parsing library (no dependencies, no streaming - better web support)
127 * `createReadStream` and `createWriteStream` stubbed but disabled in web version
128
129## v2.10.2
130_2020-01-25_
131
132 * **Bugfix**:
133 * [#189](https://github.com/perry-mitchell/webdav-client/issues/189) Maximum call stack size exceeded during digest auth usage (property merging)
134
135## v2.10.1
136_2019-12-17_
137
138 * **Bugfix**:
139 * [#185](https://github.com/perry-mitchell/webdav-client/issues/185) Extra trailing slash after join for URL components on root account requests
140
141## v2.10.0
142_2019-10-12_
143
144 * [#174](https://github.com/perry-mitchell/webdav-client/pull/174) `customRequest` method for making custom requests
145
146## v2.9.1
147_2019-07-07_
148
149 * [#162](https://github.com/perry-mitchell/webdav-client/issues/162) etag.replace is not a function (etag string validation)
150
151## v2.9.0
152_2019-07-07_
153
154 * [#40](https://github.com/perry-mitchell/webdav-client/issues/40) Digest authentication support
155
156## v2.8.0
157_2018-05-26_
158
159 * Remove `path` dependency
160
161## v2.7.0
162_2019-05-23_
163
164 * [#149](https://github.com/perry-mitchell/webdav-client/issues/149) Upload progress for `putFileContents`
165 * [#154](https://github.com/perry-mitchell/webdav-client/pull/154) Normalise MIME type
166
167## v2.6.0
168_2019-03-03_
169
170 * [#122](https://github.com/perry-mitchell/webdav-client/issues/122) Glob functionality
171 * [#144](https://github.com/perry-mitchell/webdav-client/issues/144) Support uploading larger files
172
173## v2.5.0
174_2019-01-24_
175
176 * [#130](https://github.com/perry-mitchell/webdav-client/issues/130) Support for `deep` option on `getDirectoryContents`
177
178## v2.4.0
179_2019-01-23_
180
181 * [#132](https://github.com/perry-mitchell/webdav-client/issues/132) ETags in `getDirectoryContents` results and stats
182
183## v2.3.0
184_2019-01-22_
185
186 * [#134](https://github.com/perry-mitchell/webdav-client/issues/134) Allow access to all returned properties
187
188## v2.2.1
189_2019-01-10_
190
191 * [#121](https://github.com/perry-mitchell/webdav-client/issues/121) Unexpected close tag - trailing slash bug
192 * [#127](https://github.com/perry-mitchell/webdav-client/issues/127) Force trailing slash
193 * [#126](https://github.com/perry-mitchell/webdav-client/issues/126) `copyFile`: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString
194
195## v2.2.0
196_2018-12-12_
197
198 * Replace Buffer usage for base64 encoding with `base-64` package
199
200## v2.1.0
201_2018-12-12_
202
203 * Move node core imports into functions (downstream compatibility - React Native)
204 * Upgrade dependencies
205
206## **v2.0.0**
207_2018-11-20_
208
209 * **Major version update!**
210 * Fetch has been replaced with Axios! tl;dr `fetch` is horrible when looking to make webdav-client compatible cross-platform. Axios is a great alternative.
211 * Detailed responses now available on some methods (providing response headers, for example)
212
213## 1.6.1
214_2018-10-06_
215
216 * [#109](https://github.com/perry-mitchell/webdav-client/issues/109) `getDirectoryContents` fails on Seafile responses
217 * Remove dependency on just a handful of namespaces for multistatus responses
218
219## 1.6.0
220_2018-09-15_
221
222 * Update dependencies, audit vulnerabilities
223
224## 1.5.5
225_2018-09-13_
226
227 * [#104](https://github.com/perry-mitchell/webdav-client/issues/104) `path.posix` failed in browserify
228 * **Dev**:
229 * Webpack & KarmaJS dev testing in Chrome
230
231## 1.5.4
232_2018-09-11_
233
234 * [#101](https://github.com/perry-mitchell/webdav-client/issues/101) `getDirectoryContents` fails on windows
235 * [#98](https://github.com/perry-mitchell/webdav-client/issues/98) Moving items fails when destination contains spaces
236
237## 1.5.3
238_2018-07-07_
239
240 * ([#91](https://github.com/perry-mitchell/webdav-client/issues/91) [#93](https://github.com/perry-mitchell/webdav-client/issues/93)): Bugfix: Encoding issues with special characters
241
242## 1.5.2
243_2018-03-25_
244
245 * Fix bug where requesting directory contents at paths with trailing slashes would return parent directory in results
246
247## 1.5.1
248_2018-03-23_
249
250 * ([#81](https://github.com/perry-mitchell/webdav-client/issues/81)): Bad encoding when paths are prefixed with directory separator
251
252## 1.5.0
253_2018-03-19_
254
255 * Add OAuth2 authentication support (via token)
256 * Add `getFileDownloadLink` method
257
258## 1.4.0
259_2018-03-13_
260
261 * Add `copyFile` method
262
263## 1.3.0
264_2018-03-07_
265
266 * Change `deepmerge` dependency to `merge`
267 * ([#79](https://github.com/perry-mitchell/webdav-client/issues/79)): getFileContents arrayBuffer default causes incompatibilities
268 * Use `buffer()` where available, and fallback to `arrayBuffer()` otherwise
269
270## 1.2.1
271_2018-02-26_
272
273 * Downgrade `deepmerge` to 1.5.2 to fix Webpack bug
274
275## 1.2.0
276_2018-02-24_
277
278 * ([#74](https://github.com/perry-mitchell/webdav-client/issues/74)): TypeError: res.buffer is not a function (`ArrayBuffer` replaces `Buffer` for node-fetch)
279 * ([#66](https://github.com/perry-mitchell/webdav-client/issues/66)): Special characters break output (unicode/non-latin encoding)
280
281## 1.1.2
282_2018-02-21_
283
284 * Development bug fixes
285
286## 1.1.1
287
288**Bugfixes**:
289
290 * ([#68](https://github.com/perry-mitchell/webdav-client/issues/68)): Fetched directory appearing in results
291
292## 1.1.0
293_2017-08-30_
294
295 * Add transpilation process for published library
296
297## 1.0.1
298_2017-08-07_
299
300 * Allow `test/` directory during publish (used downstream)
301
302## **1.0.0**
303_2017-08-06_
304
305 * Complete rewrite of the project
306 * Better testing setup with webdav-server
307 * **Bugfixes**:
308 * [Directory contents parse bug](https://github.com/perry-mitchell/webdav-client/issues/54)
309
310## 1.0.0-rc1
311_2017-07-01_
312
313 * URI encoding for special characters
314 * Writeable streams
315 * Internal `fetch` override support
316 * Quota support
317 * Remove duplicate methods
318 * Optimise `stat` depth
319
320## 0.10.0
321_2017-06-24_
322
323 * Disable native `window.fetch` in browsers
324
325## 0.9.0
326_2017-06-07_
327
328 * Add support for ranges with only `start`
329
330## 0.8.0
331_2017-06-07_
332
333 * Add stream support (GET)
334 * Add `createReadStream` method
335 * Add `getFileStream` method
336 * Update option merging behaviour for default values
337
338## 0.7.0
339_2017-06-03_
340
341 * Remove lodash (performance improvement)
342
343## 0.6.0
344_2017-04-13_
345
346 * Support for non-prefixed XML elements in WebDAV response
347 * HTTP status code for thrown exceptions
348
349## 0.5.0
350_2017-02-11_
351
352 * Use `window.fetch` when available in browser
353
354## 0.4.1
355_2017-02-04_
356
357 * Fix `putFileContents` authorisation bug
358
359## 0.4.0
360_2017-01-29_
361
362 * Add `options` argument to all methods, allowing custom headers
363 * **(Breaking)**
364 * Move `format` arguments to `options` object
365 * Removed node 0.12 support
366
367## 0.3.1
368_2017-01-18_
369
370 * Remove node querystring calls for downstream compat
371
372## 0.2.0
373_2017-01-03_
374
375 * Added `options` parameter to `putFileContents`
376
377## 0.1.1
378_2016_10_24_
379
380 * Fixed username/password authentication with special characters
381
382## 0.1.0
383_2016-10-13_
384
385 * Initial release
386
\No newline at end of file