Skip to content

Releases: carrierwaveuploader/carrierwave

2.2.1

03 May 04:14
2dba2c1
Compare
Choose a tag to compare

Changed

Fixed

2.2.0

23 Feb 08:04
13330a7
Compare
Choose a tag to compare

Added

Deprecated

  • #(content_type|extension)_whitelist, #(content_type|extension)_blacklist are deprecated. Use #(content_type|extension)_allowlist and #(content_type|extension)_denylist instead (@grantbdev #2442, 4c3cac75)

Fixed

Security

2.1.1

23 Feb 08:05
003e2ce
Compare
Choose a tag to compare

Security

1.3.2

23 Feb 08:06
56f39b2
Compare
Choose a tag to compare

Fixed

Security

2.1.0

23 Feb 08:07
3356634
Compare
Choose a tag to compare

Added

Fixed

  • Fix Ruby 2.7 deprecations(@mshibuya 9a37fc9e)
  • Fix S3 path-style URL for host with dots for buckets that are placed in other regions than us-east-1(@Bonias #2439)
  • Make MiniMagick::Image constant absolute to prevent misleading 'uninitialized constant' error(@p8 #2437)

2.0.2

23 Feb 08:07
f81bb4d
Compare
Choose a tag to compare

Fixed

2.0.1

23 Feb 08:08
e1c3eea
Compare
Choose a tag to compare

Fixed

2.0.0

23 Feb 08:09
96a0b03
Compare
Choose a tag to compare

Added

  • Append, reorder, and remove-single-file feature for multiple file uploader(@mshibuya #2401)
  • Allow retrieval of uploader index within uploaders(@mshibuya #1771)
  • Add ability to customize downloaders(@mshibuya #1636)
  • Support internationalized domain names for downloader(@mshibuya #2086)
  • Support authenticated_url for Aliyun provider(@Nitrino #2381)
  • Support passing options to authenticated_url for OpenStack provider(@stanhu #2377)
  • Support authenticated_url for AzureRM provider(@Nitrino #2375)
  • Allow custom expires_at when building an authenticated_url(@stephankaag #2397)

Changed

  • [BREAKING CHANGE] Use the storage given by storage configuration also for cache_storage unless explicitly specified(@mshibuya 629afecb)
  • Improve Fog initialization(@mshibuya #2395)
  • [BREAKING CHANGE] Multiple file uploader now keeps successful files on update, only discarding failed ones(@mshibuya 7db9195d)
  • [BREAKING CHANGE] #remote_#{column}_urls= was changed to preserve precedent updates(@mshibuya 8f18a95b)
  • #serializable_hash now returns string for version keys(@schovi #2246)
  • Use the MimeMagic gem to inspect file headers for the mime type. This allows for mitigation of CVE-2016-3714, in combination with a content_type_whitelist(@locriani #1934)
  • Replace mime-types dependency with mini_mime to save memory(@bradleypriest #2292)
  • Delegate MiniMagick processing to ImageProcessing gem(@janko #2298)
  • Handle ActiveRecord transaction correctly, not storing or removing files on rollback(@skosh #2209)

Deprecated

  • fog_provider configuration was deprecated and has no effect, just adding fog providers to Gemfile will load them(@mshibuya ca201ee2)
  • CarrierWave::Uploader::Base#sanitized_file was deprecated, use #file instead(@mshibuya 28190e99)

Removed

Fixed

2.0.0.rc

23 Jun 08:29
0e8742b
Compare
Choose a tag to compare
2.0.0.rc Pre-release
Pre-release

Added

  • Append, reorder, and remove-single-file feature for multiple file uploader(@mshibuya #2401)
  • Allow retrieval of uploader index within uploaders(@mshibuya #1771)
  • Add ability to customize downloaders(@mshibuya #1636)
  • Support internationalized domain names for downloader(@mshibuya #2086)
  • Support authenticated_url for Aliyun provider(@Nitrino #2381)
  • Support passing options to authenticated_url for OpenStack provider(@stanhu #2377)
  • Support authenticated_url for AzureRM provider(@Nitrino #2375)
  • Allow custom expires_at when building an authenticated_url(@stephankaag #2397)

Changed

  • Use the storage given by storage configuration also for cache_storage unless explicitly specified(@mshibuya 629afecb)
  • Improve Fog initialization(@mshibuya #2395)
  • [BREAKING CHANGE] Multiple file uploader now keeps successful files on update, only discarding failed ones(@mshibuya 7db9195d)
  • [BREAKING CHANGE] #remote_#{column}_urls= was changed to preserve precedent updates(@mshibuya 8f18a95b)
  • #serializable_hash now returns string for version keys(@schovi #2246)
  • Use the MimeMagic gem to inspect file headers for the mime type. This allows for mitigation of CVE-2016-3714, in combination with a content_type_whitelist(@locriani #1934)
  • Replace mime-types dependency with mini_mime to save memory(@bradleypriest #2292)
  • Delegate MiniMagick processing to ImageProcessing gem(@janko #2298)
  • Handle ActiveRecord transaction correctly, not storing or removing files on rollback(@skosh #2209)

Deprecated

  • fog_provider configuration was deprecated and has no effect, just adding fog providers to Gemfile will load them(@mshibuya ca201ee2)
  • CarrierWave::Uploader::Base#sanitized_file was deprecated, use #file instead(@mshibuya 28190e99)

Removed

Fixed

v0.10.0

26 Feb 23:26
Compare
Choose a tag to compare
  • [changed] Memoize uploaders and uploader_options (Derek Parker and Joshua Davey from Hashrocket)
  • [changed] Don't force pad background color to white in resize_and_pad (@fnordfish)
  • [changed] Remove auth access information when parsing URL for filename (@nddeluca)
  • [changed] Read Content type from cached and uploaded file, adds mime-types as hard dependency
  • [added] Added authenticated_url functionality for Openstack storage (@snoopie)
  • [added] Add Polish I18n translations for errors (@ArturT)
  • [added] Add Greek locale for error messages (@agorf)
  • [added] Add French locale for error messages (@gdurelle)
  • [added] Add Japanese locale for error messages (@tomodian)
  • [added] Add Norwegian locale for error messages (@theodorton)
  • [added] Add Portuguese locale for error messages (@pedrosmmoreira)
  • [fixed] Overridden serializable_hash accepts an options hash (@bensie)
  • [fixed] Fog connection object performance issues (@taavo)
  • [fixed] Delete Tempfile after manipulate with MiniMagick (@dimko)
  • [fixed] Ensure #remove_#{column} and #remove_#{column} return false after committing with ActiveRecord (@bensie)
  • [fixed] Fix issue with content-disposition existing with no filename when downloading, reports that Google does this (@hasghari / @bensie / @taavo)