17 KiB
WebDAV-Client changelog
v5.8.0
2025-02-12
- #391 Attribute parsing support
- Updated dependencies
- Bugfixes:
- #387 Node engine set to minimum of
16instead of supported14
- #387 Node engine set to minimum of
v5.7.1
2024-08-03
- Bugfixes:
- #382
minimatchdependency requires engines with Node >= 20
- #382
v5.7.0
2024-08-02
- #381 Upgraded dependencies (major version changes)
- Bugfixes:
v5.6.0
2024-04-24
- Switch to
entitiesoverhe - Bugfixes
- #366 React-native import not working
v5.5.0
2024-03-18
- #303 Partially update file contents
- #329 Overwrite option for copy/move file
- #369 Automatic auth mode
v5.4.0
2024-02-24
- #359 React-Native specific build
- Updated dependencies
v5.3.2
2024-02-05
- Bugfix:
- #364 XML entities double decoded
v5.3.1
2023-11-27
- Bugfix:
- #360 Incorrect filename due to mishandling of XML-encoded href
v5.3.0
2023-08-30
- #205 Search method
- Bugfix:
v5.2.3
2023-07-16
- React-Native entry in
package.json
v5.2.2
2023-06-29
- Bugfix:
- #339 Unable to import files from
dist
- #339 Unable to import files from
v5.2.1
2023-06-18
- Bugfix:
- #339 Regression:
processResponsePayloadand other methods not exposed in exports
- #339 Regression:
v5.2.0
2023-06-18
v5.1.0
2023-05-29
- #342 Support custom remote base directory (other than path specified in URL):
remoteBasePath
v5.0.0
2022-11-30
- Major release
- #341 Preserve stringified numbers with leading zeros
- Bugfix:
Breaking changes:
- Download progress no longer supported (
onDownloadProgress): see discussion - Upload progress no longer supported (
onUploadProgress): see discussion - Node request limitations removed:
maxBodyLengthandmaxContentLengthare no longer needed/supported
v4.11.2
2022-11-19
- Bugfix:
- #323 Cannot use namespace
HotPatcheras a type
- #323 Cannot use namespace
v4.11.1
2022-11-19
- Bugfix:
- #324 Missing leading slash causes extra entries in
getDirectoryContentscall
- #324 Missing leading slash causes extra entries in
v4.11.0
2022-08-21
- #315
HotPatcherintermediate type annotation
v4.10.0
2022-05-16
- #291 Correct string byte size calculations for
Content-Lengthheaders - Bugfix:
- #304 React Native
putFileContentsfails withTypeError: Right-hand side of 'instanceof' is not an object
- #304 React Native
v4.9.0
2022-04-20
v4.8.0
2022-01-11
v4.7.0
2021-08-27
- #65 Lock / Unlock methods
v4.6.1
2021-08-14
- Bugfix:
- #267 Fix
getFileContentsstring handling of remote JSON files
- #267 Fix
v4.6.0
2021-05-21
responseproperty onWebDAVClientErrorinstances (#261)
v4.5.0
2021-05-17
- Update dependencies - Webpack v5
- Bugfix:
- #263 Fix
putFileContentsonUploadProgresscallback option
- #263 Fix
v4.4.0
2021-05-09
- #259 Ensure correct collection path when creating directory
- #258 Handle prop status code in response when using
stat
v4.3.0
2021-03-28
- #118
createDirectoryrecursiveoption
v4.2.1
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
v4.2.0
2021-02-18
- #203
putFileContents412 response handling when{ overwrite: false } - #142 Callbacks with
responses forcreateReadStreamandcreateWriteStream - #31 Errors thrown for range requests that don't return
206 Partial Content
v4.1.0
2021-02-15
- Overridable
headersoption for most methods - Set and get base client headers via
setHeadersandgetHeaders
v4.0.0
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.
headerscan be specified when creating a client. These are overridden by method-specific headers when making requests.
v3.6.2
2021-01-06
- Bugfixes:
- #231 Unable to target files using custom request
- Security Patches:
- #232 Axios server-side request forgery vulerability (CVE-2020-28168)
v3.6.1
2020-10-15
- Bugfixes:
- #221 Stat function erroneously decodes paths with
%in them
- #221 Stat function erroneously decodes paths with
v3.6.0
2020-10-12
- #220
maxBodyLengthoption for changing written files max size - Bugfixes:
- #218 Invalid response error - No root multistatus
v3.5.0
2020-10-08
- Upgrade dependencies (major versions)
v3.4.0
2020-10-08
- Bugfixes:
v3.3.0
2020-04-19
- Node 10 build configuration
- #201 Improved object merging for configurations (no merging instances)
- #200
createWriteStreamcallback support (when request finishes finishes) - Improved filename decoding
- Bugfix:
- #198 Encoded characters in directory contents (HTML entities)
v3.2.0
2020-02-05
existsmethod
v3.1.0
2020-02-05
- Improved parsing logic for more robust handling of various PROPFIND requests
- Bugfix:
v3.0.0
2020-01-26
- Removed support for NodeJS < 10
- Web support
- Replaced XML parsing library (no dependencies, no streaming - better web support)
createReadStreamandcreateWriteStreamstubbed but disabled in web version
v2.10.2
2020-01-25
- Bugfix:
- #189 Maximum call stack size exceeded during digest auth usage (property merging)
v2.10.1
2019-12-17
- Bugfix:
- #185 Extra trailing slash after join for URL components on root account requests
v2.10.0
2019-10-12
- #174
customRequestmethod for making custom requests
v2.9.1
2019-07-07
- #162 etag.replace is not a function (etag string validation)
v2.9.0
2019-07-07
- #40 Digest authentication support
v2.8.0
2018-05-26
- Remove
pathdependency
v2.7.0
2019-05-23
v2.6.0
2019-03-03
v2.5.0
2019-01-24
- #130 Support for
deepoption ongetDirectoryContents
v2.4.0
2019-01-23
- #132 ETags in
getDirectoryContentsresults and stats
v2.3.0
2019-01-22
- #134 Allow access to all returned properties
v2.2.1
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
v2.2.0
2018-12-12
- Replace Buffer usage for base64 encoding with
base-64package
v2.1.0
2018-12-12
- Move node core imports into functions (downstream compatibility - React Native)
- Upgrade dependencies
v2.0.0
2018-11-20
- Major version update!
- Fetch has been replaced with Axios! tl;dr
fetchis 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
1.6.1
2018-10-06
- #109
getDirectoryContentsfails on Seafile responses - Remove dependency on just a handful of namespaces for multistatus responses
1.6.0
2018-09-15
- Update dependencies, audit vulnerabilities
1.5.5
2018-09-13
- #104
path.posixfailed in browserify - Dev:
- Webpack & KarmaJS dev testing in Chrome
1.5.4
2018-09-11
1.5.3
2018-07-07
1.5.2
2018-03-25
- Fix bug where requesting directory contents at paths with trailing slashes would return parent directory in results
1.5.1
2018-03-23
- (#81): Bad encoding when paths are prefixed with directory separator
1.5.0
2018-03-19
- Add OAuth2 authentication support (via token)
- Add
getFileDownloadLinkmethod
1.4.0
2018-03-13
- Add
copyFilemethod
1.3.0
2018-03-07
- Change
deepmergedependency tomerge - (#79): getFileContents arrayBuffer default causes incompatibilities
- Use
buffer()where available, and fallback toarrayBuffer()otherwise
- Use
1.2.1
2018-02-26
- Downgrade
deepmergeto 1.5.2 to fix Webpack bug
1.2.0
2018-02-24
- (#74): TypeError: res.buffer is not a function (
ArrayBufferreplacesBufferfor node-fetch) - (#66): Special characters break output (unicode/non-latin encoding)
1.1.2
2018-02-21
- Development bug fixes
1.1.1
Bugfixes:
- (#68): Fetched directory appearing in results
1.1.0
2017-08-30
- Add transpilation process for published library
1.0.1
2017-08-07
- Allow
test/directory during publish (used downstream)
1.0.0
2017-08-06
- Complete rewrite of the project
- Better testing setup with webdav-server
- Bugfixes:
1.0.0-rc1
2017-07-01
- URI encoding for special characters
- Writeable streams
- Internal
fetchoverride support - Quota support
- Remove duplicate methods
- Optimise
statdepth
0.10.0
2017-06-24
- Disable native
window.fetchin browsers
0.9.0
2017-06-07
- Add support for ranges with only
start
0.8.0
2017-06-07
- Add stream support (GET)
- Add
createReadStreammethod - Add
getFileStreammethod - Update option merging behaviour for default values
0.7.0
2017-06-03
- Remove lodash (performance improvement)
0.6.0
2017-04-13
- Support for non-prefixed XML elements in WebDAV response
- HTTP status code for thrown exceptions
0.5.0
2017-02-11
- Use
window.fetchwhen available in browser
0.4.1
2017-02-04
- Fix
putFileContentsauthorisation bug
0.4.0
2017-01-29
- Add
optionsargument to all methods, allowing custom headers - (Breaking)
- Move
formatarguments tooptionsobject - Removed node 0.12 support
- Move
0.3.1
2017-01-18
- Remove node querystring calls for downstream compat
0.2.0
2017-01-03
- Added
optionsparameter toputFileContents
0.1.1
2016_10_24
- Fixed username/password authentication with special characters
0.1.0
2016-10-13
- Initial release