tusc 3.0.0
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
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin 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
TusClientandTusStreamClientconstructors to accept an optionaluploadUrl. - Added
clear()method toTusCache,TusMemoryCache, andTusPersistentCache. - Improved documentation and code examples in
README.mdand library files. - Added comprehensive assertion checks for
urlanduploadUrlparameters.
Changed #
- Updated dart sdk constraints to
sdk: '>=3.10.0 <4.0.0'
2.1.0 #
1.2.0 #
Added #
- Added
onErrorcallback tostartUpload()function to allow getting errors through callback instead of thrown exceptions
1.1.0+2 #
Added #
TusUploadStateenum added to control the state of the tus uploadtusclient.stateto get the current upload statetusclient.errorMessageto get the last error messagecancelUploadfunction added toTusClient
1.0.0 #
- Initial version.