uppy/examples
Prakash 3529f97899
fix signature mismatch in @uppy/aws-s3 (#6165)
shouldUseMultipart: true was not working due to signature mismatch

AI summary :

This pull request improves support for specifying the `contentType`
during S3 uploads, ensuring that the correct content type is set when
generating presigned URLs for both single and multipart uploads. It also
updates the client-side and server-side code to handle this new
parameter.

**Backend and API enhancements:**
- Updated the `/s3/presign` endpoint in `index.js` to accept an optional
`contentType` parameter and to include it in the S3 `PutObjectCommand`
and `CreateMultipartUploadCommand` requests, defaulting to
`'application/octet-stream'` if not provided.
[[1]](diffhunk://#diff-0c4471088c62917198e1438777b4c7e78fd4d87d450d2a7c78b86b7c647ac97bL360-R360)
[[2]](diffhunk://#diff-0c4471088c62917198e1438777b4c7e78fd4d87d450d2a7c78b86b7c647ac97bR384-R391)

**Client-side and types improvements:**
- Added `contentType` to the `presignableRequest` type to ensure type
safety and clarity when passing this parameter.
- Modified the S3 client (`S3.ts`) to include `contentType` when making
presign requests.
- Updated the example HTML (`rewrite-test.html`) to send `contentType`
in presign requests and enabled multipart uploads for testing.
[[1]](diffhunk://#diff-ca9bc28a71d2d8ac4e0aa6844698f2244594a12e695fc3e153db36674ccb2b52L103-R103)
[[2]](diffhunk://#diff-ca9bc28a71d2d8ac4e0aa6844698f2244594a12e695fc3e153db36674ccb2b52R114)
2026-06-17 13:54:47 +05:30
..
angular build(deps): bump @angular/compiler from 19.2.17 to 19.2.18 (#6128) 2026-01-12 11:13:45 +01:00
aws-companion @uppy/examples/aws-companion fix typo (#6174) 2026-02-09 13:59:31 +05:30
aws-nodejs fix signature mismatch in @uppy/aws-s3 (#6165) 2026-06-17 13:54:47 +05:30
aws-php build(deps): bump aws/aws-sdk-php from 3.288.1 to 3.368.0 in /examples/aws-php (#6112) 2025-12-22 09:24:41 +01:00
cdn Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
companion Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
companion-custom-provider build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
companion-digitalocean-spaces Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
nextjs build(deps): bump next from 15.5.9 to 16.1.5 (#6160) 2026-02-05 15:53:42 +01:00
react Add useImageEditor (#6122) 2026-01-29 11:13:12 +01:00
reactrouter Fix useless security warnings (#6132) 2026-01-12 11:16:15 +01:00
sveltekit Add useImageEditor (#6122) 2026-01-29 11:13:12 +01:00
transloadit Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
vue Add useImageEditor (#6122) 2026-01-29 11:13:12 +01:00
xhr-bundle Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
xhr-node Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
xhr-php Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00
xhr-python Fix @uppy/examples (#6099) 2025-12-08 09:48:23 +01:00