|
1 | 1 | django-storages CHANGELOG |
2 | 2 | ========================= |
3 | 3 |
|
4 | | -UNRELEASED |
5 | | -********** |
| 4 | +1.10 (2020-08-30) |
| 5 | +***************** |
6 | 6 |
|
7 | | -- Add support for Django 3.1. |
| 7 | +General |
| 8 | +------- |
8 | 9 |
|
9 | | -**Breaking** |
| 10 | +- **Breaking**: Removed support for end-of-life Python 2.7 and 3.4 (`#709`_) |
| 11 | +- **Breaking**: Removed support for end-of-life Django 1.11 (`#891`_) |
| 12 | +- Add support for Django 3.1 (`#916`_) |
| 13 | +- Introduce a new ``BaseStorage`` class with a ``get_default_settings`` method and use |
| 14 | + it in ``S3Boto3Storage``, ``AzureStorage``, ``GoogleCloudStorage``, and ``SFTPStorage``. These backends |
| 15 | + now calculate their settings when instantiated, not imported. (`#524`_, `#852`_) |
10 | 16 |
|
11 | | -- Removed support for end-of-life Python 2.7 and 3.4. |
| 17 | +S3 |
| 18 | +-- |
12 | 19 |
|
13 | | -- Removed support for end-of-life Django 1.11. |
| 20 | +- **Breaking**: Automatic bucket creation has been removed. Doing so encourages using overly broad credentials. |
| 21 | + As a result, support for the corresponding ``AWS_BUCKET_ACL`` and ``AWS_AUTO_CREATE_BUCKET`` settings have been removed. (`#636`_) |
| 22 | +- **Breaking**: Support for the undocumented setting ``AWS_PRELOAD_METADATA`` has been removed (`#636`_) |
| 23 | +- **Breaking**: The constructor kwarg ``acl`` is no longer accepted. Instead, use the ``ACL`` key in setting ``AWS_S3_OBJECT_PARAMETERS`` |
| 24 | + (`#636`_) |
| 25 | +- **Breaking**: The constructor kwarg ``bucket`` is no longer accepted. Instead, use ``bucket_name`` or the ``AWS_STORAGE_BUCKET_NAME`` |
| 26 | + setting (`#636`_) |
| 27 | +- **Breaking**: Support for setting ``AWS_REDUCED_REDUNDANCY`` has been removed. Replace with ``StorageClass=REDUCED_REDUNDANCY`` |
| 28 | + in ``AWS_S3_OBJECT_PARAMETERS`` (`#636`_) |
| 29 | +- **Breaking**: Support for setting ``AWS_S3_ENCRYPTION`` has been removed. Replace with ``ServerSideEncryption=AES256`` in ``AWS_S3_OBJECT_PARAMETERS`` (`#636`_) |
| 30 | +- **Breaking**: Support for setting ``AWS_DEFAULT_ACL`` has been removed. Replace with ``ACL`` in ``AWS_S3_OBJECT_PARAMETERS`` (`#636`_) |
| 31 | +- Add ``http_method`` parameter to ``.url`` method (`#854`_) |
| 32 | +- Add support for signing Cloudfront URLs to the ``.url`` method. You must set ``AWS_CLOUDFRONT_KEY``, |
| 33 | + ``AWS_CLOUDFRONT_KEY_ID`` and install either `cryptography`_ or `rsa`_ (`#456`_, `#587`_). See the docs for more info. |
| 34 | + URLs will only be signed if ``AWS_QUERYSTRING_AUTH`` is set to ``True`` (`#885`_) |
14 | 35 |
|
15 | | -- The minimum supported version of boto3 is now 1.4.4. |
| 36 | +Google Cloud |
| 37 | +------------ |
16 | 38 |
|
17 | | -- The ``S3Boto3Storage`` backend no longer accepts the argument ``acl``. Use |
18 | | - the ``ACL`` key in ``AWS_S3_OBJECT_PARAMETERS`` instead. |
| 39 | +- **Breaking**: Automatic bucket creation has been removed. Doing so encourages using overly broad credentials. |
| 40 | + As a result, support for the corresponding ``GS_AUTO_CREATE_BUCKET`` and ``GS_AUTO_CREATE_ACL`` settings have been removed. (`#894`_) |
19 | 41 |
|
20 | | -- The ``S3Boto3Storage`` backend no longer accepts the argument ``bucket``. Use |
21 | | - ``bucket_name`` or the setting ``AWS_STORAGE_BUCKET_NAME`` instead. |
| 42 | +Dropbox |
| 43 | +------- |
22 | 44 |
|
23 | | -- The ``S3Boto3Storage`` backend no longer automatically creates the bucket. |
24 | | - Doing so had encouraged using overly broad credentials. As a result, the |
25 | | - ``AWS_BUCKET_ACL`` setting has been removed. |
| 45 | +- Add ``DROPBOX_WRITE_MODE`` setting to control e.g. overwriting behavior. Check the docs |
| 46 | + for more info (`#873`_, `#138`_) |
26 | 47 |
|
27 | | -- The ``S3Boto3Storage`` backend no longer not longer supports the settings |
28 | | - ``AWS_DEFAULT_ACL``, ``AWS_REDUCED_REDUNDANCY`` and ``AWS_S3_ENCRYPTION``. |
29 | | - They have been removed in favor of the ``AWS_S3_OBJECT_PARAMETERS`` setting. |
30 | | - Using ``AWS_S3_OBJECT_PARAMETERS`` allows for full control over these S3 |
31 | | - parameters. |
| 48 | +SFTP |
| 49 | +---- |
32 | 50 |
|
33 | | -- The ``S3Boto3Storage`` backend no longer supports the undocumented |
34 | | - ``AWS_PRELOAD_METADATA`` setting. |
| 51 | +- Remove exception swallowing during ssh connection (`#835`_, `#838`_) |
35 | 52 |
|
36 | | -- The ``GoogleCloudStorage`` backend no longer automatically creates the |
37 | | - bucket. Doing so had encouraged using overly broad credentials. As a result, |
38 | | - the ``GS_AUTO_CREATE_BUCKET`` setting has been removed. |
| 53 | +FTP |
| 54 | +--- |
39 | 55 |
|
| 56 | +- Add ``FTP_STORAGE_ENCODING`` setting to set the filesystem encoding (`#803`_) |
| 57 | +- Support multiple nested paths for files (`#886`_) |
| 58 | + |
| 59 | +.. _cryptography: https://cryptography.io |
| 60 | +.. _rsa: https://stuvel.eu/rsa |
| 61 | +.. _#885: https://github.com/jschneier/django-storages/pull/885 |
| 62 | +.. _#894: https://github.com/jschneier/django-storages/pull/894 |
| 63 | +.. _#636: https://github.com/jschneier/django-storages/pull/636 |
| 64 | +.. _#709: https://github.com/jschneier/django-storages/pull/709 |
| 65 | +.. _#891: https://github.com/jschneier/django-storages/pull/891 |
| 66 | +.. _#916: https://github.com/jschneier/django-storages/pull/916 |
| 67 | +.. _#852: https://github.com/jschneier/django-storages/pull/852 |
| 68 | +.. _#873: https://github.com/jschneier/django-storages/pull/873 |
| 69 | +.. _#854: https://github.com/jschneier/django-storages/pull/854 |
| 70 | +.. _#138: https://github.com/jschneier/django-storages/issues/138 |
| 71 | +.. _#524: https://github.com/jschneier/django-storages/pull/524 |
| 72 | +.. _#835: https://github.com/jschneier/django-storages/issues/835 |
| 73 | +.. _#838: https://github.com/jschneier/django-storages/pull/838 |
| 74 | +.. _#803: https://github.com/jschneier/django-storages/pull/803 |
| 75 | +.. _#456: https://github.com/jschneier/django-storages/issues/456 |
| 76 | +.. _#587: https://github.com/jschneier/django-storages/pull/587 |
| 77 | +.. _#886: https://github.com/jschneier/django-storages/pull/886 |
40 | 78 |
|
41 | 79 | 1.9.1 (2020-02-03) |
42 | 80 | ****************** |
|
0 commit comments