Skip to content

Latest commit

 

History

History
531 lines (357 loc) · 16.7 KB

CHANGELOG.md

File metadata and controls

531 lines (357 loc) · 16.7 KB

WebDAV-Client changelog

v5.7.1

2024-08-03

  • Bugfixes:
    • #382 minimatch dependency requires engines with Node >= 20

v5.7.0

2024-08-02

  • #381 Upgraded dependencies (major version changes)
  • Bugfixes:
    • #380 displayname string fix
    • #378 Types for quota bytes
    • #379 DAV result types

v5.6.0

2024-04-24

  • Switch to entities over he
  • 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:
    • #355 Can not be imported with newer node versions
    • #346 Node import forces use of esModuleInterop flag

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

v5.2.1

2023-06-18

  • Bugfix:
    • #339 Regression: processResponsePayload and other methods not exposed in exports

v5.2.0

2023-06-18

  • #344 Upgrade fast-xml-parser to new major (v4)
  • Bugfix:
    • #336 fast-xml-parser vulnerability

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
    • #326 Build output is now ESM only (read this)
    • #269 #335 Axios replaced with Fetch
    • #178 Support returning current directory info for getDirectoryContents
    • #332 HA1 support for Digest authentication
  • #341 Preserve stringified numbers with leading zeros
  • Bugfix:
    • #204 Missing engine restriction for Node
    • #159 Missing error status code

Breaking changes:

  • Download progress no longer supported (onDownloadProgress): see discussion
  • Upload progress no longer supported (onUploadProgress): see discussion
  • Node request limitations removed: maxBodyLength and maxContentLength are no longer needed/supported

v4.11.2

2022-11-19

  • Bugfix:
    • #323 Cannot use namespace HotPatcher as a type

v4.11.1

2022-11-19

  • Bugfix:
    • #324 Missing leading slash causes extra entries in getDirectoryContents call

v4.11.0

2022-08-21

  • #315 HotPatcher intermediate type annotation

v4.10.0

2022-05-16

  • #291 Correct string byte size calculations for Content-Length headers
  • Bugfix:
    • #304 React Native putFileContents fails with TypeError: Right-hand side of 'instanceof' is not an object

v4.9.0

2022-04-20

  • #237 path support for quota queries
  • Bugfix:
    • #300 Vulnerable dependency url-parse

v4.8.0

2022-01-11

  • #282 onDownloadProgress option
  • #285 AbortSignal option support
  • Node engine specified at >=10

v4.7.0

2021-08-27

  • #65 Lock / Unlock methods

v4.6.1

2021-08-14

  • Bugfix:
    • #267 Fix getFileContents string handling of remote JSON files

v4.6.0

2021-05-21

  • response property on WebDAVClientError instances (#261)

v4.5.0

2021-05-17

  • Update dependencies - Webpack v5
  • Bugfix:
    • #263 Fix putFileContents onUploadProgress callback option

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 createDirectory recursive option

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 putFileContents 412 response handling when { overwrite: false }
  • #142 Callbacks with responses for createReadStream and createWriteStream
  • #31 Errors thrown for range requests that don't return 206 Partial Content

v4.1.0

2021-02-15

  • Overridable headers option for most methods
  • Set and get base client headers via setHeaders and getHeaders

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.
  • headers can 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:

v3.6.1

2020-10-15

  • Bugfixes:
    • #221 Stat function erroneously decodes paths with % in them

v3.6.0

2020-10-12

  • #220 maxBodyLength option for changing written files max size
  • Bugfixes:
    • #218 Invalid response error - No root multistatus

v3.5.0

2020-10-08

v3.4.0

2020-10-08

  • Bugfixes:
    • #215 Excessive memory usage when uploading big files (axios max-redirects)
    • #213 getDirectoryContents fails for directories with & in the name

v3.3.0

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)

v3.2.0

2020-02-05

  • exists method

v3.1.0

2020-02-05

  • Improved parsing logic for more robust handling of various PROPFIND requests
  • Bugfix:
    • #194 Several properties not defined in directory-contents / stats payloads
    • #147 Content-length header being attached to stream requests erroneously

v3.0.0

2020-01-26

  • Removed support for NodeJS < 10
  • Web support
  • Replaced XML parsing library (no dependencies, no streaming - better web support)
  • createReadStream and createWriteStream stubbed 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 customRequest method 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 path dependency

v2.7.0

2019-05-23

  • #149 Upload progress for putFileContents
  • #154 Normalise MIME type

v2.6.0

2019-03-03

  • #122 Glob functionality
  • #144 Support uploading larger files

v2.5.0

2019-01-24

  • #130 Support for deep option on getDirectoryContents

v2.4.0

2019-01-23

  • #132 ETags in getDirectoryContents results 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-64 package

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 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)

1.6.1

2018-10-06

  • #109 getDirectoryContents fails 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.posix failed in browserify
  • Dev:
    • Webpack & KarmaJS dev testing in Chrome

1.5.4

2018-09-11

  • #101 getDirectoryContents fails on windows
  • #98 Moving items fails when destination contains spaces

1.5.3

2018-07-07

  • (#91 #93): Bugfix: Encoding issues with special characters

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 getFileDownloadLink method

1.4.0

2018-03-13

  • Add copyFile method

1.3.0

2018-03-07

  • Change deepmerge dependency to merge
  • (#79): getFileContents arrayBuffer default causes incompatibilities
    • Use buffer() where available, and fallback to arrayBuffer() otherwise

1.2.1

2018-02-26

  • Downgrade deepmerge to 1.5.2 to fix Webpack bug

1.2.0

2018-02-24

  • (#74): TypeError: res.buffer is not a function (ArrayBuffer replaces Buffer for 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

1.0.0-rc1

2017-07-01

  • URI encoding for special characters
  • Writeable streams
  • Internal fetch override support
  • Quota support
  • Remove duplicate methods
  • Optimise stat depth

0.10.0

2017-06-24

  • Disable native window.fetch in 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 createReadStream method
  • Add getFileStream method
  • 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.fetch when available in browser

0.4.1

2017-02-04

  • Fix putFileContents authorisation bug

0.4.0

2017-01-29

  • Add options argument to all methods, allowing custom headers
  • (Breaking)
    • Move format arguments to options object
    • Removed node 0.12 support

0.3.1

2017-01-18

  • Remove node querystring calls for downstream compat

0.2.0

2017-01-03

  • Added options parameter to putFileContents

0.1.1

2016_10_24

  • Fixed username/password authentication with special characters

0.1.0

2016-10-13

  • Initial release