Shrine v2.11.0 Release Notes
Release Date: 2018-04-28 // almost 6 years ago-
โ Add
Shrine.with_file
for temporarily converting an IO-like object into a file (@janko)โ Add
:method
value to theS3#presign
result indicating the HTTP verb that should be used (@janko)โ Add ability to specify
method: :put
inS3#presign
to generate data for PUT upload (@janko)Return a
Struct
instead of aAws::S3::PresignedPost
object inS3#presign
(@janko)๐ Deprecate
Storage#presign
returning a custom object inpresign_endpoint
(@janko)๐ Allow
Storage#presign
to return a Hash inpresign_endpoint
(@janko)โ Add ability to specify upload checksum in
upload_endpoint
plugin (@janko)๐ Don't raise exception in
:mini_magick
and:ruby_vips
dimensions analyzers when image is invalid (@janko)Don't remove bucket name from S3 URL path with
:host
when:force_path_style
is set (@janko)Correctly determine MIME type from extension of empty files (@janko)
Modify
UploadedFile#download
not to reopen the uploaded file if it's already open (@janko)โ Add
UploadedFile#stream
for streaming content into a writable object (@janko)๐ Deprecate
direct_upload
plugin in favor ofupload_endpoint
andpresign_endpoint
plugins (@janko)