Shrine v1.0.0 Release Notes
Release Date: 2015-11-27 // over 8 years ago-
๐ Improve Windows compatibility in the FileSystem storage (@janko)
โ Remove the ability for FileSystem storage to accept IDs starting with a slash (@janko)
๐ Fix keep_files plugin requiring context for deleting files (@janko)
๐ Extract assigning cached files by parsed JSON into a parsed_json plugin (@janko)
โ Add
(before|around|after)_upload
to the hooks plugin (@janko)๐ Fix
S3#multi_delete
andS3#clear!
not using the prefix (@janko)โ Add ability to pass presign options to storages in the direct_upload plugin (@janko)
โ Remove
Shrine.io!
because it was actually meant to be only for internal use (@janko)โ Remove
Shrine.delete
because of redundancy (@janko)Add default_url_options plugin for specifiying default URL options for uploaded files (@janko)
โ Add module_include plugin for easily extending core classes for given uploader (@janko)
โ Add support for Sequel's Postgres JSON column support (@janko)
๐ Fix migration_helpers plugin not detecting when column changed (@janko)
โ Add the
:public
option to S3 storage for retrieving public URLs which aren't signed (@janko)โ Remove the delete_invalid plugin, as it could cause lame errors (@janko)
Don't delete cached files anymore, as it can cause errors with backgrounding (@janko)
โ Add a
:host
option to the S3 storage for specifying CDNs (@janko)Don't allow same attachment to be promoted multiple times with backgrounding (@janko)
๐ Fix recache plugin causing an infinite loop (@janko)
Fix an encoding error in determine_mime_type when using
:file
with non-files (@janko)๐ Make
UploadedFile
actually delete itself only once (@janko)๐ Make
UploadedFile#inspect
cleaner by showing only the data hash (@janko)Make determine_mime_type able to accept non-files when using :file (@janko)
๐ Make logging plugin accept PORO instance which don't have an #id (@janko)
โ Add rack_file plugin for attaching Rack file hashes to models (@janko)