Skip to content

Releases: tus/tus-node-server

@tus/[email protected]

01 Mar 12:32
95366fb

Choose a tag to compare

Pre-release

What's Changed

  • @tus/server: fix header exception when using a load balancer by @dmitriiz in #381
  • @tus/server: handle non-ASCII file IDs by @mitjap in #385
  • @tus/server: refactor and improve request validator by @Murderlon in #402
  • Bump cookiejar from 2.1.3 to 2.1.4 by @dependabot in #383
  • Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #393

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]

@tus/[email protected]

01 Mar 12:24
6b33ea6

Choose a tag to compare

Pre-release

@tus/[email protected]

17 Jan 13:17
43cbb58

Choose a tag to compare

Pre-release

What's Changed

  • @tus/server: use consistent code formatting in README.md by @yuriyyakym in #377

Breaking changes

  • @tus/server: save decoded metadata in Upload model by @Murderlon in #376

The onUploadCreate,onUploadFinish, and all EVENTS now expose upload.metadata as an decoded object. Previously, you would get a large string.

// Previously in hooks and events
console.log(upload.metadata) // 'is_confidential,foo YmFy'

// Now (base64 values are decoded)
console.log(upload.metadata) // {is_confidential: undefined, foo: 'bar'}

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]

@tus/[email protected]

17 Jan 12:58
e82fdac

Choose a tag to compare

Pre-release

Breaking changes

The options for the store and the options passed to the AWS S3 SDK used to live in the same root config.
You now have to pass the options you want to pass to the SDK explicitly via s3ClientConfig.

const s3Store = new S3Store({
   partSize: 8 * 1024 * 1024,
-  bucket: process.env.AWS_BUCKET,
-  region: process.env.AWS_REGION,
-  accessKeyId: process.env.AWS_ACCESS_KEY_ID,
-  secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
+  s3ClientConfig: {
+    bucket: process.env.AWS_BUCKET,
+    region: process.env.AWS_REGION,
+    accessKeyId: process.env.AWS_ACCESS_KEY_ID,
+    secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
+  },
})

Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]

@tus/[email protected]

16 Dec 10:53
26a7c1f

Choose a tag to compare

Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]

v1.0.0-beta.1

13 Dec 13:41
9aa0ece

Choose a tag to compare

v1.0.0-beta.1 Pre-release
Pre-release

A brand new tus-node-server

  • 🔒 Completely rewritten in TypeScript
  • 📦 Split into separate packages
  • 🪝New events and hooks system
  • 📝 New elaborate docs with examples.
  • ♾️ Many fixes and small new features

This is an aggregated GitHub release. After this releases will be published per package.

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.9.0...@tus/[email protected]

v0.9.0

18 Nov 17:11
1e3735b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

03 Oct 18:28
f6670b0

Choose a tag to compare

What's Changed

Bug fixes

  • Fix issue where there is no error checking bucket exists in GCSDataStore by @angelsk in #299
  • Emit upload complete event when using creation-with-upload extension by @mitjap in #301
  • Fix validation of upload-length header in patch handler by @mitjap in #303

Dependencies

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

29 Sep 14:27
9cbf66f

Choose a tag to compare

What's Changed

Breaking changes

Redesign stores for better separation of concerns by @mitjap in #186

  • FileStore now accepts a directory instead of path.
- new FileStore({ path: './files' });
+ new FileStore({ directory: './files' });
  • DataStores don't emit events anymore, instead the request handlers do.

Bug fixes

  • Fix creation-defer-length extension for all stores by @Murderlon in #297
  • Fix too small parts with S3 datastore by @mitjap in #284
  • GCS: ignore insufficient access error by @mitjap in #294
  • Fix upload ID when using S3 store with Digital Ocean Spaces by @manelio in #296

Dependencies

Meta

New Contributors

Full Changelog: v0.7.1...v0.8.0

v0.7.1

03 Aug 08:56
ba0a7bd

Choose a tag to compare

What's Changed

  • Correctly throw error in S3 store and check for file ID in GCSDataStore by @mitjap in #269
  • S3Store: fix broken upload with deferred length or without metadata by @mitjap in #270

Meta

Dependencies

Full Changelog: v0.7.0...v0.7.1