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_uploadsmanagement command bug fixes.- Migrations pre-built for projects using the
ChunkedUploadclass as a concrete model. AbstractChunkedUploadbase class split out fromChunkedUploadclass.ChunkedUploadSerializernow takes aviewnameparameter to allow use with custom views.- Support for checksums beyond
md5. See README for usage. - View support for upload models with no
userfield, or auserfield of a different name. - Various bugfixes, dead code cleanup, and changes for Python 3.
Breaking Changes
- Fixed typo in
DRF_CHUNKED_UPLOAD_USER_RESTRICTEDsetting name ChunkedUploadView.on_completionmethod now must return aResponseobject.
_postnow returns the result of the method. If overridingon_completionin any
subclasses, be sure it returns aResponse.