Skip to content

Releases: carrierwaveuploader/carrierwave

2.0.0.rc

23 Jun 08:29
0e8742b

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

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)

v0.9.0

06 Jul 22:02

Choose a tag to compare

  • [BREAKING CHANGE] Use integer time (UTC) to generate cache IDs [@bensie]
  • [changed] Recommend using ActionController::Base.helpers instead of Sprockets::Rails::Helper for asset pipeline [@c0]
  • [changed] Lots of URL encoding fixes [@taavo]
  • [added] Added #version_exists? method [@tmaier]
  • [added] Added configuration param (:fog_use_ssl_for_aws) to disable SSL for public_url [@pbzymek]
  • [added] Add Dutch i18n translations for errors [@vanderhoorn]
  • [added] Add Czech i18n translations for errors [@ElMarioFredo]
  • [added] Add German i18n translations for errors [@felixbuenemann]
  • [fixed] Gemspec error in Ruby 2.0.0 [@sanemat]
  • [fixed] Fixed bug in serializing to xml or json where both :only and :except are passed [@Knack]
  • [fixed] Fix recreate_versions! when version if proc returns false [@arthurnn]

v0.8.0

06 Jul 21:38

Choose a tag to compare

  • [BREAKING CHANGE] Remove 'fog_endpoint' in favor of 'host' and/or 'endpoint' in fog_credentials [bensie]
  • [changed] Remove autoload in favor of standard 'require' to help with thread safety [bensie]
  • [added] Allow recreating only specified versions instead of all versions [div]
  • [added] Add support for S3-compliant storage APIs that are not actually S3 [neuhausler]
  • [added] Add #extension CarrierWave::Storage::Fog::File for fetching a file extension [sweatypitts]
  • [fixed] Marshaling uploader objects no longer raises a TypeError on anonymous classes [bensie]

v0.7.1

06 Jul 21:40

Choose a tag to compare

  • [added] add a override to allow fog configuration per uploader [dei79]
  • [fixed] Fix a regression when removing uploads [mattolson]

v0.7.0

06 Jul 21:40

Choose a tag to compare

  • [BREAKING CHANGE] Rename 'fog_host' config option to 'asset_host' and add support for file storage [DouweM]
  • [changed] Changed after_destroy with after_commit ... :on => :destroy [Cristian Sorinel]
  • [changed] Do not handle any special cases for URL handling, keep the existing escape/unescape functionality and allow overriding [bensie]
  • [changed] Activerecord-deprecated_finders gem was renamed [bensie]
  • [changed] Removed unnecessary present? method from ActiveSupport [Yauheni Kryudziuk]
  • [changed] Use AWS S3 subdomain URL when directory name contains a period. [DouweM]
  • [added] Added resize_to_geometry_string RMagick method that will scale image [wprater]
  • [added] Made feature to blacklist certain extensions [thiagofm]
  • [added] Parse and pass fog_host option to ::Fog::Storage [Yauheni Kryudziuk]
  • [added] Add serialization spec for multiple uploaders. [malclocke]
  • [added] Add :read option to manipulate! [xtreme-tanzeeb-khalili]
  • [added] Add binary/octet-stream as generic mime type. [phiggins]
  • [added] Add 'fog_endpoint' config option to set an alternate Fog host. [DouweM]
  • [fixed] Fixed can't convert File into String [jnimety]
  • [fixed] Fixed an issue when parsing URL w/o schema. [Yauheni Kryudziuk]
  • [fixed] Fix reference to column in serializable_hash [malclocke]
  • [fixed] Fix inconsistence in file API [oelmekki]

v0.6.2

06 Jul 21:41

Choose a tag to compare

  • [fixed] Don't double-generate cache_id [skyeagle]
  • [added] Escape plus signs (+) in remote URLs [adrianpike]
  • [added] Enhance multi-page PDF support in RMagick [xtreme-tanzeeb-khalili]

v0.6.1

06 Jul 21:42

Choose a tag to compare

  • [fixed] Calling #serializable_hash with no options [matthewrudy]

v0.6.0

06 Jul 21:43

Choose a tag to compare

  • [BREAKING CHANGE] Require Rails 3.2 or Rails master (4.0) - depends on activesupport/activemodel [bensie]
  • [BREAKING CHANGE] Remove :S3 storage option in favor of Fog [bensie]
  • [BREAKING CHANGE] Remove :CloudFiles storage option in favor of Fog [bensie]
  • [changed] JSON / XML serialization hashes are consistent and work as expected with ActiveRecord's serializable_hash [bensie]
  • [added] fog_host now accepts a proc (useful for dynamic asset servers) [jtrim]
  • [added] Add ability to process a version from an existing version so you aren't always crunching the original, large file [ferblape]
  • [added] Allow brackets in remote URLs [ngauthier]
  • [added] CarrierWave::Storage::Fog::File#exists? to check the existence of the file without needing to fetch it [bensie]
  • [added] Gravity option on resize_to_fill (minimagick) [TheOddLinguist]
  • [added] Add query options for s3 to support response headers overwriting [meceo]
  • [added] Make storages File#url methods to work without any params [meceo]
  • [added] Set the CarrierWave.root correctly if Padrino is defined [futurechimp]
  • [added] Cache fog connections for improved performance [labocho]
  • [fixed] Fix slow fetching of content-length on remote file [geemus]
  • [fixed] Fog remote specs now passing and depend on Fog >= 1.3.1 [geemus]
  • [fixed] Fix an issue where multi-page PDFs can't be converted with RMagick [chanind]
  • [fixed] MiniMagick expects string args to mogrify commands [bensie]
  • [fixed] With Active Record ORM, setting remote_url marks mounted column as dirty [trevorturk]
  • [fixed] Fix possible race condition with CarrierWave.root [bensie]
  • [fixed] ActiveSupport::Memoizable deprecation warning [slbug]