Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jul 23:59
4b1fe41

New

  • Add an overload initializer for UploadOptions (#81)

Breaking

  • Remove prefix use in public APIs and respell Upload as DirectUpload (#84)
  • Rename MuxUpload -> DirectUpload
  • Rename UploadManager -> DirectUploadManager
    • DirectUploadManager.allManagedUploads() -> DirectUploadManager.allManagedDirectUploads()
    • DirectUploadManager.findStartedUpload(ofFile:) -> DirectUploadManager.startedDirectUpload(ofFile:)
    • DirectUploadManager.resumeUpload(ofFile:) -> DirectUploadManager.resumeDirectUpload(ofFile:)
    • DirectUploadManager.resumeUpload(ofFile:completion:) -> DirectUploadManager.resumeDirectUpload(ofFile:completion:)
    • DirectUploadManager.resumeAllUploads() ->
      DirectUploadManager.resumeAllDirectUploads()
  • Rename UploadsUpdateDelegate -> DirectUploadManagerDelegate
    • Rename DirectUploadManagerDelegate.uploadListUpdated(with:) -> DirectUploadManagerDelegate.didUpdate(managedDirectUploads:)
  • Rename MuxUpload.UploadError -> DirectUploadError
  • Rename MuxErrorCase -> DirectUploadError.Kind
  • Rename DirectUpload.UploadError.code -> DirectUploadError.kind
  • Remove Error.asMuxUploadError
  • Remove Error.parseAsUploadError(lastSeenUploadStatus:)
  • Rename MuxUploadSDK -> SDKLogger (This only deals with logging)
  • Rename UploadOptions -> DirectUploadOptions
  • Rename and recombine DirectUpload.InputStatus
    • DirectUpload.InputStatus.uploadSucceeded and DirectUpload.InputStatus.uploadFailed to DirectUpload.InputStatus.finished
    • DirectUpload.InputStatus.awaitingUploadConfirmation to DirectUpload.InputStatus.awaitingConfirmation
    • DirectUpload.InputStatus.uploadInProgress to DirectUpload.InputStatus.transportInProgress
    • DirectUpload.InputStatus.uploadPaused to DirectUpload.InputStatus.paused
  • Rename DirectUpload.Success -> DirectUpload.SuccessDetails
  • Rename UploadResult -> DirectUploadResult