Shrine v2.8.0 Release Notes

Release Date: 2017-10-11 // over 6 years ago
    • Expand relative directory paths when initializing Storage::FileSystem (@janko)

    • ๐Ÿ›  Fix logging plugin erroring on :json format when ActiveSupport is loaded (@janko)

    • ๐Ÿ‘ Allow Storage::S3#clear! to take a block for specifying which objects to delete (@janko)

    • ๐Ÿ‘‰ Make :filemagic analyzer close the FileMagic descriptor even in case of exceptions (@janko)

    • ๐Ÿ‘‰ Make :file analyzer work for potential file types which have magic bytes farther than 256 KB (@janko)

    • ๐Ÿ—„ Deprecate aws-sdk 2.x in favour of the new aws-sdk-s3 gem (@janko)

    • Modify UploadedFile#extension to always return the extension in lowercase format (@janko)

    • Downcase the original file extension when generating an upload location (@janko)

    • ๐Ÿ‘ Allow specifying the full record attribute name in metadata_attributes plugin (@janko)

    • ๐Ÿ‘ Allow specifying metadata mappings on metadata_attributes plugin initialization (@janko)

    • Add support for ranged requests in download_endpoint and rack_response plugins (@janko)

    • ๐Ÿ‘ Allow Storage::S3#open and Storage::S3#download to accept additional options (@janko)

    • Forward any options given to UploadedFile#open or UploadedFile#download to the storage (@janko)

    • โšก๏ธ Update direct_upload plugin to support Roda 3 (@janko)