Releases: uploadcare/pyuploadcare
Releases · uploadcare/pyuploadcare
Version 4.1.1
Fixed
- Resolved a
ValidationError
that occurred when requesting file information for specific video files.
Version 4.1.0
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
andUploadAPI
:upload_from_url
andupload_from_url_sync
can now accept two new optional parameters:check_duplicates
andsave_duplicates
. These correspond tocheck_URL_duplicates
andsave_URL_duplicates
for/from_url/
upload API endpoint respectively.
- For
FileGroup
:- The
delete
method now includes an optionaldelete_files
argument, which indicates whether the files within the specified group should also be deleted.
- The
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
This version introduce support of the REST API v0.7.
Breaking changes
- For
File.info
:- File information doesn't return
image_info
andvideo_info
fields anymore,
they were moved into fieldcontent_info
that includes mime-type, image (dimensions, format, etc), video information (duration, format, bitrate, etc), audio information, etc. - Removed
rekognition_info
in favor ofappdata
.
- File information doesn't return
- For
file_list
method ofFileList
:- Removed the option of sorting the file list by file size.
- For
File
:- Removed method
copy
in favor oflocal_copy
andremote_copy
methods. - Files to upload must be opened in a binary mode.
- Removed method
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.
- Field
- 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
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
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 ofClient
is deprecated,follow_redirects
is preferable to use
Version 3.0.1
What's changed
- Bumped
pytz
dependency - Bumped
typing-extensions
dependency
Version 3.0.0
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
Added
- Support for signed uploads.
Changed
- Dropped support for Python 3.4
- Update bundled widget to version
3.7.4
. See widget changelog.
Fixed
- Tests
Version 2.6.0
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 withdata-url-base
Version 2.5.0
- 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.