Shrine v2.13.0 Release Notes
Release Date: 2018-11-04 // over 5 years ago-
๐ Specify UTF-8 charset in
Content-Type
response header inpresign_endpoint
plugin (@janko)๐ Specify UTF-8 charset in
Content-Type
response header inupload_endpoint
plugin (@janko)๐ Force UTF-8 encoding on filenames coming from Rack's multipart request params in
rack_file
plugin (@janko)Raise
Shrine::Error
iffile
command returns error in stdout indetermine_mime_type
plugin (@janko)๐ Allow
:host
inS3#url
to specify a host URL with an additional path prefix (@janko)Revert adding bucket name to URL path in
S3#url
when:host
is used with:force_path_style
(@janko)In
upload_endpoint
error with "Upload Not Valid" whenfile
parameter is present but not a file (@janko)๐ Allow
Attacher#assign
to accept options forShrine#upload
(@janko)โ Add
:metadata
option toShrine#upload
for manually overriding extracted metadata (@janko)โ Add
:force
option toinfer_extension
plugin for always replacing the current extension (@jrochkind)โ Add
:public
option toS3#initialize
for enabling public uploads (@janko)โ Add ability to specify a custom
:signer
forShrine::Storage::S3#url
(@janko)In
S3#upload
do multipart upload for large non-file IO objects (@janko)In
S3#upload
switch toAws::S3::Object#upload_stream
for multipart uploads of IO objects of unknown size (@janko)๐ In
S3#upload
deprecate using aws-sdk-s3 lower than 1.14 when uploading IO objects of unknown size (@janko)