Skip to content
100644 91 lines (70 sloc) 4.47 KB
3831498 @sikachu Update NEWS file for upcoming changes
sikachu authored
1 Unreleased:
3 * Bug fix: AttachmentContentTypeValidator now allow you to specify :allow_blank/:allow_nil
4 * Bug fix: Make sure content type always a String.
5 * Bug fix: Fix attachment.reprocess! when using storage providers fog and s3.
6 * Bug fix: Fix a problem with incorrect content_type detected with 'file' command for an empty file on Mac.
8 New in 3.0.2:
10 * API CHANGE: Generated migration class name is now plural (AddAttachmentToUsers instead of AddAttachmentToUser)
11 * API CHANGE: Remove Rails plugin initialization code.
12 * API CHANGE: Explicitly require Ruby 1.9.2 in the Gemfile.
13 * Bug fix: Fixes AWS::S3::Errors::RequestTimeout on Model#save.
14 * Bug fix: Fix a problem when there's no logger specified.
15 * Bug fix: Fix a problem when attaching Rack::Test::UploadedFile instance.
17 New in 3.0.1:
237675d @sikachu Update NEWS file
sikachu authored
19 * Feature: Introduce Paperlip IO adapter.
20 * Bug fix: Regression in AttachmentContentTypeValidator has been fixed.
22 New in 3.0.0:
24 * API CHANGE: Paperclip now requires at least Ruby on Rails version 3.0.0
26f4d40 @mike-burns Change the default :url and :path to avoid conflicts. Closes #727.
mike-burns authored
25 * API CHANGE: The default :url and :path have changed. The new scheme avoids
26 filesystem conflicts and scales to handle larger numbers of uploads.
28 The easiest way to upgrade is to add an explicit :url and :path to your
29 has_attached_file calls:
237675d @sikachu Update NEWS file
sikachu authored
26f4d40 @mike-burns Change the default :url and :path to avoid conflicts. Closes #727.
mike-burns authored
31 has_attached_file :avatar,
32 :path => ":rails_root/public/system/:attachment/:id/:style/:filename",
33 :url => "/system/:attachment/:id/:style/:filename"
237675d @sikachu Update NEWS file
sikachu authored
35 * Feature: Adding Rails 3 style validators, and adding `validates_attachment` method as a shorthand.
36 * Bug fix: Paperclip's rake tasks now loading records in batch.
37 * Bug fix: Attachment style name with leading number now not raising an error.
38 * Bug fix: File given to S3 and Fog storage will now be rewinded after flush_write.
39 * Feature: You can now pass addional parameter to S3 expiring URL, such as :content_type.
760a4e0 @mike-burns Bump to 2.7.0
mike-burns authored
41 New in 2.7.0:
43 * Bug fix: Checking the existence of a file on S3 handles all AWS errors.
44 * Bug fix: Clear the fingerprint when removing an attachment.
45 * Bug fix: Attachment size validation message reads more nicely now.
46 * Feature: Style names can be either symbols or strings.
47 * Compatibility: Support for ActiveSupport < 2.3.12.
48 * Compatibility: Support for Rails 3.2.
71d3f46 @mike-burns Bump to 2.6.0.
mike-burns authored
50 New in 2.6.0:
52 * Bug fix: Files are re-wound after reading.
53 * Feature: Remove Rails dependency from specs that need Paperclip.
54 * Feature: Validation matchers support conditionals.
56 New in 2.5.2:
58 * Bug fix: Can be installed on Windows.
59 * Feature: The Fog bucket name, authentication, and host can be determined at runtime via Proc.
60 * Feature: Special characters are replaced with underscores in #url and #path.
ec4793e @mike-burns Bump to 2.5.1
mike-burns authored
62 New in 2.5.1:
64 * Feature: After we've computed the content type, pass it to Fog.
65 * Feature: S3 encryption with the new :s3_server_side_encryption option.
66 * Feature: Works without ActiveRecord, allowing for e.g. mongo backends.
071c938 @mike-burns Bump to 2.5.0
mike-burns authored
68 New in 2.5.0:
70 * Performance: Only connect to S3 when absolutely needed.
71 * Bug fix: STI with cached classes respect new options.
72 * Bug fix: conditional validations broke, and now work again.
73 * Feature: URL generation is now parameterized and can be changed with plugins or custom code.
74 * Feature: :convert_options and :source_file_options to control the ImageMagick processing.
75 * Performance: String geometry specifications now parse more quickly.
76 * Bug fix: Handle files with question marks in the filename.
77 * Bug fix: Don't raise an error when generating an expiring URL on an unassigned attachment.
78 * Bug fix: The rake task runs over all instances of an ActiveRecord model, ignoring default scopes.
79 * Feature: DB migration has_attached_file and drop_attached_file methods.
80 * Bug fix: Switch from AWS::S3 to AWS::SDK for the S3 backend.
81 * Bug fix: URL generator uses '?' in the URL unless it already appears and there is no prior '='.
82 * Bug fix: Always convert the content type to a string before stripping blanks.
83 * Feature: The :keep_old_files option preserves the files in storage even when the attachment is cleared or changed.
84 * Performance: Optimize Fog's public_url access by avoiding it when possible.
85 * Bug fix: Avoid a runtime error when generating the ID partition for an unsaved attachment.
86 * Performance: Do not calculate the fingerprint if it is never persisted.
87 * Bug fix: Process the :original style before all others, in case of a dependency.
88 * Feature: S3 headers can be set at runtime by passing a proc object as the value.
89 * Bug fix: Generating missing attachment styles for a model which has had its attachment changed should not raise.
90 * Bug fix: Do not collide with the built-in Ruby hashing method.
Something went wrong with that request. Please try again.