- Export aws-sdk dependency
- Update dependencies
- Ability to handle symlinks in uploadDir and downloadDir
- Expose S3 constants
- Add downloadStream API
- Update dependencies
- fix open file descriptor leak. Thanks Ross Wilson
- add downloadBuffer API
- uploadDir: add 'fileUploadStart', 'fileUploadEnd' events
- downloadDir: add 'fileDownloadStart', 'fileDownloadEnd' events
- update aws-sdk to 2.0.19
- use new AWS SDK API to avoid PassThrough stream workaround
- update aws-sdk to 2.0.17
uploadFile
anduploadDir
now have optional argumentdefaultContentType
.- Fixes default Content-Type able to be mutated by third party modules
changing the global
mime.default_type
variable.
- Content-Type header is now automatically filled out if you do not explicitly
provide it or set it to
null
.
- support for multipart uploading and downloading. This raises the maximum supported file size to the S3 maximum of 5 TB. It also allows this module to be used to download files which were uploaded via multipart.
uploadFile
no longer emits 'stream' (possibly multiple times). Instead, it emits 'fileOpened' exactly once, and the parameter can be used to create read streams.uploadFile
uses fstat instead of stat. Fixes a possible file system race condition.uploadfile
no longer accepts thelocalFileStat
parameter.- default
maxAsyncS3
increased from 14 to 20 - added
multipartUploadThreshold
,multipartUploadSize
uploadDir
anddownloadDir
: fix incorrectly deleting files- update aws-sdk to 2.0.8
- add license
- update aws-sdk to 2.0.6. Fixes SSL download reliability.
uploadDir
handles source directory not existing error correctly
uploadFile
computes MD5 and sends bytes at the same timegetPublicUrl
handlesus-east-1
bucket location correctly
- fix upload path on Windows
- Default
maxAsyncS3
setting change from30
to14
. - Add
Expect: 100-continue
header to downloads.
uploadDir
anddownloadDir
completely rewritten with more efficient algorithm, which is explained in the documentation.- Default
maxAsyncS3
setting changed fromInfinity
to30
. - No longer recommend adding graceful-fs to your app.
- No longer recommend increasing ulimit for number of open files.
- Add
followSymlinks
option touploadDir
anddownloadDir
uploadDir
anddownloadDir
support these additional progress properties:filesFound
objectsFound
deleteAmount
deleteTotal
doneFindingFiles
doneFindingObjects
progressMd5Amount
progressMd5Total
doneMd5
getPublicUrl
API changed to support bucket regions. UsegetPublicUrlHttp
if you want an insecure URL.
downloadFile
respectsmaxAsyncS3
- Add
copyObject
API - AWS JS SDK updated to 2.0.0-rc.18
- errors with
retryable
set tofalse
are not retried - Add
moveObject
API uploadFile
emits astream
event.
- fix
listObjects
for greater than 1000 objects downloadDir
supportsgetS3Params
parameteruploadDir
anddownloadDir
exposeobjectsFound
progress
uploadDir
acceptsgetS3Params
function parameter
- fix handling of directory seperator in Windows
- allow
uploadDir
anddownloadDir
with emptyPrefix
- Add an API function to get the HTTP url to an S3 resource
- complete module rewrite
- depend on official AWS SDK instead of knox
- support
uploadDir
,downloadDir
,listObjects
,deleteObject
, anddeleteDir
- fix
resp.req.url
sometimes not defined causing crash - fix emitting
end
event before write completely finished