Skip to content

Releases: uploadcare/pyuploadcare

Version 4.1.1

04 Sep 17:14
94474fd
Compare
Choose a tag to compare

Fixed

  • Resolved a ValidationError that occurred when requesting file information for specific video files.

Version 4.1.0

18 Jul 11:28
d565e79
Compare
Choose a tag to compare

This release brings official support for Python 3.11 and Django 4.2, as well as some nifty new features.

Minimum supported versions remain Python 3.6 and Django 1.11.

Added

  • For Uploadcare and UploadAPI:
    • upload_from_url and upload_from_url_sync can now accept two new optional parameters: check_duplicates and save_duplicates. These correspond to check_URL_duplicates and save_URL_duplicates for /from_url/ upload API endpoint respectively.
  • For FileGroup:
    • The delete method now includes an optional delete_files argument, which indicates whether the files within the specified group should also be deleted.

Changed

  • Bumped httpx dependency for py37+.
  • Bumped yarl dev dependency for py37+.
  • Bumped coverage dev dependency for py37+.
  • Tests are now run against Python 3.11 as well. The minimum supported version of Python remains 3.6.
  • Tests are now run against Django 4.0, 4.1 and 4.2 as well. The minimum supported version of Django remains 1.11.

Version 4.0.0

26 Dec 11:29
51f47f6
Compare
Choose a tag to compare

This version introduce support of the REST API v0.7.

Breaking changes

  • For File.info:
    • File information doesn't return image_info and video_info fields anymore,
      they were moved into field content_info that includes mime-type, image (dimensions, format, etc), video information (duration, format, bitrate, etc), audio information, etc.
    • Removed rekognition_info in favor of appdata.
  • For file_list method of FileList:
    • Removed the option of sorting the file list by file size.
  • For File:
    • Removed method copy in favor of local_copy and remote_copy methods.
    • Files to upload must be opened in a binary mode.

Added

  • For File.info:
    • Field metadata that includes arbitrary metadata associated with a file.
    • Field appdata that includes dictionary of application names and data associated with these applications.
  • Add Uploadcare API interfaces for Uploadcare:
    • MetadataAPI
    • AddonsAPI
  • Added an option to delete a Group.

Fixed

  • Limit for batch operation is set to 100 (doc).
  • Iterating over long collections in batch operation.
  • Akamai signed URL generation.

Version 3.2.0

25 Nov 16:09
594008d
Compare
Choose a tag to compare

Changed

  • freeze httpx dependency for py37+ (=0.23.0) to prevent breaking changes in processing files opened in text mode

Fixed

  • Akamai signed URL generation

Version 3.1.0

18 Nov 13:51
2c8d935
Compare
Choose a tag to compare

What's changed

  • Bumped httpx dependency for Python 3.7+
  • Rename header with throttling data into retry-after
  • Use md-format for HISTORY and README files
  • Argument allow_redirects in request method of Client is deprecated, follow_redirects is preferable to use

Version 3.0.1

18 Nov 13:51
Compare
Choose a tag to compare

What's changed

  • Bumped pytz dependency
  • Bumped typing-extensions dependency

Version 3.0.0

01 Nov 16:25
82042fd
Compare
Choose a tag to compare

Version 3.0 contains breaking changes.

What's added:

  • Multipart uploads.
  • Document and video conversions.
  • Authenticated URL generator.
  • Image transformation path builder.
  • Webhook operations.
  • Getting project information.
  • Low-level API.
  • Uploadcare client.

What's changed:

  • Dropped support for Python 3.5.
  • Dropped support for Python 2.*.
  • Allowed uploading from URL in File.upload method.
  • Resource attributes can be accessed now as properties, not methods.
  • Uploadcare client should be initialized to access API.
  • Moved from Travis to Github Actions.

Version 2.7.0

03 May 14:07
Compare
Choose a tag to compare

Added

Changed

  • Dropped support for Python 3.4
  • Update bundled widget to version 3.7.4. See widget changelog.

Fixed

  • Tests

Version 2.6.0

29 Nov 15:12
Compare
Choose a tag to compare

Changed

  • Improved error logging.
  • Update bundled widget to version 3.6.1. See widget changelog.

Fixed

  • FileWidget.render() now works in Django 2.1.
  • Obsolete widget setting data-upload-base-url replaced with data-url-base

Version 2.5.0

08 May 04:55
Compare
Choose a tag to compare
  • Update bundled widget to version 3.3.0. See widget changelog.
  • Update links to the Uploadcare site
  • Expand data format in 'User-Agent' request header.