tus-node-server

Node.js tus server, standalone or integrable in any framework, with disk, S3, Azure, and GGC stores.

MIT License

Downloads
173K
Stars
811
Committers
59

Bot releases are visible (Hide)

tus-node-server - @tus/[email protected]

Published by Murderlon about 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon about 1 year ago

Breaking changes

Previously, to save the metadata the S3 store used to create an empty file and put everything on metadata, which the SDK sends alongs has query parameters. Sending an entire JSON string in a header is error-prone and caused issues. Now it correctly creates an .info file with contents.

This might be breaking change in two cases

  1. Users who partially uploaded a file before on the old format, who try to resume the upload after the server has been redeployed with the newer version.
  2. Depending on your implementation of a get handler, it may fail to retrieve old .info files.

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon about 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

New Contributors

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

New Contributors

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

New Contributors

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

What's Changed

New Contributors

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

tus-node-server - @tus/[email protected]

Published by Murderlon over 1 year ago

tus-node-server - @tus/[email protected]

Published by Murderlon almost 2 years ago

What's Changed

Breaking changes

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-node-server - @tus/[email protected]

Published by Murderlon almost 2 years ago

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-node-server - @tus/[email protected]

Published by Murderlon almost 2 years ago

What's Changed

New Contributors

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

tus-node-server - v1.0.0-beta.1

Published by Murderlon almost 2 years ago

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]

tus-node-server - v0.9.0

Published by Murderlon almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.8.1...v0.9.0

tus-node-server - v0.8.1

Published by Murderlon about 2 years ago

What's Changed

Bug fixes

Dependencies

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.8.0...v0.8.1

tus-node-server - v0.8.0

Published by Murderlon about 2 years ago

What's Changed

Breaking changes

Redesign stores for better separation of concerns by @mitjap in https://github.com/tus/tus-node-server/pull/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

Dependencies

Meta

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.7.1...v0.8.0

Package Rankings
Top 1.7% on Npmjs.org