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 hidden (Show)

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

tus-node-server - v0.7.1

Published by Murderlon about 2 years ago

What's Changed

Meta

Dependencies

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

tus-node-server - v0.7.0

Published by Murderlon over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.6.0...v0.7.0

tus-node-server - v0.6.0

Published by Murderlon over 2 years ago

What's Changed

Improvements

Dependencies

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.5.2...v0.6.0

tus-node-server - v0.5.2

Published by Murderlon over 2 years ago

What's Changed

  • Fix for HEAD request not returning Upload-Offset when S3 multipart upload is finished (#207)
  • Fix memory leaks on interrupted upload (#188)

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.5.1...v0.5.2

tus-node-server - v0.5.1

Published by Acconut over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.5.0...v0.5.1

tus-node-server - v0.5.0

Published by Murderlon over 2 years ago

  • Add support for termination in FileStore (#200)
    • Note: this is not available yet in S3 and Google Cloud Storage stores
  • Update all dependencies (ce40ac2)
  • Update package-lock with npm audit fix (a07d57c)
  • Bump aws-sdk from 2.761.0 to 2.814.0 (#197)
  • Setup GitHub Actions (1cd046d)
  • Increase test timeout (ad5f5cc)
tus-node-server - v0.4.0

Published by Acconut almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/tus/tus-node-server/compare/v0.3.0...v0.4.0

tus-node-server - v0.3.2

Published by bhstahl about 6 years ago

Relative location support #128 (by @gormed )

tus-node-server -

Published by bhstahl about 6 years ago

tus-node-server - Release 0.2.11

Published by bhstahl over 6 years ago

  • Enable 0 byte files #101 (thanks @fentas)
tus-node-server - Release 0.2.10

Published by bhstahl over 6 years ago

  • Replaced console.[log|info|warn|error] statements with debug statements #87 (thanks @LaurensRietveld)
Package Rankings
Top 1.7% on Npmjs.org