Skip to content

Releases: transloadit/node-sdk

v4.0.6

04 Nov 14:57
@kvz kvz
46c5118

Choose a tag to compare

What's Changed

  • fix: export assembly instructions types (#265)
  • Bump vite from 7.1.6 to 7.1.11 (#262)
  • Update changelog

Contributors

  • Kevin van Zonneveld (@kvz)
  • dependabot[bot]

v4.0.0-18

27 Aug 13:39
@kvz kvz
dfac973

Choose a tag to compare

v4.0.0-18 Pre-release
Pre-release

Better schemas

v4.0.0-17

14 Jul 11:13
v4.0.0-17
24d51bd

Choose a tag to compare

Remove accidental tsx dependency

v4.0.0-16

14 Jul 10:53
v4.0.0-16
bf94b1a

Choose a tag to compare

v4.0.0-5

11 Apr 15:38
v4.0.0-5
b3aedd7

Choose a tag to compare

v4.0.0-5 Pre-release
Pre-release

Breaking:

  • This module is now ESM.
  • got updated to v14.
  • gotRetry option no longer accepts number. Instead use { limit: 0 }. See got retry object 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

19 Mar 13:14
v4.0.0-4
fe0d34d

Choose a tag to compare

v4.0.0-4 Pre-release
Pre-release

Added:

  • Add method for generating signed Smart CDN URLs #201
  • Update tus-js-client to latest
  • Use Tus for all uploads #108
  • Support Credential API #141
  • support HTTP 429 rate limiting #217

Breaking:

  • Improve errors #210 #211: Renamed TransloaditError to ApiError. Differences between TransloaditError and ApiError:
    • Make sure errors thrown when status 200 but with body.error are also TransloaditError
    • Moved TransloaditError.response.body to ApiError.response
    • Removed TransloaditError.assemblyId (can now be found in ApiError.response.assembly_id
    • Removed TransloaditError.transloaditErrorCode (can now be found in ApiError.response.error
    • ApiError does not inherit from got.HTTPError, but ApiError.cause will be the got.HTTPError instance that caused this error (except for when Tranloadit API responds with HTTP 200 and error prop set in JSON response, in which case cause will be undefined).
  • 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 in ApiError.
  • Remove list assembly notifications functionality #125 (already removed in backend)
  • Remove createAssembly callback support #195
  • Remove isResumable option #209
  • Drop support for Node.js versions older than 18
  • form-data upgraded 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

06 Apr 14:56
v3.0.2
b767be2

Choose a tag to compare

v3.0.1...v3.0.2

v3.0.1

31 Mar 16:50
v3.0.1
ad677e3

Choose a tag to compare

  • type: Fixed default export to match actual code (#104) e78ba68

v3.0.0...v3.0.1

v3.0.0

16 Mar 09:06
v3.0.0
74f62cb

Choose a tag to compare

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

v3.0.0-rc.4...v3.0.0

v3.0.0-rc.4

30 Jan 15:47
v3.0.0-rc.4
c2b7643

Choose a tag to compare

v3.0.0-rc.4 Pre-release
Pre-release
  • Add undocumented assemblyId parameter to createAssembly (not recommended for general use) 563bcec

v3.0.0-rc.3...v3.0.0-rc.4