Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 70 lines (52 sloc) 3.178 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
New in 2.7.5:

* Feature: :s3_host_name can be a proc

New in 2.7.4:

* Feature: Allow :escape_url as an option in the defaults
* Bug fix: Correcting some PATH-based tests.
* Compatability: Cucumber tests work for Rails 3.2.8

New in 2.7.2

* Bug fix: Ensured the correct cocaine version.
* Bug fix: Fixed some tests that shouldn't have been passing.

New in 2.7.1:

* Bug fix: Fixed the problem with E2BIG errors and an ever-expanding path

New in 2.7.0:

* Bug fix: Checking the existence of a file on S3 handles all AWS errors.
* Bug fix: Clear the fingerprint when removing an attachment.
* Bug fix: Attachment size validation message reads more nicely now.
* Feature: Style names can be either symbols or strings.
* Compatibility: Support for ActiveSupport < 2.3.12.
* Compatibility: Support for Rails 3.2.

New in 2.6.0:

* Bug fix: Files are re-wound after reading.
* Feature: Remove Rails dependency from specs that need Paperclip.
* Feature: Validation matchers support conditionals.

New in 2.5.2:

* Bug fix: Can be installed on Windows.
* Feature: The Fog bucket name, authentication, and host can be determined at runtime via Proc.
* Feature: Special characters are replaced with underscores in #url and #path.

New in 2.5.1:

* Feature: After we've computed the content type, pass it to Fog.
* Feature: S3 encryption with the new :s3_server_side_encryption option.
* Feature: Works without ActiveRecord, allowing for e.g. mongo backends.

New in 2.5.0:

* Performance: Only connect to S3 when absolutely needed.
* Bug fix: STI with cached classes respect new options.
* Bug fix: conditional validations broke, and now work again.
* Feature: URL generation is now parameterized and can be changed with plugins or custom code.
* Feature: :convert_options and :source_file_options to control the ImageMagick processing.
* Performance: String geometry specifications now parse more quickly.
* Bug fix: Handle files with question marks in the filename.
* Bug fix: Don't raise an error when generating an expiring URL on an unassigned attachment.
* Bug fix: The rake task runs over all instances of an ActiveRecord model, ignoring default scopes.
* Feature: DB migration has_attached_file and drop_attached_file methods.
* Bug fix: Switch from AWS::S3 to AWS::SDK for the S3 backend.
* Bug fix: URL generator uses '?' in the URL unless it already appears and there is no prior '='.
* Bug fix: Always convert the content type to a string before stripping blanks.
* Feature: The :keep_old_files option preserves the files in storage even when the attachment is cleared or changed.
* Performance: Optimize Fog's public_url access by avoiding it when possible.
* Bug fix: Avoid a runtime error when generating the ID partition for an unsaved attachment.
* Performance: Do not calculate the fingerprint if it is never persisted.
* Bug fix: Process the :original style before all others, in case of a dependency.
* Feature: S3 headers can be set at runtime by passing a proc object as the value.
* Bug fix: Generating missing attachment styles for a model which has had its attachment changed should not raise.
* Bug fix: Do not collide with the built-in Ruby hashing method.
Something went wrong with that request. Please try again.