Skip to content

@tus/[email protected]

Pre-release
Pre-release

Choose a tag to compare

@Murderlon Murderlon released this 17 Jan 13:17
· 273 commits to main since this release
43cbb58

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]