tusc 3.0.0 copy "tusc: ^3.0.0" to clipboard
tusc: ^3.0.0 copied to clipboard

A tus client for dart to allow resumable uploads using the tus protocol (https://tus.io/).

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Types of changes

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.

3.0.0 #

Added #

  • Added support for resuming uploads using a direct uploadUrl, allowing the client to skip the upload creation step without requiring a cache.
  • Updated TusClient and TusStreamClient constructors to accept an optional uploadUrl.
  • Added clear() method to TusCache, TusMemoryCache, and TusPersistentCache.
  • Improved documentation and code examples in README.md and library files.
  • Added comprehensive assertion checks for url and uploadUrl parameters.

Changed #

  • Updated dart sdk constraints to sdk: '>=3.10.0 <4.0.0'

2.1.0 #

Added #

  • Added TusStreamClient to support stream uploads.

Changed #

  • Removed usage of dart:io to allow support for web.

Fixed #

  • Fixed error with TusPersistentCache keys limit of 255 chars length, due to Hive limitation. (Thanks bthnkucuk PR-2)

2.0.0 #

Changed #

  • Changed hive dependency to hive_ce.

1.2.0 #

Added #

  • Added onError callback to startUpload() function to allow getting errors through callback instead of thrown exceptions

1.1.0+3 #

Changed #

  • Updated http package version to '>=0.13.0 <2.0.0' for better compatibility.

1.1.0+2 #

Added #

  • TusUploadState enum added to control the state of the tus upload
  • tusclient.state to get the current upload state
  • tusclient.errorMessage to get the last error message
  • cancelUpload function added to TusClient

1.0.0+1 #

Changed #

  • README.md updated

1.0.0 #

  • Initial version.
13
likes
160
points
2.66k
downloads

Documentation

API reference

Publisher

verified publisherdev.lamt.dev

Weekly Downloads

A tus client for dart to allow resumable uploads using the tus protocol (https://tus.io/).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cross_file, crypto, hive_ce, http, path

More

Packages that depend on tusc