Skip to content

Releases: uploadcare/uploadcare-js-api-clients

v1.0.0-alpha.3

01 Jul 05:59
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release

Added

  • Support fileFrom 'uploaded' file (uuid)
  • Support of waiting status from /from_url/status/ endpoint.
  • Export some main types from index.ts file.
    So you can import them now directly from @uploadcare/upload-client
  • Throttling for request
  • retryThrottledMaxTimes param to set count of max retries after throttled request (1 by default)
  • Uuid type
  • Mock server for local testing

Fixed

  • Default timeout for polling functions increased from 3s to 10s.
  • Removed restrictions for timeout and interval.

v1.0.0-alpha.2

15 May 06:22
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

Changed

  • Project was moved from Flow notations to TypeScript.
  • The base function now returns object that implements DirectUploadInterface.
  • The fileFrom function now returns object that implements UploadFromInterface.
  • The UCFile type renamed to UploadcareFile.
  • The progress of fileFrom now based on the UploadingProgress type.

Added

  • Low-level request wrappers for /from_url/ and /from_url/status/ paths of Upload API.
  • Settings: the support of setting baseCDN, checkForUrlDuplicates, saveUrlForRecurrentUploads.

v1.0.0-alpha.1

16 Jan 14:17
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

Fixed

  • Use the version from the package.json file to create Uploadcare User Agent.

Changed

  • The base function returns thenable object called DirectUpload
    instead of using the promise property.
  • The fileFrom function returns thenable object called FilePromise
    instead of using the promise property.
  • The FileInfo type renamed to UFile and updated.
  • The FilePromise resolved with an object of the UFile type.
  • The progress of fileFrom now based on the FilePromiseProgress type.
  • Updated the InfoResponse type.

Added

  • The checkFileIsReady function to check if the file is ready on the CDN.
  • New properties for the object that the fileFrom function returns:
    onUploaded, onReady.
  • The camelizeKeys function for inner usage.
  • The baseCDN default setting

v1.0.0-alpha

16 Jan 14:16
Compare
Choose a tag to compare
v1.0.0-alpha Pre-release
Pre-release

The first public alpha release.

Added

  • The request function to request to any path of Upload API.
  • Low-level request wrappers for /base/ and /info/ paths of Upload API.
  • UploadClient class with settings and fileFrom method that supports only direct uploads now.
  • Support of following Uploadcare Settings: publicKey, baseUrl, doNotStore, integration, secureExpire, secureSignature.
  • Test environment for both Node.js and browsers