2021-05-21
response
property onWebDAVClientError
instances (#261)
2021-05-17
- Update dependencies - Webpack v5
- Bugfix:
- #263 Fix
putFileContents
onUploadProgress
callback option
- #263 Fix
2021-05-09
- #259 Ensure correct collection path when creating directory
- #258 Handle prop status code in response when using
stat
2021-03-28
- #118
createDirectory
recursive
option
2021-03-07
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.
- Bugfix:
- #238 Regression: Not possible to request custom properties in v4
2021-02-18
- #203
putFileContents
412 response handling when{ overwrite: false }
- #142 Callbacks with
response
s forcreateReadStream
andcreateWriteStream
- #31 Errors thrown for range requests that don't return
206 Partial Content
2021-02-15
- Overridable
headers
option for most methods - Set and get base client headers via
setHeaders
andgetHeaders
2021-02-01
- Major release
- Project re-written in Typescript
Breaking changes:
- Authentication is explicit in v4, when not using basic/no authentication. Specify the authentication type when creating the client.
headers
can be specified when creating a client. These are overridden by method-specific headers when making requests.
2021-01-06
- Bugfixes:
- #231 Unable to target files using custom request
- Security Patches:
- #232 Axios server-side request forgery vulerability (CVE-2020-28168)
2020-10-15
- Bugfixes:
- #221 Stat function erroneously decodes paths with
%
in them
- #221 Stat function erroneously decodes paths with
2020-10-12
- #220
maxBodyLength
option for changing written files max size - Bugfixes:
- #218 Invalid response error - No root multistatus
2020-10-08
- Upgrade dependencies (major versions)
2020-10-08
- Bugfixes:
2020-04-19
- Node 10 build configuration
- #201 Improved object merging for configurations (no merging instances)
- #200
createWriteStream
callback support (when request finishes finishes) - Improved filename decoding
- Bugfix:
- #198 Encoded characters in directory contents (HTML entities)
2020-02-05
exists
method
2020-02-05
- Improved parsing logic for more robust handling of various PROPFIND requests
- Bugfix:
2020-01-26
- Removed support for NodeJS < 10
- Web support
- Replaced XML parsing library (no dependencies, no streaming - better web support)
createReadStream
andcreateWriteStream
stubbed but disabled in web version
2020-01-25
- Bugfix:
- #189 Maximum call stack size exceeded during digest auth usage (property merging)
2019-12-17
- Bugfix:
- #185 Extra trailing slash after join for URL components on root account requests
2019-10-12
- #174
customRequest
method for making custom requests
2019-07-07
- #162 etag.replace is not a function (etag string validation)
2019-07-07
- #40 Digest authentication support
2018-05-26
- Remove
path
dependency
2019-05-23
2019-03-03
2019-01-24
- #130 Support for
deep
option ongetDirectoryContents
2019-01-23
- #132 ETags in
getDirectoryContents
results and stats
2019-01-22
- #134 Allow access to all returned properties
2019-01-10
- #121 Unexpected close tag - trailing slash bug
- #127 Force trailing slash
- #126
copyFile
: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString
2018-12-12
- Replace Buffer usage for base64 encoding with
base-64
package
2018-12-12
- Move node core imports into functions (downstream compatibility - React Native)
- Upgrade dependencies
2018-11-20
- Major version update!
- 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. - Detailed responses now available on some methods (providing response headers, for example)
- Fetch has been replaced with Axios! tl;dr
2018-10-06
- #109
getDirectoryContents
fails on Seafile responses - Remove dependency on just a handful of namespaces for multistatus responses
2018-09-15
- Update dependencies, audit vulnerabilities
2018-09-13
- #104
path.posix
failed in browserify - Dev:
- Webpack & KarmaJS dev testing in Chrome
2018-09-11
2018-07-07
2018-03-25
- Fix bug where requesting directory contents at paths with trailing slashes would return parent directory in results
2018-03-23
- (#81): Bad encoding when paths are prefixed with directory separator
2018-03-19
- Add OAuth2 authentication support (via token)
- Add
getFileDownloadLink
method
2018-03-13
- Add
copyFile
method
2018-03-07
- Change
deepmerge
dependency tomerge
- (#79): getFileContents arrayBuffer default causes incompatibilities
- Use
buffer()
where available, and fallback toarrayBuffer()
otherwise
- Use
2018-02-26
- Downgrade
deepmerge
to 1.5.2 to fix Webpack bug
2018-02-24
- (#74): TypeError: res.buffer is not a function (
ArrayBuffer
replacesBuffer
for node-fetch) - (#66): Special characters break output (unicode/non-latin encoding)
2018-02-21
- Development bug fixes
Bugfixes:
- (#68): Fetched directory appearing in results
2017-08-30
- Add transpilation process for published library
2017-08-07
- Allow
test/
directory during publish (used downstream)
2017-08-06
- Complete rewrite of the project
- Better testing setup with webdav-server
- Bugfixes:
2017-07-01
- URI encoding for special characters
- Writeable streams
- Internal
fetch
override support - Quota support
- Remove duplicate methods
- Optimise
stat
depth
2017-06-24
- Disable native
window.fetch
in browsers
2017-06-07
- Add support for ranges with only
start
2017-06-07
- Add stream support (GET)
- Add
createReadStream
method - Add
getFileStream
method - Update option merging behaviour for default values
2017-06-03
- Remove lodash (performance improvement)
2017-04-13
- Support for non-prefixed XML elements in WebDAV response
- HTTP status code for thrown exceptions
2017-02-11
- Use
window.fetch
when available in browser
2017-02-04
- Fix
putFileContents
authorisation bug
2017-01-29
- Add
options
argument to all methods, allowing custom headers - (Breaking)
- Move
format
arguments tooptions
object - Removed node 0.12 support
- Move
2017-01-18
- Remove node querystring calls for downstream compat
2017-01-03
- Added
options
parameter toputFileContents
2016_10_24
- Fixed username/password authentication with special characters
2016-10-13
- Initial release