Version 4.2.0
Summary of this update:
- Added support for the
save_in_group
parameter in multipage conversion (#258); - Implemented the AWS Rekognition Moderation addon API (#260);
- Added
signed_uploads
setting for Django projects (#262); - Secure URL generation improvements (#263 & #264);
- Various bug fixes.
There are no breaking changes in this release.
Added
-
For
Uploadcare
:- Added a type for the
event
parameter of thecreate_webhook
andupdate_webhook
methods. - Added the
generate_upload_signature
method. This shortcut could be useful for signed uploads from your website's frontend, where the signature needs to be passed outside of your website's Python part (e.g., for the uploading widget). - Added
generate_secure_url_token
method. Similar togenerate_secure_url
, it returns only a token, not the full URL. - Added an optional
wildcard
parameter to thegenerate_secure_url
method.
- Added a type for the
-
For
File
:- Added the
save_in_group
parameter to theconvert
andconvert_document
methods. It defaults toFalse
. When set toTrue
, multi-page documents will additionally be saved as a file group. - Added the
get_converted_document_group
method. It returns aFileGroup
instance for converted multi-page documents.
- Added the
-
For
DocumentConvertAPI
:- Added the
retrieve
method, which corresponds to theGET /convert/document/:uuid/
API endpoint.
- Added the
-
For
AddonsAPI
/AddonLabels
:- Added support for the Unsafe content detection addon (
AddonLabels.AWS_MODERATION_LABELS
).
- Added support for the Unsafe content detection addon (
-
For Django integration:
- Added the
signed_uploads
setting for Django projects. When enabled, this setting exposes the generated signature to the uploading widget.
- Added the
-
For
AkamaiSecureUrlBuilderWithAclToken
:- Added
get_token
method. - Added an optional
wildcard
parameter to thebuild
method.
- Added
-
Introduced
AkamaiSecureUrlBuilderWithUrlToken
class.
Changed
AkamaiSecureUrlBuilder
has been renamed toAkamaiSecureUrlBuilderWithAclToken
. It is still available under the old name and works as before, but it will issue a deprecation warning when used.
Fixed
- For
AddonsAPI
/AddonExecutionParams
:- Fixed an issue where calling
execute
andstatus
withAddonLabels
's attributes (such asAddonLabels.REMOVE_BG
) for theaddon_name
would result in a 404 Not Found error. - Fixed
ValidationError
when constructingAddonClamAVExecutionParams
orAddonRemoveBGExecutionParams
with omitted optional parameters.
- Fixed an issue where calling