Skip to content

Releases: muxinc/swift-upload-sdk

v1.1.2

Choose a tag to compare

@github-actions github-actions released this 13 Aug 20:37
65e448b

Fixes

  • Fixed a crash when starting or resuming several uploads at once, caused by unsynchronized access to DirectUploadManager's internal upload list.

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 28 May 00:26
6d32894

Fixes

  • Fixed interrupted uploads so they can resume from the last successfully completed chunk instead of restarting or losing persisted state.

Improvements

  • Simplified the sample app upload flow and added controls for resuming failed uploads and uploading another video.

v1.1.0

Choose a tag to compare

@daytime-em daytime-em released this 10 Mar 18:15
ffcf664

Fixes

  • use mebibytes as chunk size default unit (#118)
  • Report cancellation before clearing completion handler by @daytime-em in #127

Full Changelog: v1.0.1...v1.1.0

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 20 Jun 18:40
b42788f

Improvements

  • Fix compile-time error under some optimizer mode that remove an escape from failed guard condition

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Jun 00:01
8457ea3

Improvements

  • Direct uploads are cancelable while inputs are standardized on the client
  • Video inputs can be standardized to 2160p (4K) resolution
  • Upload source AVAsset has the correct URL

Known Issues

  • When checking if a video input file is standard or not, the SDK compares an averaged bitrate to a resolution-dependent limit. If different parts of the video input have varying input, the video may require further processing by Mux upon ingestion.

v0.7.0

Choose a tag to compare

@andrewjl-mux andrewjl-mux released this 15 Mar 15:50
50d5215

Improvements

  • add macos deployment target (#102)
  • fix: clean up chunk memory (#101)

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 17:44
c79a4e5

New

  • feat: Add Foundation Measurement API for chunk size (#94)

Breaking

  • refactor: Respell Version to SemanticVersion for explicitness in API (#95)

Improvements

  • chore: remove UIKit dependency from SDK (#90)
  • docs: backfill missing inline API docs (#92)

v0.5.0

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

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 21:38
fe4407e

API Changes

  • Deprecation: MuxUpload.init(uploadURL:videoFileURL:chunkSize:retriesPerChunk:) has been deprecated and will be removed in a future SDK version. Use init(uploadURL:inputFileURL:options:) instead. (#48)
  • Breaking Change: MuxUpload.startTime now returns an optional value (#48)
  • Breaking Change: MuxUpload.Status has been renamed to MuxUpload.TransportStatus (#48)
  • Add: UploadOptions struct to contain all available MuxUpload options (#48)
  • Add: Options to request or to skip input standardization (#48)
  • Add: MuxUpload initializer APIs that accept AVAsset or PHAsset (#48)
  • Add: MuxUpload.InputStatus enum to represent the current state of the upload and change handler (#48)

New

  • feat: Add support for input standardization, create a playable asset from your direct upload faster. Non-standard files go through an extra normalization step when they are ingested post-upload. When input standardization is requested from the SDK, input video is converted to a standard range of values on a best-effort basis (#48)

Fixes

  • Prevent integer overflow when calculating chunk request content ranges (#38)
  • Prevent crash from chunk worker force unwrap (#47)
  • Remove public methods from internal SDK classes (#51)
  • Prevent removal of result handler properties when passing MuxUpload via UploadManager (#61)

Co-authored-by: Emily Dixon edixon@mux.com
Co-authored-by: AJ Lauer Barinov 102617203+andrewjl-mux@users.noreply.github.com
Co-authored-by: AJ Lauer Barinov abarinov@mux.com
Co-authored-by: GitHub noreply@github.com

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 06 Jun 17:15
13d1b66

Fixes

  • fix: Manually-paused uploads don't resume again (#27)

Co-authored-by: Emily Dixon edixon@mux.com
Co-authored-by: GitHub noreply@github.com