Django-s3-file-field

Latest version: v1.0.1

Safety actively analyzes 623412 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

1.0.1

* Update PyPI classifiers
* Correct API usage in the Javascript client README

1.0.0

Breaking Changes
* The package extra `boto3` has been renamed to `s3`.
* Change dependencies from `django-s3-file-field[boto3]` -> `django-s3-file-field[s3]>=1`
* The Python client `S3FileFieldClient.upload_file` function signature has changed.
* All arguments must be be passed as keywords.
* A `file_content_type` argument is now requirerd.
* See [the usage example](https://github.com/girder/django-s3-file-field/blob/master/python-client/README.md#usage) for details.

Potentially Incompatible Changes
* Supported Python versions are now:
* `3.8`
* `3.9`
* `3.10`
* `3.11`
* `3.12`
* Supported Django versions are now:
* `3.2`
* `4.1`
* `4.2`
* `django-storages` >= `1.14` is now required.
* `django-minio-storage` >= `0.5` is now required.

New Features
* Uploads should now generally set `Content-Type` metadata on the stored object.
* Improved timeouts for failed HTTP connections.
* New versions of Django and Python are supported.
* Re-defining an existing `S3FileField`-containing `Model` is now permitted.
* A warning will still be emitted, as redefinition is not necessarily safe.
* This will allow compatibility with hot-reloading (e.g. [IPython autoreload](https://ipython.org/ipython-doc/3/config/extensions/autoreload.html)).
* Internal bug fixes and build tooling improvements.

0.3.2

* Add support for Django 4.2, drop support for Django 3.0, 3.1
* Add `py.typed` file for Python client

0.3.1

* Add a `py.typed` file
* Add type hints and harden validation of `S3FileSerializerField`

0.3.0

* Add support for Django 4.0
* Add support for Python 3.10

0.2.0

* Add pytest fixtures for external use
* Remove `S3FileFieldTestClient`
* Update Python client usage documentation to prevent file mode bugs
* Fix the Python client return value of `S3FileFieldClient.upload_file`
* Improve validation of `field_id`

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.