Django Drf Filepond Versions Save

A Django app providing a server implemention for the Filepond file upload library

v0.5.0

1 year ago

v0.5.0

This release includes a major update to the way chunked file uploads are handled to increase memory efficiency which can present an issue when working with very large files. It also includes bug fixes and an update to the test infrastructure along with improved test coverage.

Changes:

  • New DrfFilepondChunkedUploadedFile class added to resolve memory usage issues with large uploads. (#82, discussion in #64)*
  • Test infrastructure updated to use Pytest/tox. Test coverage significantly improved. (#81/#84)
  • Upload field name error message improved. (#74/#75)
  • Fix issue with uploads that are an exact multiple of the chunk size and result in an empty final file chunk. (#72/#73)
  • Django 4.0 support finalised from support provided in v0.4.0. (#66/#67/#69)
  • Add Python 3.10 support.

v0.5.0 deprecates support for Python 2.7 and Python 3.5. This is the last django-drf-filepond release that will support Python 2.7. Deprecated Python 3.5 support may be retained for one more release - v0.6.0 - but this is currently under review.

*The updates provide a new specialisation of the Django UploadedFile object that wraps chunk files temporarily stored on disk and passes the data from them to Django as it handles the process of storing a file upload. This significantly reduces memory usage which can be an issue with very large uploads. Previously, file chunks were being reconstituted in memory and then this complete block of in-memory data was made available to an UploadedFile object which was then creating a second copy of the data.

Many thanks to all who reported issues and/or contributed fixes relating to the changes in this release.

v0.4.1

2 years ago

Patch release v0.4.1 This is a minor patch release to add support for Django 4 which no longer supports the old-style URL mapping configuration that was being used in v0.4.0. In addition, a couple of other minor fixes have been rolled into this release.

Changes:

  • Adds Django 4 support by fixing use of old URL mapping that is no longer supported in Django 4 (#66, #67, #69)
  • Typo fix in docs (#65)

Development-related updates:

  • Fixed actions testing configuration (inc. #68)

v0.4.0

2 years ago

django-drf-filepond release v0.4.0

This release is primarily to include support for chunked uploads of large files (> ~2GB), addressing the issues highlighted in #57.

Breaking changes:

  • Please note that this release includes a database migration - if you do not wish to apply migrations to your application DB at present, please remain on django-drf-filepond v0.3.1.

Known issues:

  • The value used to store the number of chunks in an upload is still a 32-bit integer. If you are working with very large files and your upload chunk size is set too small, you could encounter an issue where the number of chunks is greater than 2**31. However, depending on the filesystem you are using you may also reach filesystem limits before this occurs. It is recommended that you consider the most suitable balance between chunk size and the largest file uploads you'll need to handle. Chunk size is set on the filepond client via the server properties.

v0.3.1

2 years ago

django-drf-filepond release v0.3.1

A minor patch release that includes:

  • A fix for problems when using pathlib-based paths to specify the BASE_DIR (#49 / #54)
  • Some dependency version updates (#55, #56)

v0.3.0

4 years ago

django-drf-filepond release v0.3.0

This release includes a number of fixes/updates, in particular the addition of support for chunked uploads:

  • Support for handling chunked uploads from the filepond client (#37 / #40)
  • Fix to support apps that use a custom User model (#38 / #39 )
  • Refactoring of the way Django storage objects are used to handle file storage (#31 / #36)
  • Resolution of issue with handling byte data in relation to the load endpoint (#34 / #35)
  • Significant additions to the test suite in relation to the new chunked upload functionality and refactored upload handling

v0.2.4

4 years ago

This release includes updates to support Django 3 with recent Python releases as well as restrictions on dependency versions for earlier Python versions.

NOTE: There is a known issue with accessing files linked to StoredUpload objects in this release when using the get endpoint. This is fixed in the current dev branch and will be included in the next major release.

v0.2.2

4 years ago

This minor release fixes issue #18 and enforces use of Django <3 for installs since Django 3 is not supported yet.

v0.2.1

4 years ago

Latest 0.2 release.

v0.2.0

4 years ago

Replaced by 0.2.1.

v0.2.0rc1

4 years ago

This is rc1 for django-drf-filepond v0.2.0. It contains new features, significant updates to the documentation and minor bug fixes.

New features:

  • Support for storing uploads to remote file storage using django-storages storage backends
  • Support for deletion of stored uploads via the API
  • Support for reading stored uploads directly from remote storage using the filepond load endpoint

Documentation:

  • A new advanced section to the tutorial detailing the use of remote storage backends along with example view code for your application demonstrating how to handle storage of filepond temporary uploads.
  • Updates to configuration section detailing how to configure use of a remote storage backend.