- Add missing typescript definitions [#216]
- Added typescript definitions
- Better error messaging [#207]
- Configurable Expires time [#208]
- Allow 201 response code from PUT [#174]
- Add an
onSignedUrllifecycle hook [#170]
- Fix
undefinedin file path when not providings3pathprop [#160]
- Fix
s3pathanduniquePrefixordering when applied together [#156]
- Add
autoUploadprop, which can be set tofalseto disable automatic upload [#95] [#107] [#155]
- Add
inputRefprop [#153]
- Removed
peerDependencieson react and react-dom [#136]
- Support
getS3function in bundled router options [#139] - Support
s3Pathstring prefix prop [#140]
- Support middleware in express module with optional second arg
- Allow 200 or 201 for success on sign request
- Switch to
uuidinstead ofnode-uuid[#115] - Not using
React.DOM.input[#127] - Allow function for
signingUrlHeaders - Support setting headers in
signResultcallback
- Fix INVALID_STATE_ERR on Safari 5 [#118]
- Using
create-react-classandprop-typesto fix deprecation warnings [#116]
- Return
fileKeyin response bundled router sign response
- Add
uniquePrefixoption 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
scrubFilenameprop to<input>
- BREAKING CHANGE: Removed
unormandlatinizedependencies, 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 customscrubFilenamefunction in props.
- Adding optional prop
signingUrlMethod(default:GET) [#103] - Adding optional prop
signingUrlWithCredentials[#103] - Adding
abortto 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
expressas apeerDependency. Projects should explicitly depend onexpressto 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
serverprop toReactS3Uploaderto support running the signing server on a different domain - Added
headersoption tos3routerto support specifying'Access-Control-Allow-Origin'header (or any others) - [Fixes #44] Using
unorm.nfc(str)in favor ofstr.normalize()
- Added dependencies
unormandlatinizefor uploading files with non-latin characters. - Filenames are normalized, latinized, and whitespace is stripped before uploading