Skip to content

Releases: ccnmtl/django-s3sign

0.5.1

15 Jan 19:05
Compare
Choose a tag to compare
  • Revised upload methods

0.5.0

13 Jan 19:06
b5eba73
Compare
Choose a tag to compare
  • Refactored upload logic out of view code
  • Added .avif image format.
  • Clean up SignS3View method signatures
  • Use timezone-aware datetime object in SignS3View

0.4.1

11 Jan 03:07
cfe4aff
Compare
Choose a tag to compare
  • Recognize heic and heif MIME types.

0.4.0

21 Sep 19:34
97c7aed
Compare
Choose a tag to compare
  • Adjust S3Upload.file_dom_selector to allow for any DOM selector
    rather than just an ID.
  • Introduced new optional param file_dom_el for passing in the file
    input element directly. This is convenient when initializing
    S3Upload from an event, as you can just pass in the event.target
    object.

0.3.3

06 Mar 16:22
210c776
Compare
Choose a tag to compare

Fixed bug where acl attribute was not working, preventing the ability to upload objects with public-read access.

0.3.2

04 Apr 15:22
4d070ad
Compare
Choose a tag to compare
  • Don't call onProgress event handler if file list is empty.

0.3.1

18 Feb 16:47
77f47a7
Compare
Choose a tag to compare
  • Use default max file size of 2gb.
  • Update default expiration time to 8 hours.
  • Introduce configurable region name, via AWS_S3_REGION_NAME. Defaults to us-east-1.

0.3.0

15 Sep 16:19
31a33d2
Compare
Choose a tag to compare
  • Use presigned POST request instead of PUT.
  • Add a configurable policy limit (default 4mb) for uploads.

0.2.1

10 Sep 15:24
2f99950
Compare
Choose a tag to compare
  • Move s3 signing functions out of the view so they can be imported and used separately.
  • Add bmp image support.

0.2.0

09 Sep 14:41
0d4bb2c
Compare
Choose a tag to compare
  • This library now requires boto3 and botocore to be installed.
  • The amz_headers view option has been replaced by the acl
    option. This is 'public-read' by default. Set it to None or
    'private' for non-public assets.
  • Use boto3 for signing the PUT request.
  • Use AWS Signature version 4 for signing URLs. This avoids the needs
    for quoting which has led to encoding bugs.
  • Add a ContentType fix on PUT request that fixes a bug where SVG's
    can't be uploaded.