Skip to content

Releases: tus/tus-node-server

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Minor Changes

  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • f190875: - POST_RECEIVE_V2 has been renamed to POST_RECEIVE. The deprecated version of POST_RECEIVE has been removed.
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Major Changes

  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • 51419da: - Introduce handleWeb(req: Request) to integrate into meta frameworks
    (such as Next.js, Nuxt, React Router, SvelteKit, etc) and other Node.js compatible runtime environments.
    • All events and hooks now emit Request/Response instead of http.IncomingMessage/http.ServerResponse.
    • The function version of the options maxSize, generateUrl, getFileIdFromRequest, namingFunction, locker
      also now use Request/Response.
    • Your onUploadCreate and onUploadFinish hooks no longer need to return the response object.
      • If you want to change the metadata in onUploadCreate you can return Promise<{ metadata: Record<string, string> }>.
        This will will internally merge the existing metadata with the new metadata.
      • onUploadFinish can return Promise<{ status_code?: number headers?: Record<string, string | number> body?: string }>
  • f190875: - POST_RECEIVE_V2 has been renamed to POST_RECEIVE. The deprecated version of POST_RECEIVE has been removed.
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

Patch Changes

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Major Changes

  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

Patch Changes

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Major Changes

  • 4a0fe1c: @google-cloud/storage@7 is now required as peer dependency.
  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

Patch Changes

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Major Changes

  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

Patch Changes

@tus/[email protected]

25 Mar 09:44
1abc100
Compare
Choose a tag to compare

Major Changes

  • 0f063d9: Change required Node.js version from 16 to 20.19.0
  • 7a5a60d: Make this package ESM-only instead of CommonJS. Since Node.js >= 20.19.0 you can require(esm) so you can consume this package even if you don't ESM yourself yet.

Patch Changes

@tus/[email protected]

13 Mar 12:04
ba571db
Compare
Choose a tag to compare

Patch Changes

  • 274a0d1: Bump @aws-sdk/client-s3 from 3.717.0 to 3.758.0
  • 81eb03a: Add missing documentation for maxMultipartParts option added in #712
  • c8e78bd: Fix unhandled promise rejection when uploading a part fails, in which case we returned too early, leaving other parts running in the background.

@tus/[email protected]

13 Mar 12:04
ba571db
Compare
Choose a tag to compare

Patch Changes

  • f47f371: Fix error on saving metadata when it contains non-ASCII characters

@tus/[email protected]

07 Feb 09:25
af6a55a
Compare
Choose a tag to compare

Patch Changes

  • 06954ac: Don't use AbortSignal.any to fix memory leak in older Node.js versions and to not break version support.

@tus/[email protected]

06 Feb 12:49
cb52d7f
Compare
Choose a tag to compare

Minor Changes

  • 7db2f17: Add maxMultipartParts option. This can be used when using S3-compatible storage provider with different part number limitations.