v1.0.0-alpha.5
Pre-release
Pre-release
bautrukevich
released this
30 Aug 04:56
·
853 commits
to master
since this release
Added
- Support of multipart and uploading of big files:
multipartStart
,
multipartUpload
andmultipartComplete
methods toUploadAPI
. - Support of cancel and handling canceling uploads for all api methods
(info
,fromUrl
,fromUrlStatus
,group
,groupInfo
). DefaultSettingsInterface
with required properties.pollingTimeoutMilliseconds
toSettingsInterface
.
Now you can adjust the timeout for checking file is ready
and checking file is uploaded from url.maxConcurrentRequests
setting that allows you to specify the number
of concurrent requests.
Changed
FileFrom
enum was renamed toFileFromEnum
.GroupFrom
enum was renamed toGroupFromEnum
.Settings
was renamed toSettingsInterface
.FileInfo
was renamed toFileInfoInterface
.GroupInfo
was renamed toGroupInfoInfoInterface
.OriginalImageInfo
was renamed toOriginalImageInfoInterface
.RequestOptions
was renamed toRequestOptionsInterface
.ProgressStatus
was renamed toProgressStatusInterface
.Audio
type was renamed toAudioInterface
.Video
type was renamed toVideoInterface
.ErrorRequestInfo
type was renamed toErrorRequestInfoInterface
.ErrorResponseInfoInfo
type was renamed toErrorResponseInfoInterface
.ProgressState
was renamed toProgressStateEnum
.ProgressParams
was renamed toProgressParamsInterface
.base
method of Upload API now returnsBaseThenableInterface<BaseResponse>
instead ofDirectUploadInterface
.info
,fromUrl
,fromUrlStatus
,group
,groupInfo
now returns
CancelableThenableInterface
.- Progress is now calculated from 0 to 1 instead of 0 to 100
Fixed
- Example with
directUpload.onProgress
inREADME.md
. - All tests now passed.
- Mock server tests are now passed.
Removed
DirectUploadInterface
was removed in favor ofBaseThenableInterface<BaseResponse>
.BaseProgress
was removed in favor of nativeProgressEvent
.InfoResponse
was removed in favor ofFileInfoInterface
.- Old code in folder
./.back
.