Node.js tus server, standalone or integrable in any framework, with disk, S3, Azure, and GGC stores.
MIT License
Bot releases are visible (Hide)
Published by Murderlon about 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon about 1 year ago
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
get
handler, it may fail to retrieve old .info
files.Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon about 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon over 1 year ago
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon almost 2 years ago
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'}
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon almost 2 years ago
s3ClientConfig
option by @Murderlon in https://github.com/tus/tus-node-server/pull/370
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]
Published by Murderlon almost 2 years ago
getFileIdFromRequest
by @Murderlon in https://github.com/tus/tus-node-server/pull/367
Full Changelog: https://github.com/tus/tus-node-server/compare/@tus/[email protected]...@tus/[email protected]
Published by Murderlon almost 2 years ago
This is an aggregated GitHub release. After this releases will be published per package.
getOffset
to getUpload
by @Murderlon in https://github.com/tus/tus-node-server/pull/318
S3Store
by @Murderlon in https://github.com/tus/tus-node-server/pull/331
Expiration
extension, implement it in FileStore
by @bypie5 in https://github.com/tus/tus-node-server/pull/320
write
method of FileStore
by @zhang3xing1 in https://github.com/tus/tus-node-server/pull/340
node-http-mocks
in tests by @Murderlon in https://github.com/tus/tus-node-server/pull/338
1.x
into master
by @Murderlon in https://github.com/tus/tus-node-server/pull/352
Full Changelog: https://github.com/tus/tus-node-server/compare/v0.9.0...@tus/[email protected]
Published by Murderlon almost 2 years ago
credentials
instead of key/secret for the S3 store by @phillip-causing in https://github.com/tus/tus-node-server/pull/282
Full Changelog: https://github.com/tus/tus-node-server/compare/v0.8.1...v0.9.0
Published by Murderlon about 2 years ago
Full Changelog: https://github.com/tus/tus-node-server/compare/v0.8.0...v0.8.1
Published by Murderlon about 2 years ago
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' });
Full Changelog: https://github.com/tus/tus-node-server/compare/v0.7.1...v0.8.0