Skip to content

Version 4.2.0

Compare
Choose a tag to compare
@evgkirov evgkirov released this 16 Nov 20:12
· 143 commits to main since this release
c897f7d

Summary of this update:

  1. Added support for the save_in_group parameter in multipage conversion (#258);
  2. Implemented the AWS Rekognition Moderation addon API (#260);
  3. Added signed_uploads setting for Django projects (#262);
  4. Secure URL generation improvements (#263 & #264);
  5. Various bug fixes.

There are no breaking changes in this release.

Added

  • For Uploadcare:

    • Added a type for the event parameter of the create_webhook and update_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 to generate_secure_url, it returns only a token, not the full URL.
    • Added an optional wildcard parameter to the generate_secure_url method.
  • For File:

    • Added the save_in_group parameter to the convert and convert_document methods. It defaults to False. When set to True, multi-page documents will additionally be saved as a file group.
    • Added the get_converted_document_group method. It returns a FileGroup instance for converted multi-page documents.
  • For DocumentConvertAPI:

  • For AddonsAPI / AddonLabels:

  • For Django integration:

    • Added the signed_uploads setting for Django projects. When enabled, this setting exposes the generated signature to the uploading widget.
  • For AkamaiSecureUrlBuilderWithAclToken:

    • Added get_token method.
    • Added an optional wildcard parameter to the build method.
  • Introduced AkamaiSecureUrlBuilderWithUrlToken class.

Changed

  • AkamaiSecureUrlBuilder has been renamed to AkamaiSecureUrlBuilderWithAclToken. 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 and status with AddonLabels's attributes (such as AddonLabels.REMOVE_BG) for the addon_name would result in a 404 Not Found error.
    • Fixed ValidationError when constructing AddonClamAVExecutionParams or AddonRemoveBGExecutionParams with omitted optional parameters.