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 to Refile.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 and Refile.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 of Refile.cdn_host