Skip to content

Releases: uploadcare/uploadcare-js-api-clients

v6.2.0

20 Jan 09:43
e0b1983
Compare
Choose a tag to compare

6.2.0 (2023-01-20)

Bug Fixes

  • upload-client: send content-type header when uploading multipart (#461) (3a402a3)

Features

  • upload-client: accept auto as store value (#460) (e140644)

v6.1.0

10 Jan 10:29
ffcc602
Compare
Choose a tag to compare

6.1.0 (2023-01-10)

Bug Fixes

  • upload-client: ensure that file name and type passed to the FormData (fe63607)

Features

  • upload-client: export all the types (d2bbd76)
  • upload-client: support react-native asset file input (f586f84)

v6.0.0

07 Dec 10:28
b8a6b18
Compare
Choose a tag to compare

6.0.0 (2022-12-07)

  • refactor(rest-client)!: merge document and video conversion methods into the two common ones - convert and conversionJobStatus (beb2bb6)
  • fix(rest-client)!: do not change case of the appdata field and its content (92d785d)
  • feat(rest-client)!: accept boolean or "auto" for the store option (440e228)

Features

  • api-client-utils: add timeout option to the poll (f27f25a)
  • rest-client: add addon job status polling (8f2aec7)
  • rest-client: add conversion api polling (41c6aa5)

BREAKING CHANGES

  • Methods convertVideo, convertDocument, videoConversionJobStatus and documentConversionJobStatus are removed. Please use convert and conversionJobStatus methods. Type of conversion (video or document) passed as type option.
  • Now appdata field is returned as-is, without kebab -> camel case conversion
  • string ("true", "false", "1", "0") values for the store option of convertVideo and convertDocument aren't accepted anymore. Please use boolean value or "auto". It's "auto" by default"

v5.2.0

28 Nov 09:00
f7cac91
Compare
Choose a tag to compare

5.2.0 (2022-11-26)

Bug Fixes

  • rest-client: send user-agent instead of x-uc-user-agent header (#447) (759768a)
  • upload-client: read retry-after header instead of x-throttle-wait-seconds (81698df)

Features

  • rest-client: add pagination helpers (#450) (19f6d8f)
  • rest-client: retry requests on network errors (#449) (846d8fd)

v5.1.2

24 Nov 16:26
9bb9073
Compare
Choose a tag to compare

5.1.2 (2022-11-24)

Bug Fixes

  • rest-client: pass-through outer headers when signing request with UploadcareSimpleAuthSchema (0c912e1)

v5.1.1

28 Oct 09:01
4fcbfb6
Compare
Choose a tag to compare

5.1.1 (2022-10-28)

Bug Fixes

  • specify types path for the root export, fixes #436 (see PR #437)

Features

  • add separate exports for node, browser and react-native bundles. It's useful when you wanna explicitly import needed bundle instead of relying the bundler's choice (see PR #437)

v5.1.0

13 Sep 16:03
486fe56
Compare
Choose a tag to compare

5.1.0 (2022-09-13)

Features

  • rest-client: add executeAddon and addonExecutionStatus (5b7123f)

v5.0.0

13 Sep 08:57
95ecfcc
Compare
Choose a tag to compare

5.0.0 (2022-09-13)

  • refactor(upload-client)!: drop multipartMaxAttempts option (178436e)

Features

  • api-client-utils: add UploadcareNetworkError (0e917d2)
  • upload-client: add retryNetworkErrorMaxTimes option to specify retries count on network errors (400fedd)
  • upload-client: throw UploadcareNetworkError instead of Error (f7e3f55)

BREAKING CHANGES

  • option multipartMaxAttempts is dropped. Use retryNetworkErrorMaxTimes instead. It will affect all the requests, not only multipart uploads.

v4.3.1

24 Aug 18:47
a739348
Compare
Choose a tag to compare

4.3.1 (2022-08-24)

Bug Fixes

v4.3.0

20 Jul 14:07
4f49d6c
Compare
Choose a tag to compare

4.3.0 (2022-07-20)

Features

  • export getUserAgent method from @uploadcare/api-client-utils package (78da195)