Skip to content

Latest commit

 

History

History
379 lines (251 loc) · 11 KB

CHANGELOG.md

File metadata and controls

379 lines (251 loc) · 11 KB

WebDAV-Client changelog

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