fs2-aws
fs2-aws copied to clipboard
Add `uploadEmptyFiles` Configuration to `S3.uploadFile`
Introduce uploadEmptyFiles
boolean configuration for the S3.uploadFile
method, defaulting to false
.
Key updates:
-
Signature Consistency:
- Both
uploadFile
anduploadFileMultipart
now returnPipe[F, Byte, Option[ETag]]
. - Both methods support skipping empty files when
uploadEmptyFiles
is disabled.
- Both
-
Breaking Changes:
- The return type of
uploadFile
is updated fromPipe[F, Byte, ETag]
toPipe[F, Byte, Option[ETag]]
. - The
awsRequestModifier
argument position has been changed to align with theuploadFileMultipart
signature, now appearing after theuploadEmptyFiles
parameter. - Provided there is already a breaking signature change, parameters
awsRequestModifier
,requestModifier
, andmodifier
are now uniformly namedawsRequestModifier
.
- The return type of