@uploadcare/api
Advanced tools
Changelog
1.0.0 (2019-12-23)
Promise
now instead of ThenableInterface
SettingsInterface
was renamed to Settings
fileFrom
was renamed to uploadFile
.groupFrom
was renamed to uploadFileGroup
.request
low-level API method is not exported outside now.setSettings
of UploadClient
was renamed to updateSettings
.base
, fromUrl
, fromUrlStatus
, group
,
groupInfo
, info
, multipartStart
, multipartUpload
,
multipartComplete
, multipart
, uploadFile
, uploadGroup
) were exported
from index.ts
to make the tree shaking better.base
, fromUrl
, fromUrlStatus
, group
,
groupInfo
, info
, multipartStart
, multipartUpload
,
multipartComplete
, multipart
, uploadFile
, uploadGroup
) accept
options
instead of settings
as a second argument.UploadClient
now contains all low-level API methods (base
,
fromUrl
, fromUrlStatus
, group
, groupInfo
, info
,
multipartStart
, multipartUpload
, multipartComplete
, multipart
,
fileFrom
, groupFrom
).UploadcareGroup
files now contain UploadcareFile[]
, but not FileInfo[]
.README.md
was updated according to library API.FileData
became NodeFile
and BrowserFile
.UploadAPI
class.Thenable
, CancelableThenable
, BaseThenable
, Upload
classes
implementing respective interfaces.onReady
, onUploaded
callbacks.addUpdateSettingsListener
and removeUpdateSettingsListener
from
UploadClientInterface
.from
param of uploadFile
and uploadFileGroup
.FileFromEnum
and GroupFromEnum
.CancelController
to make API calls cancellable. See README for how
to use this feature. (#77)Changelog
1.0.0-alpha
The first public alpha release.
request
function to request to any path of [Upload API][upload-api]./base/
and /info/
paths of Upload API.UploadClient
class with settings and fileFrom
method that supports
only direct uploads now.publicKey
, baseUrl
,
doNotStore
, integration
, secureExpire
, secureSignature
.