Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 2.27 KB

CHANGELOG.md

File metadata and controls

78 lines (55 loc) · 2.27 KB

3.3

Enhancements

  • Updated documentation around background uploads

Bugfix

  • Fixed an issu 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