- Changed: Rely on the smaller and more specific
aws-sdk-s3
gem.
- Changed: Add support for large uploads via
#upload_file
rather than#put
.- Manages multipart uploads for objects larger than 15MB.
- Correctly opens files in binary mode to avoid encoding issues.
- Uses multiple threads for uploading parts of large objects in parallel. See # #116, thanks to Ylan Segal.
- Changed: Upgrade expected
aws-sdk
to2.1
- Fixed: Return
nil
rather than raising an error forFile#size
when the file can't be found.
- Added: Enable using AWS for cache storage, making it easy to do direct file uploads. [Fabian Schwahn]
- Added: Block support for reading from AWS files. This prevents dumping the entire object into memory, which is a problem with large objects. [Thomas Scholz]
- Fixed: Duplicate the
public_url
before signing. All of the strings are frozen, and some cloud signing methods attempt to mutate the url.
- Fixed: Use
Aws.eager_load
to bypass autoloading for theS3
resource. This prevents a race condition in multi threaded environments where an undefined error is raised forAws::S3::Resource
on any request that loads an uploaded file.
- Fixed: The
copy_to
method ofAWS::File
now uses the sameaws_acl
configuration used on original uploads so ACL on copied files matches original files. [Olivier Lacan]
- Added: ACL options are verified when they are set, and coerced into usable values when possible.
- Added: Specify an
aws_signer
lambda for use signing authenticated content served through services like CloudFront.
- Continues where 0.6.0 left off. This wraps AWS-SDK v2 and all of the breaking
changes that contains. Please see the specific breaking change notes contained
in
0.6.0
below.
- Revert to AWS-SDK v1. There are too many breaking changes between v1 and v2 to
be wrapped in a minor version change. This effectively reverts all changes
betwen
0.5.0
and0.6.0
, restoring the old0.5.0
behavior.
- Breaking Change: Updated to use AWS-SDK v2 [Mark Oleson]
- You must specify a region in your
aws_credentials
configuration - You must use hyphens in ACLs instead of underscores (
:public_read
becomes:'public-read'
or'public-read'
) - Authenticated URL's are now longer than 255 characters. If you are caching url values you'll need to ensure columns allow 255+ characters.
- Authenticated URL expiration has been limited to 7 days.
- You must specify a region in your
- Change: Nudge the expected AWS-SDK version.
- Fix
exists?
method of AWS::File (previously it always returned true) [Felix Bünemann] - Fix
filename
method of AWS::File for private files and remove url encoding. [Felix Bünemann]
- Fix regression in
aws_read_options
defaulting tonil
rather than an empty hash. [Johannes Würbach]
- Allow custom options for authenticated urls [Filipe Giusti]
- Loosen aws-sdk constraints
- Add
aws_read_options
andaws_write_options
[Erik Hanson and Greg Woodward]
- And we're back to passing the path. An updated integration test confirms it is working properly.
- Use the "alternate" object writing syntax. The primary method (as documented) only uploads the path itself rather than the file.
- Pass the file path directly to aws-sdk to prevent upload timeouts stemming
incorrect
content_length
.
- Provide a
to_file
method on AWS::File in an attempt to prevent errors when re-uploading a cached file.
- Update aws-sdk depdendency to 1.8.5
- Clean up some internal storage object passing
- Fix storage bug when if
aws_attributes
is blank [#1]
- Initial release, experimental with light expectation based spec coverage.