Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 2.47 KB

CHANGELOG.md

File metadata and controls

88 lines (61 loc) · 2.47 KB

3.4.1

Bugfix

  • Corrected a mistake in delete file logic

3.4.0

Bugfix

  • Fixed an issue that prevented TUSKit from uploading large files (2GB+) #193**

3.3.0

Enhancements

  • Updated documentation around background uploads

Bugfix

  • 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

3.2.1

Enhancements

  • Improved UI for the TUSKit example app. Thanks, @srvarma7
  • TUSKit no longer sends unneeded Upload-Extension header on creation. Thanks, @BradPatras

Bugfix

  • 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.

3.2

Enhancements

  • 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.

3.1.7

Enhancements

  • 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)")
        }
    }
}

3.1.6

Enhancements

  • Added ability to fetch in progress / current uploads using getStoredUploads() on a TUSClient instance.

3.1.5

Fixed

  • Fixed issue with missing custom headers.

3.1.4

Fixed

  • Fix compile error Xcode 14

3.1.3

Fixed

  • Added supportedExtensions to client

3.1.2

Fixed

  • Adding custom headers to requests.

3.1.1

Fixed

  • Compile error in TUSBackground

3.1.0

Added

  • ChunkSize argument to TUSClient initializer.
  • Add cancel single task.

3.0.0

  • Rewrite of TUSKit