- Corrected a mistake in delete file logic
- Fixed an issue that prevented TUSKit from uploading large files (2GB+) #193**
- Updated documentation around background uploads
- Fixed an issue with macOS not having a correct path when resuming uploads. Thanks, @MartinLau7
- Fixed a metadta issue on iOS. Thanks, @MartinLau7
- Fixed some issues with metadata not alwasy being cleaned up properly for all platforms. Thanks, @MartinLau7
- Improved UI for the TUSKit example app. Thanks, @srvarma7
- TUSKit no longer sends unneeded Upload-Extension header on creation. Thanks, @BradPatras
- Fixed
didStartUpload
delegate method not being called. Thanks, @dmtrpetrov
- Retrying uploads didn't work properly, retry and resume are now seperate methods. Thanks, @liyoung47 for reporting.
- TUSKit can now leverage Background URLSession to allow uploads to continue while an app is backgrounded. See the README.md for instructions on migrating to leverage this functionality.
- It's now possible to inspect the status code for failed uploads that did not have a 200 OK HTTP status code. See the following example from the sample app:
func uploadFailed(id: UUID, error: Error, context: [String : String]?, client: TUSClient) {
Task { @MainActor in
uploads[id] = .failed(error: error)
if case TUSClientError.couldNotUploadFile(underlyingError: let underlyingError) = error,
case TUSAPIError.failedRequest(let response) = underlyingError {
print("upload failed with response \(response)")
}
}
}
- Added ability to fetch in progress / current uploads using
getStoredUploads()
on a TUSClient
instance.
- Fixed issue with missing custom headers.
- Fix compile error Xcode 14
- Added
supportedExtensions
to client
- Adding custom headers to requests.
- Compile error in
TUSBackground
- ChunkSize argument to TUSClient initializer.
- Add cancel single task.