- Now using HTTPS by default, instead of HTTP. This can be disabled with the option
secure: false
. - Now using the mime package as a dependency instead of bundling an outdated version of it. This should result in a much more complete registry of MIME types for auto-detection when using
putFile
. - Trying to use bucket names that are not all lowercase will give an early error instead of failing with
SignatureDoesNotMatch
upon attempting any operation. See #44 for more information. - Fixed capturing of HTTP request errors to forward to the callback function for all "higher-level API" methods (i.e. those accepting callbacks). (@shuzhang, #71)
- Fixed README example to use
"image/jpeg"
instead of"image/jpg"
. (@jedwood, #74)
- Added
client.copy(sourceFilename, destFilename, headers)
method for copying files within a bucket. - Added
client.deleteMultiple(filenames, headers, cb)
method for multi-object delete. - Knox now passes through any Content-MD5 headers supplied to any of its methods, and automatically generates one for
putFile
. (@staer, #36) - Fixed a bug with error propagation in
putStream
. (@xmilliard, #48) - Fixed requests to querystring resources. (@richtera, #70)
- Updated tests to use Mocha instead of Expresso; now they can be run on Windows.
- Fixed signedUrl signature, needs encodeURIComponent() not escape() to prevent SignatureDoesNotMatch errors on signatures containing plus signs.
- Fixed bug introduced in refactor
- Fixed resource canonicalization
- Fixed; ignoring certain query params when preparing stringToSign. [Rajiv Navada]
- Added
Client#https?(filename)
- 0.4.x support
- Removed
util
require - Support for S3 presigned URLs
- Initial release