Skip to content

2.1.0

Latest

Choose a tag to compare

@tomgould tomgould released this 18 Oct 17:37
· 2 commits to master since this release

The client now speaks tus 1.0.0 as well as TurboPush's own protocol, so it works with tusd, tus-node-server, tus-php and other tus servers. The default protocol and public API are unchanged.

Added

  • protocol: 'tus' client option, with parallel chunks (concatenation), checksums, resume after reload, retries, pause and cancel.
  • PROTOCOL.md: full specification of the native protocol, plus an HTTP conformance suite (npm run conformance).
  • Interop tests against tusd and tus-php in CI.

Changed

  • PHP: CORS preflights from allowed origins also allow the request headers the browser asks for.

Fixed

  • PHP: the JSON action field is compared strictly, and JSON actions need the exact application/json media type.

Full details in CHANGELOG.md. Available through Composer (tomgould/turbopush). npm publishing is still pending.