Releases: uploadcare/uploadcare-js-api-clients
Releases · uploadcare/uploadcare-js-api-clients
v4.2.1
v4.2.0
4.2.0 (2022-07-05)
Repository was transformed into the monorepo. Now there are two packages:
@uploadcare/upload-client
and @uploadcare/rest-client
.
They have locked versioning. So @uploadcare/rest-client
is started from 4.2.0
,
and @uploadcare/upload-client
has no any visible changes (except for the internal ones).
At the current stage, there are no any high-level wrappers at @uploadcare/rest-client
.
Only low-level typed wrappers over API methods are available.
It means, that there are no pagination and no conversion job status polling,
just bare request wrappers.
v4.1.0
v4.0.1
v3.1.1
v3.1.0
v3.0.0
v2.2.0
v2.1.0
v2.0.0
2.0.0 (2021-11-15)
Features
- feat!: add cjs and esm support (#283) (081f27e), closes #283
- feat!: replace CancelController with native AbortController (#282) (020e1ae), closes #282
- add mimeType to UploadcareFile type (33b6c58)
- export high-level upload methods (1354018)
- handle server error codes (948c9d1)
- add option
userAgent
to pass custom user agent string or function (d74fefb)
BREAKING CHANGES
- remove default export because webpack can't handle it without bugs
- replace
cancel
key withsignal
in all cancelable methods - property
response
ofUploadClientError
now contains the whole response object ({ error: {...}}
)