Skip to content

Releases: uploadcare/uploadcare-js-api-clients

v1.1.5

28 Jun 10:44
c7b1fcb
Compare
Choose a tag to compare

1.1.5 (2021-06-28)

Bug Fixes

  • pass missing props from uploadFile down to the upload methods (#339) (e16dc73)

v1.1.4

11 Jun 12:32
f2052a9
Compare
Choose a tag to compare

1.1.4 (2021-06-11)

Bug Fixes

  • checkForUrlDuplicates & saveUrlForRecurrentUploads parameters passed into common uploadFile method (201ee07)

v1.1.3

17 Mar 11:02
6cece08
Compare
Choose a tag to compare

1.1.3 (2021-03-17)

Bug Fixes

  • react-native: prevent app crashes while multipart uploading (#308) (5d305e6)
  • react-native: support direct uploads through FormData (#307) (428b039)

v1.1.2

20 Apr 09:58
01b6605
Compare
Choose a tag to compare

1.1.2 (2020-04-20)

Bug Fixes

  • multipart: implement retry for part uploading (#253) (e2330bb)
  • multipart: add is ready pool for mulipart upload (#254) (fe7ca2a)
  • multipart: implement multipart progress for node (#252) (b60eb83)
  • multipart: use browser contentType if option is not passed (#251) (f5ab80a)
  • multipart: use browser filename if option is not passed (#250) (749e4a9)

v1.1.1

16 Mar 10:35
3270b9c
Compare
Choose a tag to compare

1.1.1 (2020-03-16)

Bug Fixes

v1.1.0

03 Mar 07:01
d0d25f0
Compare
Choose a tag to compare

1.1.0 (2020-03-03)

Features

  • implement push strategy with sockets for uploadFromUrl (#222) (4cafe97)
  • add deferred disconnect for push strategy (#229) (a9901f7)
  • add strong typed event emitter (#217) (35b9eef)
  • add custom race function (#177) (219c02a)

Bug Fixes

  • make fileName optional and remove it from default settings (#233) (a28d181)
  • remove timeout from uploadFromUrl function (#226) (76db2e4)
  • use direct import for CancelController and rename callback to stopRace (#216) (ea4ef7a)

v1.0.1

14 Jan 08:06
Compare
Choose a tag to compare

1.0.1 (2020-01-13)

Bug Fixes

  • deps: update dependency form-data to v3 (#130) (1ece271)

v1.0.0

23 Dec 12:04
fcbb352
Compare
Choose a tag to compare

1.0.0 (2019-12-23)

Changed

  • All methods return a 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.
  • Method setSettings of UploadClient was renamed to updateSettings.
  • Methods (base, fromUrl, fromUrlStatus, group,
    groupInfo, info, multipartStart, multipartUpload,
    multipartComplete, multipart, uploadFile, uploadGroup) were exported
    from index.ts to make the tree shaking better.
  • Methods (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.

Removed

  • 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.

Added

  • CancelController to make API calls cancellable. See README for how
    to use this feature. (#77)

v1.0.0-alpha.5

30 Aug 04:56
Compare
Choose a tag to compare
v1.0.0-alpha.5 Pre-release
Pre-release

Added

  • Support of multipart and uploading of big files: multipartStart,
    multipartUpload and multipartComplete methods to UploadAPI.
  • Support of cancel and handling canceling uploads for all api methods
    (info, fromUrl, fromUrlStatus, group, groupInfo).
  • DefaultSettingsInterface with required properties.
  • pollingTimeoutMilliseconds to SettingsInterface.
    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 to FileFromEnum.
  • GroupFrom enum was renamed to GroupFromEnum.
  • Settings was renamed to SettingsInterface.
  • FileInfo was renamed to FileInfoInterface.
  • GroupInfo was renamed to GroupInfoInfoInterface.
  • OriginalImageInfo was renamed to OriginalImageInfoInterface.
  • RequestOptions was renamed to RequestOptionsInterface.
  • ProgressStatus was renamed to ProgressStatusInterface.
  • Audio type was renamed to AudioInterface.
  • Video type was renamed to VideoInterface.
  • ErrorRequestInfo type was renamed to ErrorRequestInfoInterface.
  • ErrorResponseInfoInfo type was renamed to ErrorResponseInfoInterface.
  • ProgressState was renamed to ProgressStateEnum.
  • ProgressParams was renamed to ProgressParamsInterface.
  • base method of Upload API now returns BaseThenableInterface<BaseResponse>
    instead of DirectUploadInterface.
  • 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 in README.md.
  • All tests now passed.
  • Mock server tests are now passed.

Removed

  • DirectUploadInterface was removed in favor of BaseThenableInterface<BaseResponse>.
  • BaseProgress was removed in favor of native ProgressEvent.
  • InfoResponse was removed in favor of FileInfoInterface.
  • Old code in folder ./.back.

v1.0.0-alpha.4

15 Jul 06:23
Compare
Choose a tag to compare
v1.0.0-alpha.4 Pre-release
Pre-release

Added

  • Wrappers for group paths of Upload API (group, groupInfo).
  • The high-level function for group uploading, aka filesGroupFrom.
  • Uploading progress for Node.js in base method.

Changed

  • UploadFromInterface was renamed to FileUploadInterface.
  • FileProgress was renamed to ProgressParams.
  • UploadcareFile was renamed to UploadcareFileInterface.