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 and S3#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)