Refile v0.6.0 Release Notes
Release Date: 2015-09-10 // over 8 years ago-
๐ Release date: 2015-09-10
- [BREAKING]
Refile.direct_upload
has been renamed toRefile.allow_uploads_to
. - [BREAKING]
Refile.mount_point
no longer implicitly adds a leading slash. - [BREAKING] Attachment URLs are now signed, it is no longer possible to generate them client-side
- ๐ [BREAKING] S3 support has been extracted to a separate gem, see https://github.com/refile/refile-s3
- ๐ [BREAKING] MiniMagick support has been extracted to a separate gem, see https://github.com/refile/refile-mini_magick
- [ADDED]
Refile.cdn_host
andRefile.app_host
, since not all parts of a Refile should run behind a CDN - [ADDED] Support for multiple file uploads via
accepts_attachments_for
- ๐ [ADDED] Supports JRuby 9.0.0.0 and up
- ๐ง [ADDED] Backends can configure what they consider a valid ID
- [ADDED] Refile files are rewindable
- [ADDED] Added shortcut to generate URLs to model
- [ADDED]
Refile.file_url
to generate a URL to a file without an attachment - [ADDED]
attachment_url
can take a fallback - ๐ [ADDED] Support for simple_form
- ๐ [FIXED] Multiple validation errors caused problems for attachment fields
- ๐ [FIXED] Using Refile with nested forms
- ๐ [FIXED] Problem finding hidden field when field is wrapped in error div
- ๐ [FIXED] Incorrect filename is sometimes extracted
- ๐ [FIXED] Make sure temporary files are flushed to disk
- ๐ [DEPRECATED]
Refile.host
is deprecated in favour ofRefile.cdn_host
- [BREAKING]