- Multi page conversion parameter (
save_in_group
) added toDocumentConverter#convert
options.
- Fixed that signed URLs now work with ~ in the path. This also fixes signed URLs with grouped file URLs.
- Fixed the
Uploadcare::File.remote_copy
method which raised anApiStruct::EntityError: {url} must be Hash
. Now returns a string instead of aFile
entity instance.
Document Info
API added inDocumentConverter
.
- Added
AWS Rekognition Moderation
Add-On. - Added an optional
wildcard
boolean parameter to thegenerate_url
method ofAkamaiGenerator
.
- File attribute
datetime_stored
is deprecated and will warn on usage fromFile
object properties.
- Throw
AuthError
if current public key or secret key config are empty when accessing any of the APIs. AmakaiGenerator
has been renamed toAkamaiGenerator
to fix typo in class name.
- Drop support of unmaintainable Ruby versions < 3.x.
- Update locations where Dry::Monads structure has changed.
- Sign URL uploads if configured (#139).
- Start returning proper error message when raising RequestError in poll_upload_response, to hint to users what is going on. Fixes #141.
- When polling, raise if an error is returned (#142).
- Fix documentation about original file url on simple file upload.
- Support params in Rest client and in file info method, to allow passing custom params like "include=appdata" in
Uploadcare::File.file
calls. Closes #132.
- Updated the version of the REST Api for conversion clients (closes #135).
- Updated behavior to exclude sending blank values in the
store
param.
- Use
auto
as the default value for thestore
param.
- Use
file_info
request after a file upload if the secret key is not provided.
- Add a new
file_info
method to retreive file information without the secret key.
- Improved readme to look better at ruby-doc
- Update the gem description
- Allow ENV keys to be configured after the gem load
Add support of new ruby versions
- Drop support of unmaintainable Ruby versions (2.4, 2.5, 2.6).
- Replace unmaintainable
api_struct
withuploadcare-api_struct
- Add support for Ruby 3+ (3.0, 3.1, 3.2).
This version supports latest Uploadcare REST API — v0.7, which introduces new file management features:
- For
Uploadcare::File#info
- File information doesn't return
image_info
andvideo_info
fields anymore - Removed
rekognition_info
in favor ofappdata
- Parameter
add_fields
was renamed toinclude
- File information doesn't return
- For
Uploadcare::FileList#file_list
- Removed the option of sorting the file list by file size
- For
Uploadcare::Group#store
- Changed response format
- For
Uploadcare::File
- Removed method
copy
in favor oflocal_copy
andremote_copy
methods
- Removed method
- For
Uploadcare::File#info
- Field
content_info
that includes mime-type, image (dimensions, format, etc), video information (duration, format, bitrate, etc), audio information, etc - Field
metadata
that includes arbitrary metadata associated with a file - Field
appdata
that includes dictionary of application names and data associated with these applications
- Field
- Add Uploadcare API interface:
Uploadcare::FileMetadata
Uploadcare::Addons
- Added an option to delete a Group
- For
Uploadcare::File
addlocal_copy
andremote_copy
methods
- Fixes dry-configurable deprecation warnings
- Fixed README:
Uploadcare::URLGenerators::AmakaiGenerator
>Uploadcare::SignedUrlGenerators::AmakaiGenerator
- Autoload generators constants
- Added
Uploadcare::URLGenerators::AmakaiGenerator
. Use custom domain and CDN provider to deliver files with authenticated URLs
- Added option
signing_secret
to theUploadcare::Webhook
- Added webhook signature verifier class
Uploadcare::Param::WebhookSignatureVerifier
- Fixed
Uploadcare::File#store
- Fixed
Uploadcare::File#delete
- Added documents and videos conversions
- Added new attributes to the Entity class (
variations
,video_info
,source
,rekognition_info
) - Added an option to add custom logic to large files uploading process
- Replace Travis-CI with Github Actions
- Automate gem pushing
- Added better pagination methods for
GroupList
&FileList
- Improved documentation and install instructions
- Added CI
- Added better pagination and iterators for
GroupList
&FileList
- Expanded
File
andGroup
entities - Changed user agent syntax
- Added Upload/group functionality
- Added user API
- Added user agent
- Isolated clients, entities and concerns
- Expanded documentation
- Rewrote gem from scratch
- Client wrappers for REST API
- Serializers for REST API
- Client wrappers for Upload API
- Serializers for Upload API
- rdoc documentation