- Support middleware in express module with optional second arg
- Allow 200 or 201 for success on sign request
- Switch to
uuid
instead ofnode-uuid
[#115] - Not using
React.DOM.input
[#127] - Allow function for
signingUrlHeaders
- Support setting headers in
signResult
callback
- Fix INVALID_STATE_ERR on Safari 5 [#118]
- Using
create-react-class
andprop-types
to fix deprecation warnings [#116]
- Return
fileKey
in response bundled router sign response
- Add
uniquePrefix
option to express router support turning off the UUID prefix of filenames. Default is true, but set to false to preserve original filenames.
- Don't pass
scrubFilename
prop to<input>
- BREAKING CHANGE: Removed
unorm
andlatinize
dependencies, which were used to scrub file names before uploading. Now we just remove all characters that are not alphanumeric, underscores, dashes, or periods. If you need different behavior, please provide a customscrubFilename
function in props.
- Adding optional prop
signingUrlMethod
(default:GET
) [#103] - Adding optional prop
signingUrlWithCredentials
[#103] - Adding
abort
to react component [#96]
- Adding optional preprocess hook supports asynchronous operations such as resizing an image before upload [#79 #72]
- Fix uglify warning [#77]
- Avoid react warning by not passing unnecessary props to Dom.input [#75]
- Allow custom getSignedUrl() function to be provided [#22]
- Replace unsafe characters (per AWS docs) with underscores [#69]
- Support signatureVersion option
- Not passing non-JSON response text to error handlers
- Fixes issue where URL would include "undefined" if this.server was not specified
- Using
react-dom
- Fixes issue where URL would include "undefined" if this.server was not specified
- Breaking Change [Fixes #52] Removing
express
as apeerDependency
. Projects should explicitly depend onexpress
to use the bundled router - [Fixes #51] url encode the contentType
- Fixes issue where URL would include "undefined" if this.server was not specified
- [Fixes #48] Only setting the AWS region for the S3 client, not the global default
- Added
server
prop toReactS3Uploader
to support running the signing server on a different domain - Added
headers
option tos3router
to support specifying'Access-Control-Allow-Origin'
header (or any others) - [Fixes #44] Using
unorm.nfc(str)
in favor ofstr.normalize()
- Added dependencies
unorm
andlatinize
for uploading files with non-latin characters. - Filenames are normalized, latinized, and whitespace is stripped before uploading