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 the S3#presign result indicating the HTTP verb that should be used (@janko)

    • โž• Add ability to specify method: :put in S3#presign to generate data for PUT upload (@janko)

    • Return a Struct instead of a Aws::S3::PresignedPost object in S3#presign (@janko)

    • ๐Ÿ—„ Deprecate Storage#presign returning a custom object in presign_endpoint (@janko)

    • ๐Ÿ‘ Allow Storage#presign to return a Hash in presign_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 of upload_endpoint and presign_endpoint plugins (@janko)