Skip to content

Releases: transloadit/node-sdk

v4.1.2

08 Dec 12:35
@kvz kvz
55ffe91

Choose a tag to compare

Fixes

  • CLI now also reads TRANSLOADIT_AUTH_KEY / TRANSLOADIT_AUTH_SECRET as aliases for TRANSLOADIT_KEY / TRANSLOADIT_SECRET, restoring auth for users with the legacy env var names.
  • Internal: import ordering fixed to satisfy Biome lint (CI green).

Breaking changes

  • None.

v4.1.1

08 Dec 12:20
@kvz kvz
aad1887

Choose a tag to compare

Fixes

  • CLI now reads TRANSLOADIT_AUTH_KEY / TRANSLOADIT_AUTH_SECRET as aliases for TRANSLOADIT_KEY / TRANSLOADIT_SECRET, matching earlier tooling. This restores auth for users still using the _AUTH_ names.

Breaking changes

  • None.

v4.1.0

08 Dec 09:01
27ead72

Choose a tag to compare

Highlights

  • Add signal support to createAssembly() and awaitAssemblyCompletion() to cancel in-flight HTTP requests and TUS uploads; optional onPoll hook for early exit/watch flows.
  • Ship the new Clipanion-based transloadit CLI with assemblies, templates, bills, and assembly-notifications commands; adds --log-level, --endpoint, --single-assembly, and --concurrency flags.
  • Fix file descriptor exhaustion by closing streams eagerly and recreating on demand; tighten lint rules.
  • Dependencies: add runtime dotenv; new CLI deps (clipanion, node-watch, p-queue, recursive-readdir).

Breaking changes

  • None. SDK API remains backward compatible.

Notes

  • Default npm test now runs full coverage including e2e; exporting TRANSLOADIT_KEY/TRANSLOADIT_SECRET is required for a green run.

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