Skip to content

Releases: tus/tus-js-client

v1.7.1

11 Apr 21:06
Compare
Choose a tag to compare

This patch release fixes a problem in the retry logic where tus-js-client would not retry if the server responded with 409 Conflict (used if a PATCH request has a mismatching offset) or 423 Locked (used if the server detects concurrent access to an upload). With this fix tus-js-client will retry properly if the retryDelays option has been set.

v1.7.0

10 Apr 20:37
Compare
Choose a tag to compare

This minor release adds support for the uploadLengthDeferred option to the Node.js environment. It allows you to upload streaming data from your Node.js application before the stream has finished. Please refer to the documentation for more details. Thanks to @ifedapoolarewaju for contributing this feature (#140).

v1.6.1

07 Feb 19:57
Compare
Choose a tag to compare

This small patch release fixes a problem when tus-js-client is used with Node.js. There, an aborted upload was sometimes resumed without user interaction if the retryDelays parameter is set (#138).

v1.6.0

22 Jan 22:15
Compare
Choose a tag to compare

This minor release contains three very exciting additions which were only possible with the amazing help from our community:

  • @arturi added the ability to directly pass files from React Native's file system to tus.Upload (#132). More details can be found in the README.
  • @paulrosenzweig added support for uploading streaming data inside a browser using the Reader interface (#126).
  • @hannuniemela and @naranjamecanica added the feature to directly upload native files from an Apache Cordova application (#134). More details can be found in the documentation.

Thank you to all the individuals who made this release possible! ❤️

v1.5.2

14 Nov 13:42
Compare
Choose a tag to compare

This patch release removes a dependency on the Browser DOM when resolving upload URLs allowing tus-js-client to be used in browser-like environment without a DOM, such as React Native.

v1.5.1

06 Apr 15:04
Compare
Choose a tag to compare

This patch release contains a fix to properly support uploads with a size of 0 (e.g. for empty files). For more details please see #107.

v1.5.0

02 Mar 16:30
Compare
Choose a tag to compare

This minor release contains only two minor improvements:

  • Make the endpoint optional non-mandatory if uploadURL is provided (#94)
  • Embed the endpoint into the fingerprint

v1.4.5

23 Oct 16:46
Compare
Choose a tag to compare

This patch release contains two small fixes:

  • Emit an error instead of crashing if the Location header is missing when creating an upload (#81)
  • Emit a progress event when a chunk starts being uploaded (#81)

v1.4.4

29 Aug 22:18
Compare
Choose a tag to compare

This patch improves the upload handling in many ways by enchanting the error handling and resumability:

  • Throttle onProgress events in Node.js environment
  • Don't remove fingerprints on server errors to allow resuming
  • Don't retry on errors caused by the client
  • Fix buffer initialization for base64 encoding in Node.js environment
  • Properly abort upload during POST/HEAD request
  • Allow uploads to be restarted using Upload#start()

v1.4.3

19 Feb 21:33
Compare
Choose a tag to compare

This patch release contains a few improvements to the upload handling in addition to an improved test suite:

  • Properly abort upload if invoked during callback
  • Properly abort uploads in Node environment
  • Handle locked files by emitting error and allowing retries