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.