Skip to content

Version 7.8.0

Latest

Choose a tag to compare

@claucambra claucambra released this 04 Dec 12:28
98d5768

Upgrading

uploadChunkAsync accepts an optional assemblyChecksum callback. NextcloudKit sends the whole-file checksum on the final WebDAV MOVE. Existing direct calls still work with the default argument. If you store the method as a function value, update the function type to include the new parameter.

For chunked replacements, ifMatch and the If-Match request header accept a single strong ETag for the destination file. Wildcards, weak ETags, lists, and combinations with a custom WebDAV If header return NKError.invalidData before uploading chunks. A custom WebDAV If header still works on its own.

What's Changed

  • feat(upload): send whole-file checksum on final chunked MOVE by @claucambra in #277
  • fix(webdav): recognize the Files root by backend user ID by @claucambra in #279
  • fix(webdav): preserve Unicode characters in DAV parent paths by @claucambra in #280
  • fix(webdav): preserve IPv6 brackets in server origins by @claucambra in #281
  • fix(webdav): Preserve literal percent signs in DAV webroots by @claucambra in #282
  • fix(webdav): Match equivalent escape sequences in Files roots by @claucambra in #283
  • fix(upload): Check the destination ETag when assembling chunks by @claucambra in #285
  • fix(download): Preserve the destination on failed downloads by @claucambra in #289
  • fix(background): Preserve parent URLs in transfer callbacks by @claucambra in #288
  • feat: Add a demo app, rewrite the README and add a getting started guide by @marinofaggiana in #290
  • fix(webdav): Preserve file IDs and metadata in DAV responses by @claucambra in #287

Full Changelog: 7.7.1...7.8.0