Releases: muxinc/swift-upload-sdk
Releases · muxinc/swift-upload-sdk
v1.0.1
v1.0.0
Improvements
- Direct uploads are cancelable while inputs are standardized on the client
- Video inputs can be standardized to 2160p (4K) resolution
- Upload source
AVAssethas 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
v0.6.0
v0.5.0
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->DirectUploadManagerDirectUploadManager.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
- 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.InputStatusDirectUpload.InputStatus.uploadSucceededandDirectUpload.InputStatus.uploadFailedtoDirectUpload.InputStatus.finishedDirectUpload.InputStatus.awaitingUploadConfirmationtoDirectUpload.InputStatus.awaitingConfirmationDirectUpload.InputStatus.uploadInProgresstoDirectUpload.InputStatus.transportInProgressDirectUpload.InputStatus.uploadPausedtoDirectUpload.InputStatus.paused
- Rename
DirectUpload.Success->DirectUpload.SuccessDetails - Rename
UploadResult->DirectUploadResult
v0.4.0
API Changes
- Deprecation:
MuxUpload.init(uploadURL:videoFileURL:chunkSize:retriesPerChunk:)has been deprecated and will be removed in a future SDK version. Useinit(uploadURL:inputFileURL:options:)instead. (#48) - Breaking Change:
MuxUpload.startTimenow returns an optional value (#48) - Breaking Change:
MuxUpload.Statushas been renamed toMuxUpload.TransportStatus(#48) - Add:
UploadOptionsstruct to contain all availableMuxUploadoptions (#48) - Add: Options to request or to skip input standardization (#48)
- Add:
MuxUploadinitializer APIs that acceptAVAssetorPHAsset(#48) - Add:
MuxUpload.InputStatusenum 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 [email protected]
Co-authored-by: AJ Lauer Barinov [email protected]
Co-authored-by: AJ Lauer Barinov [email protected]
Co-authored-by: GitHub [email protected]
v0.3.1
Fixes
- fix: Manually-paused uploads don't resume again (#27)
Co-authored-by: Emily Dixon [email protected]
Co-authored-by: GitHub [email protected]
v0.3.0
API Changes
MuxUpload's initializer no longer requires a MIME type or Retry Time. These are calculated internally- Added methods for querying the
UploadManagerfor the list of currenty-active uploads, and listening for changes to the list
Improvements
- NFC: call into upload manager reference (#14)
- api: Remove extraneous MIME type and retry time config fields, add opt-out for event tracking (#16)
- doc: Add a much-improved example app (#15)
Fixes
- Fix: Uploads continue without reporting progress after being resumed (#24)
- Fix: handlers not retained unless callers retain the
MuxUpload(#25)
Co-authored-by: AJ Lauer Barinov [email protected]
Co-authored-by: Liam Lindner [email protected]
Co-authored-by: Emily Dixon [email protected]
Co-authored-by: GitHub [email protected]
v0.2.1
Improvements
Co-authored-by: Liam Lindner [email protected]
Co-authored-by: Emily Dixon [email protected]
v0.2.0
Improvements
- Remove Alamofire Dependency
- Merge pull request #1 from muxinc/fixes/remove-af
Co-authored-by: Emily Dixon [email protected]
Co-authored-by: GitHub [email protected]