Skip to content

Releases: uploadcare/uploadcare-rails

Version 3.3.0

16 Mar 05:44
b853544
Compare
Choose a tag to compare

Guarantee support of maintainable versions of Ruby and Rails:

  • Drop support of unmaintainable Ruby 2.4, 2.5, 2.6 and Rails before 6.0.
  • Add support of Ruby 3.1 and 3.2 and Rails 7.0.

Version 3.0.0-rc

30 Dec 14:05
Compare
Choose a tag to compare
Version 3.0.0-rc Pre-release
Pre-release

This version supports latest Uploadcare REST API — v0.7, which introduces new file management features:


If you have Ruby version >= 3, then you probably will get error:

ArgumentError: wrong number of arguments (given 2, expected 1)

To fix this errors, add this line to your application's Gemfile:

gem 'dry-configurable', '0.13.0'

and run bundle install

Version 2.1.1

20 May 11:34
Compare
Choose a tag to compare

Fixed Rails 4 test failure by enforcing https.

Version 2.1.0

25 Nov 12:00
Compare
Choose a tag to compare

Added

  • Option signing_secret in the Uploadcare::WebhookApi.

Version 2.0.0

12 Oct 07:31
d7cf164
Compare
Choose a tag to compare

Added

  • Add Uploadcare API interface:
    • Uploadcare::FileApi
    • Uploadcare::UploadApi
    • Uploadcare::GroupApi
    • Uploadcare::ConversionApi
    • Uploadcare::ProjectApi
    • Uploadcare::WebhookApi
  • Add uploadcare_widget_tag helper for views
  • Add methods File#store, File#delete, File#load
  • Add methods Group#transform_file_urls, Group#store, Group#load

Changed

  • Change File Uploader widget view helpers
  • Rename has_uploadcare_file -> mount_uploadcare_file
  • Rename has_uploadcare_group -> mount_uploadcare_file_group
  • Change generated config path from config/uploadcare.yml to config/initializers/uploadcare.rb and add more options
  • Rename the class Uploadcare::Rails::Settings to Uploadcare::Rails::Configuration
  • Rename the class Uploadcare::Rails::Operations to Uploadcare::Rails::Transformations::ImageTransformations.
    Configuration object is available as Uploadcare::Rails.configuration now
  • Change methods File#url -> File#transform_url
  • Change methods Group#urls -> Group#file_urls
  • Change methods Group#load_data -> Group#load

Removed

  • Remove uploadcare_uploader_tag helper
  • Remove uploadcare_multiple_uploader_field helper
  • Remove uploadcare_single_uploader_field helper
  • Remove uploadcare_uploader_options (now options are included in uploadcare_widget_tag)
  • Remove FormBuilder support
  • Remove Formtastic support
  • Remove SimpleForm support
  • Remove caching files and groups on delete
  • Remove callback ruby after_save after_save "store_#{ attribute }".to_sym. Now managed by the do_not_store option in config/initializers/uploadcare.rb
  • Remove methods File#prepared_operations, File#to_builder, File#to_json, File#as_json, File#marshal_dump, File#image
  • Remove methods Group#cache_data, Group#to_json, Group#as_json, Group#map_files, Group#load_data!, Group#marshal_dump

v1.2.1

01 Oct 16:34
76e2684
Compare
Choose a tag to compare
Allow to use multiple files or groups (#74)

Version 1.2.0-alpha2

28 May 11:31
Compare
Choose a tag to compare
Version 1.2.0-alpha2 Pre-release
Pre-release

Changed

  • Gem now reports us your uploadcare-rails and rails versions using the User-Agent header (overridable via config)
  • uploadcare-ruby gem version bumped to 1.2.x

Version 1.2.0-alpha

19 Apr 12:10
Compare
Choose a tag to compare
Version 1.2.0-alpha Pre-release
Pre-release
  • Allow gem in rails 5.2
  • Update default widget version to 3.x
  • Remove tests against Ruby 2.0 and 2.1 that had reached their EOL

Version 1.1.0

25 Jul 13:49
Compare
Choose a tag to compare

Added

  • Removed widget from the asset pipeline. It is expected to use helper or to append to the asset pipeline mannualy.
  • Operations for image_tag helpers
  • Relaxed dependencies to allow Rails < 5.1.0

Fixed

  • Bug with creating object with empty file or file_group.
  • Workaround to remove unnecessery API cals for groups of images.

bug fixes and minor updates for specs

11 Jan 09:33
Compare
Choose a tag to compare
  • active_admin/devise gem
  • formtastic helpers updated
  • simple_form helpers updated to match new API