File python-django-storages.changes of Package python-django-storages
-------------------------------------------------------------------
Tue Apr 23 22:26:13 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Switch to sle15_python_module_pythons to build for newer Python stack
-------------------------------------------------------------------
Wed Jan 4 16:14:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.13.2:
* Add support for Python 3.11 (`#1196`_)
* Add support for saving ``pathlib.Path`` names (`#1200`_)
* Catch 404 errors when calling ``delete()`` (`#1201`_)
* Use ``AZURE_CUSTOM_DOMAIN`` for retrieving blob URLs and storage URL for
other operations (`#1176`_)
* Use ``DEFAULT_RETRY`` for all upload & delete operations (`#1156`_)
* Fix gzipping of content (`#1203`_)
* Pass through kwargs to signed URL generator (`#1193`_)
* Improve write & memory performance when saving files (`#1194`_)
* Strip off the root path when saving files to fix saving with upgraded
versions of Django (`#1168`_)
* Update ``DropBoxStorage`` constructor parameter order to be backwards
compatible (`#1167`_)
* Add support for Django 4.0 and 4.1 (`#1093`_)
* Drop support for Django 2.2, 3.0 and 3.1 (`#1093`_)
* Drop support for Python 3.5 and 3.6 (`#1093`_)
* **Breaking**: Update and document the undocumented
``AWS_S3_URL_PROTOCOL`` from ``http:`` to ``https:`` and remove the
undocumented ``AWS_S3_SECURE_URLS`` setting. You should only need to update your settings if you had updated either of
these previously undocumented settings. The default behavior of constructing an ``https:`` URL with a custom domain
is unchanged (`#1164`_)
* Add ``AWS_S3_USE_THREADS`` to disable ``threading`` for compatibility
with ``gevent`` (`#1112`_)
* Restore support for ``AZURE_ENDPOINT_SUFFIX`` (`#1118`_)
* Replace deprecated ``download_to_stream`` with ``readinto`` (`#1113`_)
* Add ``AZURE_API_VERSION`` setting (`#1132`_)
* Fix ``get_modified_time()`` (`#1134`_)
-------------------------------------------------------------------
Thu May 12 07:05:15 UTC 2022 - pgajdos@suse.com
- version update to 1.12.3
General
-------
- Add support for Python 3.10 (`#1078`_)
S3
--
- Re-raise non-404 errors in ``.exists()`` (`#1084`_, `#1085`_)
Azure
-----
- Fix using ``AZURE_CUSTOM_DOMAIN`` with an account key credential (`#1082`_, `#1083`_)
SFTP
----
- Catch ``FileNotFoundError`` instead of ``OSerror`` in ``.exists()`` to prevent swallowing ``socket.timeout`` exceptions (`#1064`_, `#1087`_)
Azure
-----
- Add ``parameters`` kwarg to ``AzureStorage.url`` to configure blob properties in the SAS token (`#1071`_)
- Fix regression where ``AZURE_CUSTOM_DOMAIN`` was interpreted as a replacement of ``blob.core.windows.net`` rather than as a full domain
(`#1073`_, `#1076`_)
-------------------------------------------------------------------
Tue Oct 12 13:28:10 UTC 2021 - ecsos <ecsos@opensuse.org>
- Update to 1.12.1
* S3
- Change gzip compression to use a streaming implementation (#1061)
- Fix saving files with S3ManifestStaticStorage (#1068, #1069)
- Changes from 1.12
- Add support for Django 3.2 (#1046, #1042, #1005)
- Replace Travis CI with GitHub actions (#1051)
* S3
- Convert signing keys to bytes if necessary (#1003)
- Avoid a ListParts API call during multipart upload (#1041)
- Custom domains now use passed URL params (#1054)
- Allow the use of AWS profiles and clarify the options for
passing credentials (fbe9538)
- Re-allow override of various access key names (#1026)
- Properly exclude empty folders during listdir (66f4f8e)
- Support saving file objects that are not seekable (#860, #1057)
- Return True for .exists() if a non-404 error is encountered (#938)
* Azure
- Breaking: This backend has been rewritten to use the newer
versions of azure-storage-blob, which now has a minimum required
version of 12.0. The settings AZURE_EMULATED_MODE, AZURE_ENDPOINT_SUFFIX,
and AZURE_CUSTOM_CONNECTION_STRING are now ignored. (#784, #805)
- Add support for user delegation keys (#1063)
* Google Cloud
- Breaking: The minimum required version of google-cloud-storage
is now 1.27.0 (#994)
- Breaking: Switch URL signing version from v2 to v4 (#994)
- Deprecated: Support for GS_CACHE_CONTROL will be removed in 1.13.
Please set the cache_control parameter of GS_OBJECT_PARAMETERS instead. (#970)
- Add GS_OBJECT_PARAMETERS and overridable GoogleCloudStorage.get_object_parameters
to customize blob parameters for all blobs and per-blob respectively. (#970)
- Catch the NotFound exception raised when deleting a non-existent blob,
this matches Django and other backends (#998, #999)
- Fix signing URLs with custom endpoints (#994)
* Dropbox
- Validate write_mode param (#1020)
- Changes from 1.11.1
* S3
- Revert fix for ValueError: I/O operation on closed file when
calling collectstatic and introduce S3StaticStorage and
S3ManifestStaticStorage for use as STATICFILES_STORAGE targets (#968)
- Changes from 1.11
* General
- Test against Python 3.9 (#964)
* S3
- Fix ValueError: I/O operation on closed file when calling
collectstatic (#382, #955)
- Calculate S3Boto3StorageFile.buffer_size (via setting
AWS_S3_FILE_BUFFER_SIZE) at run-time rather than import-time. (#930)
- Fix writing bytearray content (#958, #965)
* Google Cloud
- Add setting GS_QUERYSTRING_AUTH to avoid signing URLs.
This is useful for buckets with a policy of Uniform public read (#952)
* Azure
- Add AZURE_OBJECT_PARAMETERS and overridable AzureStorage.get_object_parameters
to customize ContentSettings parameters for all keys and per-key respectively. (#898)
-------------------------------------------------------------------
Fri Nov 27 13:23:14 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.10.1
* Restore AWS_DEFAULT_ACL handling.
This setting is ignored if ACL is set in AWS_S3_OBJECT_PARAMETERS
* Fix using SFTP_STORAGE_HOST
- from v1.10
* Removed support for end-of-life Python 2.7 and 3.4
* Removed support for end-of-life Django 1.11
* Add support for Django 3.1
* Introduce a new BaseStorage class with a get_default_settings
method and use it in S3Boto3Storage, AzureStorage,
GoogleCloudStorage, and SFTPStorage. These backends now
calculate their settings when instantiated, not imported.
* S3 Breaking: Automatic bucket creation has been removed.
Doing so encourages using overly broad credentials.
As a result, support for the corresponding AWS_BUCKET_ACL and
AWS_AUTO_CREATE_BUCKET settings have been removed.
* Support for the undocumented setting AWS_PRELOAD_METADATA removed
* The constructor kwarg acl is no longer accepted. Instead, use the
ACL key in setting AWS_S3_OBJECT_PARAMETERS
* The constructor kwarg ``bucket`` is no longer accepted.
Instead, use ``bucket_name`` or AWS_STORAGE_BUCKET_NAME setting
* Support for setting AWS_REDUCED_REDUNDANCY has been removed.
Replace with StorageClass=REDUCED_REDUNDANCY in
AWS_S3_OBJECT_PARAMETERS
* Support for setting AWS_S3_ENCRYPTION has been removed.
Replace with ServerSideEncryption=AES256 in
AWS_S3_OBJECT_PARAMETERS
* Support for setting AWS_DEFAULT_ACL has been removed.
Replace with ACL in AWS_S3_OBJECT_PARAMETERS
* Add ``http_method`` parameter to ``.url`` method
* Add support for signing Cloudfront URLs to the ``.url`` method.
You must set AWS_CLOUDFRONT_KEY, AWS_CLOUDFRONT_KEY_ID and
install either cryptography or rsa.
URLs will only be signed if AWS_QUERYSTRING_AUTH is set to True
* Automatic Google Cloud bucket creation has been removed.
Doing so encourages using overly broad credentials.
As a result, support for the corresponding GS_AUTO_CREATE_BUCKET
and GS_AUTO_CREATE_ACL settings have been removed.
* Add DROPBOX_WRITE_MODE setting to control e.g. overwriting behavior.
* Remove SFTP exception swallowing during ssh connection
* Add FTP_STORAGE_ENCODING setting to set the filesystem encoding
* Support multiple nested paths for files
-------------------------------------------------------------------
Mon Apr 20 13:13:14 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Feb 20 09:13:35 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.9.1:
* Breaking: The long deprecated S3 backend based on boto has been removed. (#825)
* Test against and support Python 3.8 (#810)
-------------------------------------------------------------------
Tue Jan 7 09:03:14 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.8:
* support for django 3.x
-------------------------------------------------------------------
Mon Sep 16 08:49:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.7.2:
* Various cloud fixes
* Support for newer django releases
- Drop merged e9bb4bcb8a1b7720468add08bc8343ffbaa0165c.patch
-------------------------------------------------------------------
Thu Apr 4 09:25:45 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- add e9bb4bcb8a1b7720468add08bc8343ffbaa0165c.patch for django-2.2
-------------------------------------------------------------------
Sat Feb 16 15:08:18 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.7.1