v0.5.0
This a big release in terms of code changes. Major highlights include CI workflows and a new test suite with 94% coverage testing against Python 3.6 through 3.9 with Django 2.2 through 3.2 and DRF version 3.11s and 3.12. Older versions of each of those may work, but Python 2 support is officially dropped with this release.
Release Notes
- GitHub CI support for automated tests and package releases.
- README updates including CI status, test coverage, and pypi release badges.
delete_expired_uploads
management command bug fixes.- Migrations pre-built for projects using the
ChunkedUpload
class as a concrete model. AbstractChunkedUpload
base class split out fromChunkedUpload
class.ChunkedUploadSerializer
now takes aviewname
parameter to allow use with custom views.- Support for checksums beyond
md5
. See README for usage. - View support for upload models with no
user
field, or auser
field of a different name. - Various bugfixes, dead code cleanup, and changes for Python 3.
Breaking Changes
- Fixed typo in
DRF_CHUNKED_UPLOAD_USER_RESTRICTED
setting name ChunkedUploadView.on_completion
method now must return aResponse
object.
_post
now returns the result of the method. If overridingon_completion
in any
subclasses, be sure it returns aResponse
.