Releases: transloadit/node-sdk
Releases · transloadit/node-sdk
v4.0.6
v4.0.0-18
v4.0.0-17
Remove accidental tsx dependency
v4.0.0-16
v4.0.0-5
Breaking:
- This module is now ESM.
gotupdated to v14.gotRetryoption no longer acceptsnumber. Instead use{ limit: 0 }. Seegotretryobject documentation.- Requires Node.js v20 or newer. (why not 18 LTS? Because 18 is end-of-life in a few weeks, by the time we make a final v4 release)
See also https://github.com/transloadit/node-sdk/releases/tag/v4.0.0-4
v4.0.0-4
Added:
- Add method for generating signed Smart CDN URLs #201
- Update
tus-js-clientto latest - Use Tus for all uploads #108
- Support Credential API #141
- support HTTP 429 rate limiting #217
Breaking:
- Improve errors #210 #211: Renamed
TransloaditErrortoApiError. Differences betweenTransloaditErrorandApiError:- Make sure errors thrown when status 200 but with
body.errorare also TransloaditError - Moved
TransloaditError.response.bodytoApiError.response - Removed
TransloaditError.assemblyId(can now be found inApiError.response.assembly_id - Removed
TransloaditError.transloaditErrorCode(can now be found inApiError.response.error ApiErrordoes not inherit fromgot.HTTPError, butApiError.causewill be thegot.HTTPErrorinstance that caused this error (except for when Tranloadit API responds with HTTP 200 anderrorprop set in JSON response, in which case cause will beundefined).
- Make sure errors thrown when status 200 but with
- Note that (just like before) when the Transloadit API responds with an error we will always throw a
ApiError- In all other cases (like request timeout, connection error, TypeError etc.), we don't wrap the error inApiError. - Remove list assembly notifications functionality #125 (already removed in backend)
- Remove createAssembly callback support #195
- Remove
isResumableoption #209 - Drop support for Node.js versions older than 18
form-dataupgraded from 3 to 4 - might cause some differences in behavior related to file uploads- Rewritten to Typescript and exported types might have changed
v3.0.2
v3.0.1
v3.0.0
This release marks the first stable release of transloadit Node.js SDK v3 🎉
The release contains no changes to the library itself from v3.0.0-rc.4. For (breaking) changes from v2 to v3, see the previous RC releases:
Full commit log since v3.0.0-rc.4
- declutter heading (#102) 65018a9
- log every assemblyId for createAssembly against API (#101) 3cd7ea7
- Transloadit Linter Upgrade (#100) 243c60f
- Set absolute paths to examples (#98) 16fdf69
- Revert "export sdk docs (#96)" (#97) 78b64b1
- export sdk docs (#96) 1161786
- Eslint airbnb transloadit (#95) 0534c1c
- Run tests every morning at 08:00 #89 8df4138
- Improve readme cb3d026
- Remove TransloaditClientLegacy f3c7904
- update tests to reflect API change 6b380d8
- test for trailing slash in endpoint due to TUS error 3c9038d
- enable replayedAssembly.assembly_ssl_url acb5d49
v3.0.0-rc.4
- Add undocumented assemblyId parameter to createAssembly (not recommended for general use) 563bcec